9.   Step 7: Interaction diagrams

While use case diagrams present an outside view of the system, interaction diagrams describe how use cases are realized as interactions among societies of objects. There are two types of interaction diagrams: sequence and collaboration diagrams.

9.1.                    Sequence diagrams

A sequence diagram is a graphical view of a scenario that depicts object interactions arranged in a time sequence. It shows the functionality of the use cases. Typically, an interaction diagram captures the behaviour of one use case. It shows a number of objects and the messages communicated between them within the use case.

            In a sequence diagram:

Two kinds of control information worth mentioning [Fowler, 2000a]: 

An example sequence diagram is shown in Figure 9.

Figure 9 Example sequence diagram