


The purpose of a collaboration diagram is to emphasize structural aspects of a system, i.e., how various lifelines in the system connects. The Collaboration Diagram in UML is also called a communication diagram. The Sequence Diagram in Software Engineering shows the interaction between two lifelines as a time-ordered sequence of events. The purpose of a sequence diagram in UML is to visualize the sequence of a message flow in the system. Notation of an Interaction Diagramįollowing are the different types of interaction diagrams defined in UML: Interaction diagrams capture the dynamic behavior of any system. The details of interaction can be shown using several notations such as sequence diagram, timing diagram, communication/collaboration diagram. Various UML elements typically own interaction diagrams. The critical component in an interaction diagram is lifeline and messages.

Interaction diagrams are designed to display how the objects will realize the particular requirements of a system. Interaction diagrams mostly focus on message passing and how these messages make up one functionality of a system.

It does not manipulate the data associated with the particular communication path. Interaction Diagram are used in UML to establish communication between objects.
