One diagram, five tools: pick by where it will be read
Mermaid for quick docs that live in the repository, PlantUML when the UML has to be exact, draw.io for the dense architecture you lay out by hand, Markmap to show a Markdown outline as a mind map, ASCIIFlow for the small diagram that fits in a code comment. This kit settles which one to take for which need, and says when to switch tools.
Why
The wrong diagram tool does not show on the day you draw, it shows three months later.
An architecture diagram drawn by hand in a drawing tool, filed in a Drive: nobody reopens it when the code changes, and it lies within a quarter. The other way round, a dense diagram forced into Mermaid turns into spaghetti nobody reads. Each tool wins on one ground and loses on the others: writing in text keeps the diagram current, drawing by hand keeps it readable.
A diagram nobody updates is worse than no diagram: it earns trust it no longer deserves.
When
You need to document a system, prepare an architecture review or a system design interview, and you are torn between tools. Audience: developer, tech lead.
✅ You know it's your kit when
- Your diagrams live in a tool nobody opens and the code has moved since
- Your Mermaid diagram overflows and the arrows cross everywhere
- An architect asks you for UML and you do not know which one to write
❌ Not for this kit
- You want the agent to derive the docs and the map from the code itself → Document and visualise your architecture
- You want an editorial diagram in your brand, generated by your agent → Diagram Design
- You are drawing a screen mockup: that is design work, not a diagram
How
Pick the tool by where the diagram will be read, not by the one you already know.
Everything that lives in the repository stays text, so it ages with the code and reads in a review. Drawing by hand is only worth it when layout matters more than keeping it current. The tree and the code comment are two separate cases, each with its own tool.
Mental loop: text as long as the diagram has to follow the code, drawing when it has to be read first.