User-Defined Message Sequence Number
In our older version sequence diagram, messages are auto-numbered and there is no way to customize them. Now you can select to manually specify message sequence number when auto-numbering cannot fit your usage.
Animated Demo
Setting Message Sequence Number Handling Method
Message sequence number handling method can be either one of the following:
Automatic - Sequence numbers of messages will be updated automatically after you moved the messages, and you cannot specify custom sequence number to messages.
Manual - Sequence numbers of messages will not be updated even after you moved the messages, and you can specify custom sequence number to messages.
For sequence diagram, right-click on the diagram and select
Sequence Number from the popup menu, then select either
Automatic or
Manual.
For communication diagram, since there is no automatic message sequence number handling, so it is always manual.
Specifying Sequence Diagram Message Sequence Number
After you have set its message sequence number handling to manual, right-click on the diagram and select
Sequence Number >
Edit Sequence Numbers... from the popup menu.
Edit the sequence numbers of messages in the invoked Edit Sequence Numbers dialog box.
Specifying Communication Diagram Message Sequence Number
Right-click on the diagram and select
Reorder Messages... from the popup menu.
In the invoked dialog box, edit the sequence numbers in the
Sequence # column.
Besides editing one by one, you may also reorder the messages using the up or down button...
... and then click either the
Reset Sequence Number from 1 or
Reset Sequence Number button.
For example, this picture shows the messages before reset sequence number.
If clicked
Reset Sequence Number from 1, the first message in the table will be numbered 1, the second numbered 2, and so on.
If clicked
Reset Sequence Number, the number of first message in the table will stay unchanged, while the other messages will be numbered ascendingly by referencing the first message.
You may also edit sequence number of individual message by editing the Sequence no. field in the open specification dialog box of the message.
Resources