Configuring MetaAssociations
Creating a MetaAssociation
A DiagramTypeLink enables representation of a MetaAssociation (link) in a diagram. You cannot draw a link between two objects in a diagram if the corresponding MetaAssociation does not already exist in the metamodel.
To create a DiagramtypeLink that could be displayed in the diagram type that interests you:
1. In the DiagramTypeParam property pages, select the Links tab.
2. Click New to create a DiagramTypeLink.
3. Access the DiagramTypeLink property pages > Characteristics tab.
4. in the the MetaAssociationEnd field click the arrow and select Connect MetaAssociationEnd.
5. Use the Connecting wizard to Connect the MetaAssociationEnd that interests you.
6. In the DiagramTypeLink property pages, select Unidirectional if you want the MetaAssociation to have only one valid direction.
Configuring a link display
You can customize the display of links in a diagram using attributes accessible in the MetaAssociation Property pages (DiagramTypeLink).
To access configuration of links in a diagram:
1. In the MetaStudio navigation window, access the DiagramTypeParam Property pages on which the link concerned depends, and select its Links tab.
2. Access the property pages of the Link concerned > Characteristics tab.
3. You can configure the following display characteristics:
• DiagramTypeLink LineStyle: link line style
• DiagramTypeLink LineBeginStyle: default arrow style on first link end.
• DiagramTypeLink LineEndStyle: default arrow style on second link end.
• DiagramTypeLink LineDouble: specifies default link style as double line.
• DiagramTypeLink RoundedCorner: specifies default line style as rounded angles.
• DiagramTypeLink PenColor: default line color.
• DiagramTypeLink PenStyle: default line style (solid, dotted, etc.).
• DiagramTypeLink PenSize: default line width.
• DiagramTypeLink BrushColor: for double lines and/or arrows with fill, specifies default fill color.
• DiagramTypeLink InsideConnection: specifies if the repository link must be represented and managed in any special way.
• DiagramTypeLink ReverseInReorganization: for automatic reorganization function, enables definition of hierarchical direction of link.