Object Oriented Software Engineering   View all facts   Glossary   Help
subject > representation > coding technique > diagram > UML diagram > interaction diagram > sequence diagram
Next interaction diagramcollaboration diagram    Upinteraction diagram

sequence diagram comparison table
Subject have part have model be have advantages is a kind of is a subtopic of arrange describe have purpose create after have problems has part use help convert into represent show contain see also
simple sequence diagramlifelinea label if its meaning is not obvious, using a caption or pop-up label that appears when the user moves the mouse over itthe dynamic aspects of a software system 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
it conveys or summarizes complex concepts or mechanisms more easily than other techniquessequence diagram8.1 - Interaction Diagramsobjects from left to right across the diagram with an actor that initiates the interaction often shown on the leftaspects of the architectural modelto better understand the sequence of messagesdeveloping a class diagram and a use case model because you need to know the actors and objects involved in an interaction
  • can be hard for users to interact with or interpret
  • not usable by blind people
  • it can be expensive to program diagram drawing software
noteto define the protocol used when two components communicate with each otheryou to visualize how the system runsa collaboration diagramtime as the vertical dimension with time progressing downwards to the bottom of the diagramthe 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 communicateUnified Modelling Language

Next interaction diagramcollaboration diagram    Upinteraction diagram