Sub topic 5
Reading and Drawing Flow Diagrams
Prerequisites and purpose
Assume you know what a user interface screen is, understand basic user goals, and can distinguish a persona from a real user. This chapter focuses on the notation and reasoning used to draw a user flow or task flow.
A flow diagram represents movement through a product. Each shape is a step, decision, or endpoint. Arrows show what can happen next. A useful diagram lets someone understand the experience without opening the product.
Standard flowchart notation
Use a small set of shapes consistently:
| Shape | Meaning | Example |
|---|---|---|
| Rounded rectangle | Start or end point | Open app, home screen |
| Rectangle | Action or screen | Enter password |
| Diamond | Decision with multiple outcomes | Credentials valid? |
| Arrow | Direction and sequence | Continue to the next step |
Put the user’s action or the product’s response inside a process shape. Keep labels short and use verbs where possible, such as “Enter email” or “Show error.”
A decision must name the question being evaluated. Label each outgoing connector with an outcome such as “Yes,” “No,” “Valid,” or “Already exists.” Unlabeled branches force readers to guess what they mean.
The diagram has one main direction, from top to bottom. The error branch loops back to the form because the user can try again. The sign-up branch joins the same endpoint after completing a different sequence.
Connectors, branches, and loops
Draw connectors so their direction is easy to follow. Avoid crossing lines when you can rearrange the diagram. If crossings are unavoidable, use clear line routing or split the flow into smaller diagrams.
A branch represents a meaningful difference in what happens next. Do not create a decision for every minor interaction. “Tap button” is usually an action. “Payment approved?” is a decision because the result changes the path.
A loop shows repetition. Common loops include:
- Correcting invalid form data.
- Retrying a failed network request.
- Returning to a previous screen to edit information.
- Repeating a search until a result is found.
Mark the condition that ends the loop. Otherwise, readers cannot tell whether the loop is intentional or an accidental dead end.
Drawing conventions that reduce ambiguity
Use these conventions when preparing a flow for a team:
- Start with one clearly marked entry point, or label several entry points.
- End successful paths with an explicit outcome.
- Use the same name for a step everywhere in the diagram and product notes.
- Put conditions on connectors, not in unexplained symbols.
- Separate user actions from system responses when timing or responsibility matters.
- Keep one level of detail within a diagram. Do not mix “Tap Buy” with internal database operations.
- Add a legend when your team uses custom symbols.
A flow is a model, not a screenshot collection. Include a screen only when its content changes the path or explains an important decision.
Checking a diagram
Walk through every path from each entry point. Ask:
- Does every action have a next step?
- Does every decision have a labeled outcome for each relevant case?
- Does every successful path reach a defined endpoint?
- Can an error path recover, or does it explain why the experience stops?
- Does the diagram show the user’s goal rather than unrelated product behavior?
You can also represent a flow as data and check for undeclared dead ends:
const flow = {
open_app: ["has_account"],
has_account: ["login_form", "signup_form"],
login_form: ["credentials_valid"],
signup_form: ["home"],
credentials_valid: ["home", "login_error"],
login_error: ["login_form"],
home: [],
};
const endpoints = new Set(["home"]);
const deadEnds = Object.entries(flow)
.filter(([step, next]) => next.length === 0 && !endpoints.has(step))
.map(([step]) => step);
console.log(deadEnds); // []This check finds steps with no next step that are not declared endpoints. It does not prove that the experience is usable, but it catches a common documentation error.
Exercise
In a password-reset flow, where should “Password meets rules?” appear, and how should its branches be labeled?
Show answer
It should appear as a diamond after the user enters a new password. Label the branches “No” and “Yes.” The “No” branch should show rule hints and loop back to password entry. The “Yes” branch should lead to the success endpoint.