1.3.2 Creating a Sequence Diagram in Violet

Video: Creating Sequence Diagrams in Violet (7:46)
A Sequence Diagram Shows Interactions Over Time

A UML sequence diagram focuses on:

That is different from:

  • an object diagram, which shows a state snapshot;
  • a class diagram, which shows type structure;
  • an activity diagram, which shows process flow.

A sequence diagram emphasizes object-to-object calls.

Plan the Interaction First

Imagine this soccer interaction:

controller1 calls DisplayName() on team1. A method bar shows team1 executing the void method; no return message is shown.
FirstCall.

Do not place messages based only on visual convenience.

Save the Editable Violet Diagram

Use the exact required filename and location.

The Violet source should remain editable because later feedback may require revision.

Read the Diagram as a Story

A useful plain-language reading is:

If the diagram cannot be explained clearly in a sentence, revise its participants or messages.