Stem Semantic - modelint/flatland-model-diagram-editor GitHub Wiki
A Stem Semantic is a Diagram Type specific, notation independent meaning that is represented by text, graphic or a combination of the two in at least one Diagram Notation.
In the example below we have the target state
Stem Semantic which indicates a transition into some state on a state machine diagram. It is associated with a Stem Position named to state
. There is another Stem Position named from state
which has no Stem Semantic because there is no special notation for that meaning.
The key point here is that a Stem Semantic represents only a meaning for which there exists some kind of notation to display it.
We also see an example of the class face
Stem Position which is used twice on a binary association
Connector Type. But a different Stem Semantic is applied in each Stem. Also note that there are two Stems in this example, each corresponding to the same Stem Position.
images/connector-subsystem/10_stem_semantic.png
There's a similar situation in this next example of a generalization
Connector Type.
The superclass is called out with a Stem Semantic since it has a notation, but there is none for the subclass face
Stem Position.
images/connector-subsystem/20_stem_semantic.png
Below are a couple of Unary Connector examples. In each case the a single Stem Position encompassing the entire Connector length.
An initial transition is a Unary Connector since it has only one node face attachment. The Stem Semantic is named initial pseudo state
since that is what the Connector describes. The to intial state
Stem Position is decorated with an icon on both the root and vine ends.
The final pseudo state
Stem Semantic is also displayed as a Unary Connector with a from initial state
Stem Position. Here only the vine end is decorated with an icon.
images/connector-subsystem/30_stem_semantic.png
Identifiers
- Name
Attributes
Name
A name that reflects the meaning (semantic) of the Stem termination such as “target state” (goes to this state) or “Mc mult” (many conditional multiplicity) or “final psuedo-state”. Care is taken to describe meaning and not notation.
Type: Stem Semantic Name, based on Name