Search



Advanced

Sequence Diagrams

Step 3: Draw Diagram

< Previous (Change Settings)

(Tips) Next >

Home / Sequence Diagrams / Step 3: Draw Diagram

Draw the diagram.  Begin by adding or constructing classes and interfaces you want to include in the sequence diagram (see help for Add Class and Construct Class for more information), and align them horizontally.
 


For the time flow line, add vertical line below each class (see Add Line for more information) and change its pattern to dash by going View | Pattern


For operations and messages, add vertical lines between classes’ time flow lines and change the head symbols to plain arrow by going to View | Symbol. 


In order to add the message/operation name below the arrow, click and select the arrow, then go to View | Labels when you right mouse click on the line.


Type the message/operation name at the label for middle of the line, and click OK.


Repeat the above steps to add all the appropriate messages/operations.
 

For sequenced time, add lines for appropriate places (consult with your UML book on how the diagram should look like).  The picture below is sample of how the sequence diagram will look like.