mindmap
root((HTTP))
Methods
GET
POST
DELETE
Status
2xx success
4xx client
5xx server
Headers
Auth
Content type
What is a Mind Map?
A Mermaid mind map starts with mindmap and a root node, then branches by indentation. Two extra spaces make a child. There are no arrows to draw and no ids to invent. Shapes are optional: ((text)) is a rounded node, [text] is a square, and plain text is the default. Use a mind map to break a topic into parts. It is the wrong diagram for a process with decisions or for a flow that loops.
When to use it
Use a mind map for a brainstorm, a study sheet, or the contents of a document. Use a flowchart when a step leads to a decision. Use a class or ER diagram when the nodes are a data model rather than topics.
Each deeper indent is a child of the line above it. Use spaces only. In the examples on this page, every level adds two spaces.
Wrap the label: ((text)) for a pill, (text) for rounded, and [text] for a square. The root in these examples uses ((text)). Leave most nodes as plain text.
No. A mind map is a tree from one root. If two nodes need an arrow between them, draw a flowchart instead.
A mind map has one center and a hierarchy of branches. A concept map can connect any idea to any other idea. Mermaid's mind map syntax covers the first of those.
The indent does not match its parent. Tabs count differently from spaces, and an extra two spaces makes a grandchild. Reindent that line so it lines up with its siblings.
Ready to create your own mind map?
Open the editor with this example pre-loaded and start customizing.