UML use case diagram template: online shop
Three actors, four use cases and a system boundary.
About this template
A use case diagram answers one question: who uses the system, and for what? It is deliberately shallow. There is no order of steps and no internal design, only actors outside a boundary and the goals they can achieve inside it.
That makes it a good first diagram for a requirements conversation. If a stakeholder cannot find their goal on it, the scope is missing something.
What is in the diagram
- Actors
- Stick figures outside the boundary. An actor is a role, and can be another system such as a payment provider.
- Use cases
- Ellipses named with a verb phrase from the actor's point of view: "Place order".
- System boundary
- The rectangle. Everything inside is what you are building.
- Include
- A dashed arrow labelled «include»: placing an order always involves paying for it.