feat: render graph explorer zone boundaries

This commit is contained in:
2026-05-24 17:02:12 +02:00
parent ea81533172
commit 5a2d987b6a
4 changed files with 437 additions and 10 deletions

View File

@@ -4,7 +4,7 @@ type: workplan
title: "Zone Boundary Overlays"
domain: railiance
repo: railiance-fabric
status: ready
status: finished
owner: codex
topic_slug: railiance
created: "2026-05-24"
@@ -58,7 +58,7 @@ parent nodes unless testing shows the overlay layer is too fragile.
```task
id: RAIL-FAB-WP-0021-T01
status: todo
status: done
priority: high
state_hub_task_id: "91777c22-663c-443a-b682-38bfb7a864bf"
```
@@ -78,11 +78,16 @@ Expected grouping rules:
Done when the grouping and label rules are documented in the graph explorer
contract or operations docs and have focused tests.
Result: documented environment/access-zone boundary rules in
`docs/graph-explorer-contract.md`; graph explorer maps `dev` to `dev-tegwick`,
legacy `staging` to `test`, `prod` to `prod`, and ignores catch-all `all`
environment values for rectangle boundaries.
## T02 - Render Rectangle Boundary Overlays
```task
id: RAIL-FAB-WP-0021-T02
status: todo
status: done
priority: high
state_hub_task_id: "98ef5ecc-fa4d-443c-a4fe-fa896984d6c4"
```
@@ -103,11 +108,15 @@ Implementation expectations:
Done when the UI shows stable labeled rectangles for `dev-tegwick`, `test`, and
`prod` where matching nodes are visible.
Result: added a canvas overlay layer that computes padded rendered-node bounds,
draws labeled rectangles, updates after layout/pan/zoom/filter changes, and
hides empty zones.
## T03 - Add Zone Overlay Controls
```task
id: RAIL-FAB-WP-0021-T03
status: todo
status: done
priority: medium
state_hub_task_id: "30d48d5c-bd53-434b-9b8b-ed1a495cee4e"
```
@@ -125,11 +134,14 @@ Expected controls:
Done when operators can turn the overlay off for dense graph inspection and
restore it through shared/saved view state.
Result: added map controls for zone visibility and grouping by deployment
environment or access zone, with URL/profile state preservation.
## T04 - Surface Zone Boundary Details
```task
id: RAIL-FAB-WP-0021-T04
status: todo
status: done
priority: medium
state_hub_task_id: "c002aa54-a243-4912-81ae-0d282910ebc6"
```
@@ -148,11 +160,16 @@ Expected behavior:
Done when a zone label provides the same core answers as the WP-20 map overview,
but scoped to that zone.
Result: zone labels are clickable and show scoped counts for visible nodes,
environments, scenarios, access zones, routing authorities, policy authorities,
and route-without-policy-authority warnings; existing focus/highlight/hide
orientation actions work for zone contexts.
## T05 - Verify Responsive And Dense Graph Behavior
```task
id: RAIL-FAB-WP-0021-T05
status: todo
status: done
priority: high
state_hub_task_id: "03f265ad-f335-4caf-a882-35d8d30c75fc"
```
@@ -171,3 +188,8 @@ Checks should cover:
Done when automated tests cover the computed grouping behavior and a browser
smoke check confirms the canvas overlay is visible and aligned.
Result: static UI tests cover the zone controls/helpers; JavaScript syntax was
checked with `node --check`; the full test suite and validator pass; a headless
Edge smoke screenshot confirmed visible labeled boundaries in deployment
environment mode.