Agentic Mermaid

Style × palette combinations

Each card uses one supported family, one named style, and one palette. Agents pass this as render options; they do not edit Mermaid source just to change appearance.

Flowchart

Flowchart: Watercolor × Paper

The Mermaid source stays the same; the render call supplies watercolor as the style and paper as the palette.

Render options style: ['watercolor', 'paper'], seed: 4

Open styled
flowchart TD
  A[Start] --> B{Decision?}
  B -->|Yes| C[Do the thing]
  B -->|No| D[Skip it]
  C --> E[End]
  D --> E
Flowchart Watercolor Paper diagramBuild-time render of Flowchart with watercolor style and paper palette. Yes No Start Decision? Do the thing Skip it End
Build-time proof: same source, render options style: ['watercolor', 'paper'], seed: 4.

State

State: Chalkboard × Dusk

The Mermaid source stays the same; the render call supplies chalkboard as the style and dusk as the palette.

Render options style: ['chalkboard', 'dusk'], seed: 2

Open styled
stateDiagram-v2
  [*] --> Idle
  Idle --> Processing: start
  Processing --> Complete: done
  Processing --> Failed: error
  Failed --> Idle: retry
  Complete --> [*]
State Chalkboard Dusk diagramBuild-time render of State with chalkboard style and dusk palette. start done error retry Idle Processing Complete Failed
Build-time proof: same source, render options style: ['chalkboard', 'dusk'], seed: 2.

Sequence

Sequence: Report Figure × GitHub Light

The Mermaid source stays the same; the render call supplies publication-figure as the style and github-light as the palette.

Render options style: ['publication-figure', 'github-light'], seed: 0

Open styled
sequenceDiagram
  participant User
  participant App
  participant API
  User->>App: Click export
  App->>API: Render SVG
  API-->>App: SVG string
  App-->>User: Download
Sequence Report Figure GitHub Light diagramBuild-time render of Sequence with publication-figure style and github-light palette. Click export Render SVG SVG string Download User App API
Build-time proof: same source, render options style: ['publication-figure', 'github-light'], seed: 0.

Timeline

Timeline: Hand-drawn × Catppuccin Latte

The Mermaid source stays the same; the render call supplies hand-drawn as the style and catppuccin-latte as the palette.

Render options style: ['hand-drawn', 'catppuccin-latte'], seed: 3

Open styled
timeline
  title Product roadmap
  section Foundation
  2024 Q1 : Prototype
          : Parser coverage
  section Launch
  2024 Q2 : Public editor
          : SVG export
Timeline Hand-drawn Catppuccin Latte diagramBuild-time render of Timeline with hand-drawn style and catppuccin-latte palette. Product roadmap 2024 Q1 Prototype Parser coverage 2024 Q2 Public editor SVG export Product roadmap
Build-time proof: same source, render options style: ['hand-drawn', 'catppuccin-latte'], seed: 3.

Class

Class: Patent Hatching × Paper

The Mermaid source stays the same; the render call supplies patent-drawing as the style and paper as the palette.

Render options style: ['patent-drawing', 'paper'], seed: 6

Open styled
classDiagram
  class Renderer {
    <<abstract>>
    +render(source) string
  }
  class SVGRenderer {
    +render(source) string
  }
  class RenderPipeline {
    +run(source) string
  }
  Renderer <|-- SVGRenderer
  RenderPipeline *-- SVGRenderer : owns
Class Patent Hatching Paper diagramBuild-time render of Class with patent-drawing style and paper palette. <<abstract>> Renderer + render(source): string SVGRenderer + render(source): string RenderPipeline + run(source): string owns
Build-time proof: same source, render options style: ['patent-drawing', 'paper'], seed: 6.

ER

ER: Riso Print × Salmon

The Mermaid source stays the same; the render call supplies risograph as the style and salmon as the palette.

Render options style: ['risograph', 'salmon'], seed: 5

Open styled
erDiagram
  CUSTOMER {
    string id PK
    string email
  }
  ORDER {
    string id PK
    date created
  }
  LINE_ITEM {
    string id PK
    int quantity
  }
  CUSTOMER ||--o{ ORDER : places
  ORDER ||--|{ LINE_ITEM : contains
ER Riso Print Salmon diagramBuild-time render of ER with risograph style and salmon palette. CUSTOMER PK string id string email ORDER PK string id date created LINE_ITEM PK string id int quantity places contains
Build-time proof: same source, render options style: ['risograph', 'salmon'], seed: 5.

Journey

Journey: Dark Ops Dashboard × GitHub Dark

The Mermaid source stays the same; the render call supplies status-dashboard as the style and github-dark as the palette.

Render options style: ['status-dashboard', 'github-dark'], seed: 0

Open styled
journey
  title Editor adoption
  section Try
    Open editor: 5: User
    Load example: 4: User, Developer
  section Share
    Copy URL: 5: User
    Export SVG: 4: Developer
Journey Dark Ops Dashboard GitHub Dark diagramBuild-time render of Journey with status-dashboard style and github-dark palette. EDITOR ADOPTION 5 4 3 2 1 ACTORS User Developer Open editor Load example Copy URL Export SVG EDITOR ADOPTION
Build-time proof: same source, render options style: ['status-dashboard', 'github-dark'], seed: 0.

Architecture

Architecture: Blueprint × Nord

The Mermaid source stays the same; the render call supplies blueprint as the style and nord as the palette.

Render options style: ['blueprint', 'nord'], seed: 1

Open styled
architecture-beta
  group app(cloud)[Application]
  group data(database)[Data]
  service web(server)[Web App] in app
  service api(server)[API] in app
  service db(database)[Postgres] in data
  web:R --> L:api
  api:R --> L:db
Architecture Blueprint Nord diagramBuild-time render of Architecture with blueprint style and nord palette. Application Data Web App API Postgres
Build-time proof: same source, render options style: ['blueprint', 'nord'], seed: 1.

XY Chart

XY Chart: Accessible Contrast × Zinc Light

The Mermaid source stays the same; the render call supplies accessible-high-contrast as the style and zinc-light as the palette.

Render options style: ['accessible-high-contrast', 'zinc-light'], seed: 0

Open styled
xychart
  title "Weekly renders"
  x-axis [Mon, Tue, Wed, Thu, Fri]
  y-axis "Renders" 0 --> 100
  bar [25, 42, 58, 74, 88]
  line [18, 35, 52, 70, 95]
XY Chart Accessible Contrast Zinc Light diagramBuild-time render of XY Chart with accessible-high-contrast style and zinc-light palette. Mon Tue Wed Thu Fri 0 10 20 30 40 50 60 70 80 90 100 Renders Weekly renders Bar 1 Line 1 Mon: 2525Tue: 4242Wed: 5858Thu: 7474Fri: 8888Mon: 1818Tue: 3535Wed: 5252Thu: 7070Fri: 9595
Build-time proof: same source, render options style: ['accessible-high-contrast', 'zinc-light'], seed: 0.

Pie

Pie: Pen & ink × Paper

The Mermaid source stays the same; the render call supplies pen-and-ink as the style and paper as the palette.

Render options style: ['pen-and-ink', 'paper'], seed: 7

Open styled
pie showData
  title Export requests by format
  "SVG" : 42
  "PNG" : 28
  "ASCII" : 18
  "Unicode" : 12
Pie Pen & ink Paper diagramBuild-time render of Pie with pen-and-ink style and paper palette. 42% 28% 18% 12% SVG [42] (42.0%) PNG [28] (28.0%) ASCII [18] (18.0%) Unicode [12] (12.0%) Export requests by format
Build-time proof: same source, render options style: ['pen-and-ink', 'paper'], seed: 7.

Quadrant

Quadrant: Compact Trace Map × Nord Light

The Mermaid source stays the same; the render call supplies ops-schematic as the style and nord-light as the palette.

Render options style: ['ops-schematic', 'nord-light'], seed: 8

Open styled
quadrantChart
  title Feature priorities
  x-axis Low impact --> High impact
  y-axis Low effort --> High effort
  quadrant-1 Plan carefully
  quadrant-2 Big bets
  quadrant-3 Defer
  quadrant-4 Quick wins
  SVG export: [0.78, 0.28]
  MCP setup: [0.62, 0.72]
  Palette polish: [0.35, 0.24]
Quadrant Compact Trace Map Nord Light diagramBuild-time render of Quadrant with ops-schematic style and nord-light palette. BIG BETS PLAN CAREFULLY DEFER QUICK WINS SVG EXPORT MCP SETUP PALETTE POLISH LOW IMPACT HIGH IMPACT LOW EFFORT HIGH EFFORT FEATURE PRIORITIES
Build-time proof: same source, render options style: ['ops-schematic', 'nord-light'], seed: 8.

Gantt

Gantt: Plan Drafting × Solarized Light

The Mermaid source stays the same; the render call supplies architectural-plan as the style and solarized-light as the palette.

Render options style: ['architectural-plan', 'solarized-light'], seed: 9

Open styled
gantt
  title Release train
  dateFormat YYYY-MM-DD
  excludes weekends
  section Build
    Completed task :done, des1, 2024-01-08, 2024-01-10
    Active task    :active, des2, 2024-01-11, 3d
    Future task    :des3, after des2, 5d
  section Ship
    Crit review    :crit, rev1, after des3, 2d
    Release        :milestone, m1, after rev1, 0d
Gantt Plan Drafting Solarized Light diagramBuild-time render of Gantt with architectural-plan style and solarized-light palette. 01-14 01-21 COMPLETED TASK ACTIVE TASK FUTURE TASK CRIT REVIEW RELEASE RELEASE TRAIN
Build-time proof: same source, render options style: ['architectural-plan', 'solarized-light'], seed: 9.

Mindmap

Mindmap: Hand-drawn × Paper

The Mermaid source stays the same; the render call supplies hand-drawn as the style and paper as the palette.

Render options style: ['hand-drawn', 'paper'], seed: 10

Open styled
mindmap
  root((Agent-native release))
    discovery[Discovery]
      ::icon(fa fa-book)
      :::urgent large
      evidence["`**Evidence** across
interviews, benchmarks, and Unicode naïve café`"]
      constraints{{Constraints}}
        Security
        Determinism
    delivery(Delivery)
      beta))Beta signal((
      launch)Launch cloud(
      quality[Quality gates]
        Parser round-trip
        SVG identity
        Terminal width
    Ecosystem
      Mermaid parity
      Terminal tools
Mindmap Hand-drawn Paper diagramBuild-time render of Mindmap with hand-drawn style and paper palette. Agent-native release Agent-native release Discovery Evidence acrossinterviews, benchmarks, andUnicode naïve café Constraints Security Determinism Delivery Beta signal Launch cloud Quality gates Parser round-trip SVG identity Terminal width Ecosystem Mermaid parity Terminal tools
Build-time proof: same source, render options style: ['hand-drawn', 'paper'], seed: 10.

GitGraph

GitGraph: Compact Trace Map × GitHub Light

The Mermaid source stays the same; the render call supplies ops-schematic as the style and github-light as the palette.

Render options style: ['ops-schematic', 'github-light'], seed: 11

Open styled
---
title: Release train with backport
config:
  gitGraph:
    mainBranchName: main
    mainBranchOrder: 0
    showBranches: true
    showCommitLabel: true
    rotateCommitLabel: true
---
gitGraph LR:
  accTitle: Release history with feature merge and backport
  accDescr: Develop and release branches diverge, main merges develop, and release cherry-picks the merge
  commit id:"ROOT" tag:"v1.0.0" msg:"Foundation"
  branch develop order:2
  commit id:"API" type:HIGHLIGHT tag:"beta" msg:"Build API"
  branch release order:3
  commit id:"RC" type:REVERSE tag:"rc.1" msg:"Cut release candidate"
  checkout develop
  commit id:"UI" msg:"Finish interface"
  checkout main
  commit id:"HOTFIX" type:REVERSE msg:"Patch production"
  merge develop id:"MERGE" tag:"v2.0.0" type:HIGHLIGHT
  checkout release
  cherry-pick id:"MERGE" parent:"UI" tag:"backport"
  commit id:"PATCH" msg:"Verify release"
GitGraph Compact Trace Map GitHub Light diagramBuild-time render of GitGraph with ops-schematic style and github-light palette. Release history with feature merge and backport Develop and release branches diverge, main merges develop, and release cherry-picks the merge RELEASE TRAIN WITH BACKPORT MAIN DEVELOP RELEASE FOUNDATION V1.0.0 BUILD API BETA CUT RELEASE CANDIDATE RC.1 FINISH INTERFACE PATCH PRODUCTION MERGE V2.0.0 CHERRY-PICKED MERGE INTO RELEASE BACKPORT VERIFY RELEASE
Build-time proof: same source, render options style: ['ops-schematic', 'github-light'], seed: 11.

Radar

Radar: Watercolor × Catppuccin Latte

The Mermaid source stays the same; the render call supplies watercolor as the style and catppuccin-latte as the palette.

Render options style: ['watercolor', 'catppuccin-latte'], seed: 12

Open styled
radar-beta
  title Model comparison
  axis speed["Speed"], accuracy["Accuracy"], cost["Cost"]
  axis latency["Latency"], context["Context"], safety["Safety"]
  curve a["Model A"]{4, 5, 3, 4, 4, 5}
  curve b["Model B"]{5, 3, 4, 3, 5, 3}
  graticule polygon
  max 5
Radar Watercolor Catppuccin Latte diagramBuild-time render of Radar with watercolor style and catppuccin-latte palette. Speed Accuracy Cost Latency Context Safety Model A Model B Model comparison
Build-time proof: same source, render options style: ['watercolor', 'catppuccin-latte'], seed: 12.

Sankey

Sankey: Hand-drawn × Solarized Light

The Mermaid source stays the same; the render call supplies hand-drawn as the style and solarized-light as the palette.

Render options style: ['hand-drawn', 'solarized-light'], seed: 13

Open styled
sankey-beta
  Coal,Electricity,60
  Gas,Electricity,80
  Solar,Electricity,40
  Electricity,Homes,120
  Electricity,Industry,60
Sankey Hand-drawn Solarized Light diagramBuild-time render of Sankey with hand-drawn style and solarized-light palette. Coal60 Electricity180 Gas80 Solar40 Homes120 Industry60
Build-time proof: same source, render options style: ['hand-drawn', 'solarized-light'], seed: 13.

C4

C4: Plan Drafting × Paper

The Mermaid source stays the same; the render call supplies architectural-plan as the style and paper as the palette.

Render options style: ['architectural-plan', 'paper'], seed: 14

Open styled
C4Container
  title Internet banking
  Person(customer, "Customer", "Checks balances and makes payments")
  System_Boundary(bank, "Internet banking") {
    Container(web, "Web application", "TypeScript", "Customer portal")
    Container(api, "API", "Node.js", "Accounts and payments")
    ContainerDb(db, "Accounts", "PostgreSQL", "Balances and transactions")
  }
  Rel(customer, web, "Uses", "HTTPS")
  Rel(web, api, "Calls", "JSON/HTTPS")
  Rel(api, db, "Reads and writes", "SQL")
C4 Plan Drafting Paper diagramBuild-time render of C4 with architectural-plan style and paper palette. INTERNET BANKING INTERNET BANKING[SYSTEM BOUNDARY] USES[HTTPS] CALLS[JSON/HTTPS] READS AND WRITES[SQL] CUSTOMER[PERSON]CHECKS BALANCES AND MAKESPAYMENTS WEB APPLICATION[CONTAINER: TYPESCRIPT]CUSTOMER PORTAL API[CONTAINER: NODE.JS]ACCOUNTS AND PAYMENTS ACCOUNTS[CONTAINER: DATABASE: POSTGRESQL]BALANCES AND TRANSACTIONS Legend PERSON CONTAINER CONTAINER / DATABASE
Build-time proof: same source, render options style: ['architectural-plan', 'paper'], seed: 14.

Packet

Packet: Compact Trace Map × GitHub Light

The Mermaid source stays the same; the render call supplies ops-schematic as the style and github-light as the palette.

Render options style: ['ops-schematic', 'github-light'], seed: 17

Open styled
packet
title UDP datagram
+16: "Source port"
+16: "Destination port"
+16: "Length"
+16: "Checksum"
+32: "Payload"
Packet Compact Trace Map GitHub Light diagramBuild-time render of Packet with ops-schematic style and github-light palette. UDP DATAGRAM SOURCE PORT 0 15 DESTINATION PORT 16 31 LENGTH 32 47 CHECKSUM 48 63 PAYLOAD 64 95
Build-time proof: same source, render options style: ['ops-schematic', 'github-light'], seed: 17.

Kanban

Kanban: Dark Ops Dashboard × Catppuccin Latte

The Mermaid source stays the same; the render call supplies status-dashboard as the style and catppuccin-latte as the palette.

Render options style: ['status-dashboard', 'catppuccin-latte'], seed: 18

Open styled
kanban
  todo[To do]
    packet[Packet family]@{ assigned: "Maya", priority: "High" }
  doing[In progress]
    kanban[Kanban family]@{ assigned: "Alex", ticket: "AM-409" }
  done[Done]
    research[Community research]
Kanban Dark Ops Dashboard Catppuccin Latte diagramBuild-time render of Kanban with status-dashboard style and catppuccin-latte palette. TO DO Packet family Assigned: Maya Priority: High IN PROGRESS Kanban family AM-409 Assigned: Alex DONE Community research
Build-time proof: same source, render options style: ['status-dashboard', 'catppuccin-latte'], seed: 18.

Requirement

Requirement: Patent Hatching × Paper

The Mermaid source stays the same; the render call supplies patent-drawing as the style and paper as the palette.

Render options style: ['patent-drawing', 'paper'], seed: 15

Open styled
requirementDiagram
  direction LR
  requirement reliable {
    id: R1
    text: Requests retain authored meaning
    risk: high
    verifymethod: test
  }
  functionalRequirement edits {
    id: R2
    text: Typed edits preserve all relationships
    risk: medium
    verifymethod: inspection
  }
  element suite {
    type: conformance suite
  }
  reliable - contains -> edits
  suite - verifies -> edits
Requirement Patent Hatching Paper diagramBuild-time render of Requirement with patent-drawing style and paper palette. <<Requirement>>reliable ID: R1 Text: Requests retain authored meaning Risk: High Verification: Test <<Functional Requirement>>edits ID: R2 Text: Typed edits preserve all relationships Risk: Medium Verification: Inspection <<Element>>suite Type: conformance suite <<contains>> <<verifies>>
Build-time proof: same source, render options style: ['patent-drawing', 'paper'], seed: 15.

Treemap

Treemap: Report Figure × GitHub Light

The Mermaid source stays the same; the render call supplies publication-figure as the style and github-light as the palette.

Render options style: ['publication-figure', 'github-light'], seed: 19

Open styled
treemap
title Product investment
"Build"
  "Engineering": 60
  "Design": 25
"Learn"
  "Research": 30
  "Analytics": 15
Treemap Report Figure GitHub Light diagramBuild-time render of Treemap with publication-figure style and github-light palette. PRODUCT INVESTMENT BUILD 85 Engineering 60 Design 25 LEARN 45 Research 30 Analytics 15
Build-time proof: same source, render options style: ['publication-figure', 'github-light'], seed: 19.

Ishikawa

Ishikawa: Plan Drafting × Paper

The Mermaid source stays the same; the render call supplies architectural-plan as the style and paper as the palette.

Render options style: ['architectural-plan', 'paper'], seed: 20

Open styled
ishikawa
  Delayed release
  Process
    Manual approvals
    Unclear acceptance
  People
    Shared ownership
  Tooling
    Slow builds
      Cold caches
  Environment
    Unstable test data
Ishikawa Plan Drafting Paper diagramBuild-time render of Ishikawa with architectural-plan style and paper palette. DELAYED RELEASE PROCESS UNCLEAR ACCEPTANCE MANUAL APPROVALS PEOPLE SHARED OWNERSHIP TOOLING SLOW BUILDS COLD CACHES ENVIRONMENT UNSTABLE TEST DATA
Build-time proof: same source, render options style: ['architectural-plan', 'paper'], seed: 20.

Block

Block: Blueprint × Nord Light

The Mermaid source stays the same; the render call supplies blueprint as the style and nord-light as the palette.

Render options style: ['blueprint', 'nord-light'], seed: 16

Open styled
block
  columns 3
  client["Client"] space api["API"]
  block:data:3
    columns 2
    primary[("Primary")] replica[("Replica")]
    primary --> replica
  end
  client --> api
  api --> primary
Block Blueprint Nord Light diagramBuild-time render of Block with blueprint style and nord-light palette. Client API Primary Replica
Build-time proof: same source, render options style: ['blueprint', 'nord-light'], seed: 16.

Event Modeling

Event Modeling: Report Figure × GitHub Light

The Mermaid source stays the same; the render call supplies publication-figure as the style and github-light as the palette.

Render options style: ['publication-figure', 'github-light'], seed: 0

Open styled
eventmodeling
tf 01 ui CartUI
tf 02 cmd AddItem
tf 03 evt ItemAdded
tf 04 rmo CartItems
tf 05 ui CartUI
Event Modeling Report Figure GitHub Light diagramBuild-time render of Event Modeling with publication-figure style and github-light palette. UI / AUTOMATION COMMAND / READ MODEL EVENTS 01 · uiCartUI 02 · commandAddItem 03 · eventItemAdded 04 · readmodelCartItems 05 · uiCartUI
Build-time proof: same source, render options style: ['publication-figure', 'github-light'], seed: 0.

ZenUML

ZenUML: Hand-drawn × Dracula

The Mermaid source stays the same; the render call supplies hand-drawn as the style and dracula as the palette.

Render options style: ['hand-drawn', 'dracula'], seed: 17

Open styled
zenuml
title Checkout
Buyer as Customer
API
Store
Buyer->API.placeOrder() {
  Store.reserve()
  if (inStock) {
    return confirmation
  } else {
    return unavailable
  }
}
API->Buyer: accepted
ZenUML Hand-drawn Dracula diagramBuild-time render of ZenUML with hand-drawn style and dracula palette. Checkout [else] placeOrder() reserve() confirmation unavailable accepted Customer API Store
Build-time proof: same source, render options style: ['hand-drawn', 'dracula'], seed: 17.