Creating and editing messages on lifelines in sequence diagrams
In sequence diagrams, you can create and edit messages between
lifelines.
Creating synchronous or asynchronous messages in sequence diagrams
In sequence diagrams, you can add synchronous and asynchronous messages to lifelines to represent the communication between interaction instances. You can also specify the operations, or methods, of messages. You add an asynchronous message when the sending instance does not wait for the operation to complete before it continues with the next step
Adding create or destroy messages to lifelines in sequence diagrams
In sequence diagrams, you can add create messages or destroy messages to lifelines to represent the creation or the destruction of interaction instances. You add a create message above any messages and interaction fragments that are covered by the lifeline; you add a destroy message below the messages and interaction fragments.
Moving synchronous messages
In sequence diagrams, you can move all message types on lifelines. However, when you move a synchronous message with a return message, you must move the send message and the return message separately and in a particular order; otherwise, only one part of the message moves on the lifeline.
Reordering messages
In sequence diagrams, you can move a message across other messages and interaction fragments on the same lifeline or on another lifeline to reorder the message. After a reorder, the message number automatically indicates the updated position on the lifeline.
Deleting messages from sequence diagrams and projects
You can delete messages from sequence diagrams or delete them permanently from all diagrams and models. When you delete a message, you have different results depending on the type of message that you delete.
Reconnecting messages
In sequence diagrams, you can change the source lifeline or target lifeline of a message to reconnect the message to the new lifeline.
Assigning operations to messages in sequence diagrams
In sequence diagrams, you can set a message signature by assigning an operation to it. When you create a message, the operation on the target interaction instance is created automatically and you are prompted to name the newly created operation.
Delaying the receipt of asynchronous messages in sequence diagrams
In sequence diagrams, you can move the sending point and the receiving point of an asynchronous message between lifelines to manipulate the time delay between the sending event and the receiving event. Multiple messages can occur between the sending and receiving lifelines.