back to docs

graph response schema

GraphResponseV0 is the contract between adapters and renderers.

core shape

GraphResponseV0 - version: 'v0' - mode: 'map' | 'decision' | 'plan' | 'argument' - nodes: GraphNodeV0[] - edges: GraphEdgeV0[] - layout?: GraphLayoutHintV0 - view?: GraphViewHintV0 - meta?: Record<string, unknown>

where it lives

source of truth: @intellea/graph-schema

see docs/graph-response-schema.md for the full detail.