NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::graph::ChannelDef Struct Reference

Declarative configuration for a single state channel. More...

#include <compiler.h>

Public Attributes

bool has_initial = false
 True iff the JSON channel definition carried an explicit "initial" key.
 
ChannelPersistencePolicy persistence = ChannelPersistencePolicy::Checkpoint
 Ephemeral values are omitted; checkpoint metadata guards resume.
 
ChannelRetentionPolicy retention = ChannelRetentionPolicy::Unbounded
 Retention is applied after reducer combination.
 

Detailed Description

Declarative configuration for a single state channel.

Lifted out of GraphEngine so the compilation stage can own and return it independently of the engine.

Definition at line 56 of file compiler.h.

Member Data Documentation

◆ has_initial

bool neograph::graph::ChannelDef::has_initial = false

True iff the JSON channel definition carried an explicit "initial" key.

Distinguishes "initial": null from an absent key so CompiledGraph::to_json() can re-emit exactly what was declared (round-trip fidelity).

Definition at line 65 of file compiler.h.


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