Mindmaps: node shapes

Mindmaps: node shapes

puml.online

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
2
3
4
5
6
7
8
9
@startmindmap
* Root
** Default node
**_) Circular node
**- Diamond node
**] Rounded rectangle
**( Rectangle
**{ Octagon
@enduml

Symbol guide: **) circle, **- diamond, **] rounded, **( rectangle, **{ octagon, no symbol = default.

Mermaid

Mermaid mind maps wrap node content in paired symbols to specify shape:

1
2
3
4
5
6
7
8
mindmap
root((Root))
Default node
)Circular node(
-Diamond node-
)Rounded rectangle(
[Rectangle]
{Octagon}

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.
On this page
Mindmaps: node shapes