Most Elixir diagrams you will meet are one of two things: a supervision tree, which shows what starts what, or a message-flow sketch, which shows what talks to what. Read the root and the leaves first, then follow the arrows to see direction, then check the labels for who owns state. Get those three right and the diagram stops looking like decoration.
Find the root, then the leaves
In a supervision tree, the box at the top is the supervisor your application starts. Every line below it is a child, and children are listed in start order, left to right. Read the leaves — the boxes with no children — because those are the processes that actually do something: a worker, a listener, a scheduled job.
Ask one question at each level: what happens to the siblings if this child dies? A supervisor restarts its own children, so a crash is contained at the level where it happened. If the diagram shows a single supervisor with twelve children, the drawing is telling you that any one of them failing restarts all of them together unless they are one-for-one and correctly configured.
Follow the arrows for direction
Arrows between processes are messages, and the direction matters more than the labels. A solid arrow from a web handler to a worker means the handler sends work and moves on without waiting for the result. A double-headed arrow usually hides a synchronous call — one process blocks until the other replies.
Drawings that show a database box at the bottom are showing data flow rather than supervision. Mixing the two on one page is common; keep them separate in your head. If you cannot tell whether a line is a message or a query, the diagram is ambiguous and worth redrawing.
Look for what the diagram leaves out
Textbook trees are tidier than real ones. Real systems add a registry so processes can be found by name, timers that fire on a schedule, and a task supervisor for short-lived work. None of those usually appear unless the drawer remembered them.
- Where does state live, and which process owns it?
- Can a caller find the process by name, or does it need a reference?
- Which calls have timeouts, and what happens when one expires?
- What starts the tree, and what restarts it if the whole application dies?
Read diagrams beside the code
A diagram is a claim, not a fact. Open the Application module and the supervisor’s init/1 and check the child list against the picture. Two minutes of comparison will show you children that were removed from the drawing or added to the code, and that gap is usually where the confusing bug lives.
If you are the one drawing, label every arrow with the message it carries and every box with its module name. A diagram that cannot be checked against code is a mood board.
Practise on a library you use
Pick a small dependency, find its supervisor, and sketch the tree yourself before reading its documentation. Then compare. The exercise is quick, and it builds the instinct that makes unfamiliar architecture diagrams readable in a few minutes instead of an afternoon.