# Mindmap

> Create a mindmap for brainstorming, topic exploration, and hierarchical idea organization.

Source: https://mockflow.com/developers/reference/item-types/mindmap

Send `"type": "mindmap"`.

Create a mindmap for brainstorming, topic exploration, and hierarchical idea organization.

Also available as the MCP tool `render_mindmap`. The same payload works through either surface.

### Fields

- `nodeData` (object, required): Root node with id, topic, root=true, and children array. Children have direction (0=left, 1=right)
    - `id` (string)
  - `topic` (string)
  - `image` (string): Optional emoji icon for the node (e.g. "💡", "🎯"). Use sparingly on key nodes.
  - `root` (boolean)
  - `children` (object[])

## Example

```json
{
  "type": "mindmap",
  "data": {
    "nodeData": {
      "id": "string",
      "topic": "string",
      "image": "string",
      "root": false,
      "children": [
        {
          "id": "string",
          "topic": "string",
          "image": "string",
          "direction": 0,
          "children": [
            {}
          ]
        }
      ]
    }
  }
}
```
