Archyno

Templates

UML use case diagram template

Two actors, a system boundary and four use cases with a correct include and extend already drawn - the scope diagram a requirements document actually needs.

Notation: UML 2.5.1Diagram: Use case diagram

System«include»«extend»CustomerAdministratorPlace orderTake paymentApply discountTrack orderManage catalogue
The template as it opens. The boundary is the element most drafts forget.

Open this template in Archyno

It opens as an editable model, not an image. Change it in the browser, then export to PNG, SVG, Mermaid, XMI, or a Sparx .qea file.

Open this template

What is on this diagram

System boundary
The rectangle. Everything inside it is yours to build.
Customer
The primary actor - the one with a goal. Rename to yours.
Administrator
A secondary actor. Delete it if only one role matters.
Place order
The goal-level use case. One per thing an actor wants done.
«include»
Always-runs behaviour factored out of the base case.
«extend»
Conditional behaviour. The arrow points at the case it extends.

How to make it yours

  1. Name every use case verb-first, from the actor's side: 'Place order', not 'Order processing'.
  2. Put the boundary around what you are building, and leave every actor outside it.
  3. Keep the include arrow pointing away from the base case and the extend arrow pointing at it.
  4. Delete any use case that is a step rather than a goal - logging in is not usually a goal.
  5. Stop at about eight ovals. A use case diagram is a table of contents, not the contents.

Common questions

What is the difference between include and extend?

Include is behaviour the base use case always runs, factored out so two cases can share it, and its arrow points from the base to the included case. Extend is behaviour that runs only under a condition, and its arrow points from the extending case back at the base.

Should actors go inside the system boundary?

No. The boundary encloses what you are responsible for building, and an actor is by definition outside it - a person, another system, or a clock. Putting an actor inside is the single most common error on a use case diagram, because it quietly claims you are building the user.

How detailed should a use case diagram be?

Barely. It exists to name the goals and show who has them, and the detail belongs in the use case text underneath. Eight ovals is a healthy diagram; thirty is a diagram nobody reads and a scope nobody agreed to.

Read the notation

All templates