mirror of
https://github.com/jgraph/drawio-mcp.git
synced 2026-09-14 15:42:06 +08:00
2c4c3bf23c
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>
25 lines
617 B
JSON
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"
|
|
}
|
|
}
|
|
}
|
|
}
|