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 this example the optional keyword INVISIBLE is being used to hide the property to prevent someone from changing the line while modeling.
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 within a DEFINITION block this is supporting a SINGLE relationship through the definition type. If users need to support more than one relationship through a definition type then a different keyword structure can be used to add them. For a definition of the new structure, see REPRESENTS EXPLICIT RELATIONSHIP.