思维导图
思维导图由通过缩进从中心生长出的想法组成。它以 mindmap 开头,标题可省略。
mindmap
A trip to the coast
Getting there
Train
Bus
Bicycle [green]
Staying
Campsite
Guest house
Doing
Swimming
Walking the cliffs
Fish and chips
Packing
Sun cream
Waterproofs

设置
| 设置 | 别名 | 值 |
|---|---|---|
direction |
spread, layout |
both(也可写作 centre、radial、around;默认值)将分支均衡地分布在中心两侧;right 和 left 让分支向一侧生长;down(也可写作 tree、org、organisation)让分支向下展开为组织结构图 |
想法
第一行是中心,每一行若比上一行多缩进一级,就是上一行的一个分支。如果在标题下顶层有多行,则标题成为中心;如果没有标题而顶层有多行,会收到警告,并以第一行作为中心。
每个分支取主题调色板中的一种颜色。方括号中的颜色或角色会为某个想法指定其专属颜色,其下方的想法也会沿用该颜色,除非它们另行指定;中心的颜色仅属于中心自己。
组织结构图
同样的各行加上 direction: down,就会从根部向下展开为组织结构图:
mindmap A small studio
direction: down
Director
Design [purple]
Visual
Sound
Engineering
Engine
Tools
Tests
Office [grey]
Finance

每个想法都居中位于其下方各想法的上方,任何两棵子树都不会重叠。