Prev Next

Sequence/Communication Diagram Transformations

It is possible to transform a Sequence diagram into a Communication diagram, and to transform a Communication diagram into a Sequence diagram. 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 > Tools > Transform > Transform Selection

Keyboard Shortcuts

Ctrl+Shift+H (transform current Package)

Ctrl+H (transform selected elements)

Perform a Transformation

Field/Button

Action

See also

Elements

Lists and highlights all the elements from the diagram, which will be included in the transformation.

Transformations

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

In either case, 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.

Do Transform

Click on this button to execute the transformation.

The target diagram is created and listed in the Project Browser 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