29namespace neograph::graph {
42 std::string reducer_name =
"overwrite";
60 std::vector<ChannelDef> channel_defs;
61 std::map<std::string, std::unique_ptr<GraphNode>> nodes;
62 std::vector<Edge> edges;
63 std::vector<ConditionalEdge> conditional_edges;
65 std::set<std::string> interrupt_before;
66 std::set<std::string> interrupt_after;
NEOGRAPH_API export/import macro for shared-library builds.
Stateless JSON → CompiledGraph translator.
static CompiledGraph compile(const json &definition, const NodeContext &default_context)
Parse a JSON graph definition into a CompiledGraph.
Graph engine type definitions: channels, edges, nodes, events, and control flow.
ReducerType
Strategy for merging values when writing to a channel.
Singleton registries for custom reducers, conditions, and node types.
Pure routing / next-step-planning logic extracted from GraphEngine.
std::map< std::string, std::set< std::string > > BarrierSpecs
Static barrier declarations extracted at graph-compile time.
Declarative configuration for a single state channel.
Parsed graph definition, ready for the engine to run.
std::optional< RetryPolicy > retry_policy
Present iff the JSON defined a top-level "retry_policy" object.
Dependency injection context passed to nodes during construction.