Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
merge
A place in a state machine or activity diagram where two or more alternate control paths come together; an “unbranch.” Antonym: branch. See also junction.
Semantics
A merge is simply a situation in which two or more control paths come together. It does not change the amount of concurrency.
In a state machine, a state may have more than one input transition. No special model construct is required or provided to indicate a merge. It may be indicated by a junction if it is part of a single run-to-completion path. If control arrives at a state through any input transition, the state becomes active.
In an activity, a merge is indicated by a merge node (Figure 14-179). A merge node has two or more input flows and one output flow. If a token arrives ...
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