Associations

In this section, you will see how to insert new associations in your classes from the class diagram graphical interface.


To create an association, select the Association toolbar button then click in the original class.



When you click in the target class, a dialog box appears.



Use it to define the first association end...



...then the second one...



And finally, the router algorithm and anchor strategy.



After validation, the association appears in the model.



To show attributes and accessors related to associations, select the class in the diagram editor > open the popup menu > Preferences


Select the "Show association member" checkbox.


Your diagram now shows new associations attributes and accessors for this class even if the associations are displayed.