|
NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
|
A conditional edge with runtime routing based on state. More...
#include <types.h>
Public Attributes | |
| std::string | condition |
| Condition function name in ConditionRegistry. | |
| std::string | from |
| Source node name. | |
| std::map< std::string, std::string > | routes |
| Mapping of condition result to destination node. | |
A conditional edge with runtime routing based on state.
The condition function is looked up in ConditionRegistry by name, and its return value is matched against the routes map.