Skip to content

v1.0.2 — compact layouts & cleaner edges

Latest

Choose a tag to compare

@hungdo-sami hungdo-sami released this 04 Aug 04:40
· 2 commits to main since this release

Layout-quality release — denser diagrams by default, cleaner edges. No breaking changes.

Layout

  • Compact by default. principles.md now 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/col with no title reserves no pad/header, removing the invisible padding that compounded across nested wrappers (~−22% canvas on wrapper-heavy decks) (#58).
  • Configurable icon sizenew Diagram({ iconSize }) (global) and icon(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 enterprise data_platform reference layout; rebuilt serverless and vpc with 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