feat(dashboard): show the code graph, from its card and from a finding (t82) #939

Merged
sharang merged 2 commits from feat/t82-graph-view into main 2026-11-07 10:43:03 +00:00
2 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 f1278ccb12 feat(dashboard): a PLC PROGRAM is a "Programm" in the code graph (t82)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m7s
CI / Check (pull_request) Successful in 17m34s
The graph keeps a PLC PROGRAM as a module. "Modul" names a bookable
product, so the tooltip, the inspector, the search suggestions and the
legend call it "Programm" (Program); a graph with PLC and other code
shows both in the legend.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 11:24:27 +01:00
Sharang ParnerkarandClaude Opus 5.5 c8d53d5c30 feat(dashboard): show the code graph, from its card and from a finding (t82)
The target page's code graph card links to the drawn graph, and a
finding whose location the graph has links to its impact: the entry
points that reach it, the call chains, callers and callees.

The explorer and the impact page follow the current dashboard: German
first through i18n, the target page's header, and graph colours taken
from the theme tokens, so the drawing follows the light and dark theme
and recolours on a switch.

A large graph stays usable: above 1,200 nodes it opens as one node per
group (communities of 10 or more, smaller ones pooled by folder), and a
click opens a group with its members and the groups linked to them.
The grouping runs in Rust (pages/graph_view.rs); graph-viz.js only
draws. A large drawing stops its layout after stabilising. The agent's
truncation of very large graphs is now shown.

/graph leads to the targets list; the file and search queries are
encoded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 11:24:27 +01:00