You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: sankey Leafs depth option now works with d3-sankey
The custom `accountingAlign` function was creating gaps in d3-sankey's
internal columns array when used with Leafs (depth=0). The function
returned only values 0, 1, or 2 regardless of the graph's computed
maxDepth, leaving undefined slots that caused `computeNodeBreadths`
to crash on `max(columns, c => c.length)`.
Fix: Use default justify alignment for Leafs (depth=0) since the
graph is complex with many nodes. Custom accounting alignment is
still applied for depth > 0 (categories/accounts/sub-accounts).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments