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 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.