Mermaid Mindmaps for Brainstorming and Planning
Create mindmaps with Mermaid for brainstorming, feature planning, and knowledge mapping. Learn the indentation-based syntax, shapes, and icons for visual thinking.
Detailed Explanation
Mindmaps in Mermaid
A mindmap is a radial diagram that branches outward from a central idea. Mermaid's mindmap syntax uses indentation to define the hierarchy, making it one of the most intuitive diagram types to write.
Basic Syntax
Mindmaps use indentation (spaces) to create parent-child relationships:
mindmap
root((Project Ideas))
Feature A
Sub-feature 1
Sub-feature 2
Feature B
Sub-feature 3
Feature C
The root node is defined first, and each level of indentation creates a deeper branch.
Node Shapes
Like flowcharts, mindmap nodes support different shapes:
mindmap
root((Central Idea))
[Square]
(Rounded)
))Bang((
)Cloud(
{{Hexagon}}
((text))— Circle (typically used for root)[text]— Square(text)— Rounded rectangle))text((— Bang / explosion)text(— Cloud{{text}}— Hexagon
Icons
Add icons using the ::icon() syntax after a node:
mindmap
root((DevToolbox))
Formatters
::icon(fa fa-code)
JSON
YAML
SQL
Converters
::icon(fa fa-exchange)
Base64
URL Encode
Generators
::icon(fa fa-cog)
UUID
Hash
A Complete Planning Example
mindmap
root((Q1 Roadmap))
Performance
Lazy loading
Image optimization
Bundle analysis
Features
Dark mode
Export to PDF
Keyboard shortcuts
Infrastructure
CI/CD pipeline
Monitoring
Staging environment
Documentation
API docs
User guide
Contributing guide
Tips
- Keep depth to 3-4 levels — deeper nesting becomes hard to read.
- Use shapes for emphasis — make action items square, ideas rounded, and urgent items use the bang shape.
- Start broad, refine later — dump all ideas first, then reorganize branches.
- Combine with other diagrams — use the mindmap for brainstorming, then convert key branches into flowcharts or Gantt charts for execution.
Use Case
A product manager running a sprint planning session. The mindmap captures all proposed features, technical debt items, and bug fixes radiating from the sprint goal — making it easy to see the full scope before prioritizing and assigning work.
Try It — Mermaid Diagram Editor
Related Topics
Mermaid Flowchart Basics — Syntax, Nodes, and Arrows
Diagram Types
Mermaid Timeline Diagrams for Project History and Roadmaps
Advanced
Mermaid Pie Charts for Data Visualization
Diagram Types
Using Mermaid Diagrams in Markdown and GitHub Docs
Integration & Workflow
Customizing Mermaid Diagram Themes, Colors, and Fonts
Integration & Workflow