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

Extended result returned by node execution. More...

#include <types.h>

Public Member Functions

 NodeResult (std::vector< ChannelWrite > w)
 Construct from plain channel writes (backward compatible).
 

Public Attributes

std::optional< Commandcommand
 If set, overrides edge-based routing.
 
std::vector< Sendsends
 If non-empty, triggers dynamic fan-out.
 
std::vector< ChannelWritewrites
 Channel writes from this node.
 

Detailed Description

Extended result returned by node execution.

Wraps channel writes with optional Command (routing override) and Send (dynamic fan-out) directives. Backward-compatible: constructing from a plain vector of ChannelWrite produces a NodeResult with no Command or Send.

Definition at line 297 of file types.h.

Constructor & Destructor Documentation

◆ NodeResult()

neograph::graph::NodeResult::NodeResult ( std::vector< ChannelWrite w)
inline

Construct from plain channel writes (backward compatible).

Parameters
wVector of channel writes.

Definition at line 306 of file types.h.


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