Enterprise Architect supports two types of Activity Partition:
- The Activity Partition feature, which is used to logically organize an Activity element
- The Activity Partition element, described in this topic, which is used to logically organize an Activity diagram.
In effect, these are the same. They partition the Actions of the Activity without affecting the token flow, helping to structure the view or parts of the Activity.
The following example depicts the partitioning between the Classes Process Payment and Order Processor.
The Partition orientation defaults to horizontal. To turn it into a vertical Partition, right-click on it and select the Advanced | Vertical Partition context menu option.
You can neatly align and join the Activity Partitions on a diagram using the element context menu Dockable option. For Partitions, the option defaults to selected.
OMG UML Specification
The OMG UML specification (UML Superstructure Specification, v2.1.1, p. 341) states:
Partitions divide the nodes and edges to constrain and show a view of the contained nodes. Partitions can share contents. They often correspond to organizational units in a business model. They may be used to allocate characteristics or resources among the nodes of an activity.
The OMG UML specification (UML Superstructure Specification, v2.1.1, p. 341) also states:
An activity partition is a kind of activity group for identifying actions that have some characteristic in common.