Object Oriented Software Engineering   View all facts   Glossary   Help
subject > representation > coding technique > diagram > UML diagram > interaction diagram
Next UML diagrampackage diagram    UpUML diagram    Previous UML diagraminstance diagram   

interaction diagram comparison table
Subject have part be arrange validate has definition represent draw as show contain
collaboration diagramcommunication linksimilar to an instance diagram except that it does not show links of associations class diagramsA UML interaction diagram showing a set of objects connected by communications linksaspects of a design patternas a graph with a set of objects and actors as the verticesthe relationships that exist among objects and actorsa communication link between each pair of objects involved in the sending of a message; the messages themselves are attached to this link
sequence diagramlifeline better than collaboration diagram when:
  • You want the reader to be able to easily see the order in which messages occur
  • You want to build an interaction model from a use case
  • You need to show details of messages, such as parameters and return values
objects from left to right across the diagram with an actor that initiates the interaction often shown on the left A UML interaction diagram showing the sequence of messages exchanged by the set of objects and optionally an actor. Actors and objects are on one axis, and time is on the othertime as the vertical dimension with time progressing downwards to the bottom of the diagram the sequence of messages exchanged by the set of objects (and optionally an actor) performing a certain taskmore or less detail depending on what you wish to communicate

Next UML diagrampackage diagram    UpUML diagram    Previous UML diagraminstance diagram