Numbering Sequence Messages in Sequence Diagram

In Visual Paradigm for UML (VP-UML), you can number your messages on a sequence diagram in more than one way.

December 01, 2011
User Rating: / 3
Views: 3,329
PDF Link Add comments
Edition: Community or above (Edition comparison)

In this tutorial, we will introduce two main ways - (1) diagram-based and (2) frame-based. When we specify the "scope"" to be either diagram or frame, basically we are telling VP-UML where it should restart the number sequence for messages.

Note: The following example is demonstrated using Visual Paradigm for UML Modeler edition.

1. Diagram-based Numbering

Diagram-based Numbering (Single Level)

In your sequence diagram, right click on the background and select Sequence Number > Single Level.

select to number messages on diagram (single level)

As an example, we can see that despite making use of a frame element, the number sequence continues across, as long as they are within the same diagram.

diagram based numbering (single level)

Diagram-based Numbering (Nested Level)

In your sequence diagram, right click on the background and select Sequence Number > Nested Level.

Similarly, we can see that despite making use of a frame element, the number sequence continues across, as long as they are within the same diagram.

However, here it counts with "decimal numbers" to reflect the nesting level. Numbers that differ by one integer after the decimal point represent messages related at the same level of nesting or procedural calling. For example, 1.1 and 1.2.

diagram based numbering (nested level)

2. Frame-based Numbering

Frame-based Numbering (Single Level)

In your sequence diagram, right click on the background and select Sequence Number > Frame-based Single Level.

As an example, we can see that the message numbering restarts in the frame, despite it is within the same diagram.

frame based numbering (single level)

Frame-based Numbering (Nested Level)

In your sequence diagram, right click on the background and select Sequence Number > Frame-based Nested Level.

As an example, here we can see that the message numbering restarts in the frame. Also, "decimals numbers" are used to reflect the nesting levels of the procedural callings.

frame based numbering (nested level)

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

You may be interested in

  1. Writing Effective Use Case
  2. UML Package Diagram
    Tagged:
  3. Draw Entity Relationship Diagram (ERD)
    Tagged:
  4. Produce UML Use Cases from Business Process Diagram (BPD)
  5. Draw UML Sequence Diagram with Keyboard
Tags of this article:

Comments (1)

written by Reno on December 17, 2011

Knocked my socks off with konlwdege!

Write comment

Rating

Comment

Enter the calculation result

security code