axiom_graph_render

axiom_graph.mcp.server.axiom_graph_render(project_root, level, node_id=None, max_results=60, offset=0)

Render nodes from the index at a given detail level.

Passing node_id renders that single node; cap and offset are ignored. Omitting node_id renders all nodes capped at max_results (default 60) with a [N of M nodes -- level N] count header. Use offset to page through results.

At levels 1 and 2, non-VERIFIED staleness badges are appended inline – e.g. [CONTENT_UPDATED] or [LINKED_STALE]. VERIFIED nodes receive no annotation (happy-path is noise-free).

Parameters:
project_root str

Absolute path to the indexed project.

level int

0 = ids only, 1 = id + summary (+ staleness badge), 2 = full detail (+ staleness badge on header line), 3 = step markers.

node_id str | None

If provided, render only this specific node (cap/offset ignored).

max_results int

Maximum nodes returned when node_id is omitted (default 60).

offset int

Starting index for pagination (default 0).

Return type:

str