Commit ea15c70
Fix telemetry visualizer with hierarchical tree layout
Major visualization improvements:
- Replaced force-directed layout with D3 tree layout
- Implemented SVG viewBox coordinate system for infinite canvas
- Fixed zone hierarchy building from events (not pre-computed)
- Fixed parent normalization bug (parent=0 now handled correctly)
- Fixed infinite recursion on ensureZoneNode(0)
- Added virtual root zone to support multiple root zones
- Removed error rings (passthroughs without wiring are acceptable)
Zone rendering:
- Service boxes at zone center
- Transport ports (IN at top, OUT at bottom)
- Passthrough circles with routing wires
- Trunk lines connecting parent-child zones
- Port registry with absolute coordinates
Bug fixes:
- Zone metadata now built from events at startup
- Parent updates when zone created before service_creation event
- Prevented zone from becoming its own parent
- All 8 zones now render correctly in hierarchy
Issues closed: canopy-5bb, canopy-p8k, canopy-7zk
Issues created: canopy-aly (P0), canopy-jm1, canopy-hku, canopy-r7j,
canopy-uwp, canopy-335, canopy-a1l
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 37309d3 commit ea15c70
File tree
13 files changed
+703
-334
lines changed- .beads
- demos/websocket/client
- rpc/include/rpc/internal
- telemetry/src
- tests
- fuzz_test
- scripts
- transports/direct/tests/transport/tests/direct
13 files changed
+703
-334
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
File mode changed.
File mode changed.
File mode changed.
File mode changed.
File mode changed.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
| 459 | + | |
460 | 460 | | |
461 | 461 | | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
462 | 466 | | |
463 | 467 | | |
464 | 468 | | |
465 | | - | |
| 469 | + | |
466 | 470 | | |
467 | 471 | | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
468 | 476 | | |
469 | 477 | | |
470 | 478 | | |
| |||
0 commit comments