Decisions and Merges
Decisions and merges direct the flow of an activity. Decisions specify which output flow to use when there is more than one option. Merges combine multiple input flows into one output flow.
Context
A decision usually has one input flow and multiple output flows. A merge has multiple input flows and one single output flow. In the activity diagram, the node type is calculated automatically based on the number of input/output flows on the node.
In this example, the decisions dc1, dc2, and merges mg1, mg2, specify the alternative sequences of the View Product Details activity.
