Graph Viewer
pdsa view opens a local visual explorer of the recorded graph.
pdsa view# dev tree: dotnet run --project src/pdsa-cli -- view
What you get
Section titled “What you get”- Study nodes colored by verdict — met, partial, unmet.
REINFORCESedges linking follow-up cycles to the ones they reinforce.- A project switcher to hop between per-project graphs.
- A live expectation hit-rate (recall) badge.
How it works
Section titled “How it works”The viewer is a small, self-contained page: vanilla JS + an SVG force layout, with no external CDN.
It reads the Kùzu database read-only and serves a /api/graph JSON payload on a local port.
- Historically a separate ASP.NET Core minimal-API project (
AkkaGraphLoop.Viewer). - The CLI now serves the viewer in-process, so
pdsa viewworks even from the AOT single-file install — no separate executable required.