<aside> 👋

A use case diagram answers one simple question: Who uses the system, and what do they want to achieve with it?

</aside>

The order to remember

flowchart LR
    A["1. Set the boundary"] --> B["2. Find actors"]
    B --> C["3. Find goals"]
    C --> D["4. Draw associations"]
    D --> E["5. Add include / extend only if proved"]

Memory line: Boundary → Actors → Goals → Lines → Relationships.

1. Start with the system boundary

The rectangle tells us what system we are studying. Write a clear name on it.

Examples:

Anything inside the rectangle belongs to the system. Actors stay outside it.

Changing the boundary can change the correct answer. State your boundary before arguing about actors.

2. An actor is a role-not just a person

An actor must:

  1. Be outside the chosen system.
  2. Interact directly with it.
  3. Play a role in one or more use cases.