# Interactive Overflow Analysis The **Overflow Analysis** tab embeds the upstream alphaDeesp HTML viewer in an iframe and augments it with Co-Study4Grid–specific behaviour: semantic layer toggles, action pins synchronised with the Action Overview NAD, drill-down to the SLD on double-click, edge / line re-routing in geo mode, and a per-pin filter widget that mirrors the Action Overview filters. This document is the contract for that feature. It collects every moving part — upstream tags, geo-transform behaviour, overlay wire-format, click semantics, filter sync — so the next person debugging or extending the tab does not have to reverse-engineer it from the code. --- ## 1. Architecture overview ``` ┌─────────────────── Co-Study4Grid React frontend ─────────────────────┐ │ VisualizationPanel + App: build OverflowPin[] from result.actions + │ │ n1MetaIndex + vlToSubstation + overviewFilters and post them to the │ │ iframe. The pins on/off state lives in `overflowPinsEnabled` (default │ │ OFF); the canonical toggle is now INSIDE the iframe (§6.9 / §7.3) — │ │ the former 📌 Pins toolbar button was retired (0.8.0). │ └─────────────────────┬─────────────────────────────────────────────┬──┘ │ window.postMessage │ cs4g:pins ▼ │ ▲ cs4g:pin-clicked │ cs4g:filters ▼│ ▲ cs4g:pin-double-clicked │ │ ▲ cs4g:overflow-pins-toggled │ │ ▲ cs4g:overflow-filter-changed │ │ ▲ cs4g:overflow-layer-toggled │ │ ▲ cs4g:overflow-node-double-clicked │ │ ▲ cs4g:overlay-ready │ ┌─────────────────────▼──────────────────────────────────────────────┐ │ Backend dynamic GET /results/pdf/{filename}: replaces the static │ │ mount, reads the upstream HTML produced by the recommender, and │ │ splices a