Interaction Diagrams: Unit 3-2
Interaction Diagrams: Unit 3-2
Unit 3-2
Sequence Diagram
Collaboration Diagram
• Starting with the message that initiates this interaction, lay out
each subsequent message from top to bottom between the lifelines,
showing each message's properties (such as its parameters), as
necessary to explain the semantics of the interaction.
• If you need to visualize the nesting of messages or the points in
time when actual computation is taking place, adorn each object's
lifeline with its focus of control.
• If you need to specify time or space constraints, adorn each
message with a timing mark and attach suitable time or space
constraints.
• If you need to specify this flow of control more formally, attach
pre- and postconditions to each message.