Decision

StarUML

Decision

Top  Previous  Next

Semantics

A state diagram (and by derivation an activity diagram) expresses a decision when guard conditions are used to indicate different possible transitions that depend on Boolean conditions of the owning object.

Procedure for creating decision

In order to create Decision,

1.Click [Toolbox] -> [Activity] -> [Decision] button.

ch05_629

2.And click at the position where Decision will be placed in the [main window]. The decision is created on the diagram.

ch05_630

Procedure for creating decision from state

In order to create decision with incoming transition from selected object, use shortcut creation syntax.

1.Double-click state. At the quick dialog, enter "-><>"("<-<>" for incoming from decision) string.

ch05_631

2.Press [Enter] key and decision with outgoing transition from selected state is created.

ch05_632