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 ...

Get Java™ for ColdFusion® Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.