Dependency graph vizualization

This commit is contained in:
2026-05-03 12:52:51 +02:00
parent 60ebef0281
commit 8a5e38ce68
7 changed files with 543 additions and 1 deletions

View File

@@ -47,6 +47,18 @@ The current implementation exposes this through `RegistryService`:
The impact result includes changed fact keys, impacted items, reason chains,
maximum propagation depth, breadth, and whether the root scope was affected.
## Interactive Visualization
The accepted implementation framework for the interactive graph view is
Cytoscape.js. See
`docs/adr-dependency-graph-visualization-framework.md` for the decision and the
tradeoffs against React Flow, D3, and Mermaid.
The first UI implementation exposes `/repos/{repository_id}/dependency-graph`
as a Cytoscape-ready JSON payload and `/ui/repos/{repository_id}/dependency-graph`
as the graph page. The page supports full graph, impact-only, and selected-path
views with a detail panel for selected nodes and edges.
## Metrics
Propagation depth says how far a source change bubbled up. Propagation breadth