fix(layered): align differently sized blocks by center - #348
Conversation
Reviewer's GuideThe PR makes layered layouts dimension-aware: node alignment, intra-layer spacing, inter-layer clearance, and returned coordinates now account for variable block sizes, while edge routing uses separate virtual-node dimensions. It adds regression and integration tests plus a Storybook example and corrected option documentation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Preview is ready. |
|
Question about the TypeScript currently protects typed callers because If missing dimensions should be supported, perhaps we should resolve block sizes once before calling both What contract do we want here? |
Summary by Sourcery
Align layered graph nodes and connection routes by block centers across variable sizes while preserving existing layout behavior.
New Features:
Bug Fixes:
Enhancements:
Tests: