A canvas with a ruler and pencil-shaped tool card beside a use case diagram being assembled: a boundary rectangle, ovals snapping into place inside it and actor badges outside, joined by indigo lines

To make a use case diagram, decide what the system is, list the actors who use it, write each actor’s goals as use cases, and connect them. Then add include, extend or generalization links only where they help, and review the result with the people who will use the system. The steps work in any UML tool, a general drawing tool, a text-based tool or on paper.

This guide gives the eight steps first, then shows how they look in three kinds of tools. If you want the diagram and the written use cases in one place, you can make a use case diagram online in Flowifex; the last section shows how.

What do you need before you start?

You need a rough scope and a list of the people and systems involved. That can come from a project brief, a stakeholder workshop or the current process. You do not need written use cases yet. The diagram is often the first thing drawn, because it helps decide which use cases to write. To see finished diagrams first, these use case diagram examples cover six common systems.

You also need the notation, which is small. The UML 2.5.1 specification from the Object Management Group defines four kinds of element: actors, use cases, the subject (drawn as the system boundary) and the relationships between them.

How do you make a use case diagram, step by step?

  1. Name the system and draw its boundary. Draw a rectangle and write the system name at the top. Everything inside is what you build; everything outside is not.
  2. List the actors. Write every role or external system that interacts with it, such as Customer, Support agent or Payment provider. Place them outside the boundary.
  3. Write each actor’s goals as use cases. Ask what each actor wants to get done. Write each goal as a verb and a noun, such as “Pay invoice”, and draw it as an oval inside the boundary.
  4. Connect actors to their use cases. Draw a plain line from each actor to every use case they take part in.
  5. Add include links for shared steps. If several use cases always run the same piece, such as “Authenticate”, make it a use case and draw an include arrow to it from each one.
  6. Add extend links for optional behavior. If behavior happens only under a condition, such as “Apply discount code”, draw an extend arrow from it to the base use case.
  7. Lay it out and check it. Put primary actors on the left and supporting systems on the right. Check that no oval is a screen or a button, and that no use case floats without an actor.
  8. Review it with stakeholders. Walk the people who will use the system through each actor’s goals. Missing goals and wrong actors show up fast.
An empty rectangular boundary on a canvas with a palette card beside it holding an actor badge, an oval and a small note, with indigo arrows showing the shapes being placed inside and outside the boundary
Illustration: Boundary first, then actors outside it and use cases inside it.

Step 3 is where most of the thinking happens. A good test is to ask whether the actor would name the goal themselves. A customer says “I want to pay my invoice”, not “I want to open the payment screen”. Steps 5 and 6 are where most diagrams go wrong: too many arrows make the picture harder to read than the text it replaces. When in doubt, leave the arrow out and put the detail in the written use case.

How do you draw it in a general drawing tool?

Most whiteboard and diagramming apps ship a UML shape library with an actor figure, an oval and a rectangle. Turn the library on, then follow the eight steps. Two settings make the result cleaner. First, snap shapes to a grid so ovals line up. Second, use a dashed line with an open arrowhead for include and extend, and type the stereotype on the line as «include» or «extend». A drawing tool does not know what the shapes mean, so it will not stop you drawing an arrow between two actors. The checks in step 7 are yours to run.

How do you make one with a text-based tool?

Text-based tools draw the diagram from a few lines you type, which suits teams that keep documents in version control. In PlantUML’s use case syntax, an actor is declared with actor Customer, a use case with (Pay invoice), and a link with Customer --> (Pay invoice). A rectangle block draws the boundary, and an arrow labelled <<include>> draws an include. The layout is automatic, which saves time but gives you less control over where shapes land.

How do you make a use case diagram in Flowifex?

Flowifex has a use case diagram editor inside each project. The diagram uses the same actors and use cases you write in the project, so each oval can be linked to the full use case behind it.

  1. Open your project and go to Diagrams, then select New diagram.
  2. Drag an actor, use case, system boundary or note from the palette onto the canvas.
  3. Draw a connector between two elements. The editor picks the allowed relationship: association between an actor and a use case, include by default between two use cases.
  4. Select a connector and change its Relationship type to include, extend or generalization in the inspector.
  5. Select an actor or use case and use Link to project actor or Link to project use case to tie the shape to the written item.
  6. Use Auto layout to tidy the canvas, then export the diagram as PNG or SVG.
Steps 1 and 2 in Flowifex: the Diagrams page with the New diagram button highlighted, then the diagram editor palette with Actor, Use case, System boundary and Note
Steps 3 and 4 in Flowifex: a selected include connector between two use cases, then the Properties panel with Relationship type set to Include
Steps 5 and 6 in Flowifex: a selected use case linked to project use case UC-006 in the Properties panel, then the Auto layout button in the editor toolbar

The editor also enforces UML rules that a drawing tool cannot. A system boundary cannot be a connector end, an element cannot connect to itself, and two actors can only be joined by generalization. The use case diagram tool page shows the editor in more detail.

How do you check that the diagram is right?

Run these checks before you share the diagram:

  • Every use case has at least one actor connected to it, directly or through an include.
  • Every name is a goal with a verb and a noun, not a screen, a button or a data entity.
  • Actors are roles, not named people or departments that might reorganize next year.
  • Extend arrows point to the base use case; include arrows point to the shared one.
  • The diagram fits on one page. If it does not, split it by area.
A finished use case diagram card on a clipboard with a column of check boxes next to it, three ticked in indigo and one empty, beside a magnifying glass
Illustration: Check the diagram against a short list before you share it.

The Sheffield Hallam University tutorial on constructing use case diagrams adds a useful habit for beginners: write a one-line description for each use case as you draw it. If you cannot write that line, the goal is not clear yet.

What comes after the diagram?

The diagram is the index, not the specification. For each oval, write the use case: actors, preconditions, the numbered basic flow, and the alternate and exception flows. The guide on how to write a use case covers that part, and what a use case diagram is used for explains when the picture alone is enough. Requirements then link to the steps, and a traceability matrix shows which steps have no requirement yet.

Frequently asked questions

  • Draw the system boundary and list the actors outside it. Write each actor’s goals as use cases inside it and connect actors to their use cases. Add include and extend links only where they help, then check and review it.

Keep every spec in one place. Start with a free project.

Model use cases, link requirements and generate your BRD. Free plan, no card needed.