Examples

Every type of diagram limu supports, rendered by its svg package when the site was built.

View Markdown
Theme

Each type shows one or two examples here, and its own page has the rest. Every example opens in the playground. Types marked beta are declared with -beta because Mermaid may still change them.

Block

Blocks placed on a grid of columns by hand, joined by arrows.

A web service in three tiersOpen in Playground
Layers of a mobile appOpen in Playground

All 5 examples of Block

C4

A software system's context, containers or components, at one level of the C4 model.

A food delivery platformOpen in Playground

All 4 examples of C4

Class

Classes with their fields and methods, and how they inherit from and use each other.

An online store's ordersOpen in Playground
Payment gatewaysOpen in Playground

All 6 examples of Class

Entity relationship

The entities of a data model, their attributes, and how many of one relate to how many of another.

A blog's schemaOpen in Playground
An online storeOpen in Playground

All 6 examples of Entity relationship

Event modeling

A system over time as a row of screens, commands, events and views.

An online store's checkoutOpen in Playground
Booking a meeting room, with its dataOpen in Playground

All 4 examples of Event modeling

Flowchart

Steps of a process as boxes, joined by arrows that show where each step leads.

Checking out an orderOpen in Playground
From pull request to productionOpen in Playground

All 7 examples of Flowchart

Gantt

The tasks of a project as bars along a calendar, with their dates and dependencies.

Mobile app 3.0 launchOpen in Playground
Postgres 17 upgradeOpen in Playground

All 5 examples of Gantt

Git graph

Commits on branches of a repository, and where the branches split and merge.

A release with Git flowOpen in Playground
Trunk-based developmentOpen in Playground

All 6 examples of Git graph

Kanban

A board of cards in columns, one column for each stage of the work.

Sprint board for a payments teamOpen in Playground
Support queue on a MondayOpen in Playground

All 3 examples of Kanban

Mindmap

A central idea with topics branching from it, and subtopics from those.

Planning a product launchOpen in Playground
Learning KubernetesOpen in Playground

All 5 examples of Mindmap

Packet

The fields of a packet or header, each as wide as the bits it takes.

IPv4 headerOpen in Playground

All 4 examples of Packet

Pie

A whole divided into slices, each as large as its share.

Where the build minutes goOpen in Playground

All 3 examples of Pie

Quadrant chart

Points placed on two axes, in a square divided into four quadrants.

Backlog by effort and impactOpen in Playground

All 3 examples of Quadrant chart

Requirement

Requirements, the elements that satisfy or verify them, and how they depend on each other.

Paying at checkoutOpen in Playground
Resetting a passwordOpen in Playground

All 3 examples of Requirement

Sankey

Quantities flowing between nodes, each band as wide as its flow.

Cloud bill by team and serviceOpen in Playground
What became of trial signupsOpen in Playground

All 4 examples of Sankey

Sequence

Participants side by side, with the messages they send each other in the order they are sent.

Signing in with OAuthOpen in Playground
Paying for an orderOpen in Playground

All 7 examples of Sequence

State

The states a system can be in and the events that move it from one to another.

A subscription's billingOpen in Playground
A pull requestOpen in Playground

All 6 examples of State

Timeline

Events placed in order along a line, grouped by period.

Checkout API outageOpen in Playground
Our road to continuous deliveryOpen in Playground

All 3 examples of Timeline

User journey

The steps a user takes to do a task, scored by how each one felt.

Shipping a first deployOpen in Playground

All 3 examples of User journey

XY chart

Bars and lines of values on a horizontal and a vertical axis.

Monthly active usersOpen in Playground
p95 latency by regionOpen in Playground

All 4 examples of XY chart

AgentflowBeta

The tasks, tools and decisions of AI agents, and how they hand work to each other.

A code review agentOpen in Playground
Support tickets handed between agentsOpen in Playground

All 5 examples of Agentflow

ArchitectureBeta

Services and resources grouped by where they run, and how they connect.

A web app in the cloudOpen in Playground
A seaweed farm's telemetryOpen in Playground

All 4 examples of Architecture

CynefinBeta

Situations sorted into the domains of the Cynefin framework, from clear to chaotic.

Sorting a platform team's backlogOpen in Playground

All 3 examples of Cynefin

IshikawaBeta

The causes of a problem, grouped into categories along the bones of a fish.

Slow checkout pageOpen in Playground

All 3 examples of Ishikawa

RadarBeta

Several series of values on axes that radiate from one center.

Skills across two teamsOpen in Playground
Choosing a databaseOpen in Playground

All 3 examples of Radar

RailroadBeta

The rules of a grammar drawn as tracks, which a valid input follows from start to end.

A JSON numberOpen in Playground
A small expression grammarOpen in Playground

All 5 examples of Railroad

SwimlaneBeta

A process laid out in lanes, one for each person or team that does its steps.

Incident response across teamsOpen in Playground
From pull request to productionOpen in Playground

All 5 examples of Swimlane

Tree viewBeta

A hierarchy indented as a tree, as of the folders and files of a project.

A Go web serviceOpen in Playground
A monorepo, drawn with box charactersOpen in Playground

All 4 examples of Tree view

TreemapBeta

A hierarchy of values as nested rectangles, each sized by its value.

A month of cloud costsOpen in Playground
What is in the JavaScript bundleOpen in Playground

All 3 examples of Treemap

Use caseBeta

The actors outside a system and the use cases they take part in.

A public library's lending systemOpen in Playground
A ride-hailing appOpen in Playground

All 5 examples of Use case

VennBeta

Sets as overlapping circles, with what they share where they overlap.

Where platform engineering sitsOpen in Playground
Where the checkout code runsOpen in Playground

All 3 examples of Venn

Wardley mapBeta

The components of a value chain, placed by how visible they are and how far they have evolved.

A video streaming serviceOpen in Playground
A seaweed farm's value chainOpen in Playground

All 5 examples of Wardley map