Jump to Menu

How to Apply Numbering for Messages in Sequence Diagram?

In Visual Paradigm, you can number your messages on a sequence diagram in more than one way.

Compatible edition(s): Enterprise, Professional, Standard, Modeler

  • December 01, 2011
  • Views: 108,221
  • PDF

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 Visual Paradigm where it should restart the number sequence for messages.

Note: The following example is demonstrated using Visual Paradigm.

1. Diagram-based Numbering

Diagram-based Numbering (Single Level)

In your UML 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 UML 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.

diagram based numbering (nested level)

2. Frame-based Numbering

Frame-based Numbering (Single Level)

In your UML 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 UML 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)

Turn every software project into a successful one.

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.

OK