Car park use case diagram
Drivers and staff in an unattended car park. Exiting includes paying the fee; a season-pass discount extends paying.
The diagram
Reading it step by step
- The system boundary is 'Unattended car park'.
- Actor 'Driver' uses 'Enter', 'Exit'.
- Actor 'Manager' uses 'Change fees', 'View usage'.
- 'Exit' always includes 'Pay fee'.
- 'Apply season pass' extends 'Pay fee' under a condition.
Shape by shape
| Shape | Symbol | Connections |
|---|---|---|
| Unattended car park | System boundary | - |
| Driver | Actor | → Enter, Exit |
| Manager | Actor | → Change fees, View usage |
| Enter | Use case | ← Driver |
| Exit | Use case | → Pay fee · ← Driver |
| Change fees | Use case | ← Manager |
| View usage | Use case | ← Manager |
| Pay fee | Use case | ← Exit, Apply season pass |
| Apply season pass | Use case | → Pay fee |
Symbols used here
| Symbol | Meaning |
|---|---|
| Actor | A user role or an outside system; a stick figure. |
| Use case | One goal the user achieves; an oval. |
| System boundary | What the system covers; a large rectangle. |
| Include | Always run as part of the base use case. |
| Extend | Added to the base only under a condition. |
Diagram text
Paste this text into the editor to get the same picture, then change the names to fit your own work.
# Car park use case diagram
usecase
system Unattended car park
actor Driver
actor Manager
(Enter)
(Exit)
(Change fees)
(View usage)
(Pay fee)
(Apply season pass)
Driver -- (Enter)
Driver -- (Exit)
Manager -- (Change fees)
Manager -- (View usage)
(Exit) ..> (Pay fee) : include
(Apply season pass) ..> (Pay fee) : extend