NeoGraph
0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
graph_service.h
1
// neograph::grpc — expose a compiled GraphEngine over gRPC.
2
//
3
// Opt-in component (NEOGRAPH_BUILD_GRPC=ON, default OFF). The whole
4
// header is behind NEOGRAPH_HAVE_GRPC so a default build that includes
5
// <neograph/neograph.h> umbrella never pulls grpc++ headers.
6
//
7
// This is a NeoGraph-native gRPC API, independent of the still-
8
// unratified MCP-over-gRPC transport (modelcontextprotocol #966).
9
10
#pragma once
11
12
#ifdef NEOGRAPH_HAVE_GRPC
13
14
#include <memory>
15
#include <string>
16
17
#include <
neograph/graph/engine.h
>
18
#include <
neograph/graph/types.h
>
19
20
namespace
neograph::grpc {
21
22
class
GraphServiceImpl;
23
29
std::unique_ptr<GraphServiceImpl> make_graph_service(
30
neograph::graph::NodeContext
ctx,
31
std::string default_graph_json =
""
);
32
37
void
run_server(
const
std::string& address,
38
neograph::graph::NodeContext
ctx,
39
std::string default_graph_json =
""
);
40
41
}
// namespace neograph::grpc
42
43
#endif
// NEOGRAPH_HAVE_GRPC
engine.h
Main graph execution engine with super-step loop and HITL support.
types.h
Graph engine type definitions: channels, edges, nodes, events, and control flow.
neograph::graph::NodeContext
Dependency injection context passed to nodes during construction.
Definition
types.h:251
include
neograph
grpc
graph_service.h
Generated by
1.9.8