Moving Sequence Numbers

You can move and insert message numbers within the communication diagram.

When you move an existing number and attach it to another message, the sequence numbers are recalculated with respect to the following rules:


Example 1

The sequence numbers in a communication diagram are 1, 2, 3, 4, 5, and 6.

When you change sequence number 6 and place it in third position, sequence number 6 becomes sequence number 3: all numbers between 3 and 6 are modified as follows:



Example 2

When you change sequence number 4 and place it in second position, sequence number 4 becomes sequence number 2: all numbers between 2 and 4 are modified, 5 and 6 remain:



Example 3

When you change sequence number 2 and place it in fifth position, sequence number 2 becomes sequence number 5: all numbers between 2 and 5 are modified as follows:



Example 4

The sequence numbers in a communication diagram are:


  • 1

  • 1.1:msg_a

  • 1.1.1:msg_a1

  • 1.1.2:msg_a2

  • 1.2:msg_b

  • 2

  • 3

When you change sequence number 1.1:msg_a to sequence number 3, the following changes occur:



Note:

You can use the Undo feature whenever needed while manipulating these elements within communication diagrams.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com