11.3. Sequence Diagrams

Sequence diagrams are one of two types of UML interaction diagrams (we'll explore the second type, collaboration diagrams, a bit later in this chapter). Sequence diagrams are a way of graphically portraying how messages should flow from one object to another in carrying out a given scenario.

We'll illustrate the process of creating a sequence diagram by creating one for Scenario #1 of the "Register for a Course" use case, which was presented in Chapter 9.

11.3.1.

11.3.1.1. Determining Objects and External Actors for Scenario #1

To prepare a sequence diagram, we must first determine the following:

  • Which classes of objects (from among those that we specified in the static model [class diagram] in Chapter 10) are involved ...

Get Beginning C# 2008 Objects: From Concept to Code 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.