Introduce
Question worth asking
What question must this diagram answer?
Wrong guesses are expected and useful. Your guess stays on this page.
Show the answer
One question, written at the top, for one named audience. If you have three questions, you may need three simple diagrams.
Many architecture diagrams fail the same way. They are accurate, detailed, and nearly impossible to use. Every server, queue, and arrow is there. The one thing a reader came to learn is buried somewhere in the middle.
A useful diagram is not the one with the most information. It is the one that answers a question quickly, for the person who needs the answer.
Explain
Begin with the question the diagram must answer
Before drawing anything, write the question at the top of the page:
- What does this new system touch, and what could it break?
- Where does customer information go after someone fills in the form?
- Which parts do we own, and which belong to a vendor?
- What changes if we replace the old billing system?
One question per diagram. If you have three questions, you may need three simple diagrams, not one complicated one.
Then name the audience. A diagram for an executive deciding on budget and a diagram for an engineer planning a deployment answer different questions, even about the same system.
Show people, systems, and information flows
For most first conversations, three kinds of things are enough.
People. Who uses the system, by role: customers, staff, administrators, partners.
Systems. Your system as one box in the middle, and the other systems it talks to around it: the payment provider, the email service, the old database, the reporting tool.
Information flows. Arrows between them, each labeled with what moves and why: “order details,” “nightly customer export,” “password reset email.” An unlabeled arrow says that two things are connected. A labeled arrow says why it matters.
This is close to what the C4 model, created by Simon Brown, calls a system context diagram: your system in the center, surrounded by its users and the other systems it interacts with. The C4 site describes it as a diagram for both technical and non-technical people, where detail is not important. That is a good default for a first diagram.
Name boundaries and ownership
Draw a line around what your team owns. Everything outside the line belongs to someone else: another department, a vendor, a partner.
Boundaries answer the questions that cause the most trouble later:
- Who do we call when this part fails?
- Whose rules apply to the data once it crosses this line?
- What can we change on our own, and what needs someone else’s agreement?
Write the owner’s name or team inside or beside each box. A system with no clear owner is a finding in itself. It is often where the next incident is waiting.
Remove detail that does not change the decision
Once the diagram is drawn, go through it item by item and ask:
If I removed this, would the reader make a different decision?
If the answer is no, take it out. Server names, port numbers, internal modules, and version numbers usually belong in a more detailed diagram for a different audience. They can live in another view. They do not need to be in this one.
A few other habits help:
- Use plain words for labels. “Customer database,” not an internal code name.
- Add a small key if you use colors or line styles, and keep it to two or three meanings.
- Date the diagram and name who drew it, so a reader can tell whether it is current.
A diagram that fits on one screen and can be explained in two minutes will be used. A diagram that needs a guided tour usually will not.
Review the diagram with a non-specialist
The best test is a person who did not help draw it and does not work on the system every day.
Show them the diagram without explaining it. Ask:
- What do you think this system does?
- Who uses it?
- Where does the customer’s information go?
- What would you worry about if this box stopped working?
Listen for where they hesitate or guess wrong. That is where the diagram is unclear, not where the reader is slow. Fix the labels or the layout, and try again with someone else.
A non-specialist also catches jargon. If a word needs explaining, replace it.
Illustrate
The recipe, drawn once
Here is the recipe below applied to one made-up system, using only the examples from this article.
- The question
- Where does customer information go after someone fills in the form?
- The audience
- The staff who handle orders, and the person deciding whether to replace the form.
- What was removed
- Server names, the database engine, and the version of the form plugin. None changes the answer.
A five-step recipe
- Write the question and the audience at the top.
- Put your system in the middle, people on one side, other systems around it.
- Draw labeled arrows for the information that moves.
- Draw the boundary of what you own, and name every owner.
- Remove anything that does not change the answer, then test it on someone new.
Simple is not the same as shallow. A simple diagram is one where every element earns its place.
Apply
Diagram question worksheet
Now plan a diagram for a system you work with. Your answers stay on this page.
Diagram question worksheet
One question this diagram must answer.
Who needs the answer, and what will they decide with it?
Yours in the middle. The others it talks to around it.
Each arrow labeled with what moves and why.
What you own, and a name for every box.
If I removed this, would the reader make a different decision?
Your answers are not sent to 559 Solutions or anyone else.
Go deeper (optional): five questions to think through
Why does it work?
What value does this hold?
What happens if this changes?
What causes this to run?
What would you test?
Sources
- Simon Brown, The C4 model for visualising software architecture, and its page on the system context diagram.
