Convert Canvas files to Mermaid flowcharts with internal links and group support
Transform your Canvas files into beautiful Mermaid flowcharts while preserving internal links, groups, and visual relationships. Perfect for documentation, presentations, and sharing your knowledge graphs.
- 🔄 Seamless Conversion: Convert Canvas files to Mermaid syntax with one command
- 🔗 Link Preservation: Maintain internal links in generated diagrams
- 🎯 Group Support: Preserve Canvas groups and visual organization
- 📋 Clipboard Integration: Copy Mermaid code directly to clipboard
- 🎨 Customizable Direction: Configure flowchart direction (TB, LR, BT, RL)
- ⚡ Performance Optimized: Efficient processing for large Canvas files
Left: Original Canvas file, Right: Generated Mermaid diagram
- Open Settings → Community plugins
- Disable Safe mode
- Click Browse and search for "Canvas2Mermaid"
- Click Install
- Enable the plugin
- Download
main.jsandmanifest.jsonfrom the latest release - Create a new folder
canvas2mermaidin your vault's plugins directory - Copy the downloaded files into the
canvas2mermaidfolder - Restart the app
- Enable the plugin in Settings → Community plugins
- Open a Canvas file
- Open Command Palette (
Ctrl/Cmd + P) - Type "Convert Canvas to Mermaid" and select the command
- The Mermaid code will be automatically copied to your clipboard
- Canvas groups are converted to Mermaid subgraphs
- Nested groups are preserved
- Group titles are maintained
⚠️ Note: Overlapping groups are not supported due to Mermaid limitations
- Internal links are preserved
- External links remain clickable
- Link texts are maintained
Access via Settings → Community plugins → Canvas2Mermaid
- TB: Top to Bottom (default)
- LR: Left to Right
- BT: Bottom to Top
- RL: Right to Left
- Enable/disable automatic copying
- Choose output format
| Command | Description | Shortcut |
|---|---|---|
Convert Canvas to Mermaid |
Convert current Canvas to Mermaid syntax | None |
Refresh Canvas Callouts |
Update callout display in Canvas | None |
Contributions are welcome! Please see our Contributing Guide.
This project is licensed under the MIT License - see the LICENSE file for details.