MMEditor
svg flow editor
Install / Use
/learn @mizy/MMEditorREADME
mmeditor
基于 nebulagraph-veditor 的 TypeScript 重写版 SVG 流程图编辑器。
Install
npm install mmeditor
Quick Start
import MMEditor from "mmeditor";
const editor = new MMEditor({ dom: document.getElementById("root") });
// add node
editor.graph.node.addNode({
uuid: "node1",
type: "default",
name: "Node 1",
x: 100,
y: 100,
});
// get data
console.log(editor.schema.getData());
Features
- SVG flow graph editor
- Custom node shapes (SVG & DOM)
- Built-in plugins: Minimap, BrushSelector
- TypeScript with full type definitions
- dagre auto-layout support
Develop
npm install
npm start # dev server
npm run build # build library
npm run build:all # build everything
License
ISC
Related Skills
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
