Mermaid for
Sequence diagrams
Trace a request end to end, document an auth flow once instead of re-explaining it in every review, and see exactly where a handoff breaks down.
A sequence diagram shows how processes, systems, or people interact over time, in the exact order those interactions occur. Each participant gets a vertical lifeline, and messages between them are drawn as horizontal arrows, top to bottom.
Originally developed as part of UML (Unified Modeling Language) in the 1990s, sequence diagrams became a standard tool for documenting software behavior and communication protocols. In Mermaid, they’re written in plain text, so they live in your repo, update with your code, and never go stale in a drawer.
Show the exact flow of a system interaction in code reviews, architecture discussions, or incident retrospectives.
Translate technical workflows into something stakeholders can follow without losing the detail that matters.
Describe your idea and get a diagram you can refine, then share with your team instantly.
Common questions about building sequence diagrams in Mermaid.