Layout-quality release — denser diagrams by default, cleaner edges. No breaking changes.
Layout
- Compact by default.
principles.mdnow instructs the AI to pack related services into ONE labelled grid box (never one-icon-per-frame), so free-hand diagrams come out dense without being asked (verified end-to-end via the skill). - No dead whitespace on label-less wrappers — a
phantom/row/colwith no title reserves no pad/header, removing the invisible padding that compounded across nested wrappers (~−22% canvas on wrapper-heavy decks) (#58). - Configurable icon size —
new Diagram({ iconSize })(global) andicon(id, name, label, { size })(per-icon, wins); default stays 48 (#58).
Edges
- Numbered steps render as a plain
N.label prefix instead of a large filled circle on the line (opts.step). - No more "arrow through the node." Edge ports are snapped to the side their adjacent waypoint actually arrives from, so the terminal segment meets the icon edge head-on instead of piercing through it to a far-side port.
Templates
- New:
datalake_analytics,microservices_ecs, and a grid-packed enterprisedata_platformreference layout; rebuiltserverlessandvpcwith the numbered flow.
Updating
- CLI (engine + rules):
npm i -g github:sparklabx/drawio-ai-kit - Skills:
npx skills update - Pin this version:
github:sparklabx/drawio-ai-kit#v1.0.2