Module core

Module core 

Source
Expand description

§Core Graph Abstractions

This module contains the fundamental types and traits that form the foundation of the RGraph system, including the workflow graph, nodes, edges, and execution context.

Structs§

Edge
Represents an edge in the workflow graph
EdgeId
Unique identifier for an edge in the workflow graph
ExecutionContext
Context information available during node execution
GraphBuilder
Builder for creating workflow graphs with a fluent API
NodeId
Unique identifier for a node in the workflow graph
NodeMetadata
Metadata about a node for introspection and observability
WorkflowGraph
The main workflow graph that orchestrates node execution

Enums§

EdgeCondition
Condition that must be met for an edge to be traversed
ExecutionResult
Result of executing a node

Traits§

Node
Core trait for all executable nodes in the workflow graph