How do I get started on a Sequence Diagram?

Sequence Diagram

 

Start by looking at a Use Case scenario.

Break down the scenario into a sequence of messages.

A sequence diagram is a type of interaction diagram. Interaction diagrams describe how groups of objects interact and collaborate in performing a behavior. There are two types of interaction diagrams that basically model the same information: sequence diagrams and collaboration diagrams.

In a sequence diagram, the interaction is modeled in a time sequence displaying objects participating in the interaction and the messages that are passed among these objects. The diagram shows the objects by their ''lifelines'' and the messages that they exchange arranged in time sequence. It does not show the associations among the objects. The associations can be obtained from the complementary collaboration diagram.

The business analyst may create a sequence diagram to explore the following questions:
  • What objects are included in the scenario?
  • What messages are sent and received?
  • What is the sequence of the messages?

 


Enterprise Architecture Framework Image 3

 

 

 

 

 

 

 

 

 

Understand the message sequence.

Identify the vertical and horizontal dimensions of your diagram.

A sequence diagram has two dimensions: the vertical dimension represents time and the horizontal dimension represents different objects. Normally time proceeds down the page. (The dimensions may be reversed if desired.) Usually only time sequences are important; but in real-time applications, the time axis could be an actual metric. There is no significance to the horizontal ordering of the objects. Often call arrows are arranged to proceed in one direction across the page; but this is not always possible, and the ordering does not convey information.


 

 

 

 

Hands-On Lessons 

Includes important topic areas immediately valuable to you. 

 There are several chapters in the tutorial. We also will send you a free community edition of our modeling tool software. Here's an example of relevant topics:

  • Overview of Sequence Diagrams
  • Definitions of Sequence Diagrams
  • Developing your Sequence Diagrams
  • Department of Motor Vehicles Scenario