NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::graph::TopologySpec Struct Reference

Declarative graph topology with no live node instances or runtime state. More...

#include <compiler.h>

Public Attributes

std::vector< FailureEdge > failure_edges
 Sorted by the UTF-8 bytes of from; at most one per node.
 
JoinSpecs join_specs
 Joins with any_of slots (#363); a legacy-equivalent spec stays in barrier_specs.
 
json metadata
 Host-readable author claims (#362): a nonempty object, or null when the definition has none.
 
std::map< std::string, NodeRetryPolicySpec > node_retry_policies
 #364 failure routing, read under schema_version >= 1. Absent when unused.
 

Detailed Description

Declarative graph topology with no live node instances or runtime state.

This is the inspectable boundary between JSON parsing and runtime linking. node_defs preserves the exact objects passed to NodeFactory; to_json() canonicalizes barrier declarations from barrier_specs.

Definition at line 128 of file compiler.h.

Member Data Documentation

◆ metadata

json neograph::graph::TopologySpec::metadata

Host-readable author claims (#362): a nonempty object, or null when the definition has none.

Hashed with the definition; never state.

Definition at line 143 of file compiler.h.


The documentation for this struct was generated from the following file: