Creating sequence diagrams from existing diagram elements

You can create sequence diagrams in the typical way that you create any UML diagram, or you can create them from existing elements in your project. You can create a sequence diagram either within a model, which also creates a collaboration and interaction, or as a standalone diagram, which becomes a DNX file.

Procedure

  1. In the Project Explorer view, right-click one or more elements and complete one of the following steps:
    • To add the sequence diagram to a model, click Visualize > Add to New Diagram in Model File > Sequence Diagram.
    • To create a standalone diagram, click Visualize > Add to New Diagram File > Sequence Diagram.
  2. In the New Sequence Diagram wizard, specify a parent folder and file name.
  3. Click Finish.

Results

Tip: You can also populate an existing sequence diagram with source elements. In the Project Explorer view, right-click one or more classes, interfaces, and data types; then click Visualize > Add to Current Diagram.

Feedback