Skip to content

Graph Viewer

pdsa view opens a local visual explorer of the recorded graph.

Terminal window
pdsa view
# dev tree: dotnet run --project src/pdsa-cli -- view
pdsa view — a project switcher, verdict-colored Study nodes, a REINFORCES edge, and a hit-rate badge.
Study nodes colored by verdict, a REINFORCES edge, a project switcher, and a hit-rate badge.
  • Study nodes colored by verdictmet, partial, unmet.
  • REINFORCES edges 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.

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 view works even from the AOT single-file install — no separate executable required.