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 checklist
The product launch branches into research and delivery. Child topics sit beneath their parent, so the map communicates a hierarchy rather than a chronological schedule.

How to use this tool

  1. Start with the example in the editor and identify the elements that answer your question.
  2. Replace the sample labels and values, previewing after each structural change.
  3. Review the diagram at its intended reading size, then keep the source and export the format your document accepts.

Syntax and interpretation

ConceptHow to apply it
HierarchyIndent child topics beneath their parent. Consistent indentation makes the intended structure easier to maintain.
LabelsUse a short phrase per node. A paragraph inside a branch can overwhelm the rest of the map.
Alternative inputThe 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.