Creating sequence diagrams or communication diagrams from existing interactions

When you are modeling the interactions between objects and if the model includes a sequence diagram, you can quickly create the corresponding communication diagram. Or, if the model includes a communication diagram, you can quickly create the corresponding sequence diagram.

Before you begin

You must be in the Modeling perspective and the model must contain an interaction.

Procedure

In the Project Explorer view, right-click an interaction and complete one of the following steps:
  • To create a communication diagram from an existing interaction, click Add Diagram > Communication Diagram.
  • To create a sequence diagram from an existing interaction, click Add Diagram > Sequence Diagram.

Results

The corresponding diagram is created and includes all the elements that the selected interaction owns.

Feedback