# The map

> Use cases, actors, areas and journeys, what a map is made of, and how a person who does not program reads it.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://cases.docs.sypnia.com/map/

For agents: A map = use cases (the unit: who, goal, how it starts, where it lives, how it ends), actors (people roles and systems), areas (groups of cases with their public outcomes; one service each), journeys (ordered cases a person goes through), the navigation map (a tree of places, one parent each, roots per actor) and the event graph (outcomes as events between cases). Two views that agree: a tree of places for people, a graph of outcomes for the system. Pages: use-cases, navigation, starts, outcomes-and-events, actors-areas-journeys, editor, reading-for-everyone.

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.
