Java for ColdFusion Developers
5.11 Sequence Diagrams
Sequence diagrams are rather like collaboration diagrams, in that they represent the same information. The focus of a sequence diagram is not spatial, as it is with a collaboration diagram, however. Its focus is on the communication between objects in process. A sequence diagram is shown in Figure 5.4.
Figure 5.4. Sequence diagram.
Each object is represented by a vertical bar. Time elapses from the top to the bottom. Because of this, they can be more straightforward to read than collaboration diagrams. Also, message numbering is optional because the message placement on the page indicates its ordinality.
5.11.1 When to Use Sequence Diagrams
Sequence diagrams are most useful for representing complex interactions within a system. Sequence diagrams are generally written after collaboration diagrams.
| |
| Top |