The map
Use cases, actors, areas and journeys, what a map is made of, and how a person who does not program reads it.
A map is made of a few kinds of things. They are the same in the files, in the editor and in the API.
| Thing | What it is | Example (a bakery) |
|---|---|---|
| Use case | One thing someone does with the app, from how it starts to how it ends | Order for tomorrow |
| Actor | Who does it: a kind of person, or another system | customer, staff, Rappi, the clock |
| Area | A group of cases that belong together, with the outcomes it shares | Orders, Weather, Deliveries |
| Journey | Cases one person goes through, in order | First order: sign up → order → pick up |
| Place | Where a case happens in the app, in the navigation tree | Shop › Order for tomorrow |
| Start | How a case starts: in the app, from another app, on a schedule, on an event | every 2 hours, Bogotá time |
| Outcome | How a case ends, with a name and a typed payload; failures are outcomes too | OrderPlaced, SoldOut |
The map is really two maps that agree: a tree of places for people, so everyone knows where each case lives, and a graph of outcomes for the system, so everyone knows what each case sets off. Both are drawn from the same case files.
- Every part of a use case, and how to write each one.
- Where each case lives, as a tree of places.
- In the app, from another app, on a schedule, or on another case’s outcome.
- How every case ends, and how other cases listen.
- Who acts, how cases are grouped, and the paths people take.
- The map for people who do not program.
- The same case at three levels of detail.