Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Activity Partition

Enterprise Architect supports two types of Activity Partition:

  • The Activity Partition feature, described in this topic, which is used to logically organize an Activity element
  • The Activity Partition element, 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.

An example of a feature-partitioned Activity is shown here:

UML Activity Diagram example, showing the use of a partitioned Activity element, in Sparx Systems Enterprise Architect.

Define Partitions

Step

Action

In a diagram, right-click on the Activity element and select the 'Advanced | Partition Activity' option.

The 'Activity Partitions' dialog displays.

In the 'Name' field, type the name of a partition.

Click on the Save button.

Repeat step 2 for each partition to be created.

Click on the Close button.

If the partitions do not show on the element, click on the icon to the right of the element, to toggle display of the partitions.

Click on the partition borders and drag them into position to enclose the appropriate elements.

Learn more

OMG UML Specification:

The OMG Unified Modeling Language specification, (v2.5.1, p.408) states:

An ActivityPartition is notated with two, usually parallel lines, either horizontal or vertical, and a name labeling the partition in a box at one end. Any ActivityNodes and ActivityEdges placed between these lines are considered to be contained within the partition. This notation for an ActivityPartition is colloquially known as a swimlane, (...).