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-12-06 10:29:22
- Link: https://puml.online/en/blog/mindmap-node-shapes/
- License: This work is licensed under CC BY-NC-SA 4.0.