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

Engine-owned registry of custom graph callables. More...

#include <registry.h>

Public Member Functions

bool contains_reducer (const std::string &name) const
 Local-only membership used by sealed admission profiles.
 
json export_effective_schema () const
 Export exactly the names resolvable by this registry (including defaults).
 
json export_schema () const
 Export only entries owned by this registry.
 
ReducerFn local_reducer (const std::string &name) const
 Exact local-only resolvers; never consult process-global registries.
 

Detailed Description

Engine-owned registry of custom graph callables.

A new registry sees immutable built-ins, but never process-global custom registrations. GlobalFallback explicitly opts into legacy singleton entries. Register before build; build takes a snapshot, so later edits cannot change an existing engine. Individual operations and snapshots are synchronized.

Definition at line 21 of file registry.h.

Member Function Documentation

◆ export_schema()

json neograph::graph::GraphRegistry::export_schema ( ) const

Export only entries owned by this registry.

Unlike reducer()/condition()/create(), this never includes the legacy process-global fallback and is therefore suitable for a sealed palette.


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