NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::graph::Command Struct Reference

Combined routing override + state update. More...

#include <types.h>

Public Attributes

std::string goto_node
 Next node to execute (overrides edge routing).
 
std::vector< ChannelWriteupdates
 State updates to apply before routing.
 

Detailed Description

Combined routing override + state update.

A node returns a Command to simultaneously update state AND control the next node to execute, overriding normal edge-based routing.

NodeResult result;
result.command = Command{"specific_node", {{"status", "approved"}}};
Combined routing override + state update.
Definition types.h:160
Extended result returned by node execution.
Definition types.h:297
std::optional< Command > command
If set, overrides edge-based routing.
Definition types.h:299

Definition at line 160 of file types.h.


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