Line Adjacent Name - modelint/flatland-model-diagram-editor GitHub Wiki

On a drawing we see a Connector as one or more connected line segments with associated names displayed as text. The content of the text is determined by the user's diagram specific layout instructions, i.e. the model layout sheet *.mls file.

On a class diagram, for example, we might defined a connnector name such as R213 or an association role such as travels toward.

These are different from text such as 1..* or `{disjoint | complete}' which are non-variable labels, better thought of as textual symbols. Names are text that can be filled with variable user content.

Flatland offers two kinds of names associated with Connectors, the name of the Connector itself and the name of a Stem on the Connector.

And all names for the same Connector Type, the name of any binary association will be managed the same. For example, we won't place the association name too close to the drawn connector line. And we may fill the name with a default value if none is specified like Rxx.

So a Line Adjacent Name is either the name of some Connector Type or the name of some Stem Type. The key point of commonality here is that both Stem Types and Connector Types have names that are displayed adjacent to a line.

Identifiers

  1. Name + Diagram type

Attributes

Name

A descriptive name such as binary association, initial transition, or class face.

Type: Connector Element Type Name, based on Name

About

Detailed description of the purpose and usage. This information is helpful in the yaml file where the Line Adjacent Name is defined. And rather than leave that in comments, it may be helpful in the future to access that description up while viewing a diagram.

Type: Description, based on Text