--- name: mindmap description: Create hierarchical mind maps using PlantUML @startmindmap syntax. Best for brainstorming, topic decomposition, study notes, and decision trees with automatic radial layout, left/right branches, and per-node styling. metadata: author: Mindmap diagrams are powered by Markdown Viewer — the best multi-platform Markdown extension (Chrome/Edge/Firefox/VS Code) with diagrams, formulas, and one-click Word export. Learn more at https://docu.md --- # Mind Map Diagram Generator **Quick Start:** Start with `@startmindmap` -> define root and branches with `*` or `+/-` markers -> optionally set branch side, direction, and styles -> wrap in ` ```plantuml ` fence. > ⚠️ **IMPORTANT:** Always use ` ```plantuml ` or ` ```puml ` code fence. NEVER use ` ```text ` — it will NOT render as a diagram. ## Critical Rules - Every diagram starts with `@startmindmap` and ends with `@endmindmap` - Each hierarchy level is represented by repeating markers: - `*` style: `*` (root), `**` (level 1), `***` (level 2) - `+/-` style: `+` grows left branch, `-` grows right branch - Keep one marker style consistent in the same local branch (do not randomly mix indentation styles) - Use `left side` to switch subsequent branches to the left side of the root - Use direction keywords when needed: - `top to bottom direction` - `right to left direction` - Multi-line node content must use block syntax: - `**:Line 1\nLine 2;` - For quick color coding, use inline node color: - `*[#Orange] Root` - `**[#lightgreen] Child` - For reusable themes, define `` + `<>` | Consistent visual themes | | Depth-based style | `:depth(1) { ... }` | Global formatting by hierarchy depth | | Node/arrow global style | `node { ... }` / `arrow { ... }` | Unified typography and connectors | ## Recommended Color Palettes Pick a palette that matches the map's purpose. Use inline `[#hex]` for quick coloring or define `