Skip to content

Mind map ​

A mind map grows an outline into branches: ideas, notes from a meeting, a team's structure.

yuhwa diagramyuhwa diagramEdit
yuhwa
mindmap ideas "Launch plan" [layout: both] {
  **Launch**
    Marketing [pink]
      Blog posts
      Newsletter
    Product
      Beta [#16a34a]
      - Pricing page
    Sales [shape: pill]
}

Indentation is the tree: the first line is the root, each deeper line a child of the last shallower one. - and * bullets are optional, so a Markdown outline pastes as is. A trailing colour tints a node and its subtree; branches without one take the next palette colour. [shape: box | pill | plain | circle] changes one node's look.

node propresult
texttext colour of this node
font-sizefont size of this node, px
font-weightfont weight of this node, e.g. 300

Props combine in one bracket: Beta [green, text: white, font-size: 18]. A bracket with any other key, or a value that does not fit, stays part of the text.

header propresult
layout: bothbranches left and right of the root (default)
layout: verticalbranches above and below the root
layout: right / leftall branches on one side
layout: down / upan org-chart style tree, growing down or up
colors: monono automatic branch colours
font-size: 16first-level size; root 1.2×, deeper 0.92× (panel style)

Examples ​

Org chart ​

layout: down draws a tree from the top.

yuhwa diagramyuhwa diagramEdit
yuhwa
mindmap org "Engineering" [layout: down] {
  CTO
    Platform [blue]
      Infra
      Tooling
    Product [green]
      Web
      Mobile
    Data [amber]
      Analytics
}

Above and below ​

layout: vertical is both turned upright: the first branches go above the root, the rest below, so a wide map fits a narrow page.

yuhwa diagramyuhwa diagramEdit
yuhwa
mindmap trip "Trip" [layout: vertical] {
  **Japan trip**
    Before
      Visa
      Rail pass
    Tokyo
      Shibuya
      Asakusa
    Kyoto
      Temples
    After
      Photos
}

A pasted outline ​

Markdown bullets paste as they are. colors: mono keeps it quiet.

yuhwa diagramyuhwa diagramEdit
yuhwa
mindmap retro "Retro" [layout: right, colors: mono] {
  - Sprint 12
    - Went well
      - faster deploys
      - pairing on the API
    - To improve
      - flaky tests
      - on-call handover
    - Actions
      - quarantine flaky tests [red]
}

Text ​

yuhwa diagramyuhwa diagramEdit
yuhwa
mindmap talk "Talk" [layout: right, font-size: 16] {
  **Keynote** [font-size: 26]
    Opening [text: #7c3aed, font-weight: 700]
      a story
    Demo
      *live coding* [font-size: 12]
    Q&A [font-weight: 300]
}

Shapes ​

yuhwa diagramEdit
yuhwa
theme: dusk

mindmap stack "Stack" {
  **App** [shape: circle]
    Frontend [shape: pill]
      Vue
      Vite
    Backend [shape: pill]
      Node
      Postgres
    Ops [shape: plain]
      Docker
      Fly.io
}

Released under the MIT License.