Skip to main content

featherbit/graph/
mod.rs

1//! Node-graph policy engine: compiles YAML-declared policies into executable
2//! pipelines and validates their structure.
3//!
4//! A policy is a directed graph of plugin nodes connected by edges written as
5//! `from: node_id.port` / `to: node_id.port` (ports: `out`, `success`,
6//! `error`, `in`). [`compile_policy`] produces a [`CompiledGraph`] that the
7//! data-plane executes per request; [`validate_policy`] checks structure first.
8
9mod engine;
10mod validation;
11
12pub use engine::{compile_policy, CompiledGraph};
13pub use validation::validate_policy;