Connector Layout Specification - modelint/flatland-model-diagram-editor GitHub Wiki
Defines a set of values that determine how a Connector is drawn.
Identifiers
- Name
Attributes
Name
In this version there is assumed to be only a single specification instance, so the name is here merely expresses unique model identity.
Type: Specification Name, based on Name
Default stem positions
The number of equally spaced positions relative to a center position (included in the count) on a Node face where a Stem can be attached. A value of one corresponds to a single connection point in the center of a Node face. A value of three is a central connection point with one on either side, and so on. In practice, five is usually the right number, especially for a class or state diagram. But this could vary by diagram and node type in the future.
Type: Odd Quantity ::
Odd Integer > 0
Default rut positions
The number of ruts where Path can be defined in a Lane. These work like stem/anchor positions on a Lane as opposed to a Node face. For a value of 3 we get positions -1, 0 and +1 with 0 representing the Lane Center and +1 high/right and -1 low/left.
Type: Odd Quantity ::
Odd Integer > 0
Default new path col width
When a new empty column must be added to to accommodate a Path in a Connector use this initial width.
Type: Distance
Default new path row height
When a new empty row must be added to to accommodate a Path in a Connector use this initial height.
Type: Distance
Default unary branch length
The distance from the root end on the Node face to the vine end just before any vine end shape decorations are drawn
Type: Distance