Diagrams / Mermaid Mindmap: Syntax & Examples
Mermaid Mindmap: Syntax & Examples
Learn Mermaid mindmap syntax through an editable hierarchy. Organize root and child topics, check indentation and choose when to use a flowchart.
When to use Mindmap
Use a Mermaid mindmap to organize one topic into branches and subtopics. It works well for a study outline, planning discussion, or a set of related ideas. Begin with one root and let each level answer a narrower question than its parent.
Read the Mindmap example
Diagram source
mindmap
root((Product launch))
Research
Interviews
Market review
Delivery
Prototype
Release checklistHow to use this tool
- Start with the example in the editor and identify the elements that answer your question.
- Replace the sample labels and values, previewing after each structural change.
- Review the diagram at its intended reading size, then keep the source and export the format your document accepts.
Syntax and interpretation
| Concept | How to apply it |
|---|---|
| Hierarchy | Indent child topics beneath their parent. Consistent indentation makes the intended structure easier to maintain. |
| Labels | Use a short phrase per node. A paragraph inside a branch can overwhelm the rest of the map. |
| Alternative input | The outline converter applies a strict two-space-per-level format. Raw Mermaid mindmap syntax and that converter’s input rules are different. |
Common questions
Can a mindmap show dependencies between branches?
Its strength is hierarchy. Use a flowchart for cross-links and dependency paths when the meaning cannot be expressed as parent and child topics.