Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
branch
A situation in a state machine in which a single trigger leads to more than one possible outcome, each with its own guard condition. Branches may be static and dynamic.
A situation in an activity in which an input flow may lead to one of several possible output flows, each with its own guard condition.
See also choice, decision node, fork, join, junction, merge.
Semantics
State machine. If the same event can have different effects that depend on different guard conditions, then they can be modeled as separate transitions with the same event trigger. In practice, however, it is convenient to permit a single trigger to drive multiple transitions. This is especially true in the common case in which the guard conditions cover every possibility, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access