Canvas - modelint/flatland-model-diagram-editor GitHub Wiki
You can think of a Canvas as a sheet of paper, typically, not necessarily of a standard size such as A1, Tabloid or 8.5 x 11. It represents the total space where any drawing may occur. Typically, though, a margin is specified to preserve empty space along the edges of the Canvas. The margin can be set to zero all the way around if desired.
Identifiers
- ID
Attributes
ID
A unique numeric value.
Type: Canvas ID, based on Nominal
Orientation
Standard sheet orientation with landscape indicating that the length is greater than the height.
Type: Portrait Landscape :: [ portrait | landscape ]
Size
Length and width of the Canvas in points
Type: Rect Size
Margin
The default amount of space surrounding a Node in a Cell
Type: Padding
Color
The user specified background color.
Type: Color Name
Show margin
Whether or not to draw the margin. (for diagnostic purposes)
Type: Boolean