Destroy Message: It describes a communication, particularly between the lifelines of an interaction that depicts a request to destroy the lifecycle of the target.Create Message: It describes a communication, particularly between the lifelines of an interaction describing that the target (lifeline) has been instantiated.In other words, it can be said that the recursive message is a special case of the self message as it represents the recursive calls.
Return Message: It defines a particular communication between the lifelines of interaction that represent the flow of information from the receiver of the corresponding caller message.Call Message: It defines a particular communication between the lifelines of an interaction, which represents that the target lifeline has invoked an operation.The core of the sequence diagram is formed by messages and lifelines.įollowing are types of messages enlisted below: They are in the sequential order on the lifeline. The messages depict the interaction between the objects and are represented by arrows. It describes that time period in which an operation is performed by an element, such that the top and the bottom of the rectangle is associated with the initiation and the completion time, each respectively. It is represented by a thin rectangle on the lifeline. Several distinct roles can be played by an actor or vice versa. An actor may or may not represent a physical entity, but it purely depicts the role of an entity. It represents the role, which involves human users and external hardware or subjects. ActorĪ role played by an entity that interacts with the subject is called as an actor.
It is positioned at the top of the diagram.
They are particularly useful when used to describe complex protocols or subsystem interactions that are difficult to understand unless presented graphically. They are more typically used by technical modelers to depict how messages are passed between application components and interfaces to achieve an outcome. The Sequence diagram can be used to model any set of messages that flow between two or more elements to produce a result. Ribbon: Design > Diagram > Add > UML Behavioral > Sequenceīrowser window Toolbar : New Diagram icon > UML Behavioral > Sequenceīrowser window context menu | Add Diagram.