Many architecture diagrams look the same: twenty boxes, thirty arrows, three colours whose meaning nobody remembers, and a legend in the corner. They are accurate, and people look at them for a few seconds and go back to reading code.
A diagram that gets read answers one question. This article shows how to choose that question, cut a diagram down to it, and draw arrows that say something, with a before-and-after example from an invented web shop.
Why the full diagram fails
A complete diagram of a system answers "what exists". That is rarely what the reader came for. A new developer wants to know where a request goes. An on-call engineer wants to know what breaks if the database is slow. A product manager wants to know why a feature touches three teams.
When all of those questions are answered at once, none of them is easy to find. The reader has to trace a path through boxes that do not matter to them, and most stop before they get there.
Step 1: write the question first
Before opening a drawing tool, write the question the diagram answers as a single sentence at the top of the page. For example:
What happens between a customer pressing "Pay" and the order showing as paid?
This sentence decides everything else: which boxes stay, which arrows stay, and what the labels say. If you cannot write it, you probably need two diagrams, or a list instead of a picture.
Step 2: keep only what the question needs
Go through the full system and keep a component only if the answer passes through it. For the payment question, that might be:
- the web app,
- the orders service,
- the payment provider,
- the webhook handler,
- the orders database.
The search service, the recommendation engine, the email service and the admin panel all exist. They are not part of this answer, so they are not on this diagram. If one of them matters for a different question, it gets a different diagram.
Five boxes are readable. Fifteen are a map that needs a guide.
Step 3: label every arrow with what moves
An unlabelled arrow says "these two are connected", which the reader already assumed. A labelled arrow says what happens:
Web app --(POST /orders/123/pay)--> Orders service
Orders service --(create payment intent)--> Payment provider
Payment provider --(webhook: payment succeeded)--> Webhook handler
Webhook handler --(UPDATE orders SET status = 'paid')--> Orders DB
The labels turn the diagram into a sequence a reader can follow with a finger. Number them if the order is not obvious from the layout.
Step 4: make the direction of reading obvious
People read diagrams the way they read text: left to right, top to bottom. Place the first step top left and the last bottom right. Avoid arrows that cross, and avoid arrows that loop back unless the loop is the point.
If one arrow goes the "wrong" way (here, the webhook coming back from the payment provider), that is often the most important thing in the picture. It is the moment the system waits for someone else. Say so in a short note next to it.
Step 5: one note for the thing people get wrong
Every system has one fact that surprises new people. For the payment flow it might be:
The order is not marked as paid when the customer returns to the site. It is marked when the webhook arrives, which can be seconds or minutes later.
Put that sentence on the diagram, near the arrow it is about. It saves more confusion than any amount of colour.
Before and after
Before: one diagram titled "System architecture", with every service, three databases, two queues, a cache and a CDN. Arrows unlabelled. A colour legend: blue for internal, green for external, grey for deprecated.
After: a diagram titled with the question "What happens when a customer pays?". Five boxes, four numbered and labelled arrows, one note about the webhook. A link underneath to the full system map for anyone who needs it.
The full map did not disappear. It moved from being the first thing people see to being a reference for people who already know what they are looking for.
A checklist
- The question is written above the diagram.
- Every box is on the path of the answer.
- Every arrow has a label that says what moves or what is called.
- Reading order runs left to right, top to bottom.
- There is at most one surprising fact, written next to where it happens.
- No colour carries meaning that is not also written in words.
Where this does not help
Some questions are about structure, not flow: which team owns what, which services share a database. For those, a grouped list or a table can be clearer than boxes and arrows.
Diagrams go stale. A diagram that answers one question is easier to keep current than a complete one, but it still needs an owner and a date on it. A wrong diagram is worse than none, because people trust pictures.
And a diagram does not replace the explanation of why the system is built this way. That belongs in a short text next to it.
Write the question first, and draw only what its answer passes through.
Written with the help of AI and checked by the explain.ink team.


Top comments (0)