Use case diagrams and the include and extend links
Show who takes part in a use case. Use include for separate behaviour the base calls and extend for an addition at a named point.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a restaurant service map. A map can show guests, waiters and the services they take part in. It does not show every step of serving a meal. It also does not replace the separate rules for who may enter a restricted room.
A in the Unified Modeling Language (UML) shows actors participating in use cases of a chosen subject. A describes behaviour with an observable result of value. Actors are roles outside that subject boundary, including people or other systems.
Sam is the for Daily List, a to-do app. Nina is the who decides what the team builds next. Sam shows List owner and Member participating in relevant goals. A line means participation, not a complete permission rule.
An inserts behaviour into another use case; Share a list can include Check list access when it executes that check. An adds behaviour at specified points in an independently meaningful base, with its condition if one is given.
The diagram is an index. Written flows, data and business rules explain what happens, including refusal and failure.
PLAIN WORDS · 1 in this section
- observable
- able to be seen, read or measured
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.
THE REAL JOB A shows participation and relationships, not a complete authorization matrix.
- Find the box
- Name the actors
- Read each goal
- Check each link
- Check the arrows
HOW THE PICTURE MAPS
| In the picture | In the work |
|---|---|
| The wall map of the restaurant | The use case diagram |
| The walls around the whole restaurant | The system boundary box |
| Guests, waiters and the cook | The actors |
| Each room on the map | A use case, one goal |
| Reusable service performed during the visit | Included behaviour executed within the including use case |
| A door that opens only when you have booked a private party | An extend link with its condition |
WHERE THIS PICTURE STOPS
- A map shows the rooms but not what happens in them, and a diagram shows goals but not steps.
- Rooms are fixed in a building, but goals can be added to a product at any time.
- A guest and a waiter are both people, but an actor in a diagram may also be another system.
HOOK
Include is always, extend is sometimes.
REMEMBER IT THIS WAY
A contrast: two neighbours told apart by one test.
Ask one question of any link between goals: does the base goal always use the other one, which is include, or only sometimes with a condition, which is extend.
| In the trick | What it stands for |
|---|---|
| include | one goal always uses another goal |
| extend | an extra goal added sometimes, with its condition |
TELL A FRIEND
Actors participate in use cases, include inserts behaviour, and extend adds it at specified points. Associations do not replace permissions.
OFTEN MIXED UP WITH Use cases and actors. That topic teaches what a is and how to write one. This topic draws many of them in one picture and joins them with include and extend.
PRACTISE AND KEEP
Sources for this topic — 2 sources
- Official requirement
Unified Modeling Language (UML) 2.5.1 specification page ↗ — Object Management Group · UML 2.5.1 December 2017, §§7.5,9.5.3,11.5,14,15,17–18: multiplicity, state/activity/interaction and use-case semantics; public normative PDF opened/read2026-11-06.
Official public catalogue/PDF retrieved and the cited sections read. UML 2.5.1 December 2017; §§7.5,9.5.3,11.5,14,15,17 and18 opened/read6 November 2026, including prior actor review. Original educational paraphrase; no source artwork copied.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Daily List, Sam, Nina, Lily and Leo are invented. A real use case diagram has more actors and more notes, and teams use include and extend with different strictness. Source versions and access limits are stated in the accompanying citations. These are invented educational examples, not official templates or universal obligations.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.