Dependency

StarUML

Dependency

Top  Previous  Next

Semantics

A dependency indicates a semantic relationship between two model elements (or two sets of model elements). It relates the model elements themselves and does not require a set of instances for its meaning. It indicates a situation in which a change to the target element may require a change to the source element in the dependency.

Procedure for creating dependency

In order to create dependency,

1.Click [Toolbox] -> [Class] -> [Dependency] button.

ch05_2313

2.Drag and drop between elements in the [main window] in depending direction.

ch05_2314

3.A new dependency between two classes is created.

ch05_2315

Procedure for dependent element by shortcut creation syntax

In order to create element depending by selected element, use shortcut creation syntax.

1.Double-click to popup quick dialog. At the quick dialog, enter name of dependent elements by selected element after "-->" string  and separate names with ",".

ch05_2316

2.Press [Enter] key and dependent elements by selected class are created and arranged automatically.

ch05_2317