Expand description
Graph validation and topological sort (Kahn’s algorithm). Ensures the graph is a valid DAG before execution.
Functions§
- validate_
graph - Check for cycles in the task graph using Kahn’s algorithm. This is a pre-execution validation step.