4. Sequence Diagram
The sequence diagrams are used to show the interactions between objects. Also, they show the order in which these interactions occur. These interactions are shown depending on the situation. There are two ways to represent the sequence diagrams: processes are shown vertically and interactions are represented as arrows.