Terms and Concepts
A use case diagram is a diagram that shows a set of use cases and actors and their relationships.
Common Properties
A use case diagram is just a special kind of diagram and shares the same common properties as do all other diagramsa name and graphical contents that are a projection into a model. What distinguishes a use case diagram from all other kinds of diagrams is its particular content.
The general properties of diagrams are discussed in Chapter 7 . |
Contents
Use case diagrams commonly contain
Use cases and actors are discussed in Chapter 17; relationships are discussed in Chapters 5 and 10; packages are discussed in Chapter 12; instances are discussed in Chapter 13 . |
Like all other diagrams, use case diagrams may contain notes and constraints.Use case diagrams may also contain packages, which are used to group elements of your model into larger chunks. Occasionally, you'll want to place instances of use cases in your diagrams as well, especially when you want to visualize a specific executing system.
Notation
The subject is shown as a rectangle containing a set of use case ellipses. The name of the subject is placed within the rectangle. The actors are shown as stick figures placed outside the rectangle; their names are placed under them. Lines connect actor icons to the use case ellipses with which they communicate. Relationships among use cases (such as extend and include) are drawn inside the rectangle.
Common Uses
You apply use case diagrams to model the use case view of a subject, such as a system. This view primarily models the external behavior of a subjectthe outwardly visible services that the subject provides in the context of its environment.
Use case views are discussed in Chapter 2 . |
Requirements are discussed in Chapters 4 and 6 . |