Home > Diagrams > Sequence Diagram

Message creation


In a sequence diagram you can create messages and add advanced properties
  1. Create a message
  2. Create a return message
  3. Create a Creation Message
  4. Create a Destruction Message
  5. Add Return Arrow
1. Create a message

Select the Add a message icon in the toolbar and drag drop the message to the Lifeline.
Note that your message will be create at the mouse click drop position on the lifelane.



Once the first click has been made then drop the message to another property which will become blue if selected.



You can select an existing method of a Java class (java class drop feature) and add it to the diagram if you click on the top/down arrow of the Operation field.



The message has been created in the Sequence Diagram




2. Create a return message

You can also make a message going backward by selecting a property on the right and drop it on the left of the diagram.
The Message property menu is different if going from right to left and not from left to right like in the previous example above.
It allows you to add a return label by selecting the Return arrow option.
Below is the created message and its return label which is displayed in the Sequence Diagram and in the UML Superstructure of the model



3. Create a Creation Message

You can add a creation message to your diagram by selecting the Creation option in the message property.



4. Create a Destruction Message

You can add a destruction message to your diagram by selecting the destruction option in the message property.



5. Add Return Arrow

You can add a Return label message to your diagram by selecting the Return arrow option in the message property.