mindmapv0.9.4

什么是思维导图?

用于头脑风暴与结构化的放射状大纲。

mindmaprootsetupbuildshipdesignresearchreview
何时使用

Use a 思维导图 when…

01

Project kickoff brainstorms

02

Outlining a doc or talk

03

Mapping a feature surface area

语法基础

The minimal syntax

Copy this and you have a working 思维导图. Build from here.

mindmap.mmd
mindmap
  root((MERMAIDEDITOR))
    Editor
      Split pane
      Themes
      Shortcuts
    Content
      Diagram pages
      Templates
      Cheatsheet
    SEO
      i18n
      Schema
rootsetupbuildshipdesignresearchreview
常见写法

Patterns worth memorizing

Node shapes

`((double-circle))`, `[square]`, `(round)`, `))icon((` — pick by hierarchy depth.

Indentation = structure

Two-space indent per level; tabs and 4-space mix breaks parsing.

Icons (Iconify)

`::icon(fa fa-book)` adds an icon to a node when Iconify is enabled.

常见坑点

The things that will trip you up

Mermaid silently ignores misspellings — these are the failures we see most.

  1. 01

    Indentation is significant — lint your editor for trailing spaces.

  2. 02

    No way to draw cross-branch links; mindmaps are strictly trees.

  3. 03

    Long labels wrap aggressively; keep them under ~25 characters.