Sequence Diagram

One of four types of Interaction diagram. (The other three are Timing Diagrams, Interaction Overview Diagrams and Communication Diagrams.)

A Sequence diagram is a structured representation of behavior as a series of sequential steps over time. It is used to depict work flow, message passing and how elements in general cooperate over time to achieve a result.

  • Each sequence element is arranged in a horizontal sequence, with messages passing back and forward between elements.
  • An Actor element can be used to represent the user initiating the flow of events.
  • Stereotyped elements, such as Boundary, Control and Entity, can be used to illustrate screens, controllers and database items, respectively.
  • Each element has a dashed stem called a lifeline, where that element exists and potentially takes part in the interactions.

To configure a Sequence diagram, see the following topics:

Robustness diagrams, used extensively in the ICONIX Process, can be created as Sequence diagrams.

Example Diagram

The following example Sequence diagram demonstrates several different elements:

Example of a Sequence Diagram

Toolbox Elements and Connectors

Select Sequence diagram elements and connectors from the Interaction pages of the Enterprise Architect UML Toolbox.

Enterprise Architect also supports a number of stereotyped elements to represent various entities in business modeling.

Tip:

Click on the following elements and connectors for more information.

Sequence Diagram Elements

Sequence Diagram Connectors

e_Actor

Message

e_Lifeline

c_SelfMessage

e_Boundary

c_Recursion

e_Control

e_Call

e_entity2

 

e_Fragment

 

e_EndPoint

 

e_DiagramGate

 

e_StateContinutation

 

OMG UML Specification

The OMG UML specification (UML Superstructure Specification, v2.1.1, p. 503) states:

A sequence diagram describes an Interaction by focusing on the sequence of Messages that are exchanged, along with their corresponding OccurrenceSpecifications on the Lifelines.