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

An event emitted during graph execution for streaming. More...

#include <types.h>

Public Types

enum class  Type {
  NODE_START , NODE_END , LLM_TOKEN , CHANNEL_WRITE ,
  INTERRUPT , ERROR
}
 Event type enumeration. More...
 

Public Attributes

json data
 Event-specific data payload.
 
std::string node_name
 Name of the node that generated this event.
 
Type type
 The event type.
 

Detailed Description

An event emitted during graph execution for streaming.

Definition at line 270 of file types.h.

Member Enumeration Documentation

◆ Type

Event type enumeration.

Enumerator
NODE_START 

A node began execution.

NODE_END 

A node finished execution.

LLM_TOKEN 

A token was received from the LLM.

CHANNEL_WRITE 

A value was written to a channel.

INTERRUPT 

Execution was interrupted (HITL).

ERROR 

An error occurred during execution.

Definition at line 272 of file types.h.


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