## What - Expanding a category on the Sankey chart now **collapses any other open category**, so only one subcategory column is shown at a time. - Grow the SVG \`viewBox\` to the real content bounds so tall child stacks no longer get **clipped above or below** the canvas. ## Why Multiple simultaneously-expanded categories cluttered the chart, and a parent with 3+ children produced a stack taller than the canvas — the top entries were cut off (e.g. "Traveling €2,011" rendered half-hidden). ## Tests - Added a test asserting opening a second parent collapses the first. - Existing expand/collapse tests still pass (5/5). |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| layouts | ||
| lib | ||
| pages | ||
| providers | ||
| services | ||
| types | ||
| utils | ||
| app.tsx | ||
| ssr.tsx | ||