Cafe kiosk use case diagram
Customers and staff at a cafe kiosk. Ordering includes paying; collecting points extends paying, so the dashed arrows point opposite ways.
The diagram
Reading it step by step
- The system boundary is 'Cafe kiosk'.
- Actor 'Customer' uses 'Choose menu', 'Place order'.
- Actor 'Staff' uses 'Mark sold out'.
- 'Place order' always includes 'Pay'.
- 'Collect points' extends 'Pay' under a condition.
Shape by shape
| Shape | Symbol | Connections |
|---|---|---|
| Cafe kiosk | System boundary | - |
| Customer | Actor | → Choose menu, Place order |
| Staff | Actor | → Mark sold out |
| Choose menu | Use case | ← Customer |
| Place order | Use case | → Pay · ← Customer |
| Mark sold out | Use case | ← Staff |
| Pay | Use case | ← Place order, Collect points |
| Collect points | Use case | → Pay |
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.
# Cafe kiosk use case diagram
usecase
system Cafe kiosk
actor Customer
actor Staff
(Choose menu)
(Place order)
(Mark sold out)
(Pay)
(Collect points)
Customer -- (Choose menu)
Customer -- (Place order)
Staff -- (Mark sold out)
(Place order) ..> (Pay) : include
(Collect points) ..> (Pay) : extend