The FROMTAG and TOTAG keywords are relevant to properties in explicit relationship definitions, and properties in symbols which represent implicit or explicit relationships. These properties refer to a list containing line end specifications. By using these keywords, you can specify the default line ends for symbols representing that relationship.
In the following example, the optional keyword INVISIBLE hides the property to prevent someone from changing the line while modeling.
DEFINITION "Resource Flow (DM2rx)" RELATIONSHIP LABEL "Resource Flow" REVERSELABEL "Resource Flow" { PROPERTY "From Line End" { EDIT TEXT ListOnly LIST "LineEnds" DEFAULT "None" LENGTH 30 INVISIBLE FROMTAG} PROPERTY "To Line End" { EDIT TEXT ListOnly LIST "LineEnds" DEFAULT "LineEnd4" LENGTH 30 INVISIBLE TOTAG } }
You can override the line ends for an explicit relationship in a symbol. The property names and line end values used in the symbol must be identical, only the depiction for the line end can be changed. This same syntax can also be used for an implicit relationship.
List "AlternateLineEnds" { Value "LineEnd4" depictions {diagram LINE_END\\BLACK_ARROW2} } Symbol "SymbolTypeName" { REPRESENTS EXPLICIT RELATIONSHIP "DefinitionTypeName" PROPERTY "To Line End"{ EDIT TEXT ListOnly LIST "AlternateLineEnds " DEFAULT "LineEnd4" LENGTH 30 INVISIBLE TOTAG} }
When used in a DEFINITION block, this is supporting a SINGLE relationship through the definition type. If you need to support more than one relationship through a definition type, a different keyword structure can be used to add them. For a definition of the new structure, see REPRESENTS EXPLICIT RELATIONSHIP.