engine
diapason.workflow.engine
¶
WorkflowEngine — executes a WorkflowGraph against a DiapasonSystem.
WorkflowEngine
¶
Execute DAG-based workflows.
Sequential nodes run in topological order. Parallel-eligible nodes (same execution stage, no inter-dependencies) run via ThreadPoolExecutor. Condition nodes evaluate expressions against prior step outputs. Loop nodes use LoopGuard from Phase 14.3.
run(graph, system=None, *, initial_input='', context=None)
¶
Execute a workflow graph end-to-end.