Turn a text description of a system into a diagram (architecture, sequence, or flow) as diagram-as-code that lives in your repository and diffs like everything else.
Generate diagrams with Mermaid.js. Select a diagram type, browse templates, or write Mermaid code directly. Live preview renders in your browser.
Diagram-as-code wins over drawing tools for one reason: diagrams drawn in a GUI go stale immediately because updating them is annoying enough that nobody does it. Text-based diagrams live next to the code, diff in review, and get updated in the same pull request as the change they describe.
Sequence diagrams are the highest-value type for most engineering work. They make the interaction explicit: who calls whom, in what order, what happens on failure, and they surface design problems during review that a box-and-arrow architecture diagram hides completely.