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

Sequence/Communication Diagram Transformations

Sequence diagrams can be transformed into a Communication diagram, and Communication diagrams into a Sequence diagrams. In each case, every element or message in the source diagram type is mapped 1:1 to a matching element or message in the target diagram.

Access

Ribbon

Design > Package > Transform > Transform Selection

Keyboard Shortcuts

Ctrl+Shift+H (transform current Package)

Ctrl+H (transform selected elements)

Perform a Transformation

The diagram being transformed must be open in the main diagram view for the 'Communication' or 'Sequence' options to appear in the Model Transformation dialog.

Step

Action

See also

1.

Open and select in the diagram view, the diagram to be transformed.

2.

Open the Model Transform dialog using:

Design > Package > Transform > Transform Selection (Ctrl+Shift+H).

3.

In the Elements list, highlight all the elements from the diagram, which will be included in the transformation.

4.

In the Transformations list,  select:

  • The 'Communication' checkbox, if transforming a Sequence diagram into a Communication diagram, or
  • The 'Sequence' checkbox, if transforming a Communication diagram into a Sequence diagram

The 'Browse Project' dialog displays.

Browse for and select the target Package into which the target diagram will be created, then click on the OK button.

5.

Click on the Do Transform button to execute the transformation.

The target diagram is created and listed in the Browser window under the target Package with the name (depending on which transformation you have executed):

<source diagram name> Communication or

<source diagram name> Sequence

Notes

  • Once you have selected the 'Communication' or 'Sequence' checkbox, these transforms ignore any other field setting in the dialog except for 'Target Package', and will perform a direct transformation of every element in the source diagram

Learn more