Module graph

Module graph 

Source
Expand description

DAG execution engine using petgraph DAG execution engine

Implements graph-based pipeline execution using petgraph. Defines core domain entities: Node, Edge, and Pipeline.

§Example

use stygian_graph::domain::graph::{Node, Edge, DagExecutor};

let node = Node::new("fetch", "http", serde_json::json!({"url": "https://example.com"}));

Structs§

DagExecutor
DAG executor that processes pipeline graphs
Edge
An edge connecting two nodes in the pipeline graph
Node
A node in the scraping pipeline graph
NodeResult
Result of executing a single node
Pipeline
A complete pipeline definition