contents   previous




B. Interaction diagrams

Interaction diagrams help to show how objects interact with each other during particular scenerios (or use cases). There are two types of such diagrams: sequence diagrams and collaboration diagrams.

1. Sequence diagrams

Sequence diagrams put the accent on viewing the temporal flow of object interactions, by lining objects up horizontally and then regarding the vertical direction as a "time line". Here are some points worth noting, some, but not all of which, are seen in the next example: Let's look at one possible sequence diagram for one possible selection process scenerio in the jukebox example.





next