fabricatio_webui.executor
Workflow executor for the fabricatio-webui ComfyUI-style workflow editor.
Parses workflow JSON, instantiates Action nodes, topologically sorts them, and executes in order while streaming lifecycle events via a callback.
Classes
Executes a workflow graph described by JSON. |
Module Contents
- class fabricatio_webui.executor.WorkflowExecutor
Executes a workflow graph described by JSON.
- Parameters:
workflow_json – the workflow descriptor (
{"nodes": […], "edges": […]}").event_callback –
async def(event_type: str, payload: dict)called on lifecycle events.