Loading...
Loading...
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.
npx skill4agent add markdown-viewer/skills mindmap@startmindmap*+/-```plantuml⚠️ IMPORTANT: Always useor```plantumlcode fence. NEVER use```puml— it will NOT render as a diagram.```text
@startmindmap@endmindmap*******+/-+-left sidetop to bottom directionright to left direction**:Line 1\nLine 2;*[#Orange] Root**[#lightgreen] Child<style><<green>>| Pattern | Meaning | Example |
|---|---|---|
| Root node with star syntax | |
| First-level child | |
| Deeper hierarchy | |
| Root node with +/- syntax | |
| Branch expanding on one side | |
| Branch expanding on opposite side | |
| Boxless/minimal child node | |
| Alternative root marker style | |
| Multi-line block node | |
| Control | Syntax | Use Case |
|---|---|---|
| Left-side split | | Split map into left/right groups from root |
| Top-to-bottom | | Tree-like vertical hierarchy |
| Right-to-left | | RTL reading flow or mirrored layouts |
| Method | Syntax | Best For |
|---|---|---|
| Inline node color | | Fast per-node emphasis |
| Reusable class style | | Consistent visual themes |
| Depth-based style | | Global formatting by hierarchy depth |
| Node/arrow global style | | Unified typography and connectors |
[#hex]<style>| Role | Hex | Preview | Usage |
|---|---|---|---|
| Root | | 🔵 | Central topic |
| Branch A | | 🟢 | Category / group 1 |
| Branch B | | 🔵 | Category / group 2 |
| Branch C | | 🟣 | Category / group 3 |
| Branch D | | 🟡 | Category / group 4 |
| Leaf | | ⚪ | Detail nodes |
| Status | Hex | Usage |
|---|---|---|
| Done / OK | | Completed, healthy |
| In Progress | | Active, warning |
| Blocked / Risk | | Issue, danger |
| Not Started | | Pending, neutral |
| Role | Hex |
|---|---|
| Root | |
| Level 1 | |
| Level 2 | |
| Level 3 | |
| Role | Hex |
|---|---|
| Root | |
| Level 1 | |
| Level 2 | |
| Level 3 | |
| Role | Hex |
|---|---|
| Root | |
| Level 1 | |
| Level 2 | |
| Level 3 | |
Tip: Avoid pure saturated colors (,#FF0000) — they reduce readability. Prefer soft/muted tones for backgrounds and reserve bold colors for the root only.#00FF00
| Pattern | Purpose | Example |
|---|---|---|
| Basic Hierarchy | Topic decomposition and study outlines | basic-hierarchy.md |
| Bilateral Layout | Pros/cons, options vs risks, two-side analysis | bilateral-layout.md |
| Boxless Branches | Lightweight secondary nodes and annotations | boxless-branches.md |
| Styled Theme | Color-coded branches and reusable classes | styled-theme.md |
| Direction Control | Vertical or RTL reading direction | direction-control.md |
| Rich Text Content | Detailed notes with icons and formatting | rich-text-content.md |
| Project Planning | Work breakdown and action map | project-planning.md |
@startmindmap
* Product Launch
** Goals
*** Revenue
*** User Growth
left side
** Risks
*** Timeline Slip
*** Budget Overrun
right to left direction
** Channels
*** Content
*** Ads
@endmindmap| Issue | Solution |
|---|---|
| Diagram not rendered | Use |
| Branch depth looks wrong | Check marker count ( |
| Multi-line text breaks parser | Use |
| Colors not applied | Verify hex format ( |
| Layout direction unexpected | Add explicit |