Sequence Diagrams

A sequence diagram is a UML diagram that provides a view of the chronological sequence of messages between instances (objects or classifier roles) that work together in an interaction or interaction instance. A sequence diagram consists of a group of instances (represented by lifelines) and the messages that they exchange during the interaction. You line up instances participating in the interaction in any order from left to right, and then you position the messages that they exchange in sequential order from top to bottom. Activations sometimes appear on the lifelines.

Note   You can delete a lifeline from a sequence diagram without deleting the object or classifier role by using the Delete from Model command on the diagram window short-cut menu.


Shapes and Connectors

A sequence diagram can contain shapes and connectors that represent:


Types of Sequence Diagrams

A sequence diagram belongs to an interaction in a collaboration or an interaction instance in a collaboration instance. If you are working with an interaction in a collaboration you use a sequence role diagram. If you are working with an interaction instance in a collaboration instance you use a sequence instance diagram.


Using Sequence Diagrams

Sequence diagrams are used to model interactions. Often, they are used to model interactions in the following situations:


Related Topics

Comments ( )
Link to this page: //www.vb-net.com/dotnet/diagrams/sequence.htm
< THANKS ME>