|
Icarus
Vehicle Simulation as a Transformable Computational Graph, built on Vulcan and Janus
|
Complete introspection graph: nodes (components) + typed edges. More...
#include <IntrospectionGraph.hpp>

Public Member Functions | |
| nlohmann::json | ToJSON () const |
| Serialize the full graph to JSON. | |
| void | ToJSONFile (const std::string &path) const |
| Write the full graph to a JSON file. | |
| void | ToYAMLFile (const std::string &path) const |
| Write the full graph to a YAML file. | |
Public Attributes | |
| DataDictionary | dictionary |
| The existing data dictionary (component nodes with signal lists). | |
| std::vector< IntrospectionEdge > | edges |
| All topology edges (routes + resolves). | |
Complete introspection graph: nodes (components) + typed edges.
Composes with DataDictionary (which provides component/signal node data) and adds topology edges for block diagram rendering.
Extends the DataDictionary schema with an additive "edges" array:
|
inlinenodiscard |
Serialize the full graph to JSON.
Produces the existing DataDictionary schema with an additional top-level "edges" array and "total_edges" in summary.
|
inline |
Write the full graph to a JSON file.
|
inline |
Write the full graph to a YAML file.
| DataDictionary icarus::IntrospectionGraph::dictionary |
The existing data dictionary (component nodes with signal lists).
| std::vector<IntrospectionEdge> icarus::IntrospectionGraph::edges |
All topology edges (routes + resolves).