Une image contenant texte, signe

Description générée automatiquement

Add Swimlanes to Diagram

 

Overview

This helper adds swimlanes to an activity diagram based on the parts of the owner.

 

Applicable To

Activity Diagram

Menu Entry

Power Pack Diagram Tools Add Swimlanes to Diagram

Demonstration

Watch the Video

Operation

The helper first checks there are swimlanes already on the diagram (swimlanes may only be added to a diagram with no swimlanes). The helper then checks the owner of the activity and looks for any parts it has. If the owner has more than one part typed by the same classifier then for each part, a new swimlane is added to the diagram and the swimlane is mapped to the part. If each part is unique (that is the same classifier is not used more than once) then a swimlane is generated for each classifier and is mapped to the classifier that types the part.

 

In addition, the swimlane name is modified to reflect the classifier (classiferNameSwimlane).

Examples:

A diagram of a system

Description automatically generated

A screenshot of a computer

Description automatically generated

Unique Classifiers

A diagram of a company

Description automatically generated

A screenshot of a computer screen

Description automatically generated

Valve Classifier Used More Than Once