Export Mind Map as Image
Installation
SKILL.md
Export Mind Map as Image
Mind Elixir exports images through the built-in SCST engine from @mind-elixir/export-mindmap. SCST is a lightweight, high-performance DOM-to-image library based on SVG <foreignObject> + Canvas, with zero third-party screenshot dependencies.
1. Installation
Install @mind-elixir/export-mindmap as a dependency.
npm install @mind-elixir/export-mindmap
2. Usage
Use the downloadImage / exportImage functions to capture the mind map nodes and download them.
import { downloadImage, exportImage } from '@mind-elixir/export-mindmap'
// Assuming `mind` is your MindElixir instance