2025-12-29 10:03:23 +00:00
# Smart Mind Map
<span class="category-badge action">Action</span>
2026-01-28 11:09:18 +08:00
<span class="version-badge">v0.9.2</span>
2025-12-29 10:03:23 +00:00
Intelligently analyzes text content and generates interactive mind maps for better visualization and understanding.
---
## Overview
The Smart Mind Map plugin transforms text content into beautiful, interactive mind maps. It uses AI to analyze the structure of your content and creates a hierarchical visualization that makes complex information easier to understand.
## Features
2025-12-30 18:49:41 +00:00
- :material-brain: **LLM Analysis ** : Uses configurable models to extract key concepts and hierarchy
- :material-gesture-swipe: **Rich Controls ** : Zoom, reset view, expand level selector (All/2/3) and fullscreen
- :material-palette: **Theme Aware ** : Auto-detects OpenWebUI light/dark theme with manual toggle
- :material-download: **One-Click Export ** : Download high-res PNG, copy SVG, or copy Markdown source
2026-01-28 11:09:18 +08:00
- :material-translate: **Multi-language ** : Matches output language to the input text
2025-12-29 10:03:23 +00:00
---
## Installation
2026-01-14 23:56:53 +08:00
1. Download the plugin file: [`smart_mind_map.py` ](https://github.com/Fu-Jie/awesome-openwebui/tree/main/plugins/actions/smart-mind-map )
2025-12-30 18:49:41 +00:00
2. Upload to OpenWebUI: **Admin Panel ** → **Settings ** → **Functions ** (Actions)
3. Enable the plugin, and optionally allow iframe same-origin access so theme auto-detection works
2025-12-29 10:03:23 +00:00
---
## Usage
2025-12-30 18:49:41 +00:00
1. Enable **Smart Mind Map ** in chat settings, then provide at least ~100 characters of text
2. Click the **Mind Map ** action button on a message to trigger generation
3. Interact with the visualization:
- **Zoom & Reset**: Scroll or use the + / - / ↻ controls
- **Expand Levels**: Switch between All / 2 / 3 levels
- **Theme & Fullscreen**: Toggle light/dark or enter fullscreen
4. Export with one click: **PNG ** , **Copy SVG ** , or **Copy Markdown **
2025-12-29 10:03:23 +00:00
---
## Configuration
| Option | Type | Default | Description |
|--------|------|---------|-------------|
2025-12-30 18:49:41 +00:00
| `SHOW_STATUS` | boolean | `true` | Show status updates in chat during processing |
| `MODEL_ID` | string | `""` | Built-in LLM ID for analysis (empty uses current chat model) |
| `MIN_TEXT_LENGTH` | integer | `100` | Minimum characters required before analysis runs |
| `CLEAR_PREVIOUS_HTML` | boolean | `false` | Clear previous plugin HTML instead of merging |
| `MESSAGE_COUNT` | integer | `1` | Number of recent messages to include (1– 5) |
2025-12-29 10:03:23 +00:00
---
## Example Output
The plugin generates an interactive HTML mind map embedded in the chat:
```
📊 Mind Map Generated
├── Main Topic
│ ├── Subtopic 1
│ │ ├── Detail A
│ │ └── Detail B
│ ├── Subtopic 2
│ └── Subtopic 3
└── Related Concepts
```
---
## Requirements
!!! note "Prerequisites"
- OpenWebUI v0.3.0 or later
- No additional Python packages required
2025-12-30 18:49:41 +00:00
- For theme auto-detection/PNG export accuracy, allow iframe same-origin access in **User Settings → Interface → Artifacts **
2025-12-29 10:03:23 +00:00
---
## Troubleshooting
??? question "Mind map is not displaying?"
2025-12-30 18:49:41 +00:00
- Ensure the input text is at least `MIN_TEXT_LENGTH` characters
- Confirm a valid `MODEL_ID` is available (or leave empty to use current model)
- Refresh and re-run after enabling the plugin
2025-12-29 10:03:23 +00:00
2025-12-30 18:49:41 +00:00
??? question "Theme looks wrong or PNG export is blank?"
- Enable iframe same-origin access so the plugin can read the parent theme
- Wait for the mind map to fully render before exporting
2025-12-29 10:03:23 +00:00
---
## Source Code
[:fontawesome-brands-github: View on GitHub ](https://github.com/Fu-Jie/awesome-openwebui/tree/main/plugins/actions/smart-mind-map ){ .md-button }