Association / Directed Association

StarUML

Association / Directed Association

Top  Previous  Next

Semantics

A association is an association among exactly two classifiers (including the possibility of an association from a classifier to itself).

Procedure for creating association

In order to create association, click [Toolbox] -> [UseCase] -> [Association] button, drag from first element, and drop to second element in the [main window].

ch05_122

Procedure for creating directed association

The procedure is equal to the association's, drag and drop in the arrow direction.

ch05_123

Or create association, click the actor-side association end. At the quick dialog, uncheck navigable and association becomes directed.

ch05_124

Procedure for creating element related to association/directed assocition

In order to create element associated with current element, use shortcut creation syntax.

1.Double-click element and enter element's names associated after "--" or "->" string at the quick dialog. Separate element names with "," character to relate multiple elements.

ch05_125

2.Press [Enter] key and several elements associated with selected element are created and arranged automatically.

ch05_126