Repository navigation
fix(charts): keep dense Sankey nodes and ribbons within their ports - #1069
Conversation
dovvnloading
left a comment
There was a problem hiding this comment.
Reviewed the five changed files against #1046. The adaptive column gap keeps dense columns within the 0.82 layout region, normalized weights avoid finite-value sum overflow, and the shared proportional scale keeps node heights and ribbon ports consistent across the SVG and Matplotlib renderers.
Regression cases cover 30/150/300 independent flows, skewed fan-out/fan-in, fractional values, overflow-size values, column non-overlap, proportionality, and port containment.
CI at head 9b5fe8a is green: frontend checks (including Vitest), Windows Python tests, POSIX checks and package build. Playwright E2E is intentionally excluded from pull-request runs by the workflow. Dense label collisions remain an acknowledged separate concern, not addressed by this geometry fix.
No blocking findings in this review. Proceeding with the repository's supported squash merge method.
Closes #1046.
Changes
Validation
Dense labels can still overlap at small display sizes; this change addresses node/ribbon geometry, not label collision or virtualization.