fix: Sankey freeform arrangement + increased padding (Task B.3)

This commit is contained in:
Andrew Charlwood
2026-02-07 02:59:59 +00:00
parent a22b2e7811
commit fb30f5f49a
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -109,9 +109,9 @@ Comprehensive review and improvement of all Plotly charts in the Dash dashboard.
- **Checkpoint**: Lollipop dots show smooth green→amber→red gradient
### B.3 Sankey narrow-screen fix
- [ ] In `create_sankey_figure()` (~L788):
- Change `arrangement="snap"` → `arrangement="freeform"`
- Increase `pad` from 20 → 25
- [x] In `create_sankey_figure()` (~L808):
- Changed `arrangement="snap"` → `arrangement="freeform"`
- Increased `pad` from 20 → 25
- **Checkpoint**: Sankey nodes don't overlap on narrow viewports
### B.4 Heatmap metric toggle (both views)
+2 -2
View File
@@ -805,9 +805,9 @@ def create_sankey_figure(
fig = go.Figure(
go.Sankey(
arrangement="snap",
arrangement="freeform",
node=dict(
pad=20,
pad=25,
thickness=25,
line=dict(color="#FFFFFF", width=1),
label=node_labels,