NeoGraph 0.16.0
A C++20 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< ChannelWrite > updates
 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:656
Extended result returned by node execution.
Definition types.h:902
std::optional< Command > command
If set, overrides edge-based routing.
Definition types.h:904

Definition at line 656 of file types.h.


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