|
| static std::vector< const Node * > | reachable_from (const std::vector< const Node * > &seeds) |
| | Collect every node reachable from seeds through either direction of the dependency graph (upstream sources AND downstream observers).
|
| static std::string | to_dot (const std::vector< const Node * > &seeds, std::string_view graph_name="reactive") |
| | Emit the reachable subgraph as a Graphviz DOT document.
|
| static std::string | to_json (const std::vector< const Node * > &seeds) |
| | Emit the reachable subgraph as a minimal JSON document.
|
| static void | install_flush_tracer (FlushTracer tracer) |
| | Install a tracer.
|
| static void | clear_flush_tracer () noexcept |
| static bool | has_flush_tracer () noexcept |
| static std::string | to_text (const std::vector< const Node * > &seeds) |
| | Human-readable one-line-per-node summary, useful inside gdb or during ad-hoc printf debugging.
|
Lightweight diagnostics entry point.
All methods are static; the class is just a namespace with the benefit of being friend-able.
| std::string aria::reactive::GraphInspector::to_json |
( |
const std::vector< const Node * > & | seeds | ) |
|
|
inlinestatic |
Emit the reachable subgraph as a minimal JSON document.
Schema: { "nodes": [{"id","kind","state","depth","version","name"}...], "edges": [{"from","to","observed_version"}...] }