The most useful Mermaid diagrams on the internet — explained, and ready to fork.

Real-world architecture, sequence, state, and ER diagrams sourced from public repos and documentation. Every diagram comes with AI-written commentary, source attribution, and a one-click fork into the Archigram editor.

Library · 156 curated Mermaid diagrams from the web

Browse by category

System Design

Microservices, monoliths, event-driven systems, CQRS, hexagonal architecture — battle-tested patterns from real engineering teams.

60 diagrams

Cloud Architecture

AWS, GCP, and Azure reference architectures — VPC layouts, multi-region patterns, serverless stacks, and well-architected designs.

4 diagrams

Data Pipelines

ETL flows, streaming pipelines, lakehouse architectures, Kafka topologies, Airflow DAGs — modern data engineering patterns.

7 diagrams

ML & AI

RAG pipelines, training architectures, inference stacks, agentic systems — how production ML and AI systems fit together.

52 diagrams

DevOps & CI/CD

Kubernetes topologies, deploy strategies, GitOps flows, blue-green deploys, canary rollouts — operational diagrams that ship.

10 diagrams

Auth & Payment Flows

OAuth 2.0, SAML, JWT, payment flows, KYC, 3DS — sequence diagrams for the flows you have to get right.

2 diagrams

Database Schemas

Entity-relationship diagrams and schema designs for SaaS, marketplaces, social, and operational applications.

1 diagram

State Machines

Workflows, sagas, lifecycles, order states, subscription states — the diagrams that document non-trivial business logic.

2 diagrams

Flowcharts & More

Decision flows, mindmaps, journeys, Gantt charts — the everyday diagrams teams reach for to think on paper.

18 diagrams

Featured

Production RAG Pipeline (Ingest → Embed → Store → Retrieve → Generate)

Production-grade Retrieval-Augmented Generation pipeline showing offline ingest (chunk + embed + store) and online query (retrieve + rerank + generate) with a feedback loop for continuous evals.

OAuth 2.0 Authorization Code Flow with PKCE

Sequence diagram of the OAuth 2.0 Authorization Code flow with PKCE — the recommended pattern for SPAs, mobile apps, and any public client that cannot keep a secret.

AWS Three-Tier Microservices Architecture

Reference three-tier microservices architecture on AWS — edge (CloudFront/WAF), app (ALB + service fleet), and data (Aurora/Redis/S3) tiers with async SQS workers.

Kafka Stream Processing Pipeline (Producer → Topics → Consumers → Sinks)

End-to-end Kafka pipeline showing app events, CDC, and IoT telemetry flowing through topics, stream processors (Kafka Streams, ksqlDB, Flink), and sinking into Snowflake, Elasticsearch, and S3.

AWS VPC with Public and Private Subnets across Multiple AZs

Production-ready AWS VPC layout with public, private, and isolated subnets duplicated across two Availability Zones for HA, with NAT gateways for outbound private traffic.

Mindmap Structure and Concepts

Illustrates the core concepts, origins, research, and tools related to mindmaps, showcasing a hierarchical structure.

Newest

Data Flow in a Visualization Tool

Illustrates the data flow from various sources through a GraphQL layer, configurator, and renderer, with persistence for chart configurations.

Qwen / vLLM Service Inference Path

Illustrates the deployment and inference pipeline for a Qwen model fine-tuned with LoRA, served via vLLM's OpenAI-compatible API, handling HTTP requests an

ASR Interview Coder LLM System Flow

This diagram illustrates the four-layered processing flow for an ASR-driven LLM system, including smart analysis, intent recognition, user personalization,

ClawLoops Layered System Architecture

This diagram illustrates the layered architecture of the ClawLoops system, detailing the flow from browser access through ingress, control plane, runtime o

Code Generation Workflow for Dependency Injection

A detailed flowchart illustrating the automated workflow for dependency injection (DI) code generation, from initial analysis to final compilation.

Cross-Process Communication with RemoteMessenger

Illustrates the asynchronous communication flow between a Main Process and a WebView using a RemoteMessenger pattern, leveraging postMessage for Inter-Proc