Control Flow

Return to Introduction  Previous page  Next page


The Control Flow is a connector linking two nodes in an Activity diagram. Control Flow connectors bridge the flow between Activity nodes, by directing the flow to the target node once the source node's activity is completed.

ActivityDiagram - Actions

Control Flows and Object Flows can define a Guard and a Weight condition.

A Guard defines a condition that must be true before control passes along that activity edge. A practical example of this is where two or more activity edges (Control Flows) exit from a Decision element. Each flow should have a Guard condition that is exclusive of the other and defines which edge is taken under what conditions. The Control Flow Properties dialog enables you to set up Guard conditions on Control Flows and on Object Flows.

A Weight defines the number of tokens that can flow along a Control or Object Flow connection when that edge is traversed. Weight can also be defined on the Control Flow and Object Flow Properties dialogs.


Toolbox Icon


See Also

OMG UML specification:

The OMG UML specification (UML Superstructure Specification, v2.0, p. 315) states:

"A control flow is an edge that starts an activity node after the previous one is finished."