Mindmaps: node shapes
简介 / Introduction
Mind maps are a popular way to organize ideas hierarchically. Both PlantUML and Mermaid support drawing them from plain text. This post compares their node shape syntax.
PlantUML 版
PlantUML mind maps use prefix symbols on nodes to change shape:
1 | @startmindmap |
Symbol guide: **) circle, **- diamond, **] rounded, **( rectangle, **{ octagon, no symbol = default.
Mermaid 版
Mermaid mind maps wrap node content in paired symbols to specify shape:
1 | mindmap |
Shape symbols: (()) circle, -- diamond ends, ()) left-round, []] rounded, [] rectangle, {} octagon.
对比 / Side-by-side
| Shape | PlantUML Symbol | Mermaid Symbol |
|---|---|---|
| Default | ** |
no symbol |
| Circle | **) |
(( )) |
| Diamond | **- |
- - |
| Rounded | **] |
[ ] |
| Rectangle | **( |
[ ] |
| Octagon | **{ |
{ } |
小结 / Wrap-up
PlantUML uses consistent prefix symbols across all depth levels, while Mermaid uses symmetric wrapping symbols for readability. Both render to clean SVG for embedding. Choose whichever fits your workflow.
- Title: Mindmaps: node shapes
- Author: puml.online
- Created at : 2026-09-29 08:30:00
- Updated at : 2026-09-29 01:06:38
- Link: https://puml.online/blog/mindmap-node-shapes-en/
- License: This work is licensed under CC BY-NC-SA 4.0.