Files
jgraph__drawio-mcp/postprocessor/package-lock.json
Gaudenz Alder 2c4c3bf23c feat: add edge routing post-processor and integrate into all servers
Add a post-processor that optimizes draw.io XML edge routing:
- Simplify unnecessary waypoints (collinear points, backtracks, trivial jogs)
- Fix edge-vertex collisions by rerouting around obstacles
- Preserve approach direction for terminal segments (jetty preservation)
- Straighten approach angles and fix ellipse perimeter offsets

Integrate into mcp-app-server (shared.js), mcp-tool-server (index.js),
and skill-cli (SKILL.md) as an optional post-processing step.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 15:21:54 +02:00

25 lines
617 B
JSON

{
"name": "drawio-postprocessor",
"version": "0.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "drawio-postprocessor",
"version": "0.1.0",
"dependencies": {
"@xmldom/xmldom": "^0.9.8"
}
},
"node_modules/@xmldom/xmldom": {
"version": "0.9.9",
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.9.tgz",
"integrity": "sha512-qycIHAucxy/LXAYIjmLmtQ8q9GPnMbnjG1KXhWm9o5sCr6pOYDATkMPiTNa6/v8eELyqOQ2FsEqeoFYmgv/gJg==",
"license": "MIT",
"engines": {
"node": ">=14.6"
}
}
}
}