1. Home
  2. Docs
  3. Chapter 5. UML & SysML
  4. 6. Activity Diagram
  5. Splitting a control flow in Activity Diagram

Splitting a control flow in Activity Diagram

When you found a control flow in a UML Activity Diagram missing an action and you want to add the action back into the flow, you can make use of the split feature to easily insert the action shape back to a control flow. The insertion of action shape will result in the creation of new flow that connects the new action shape and the “to-shape” that is originally connected by the original flow. The original flow will be updated to connect to the new shape. In other words, the details specified to the original flow, if any, will remain intact.

To use the split resource:

  1. Move your mouse pointer over the control flow to which you want to add the action shape.
    To split a control flow
  2. Click on .
  3. Select Action in the popup menu. You may also add a decision node and fork node into the flow.
    Adding an action into a control flow
  4. Enter the name of the action and press Enter to confirm.
    Entering the name of new action shape
  5. Tidy up the flow.
    A flow with action shape added