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>
Move the draw.io XML generation reference to shared/xml-reference.md
and wire all four consumers to use it instead of duplicating the
content. Add layers, tags, and metadata/placeholders documentation.
- MCP app server: reads at startup (Node.js) or pre-builds into
generated-html.js (Workers) via build-html.js
- MCP tool server: reads at startup with fallback to local copy;
prepack script bundles the file before npm publish
- Skill: references the GitHub raw URL so it works after install
- Project instructions: tells users to copy from GitHub
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Previously only warned about double-hyphens inside comments. Now XML
comments are strictly forbidden — they waste tokens and serve no purpose.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add broader trigger verbs (create, generate, draw, design), new diagram
types (mockup, wireframe, UI sketch), and common typo (drawoi). Start
description with "Always use when..." for better trigger reliability.
Refs #20, PR #21
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Edge labels default to 11px (vs 12px for vertices), so wrapping
them in HTML markup to reduce font size is unnecessary.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add WSL2 environment detection, CLI path resolution via /mnt/c/...,
export example, and wslpath-based file opening with cmd.exe.
Co-Authored-By: Yuji HINOTO <hinoto@oricon.jp>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Document how strokeColor/fillColor/fontColor default to "default" (adapts
to light/dark theme), how explicit colors are auto-inverted via
mxUtils.getInverseColor, and the light-dark() function for explicit
dual-theme colors. Add adaptiveColors="auto" to mxGraphModel in all XML
examples and LLM tool description prompts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add trigger phrases to YAML description for reliable skill activation,
add error handling to workflow steps, add troubleshooting table, and
move detailed XML reference material to references/ for progressive
disclosure.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>