Examples

Mermaid diagram examples

40 complete diagrams for situations that come up at work, written to render cleanly in GitHub, Notion, Obsidian and the MermanDraw editor. Each page has the code, what the diagram shows, how to adapt it, and a link to the syntax guide for its type.

Software architecture

Service layouts, component boundaries, and request paths.

APIs & authentication

Request/response flows, OAuth, tokens, webhooks, and error handling.

DevOps & infrastructure

Pipelines, deployments, incident handling, and environment layouts.

Data & databases

Schemas, ETL flows, and how data moves between systems.

Business processes

Approvals, order handling, onboarding, and support workflows.

Product & UX

User journeys, feature prioritization, and app state.

Project planning

Timelines, roadmaps, and release history.