TODO: ComfyUI Workflow Graph — Final Data Wiring
Status: UI tab mounted, component renders, backend extraction working
Issue: Graph viewer receives API-format workflow ({"1": {...}}) instead of Graph format ({ nodes, links })
Context:
- ComfyUI embeds TWO chunks:
prompt (API/exec) + workflow (visual/graph)
- Backend currently assigns
chunks.prompt to ai.comfyui_workflow
- LiteGraph viewer expects
{ nodes: [{ pos, size, type, ... }], links: [...] }
IF litegraph isn't the one to use there ARE things like:
https://www.npmjs.com/package/@xyflow/react
So far the CUSTOM COMPONENT exists, so that's a start.
TODO: ComfyUI Workflow Graph — Final Data Wiring
Status: UI tab mounted, component renders, backend extraction working
Issue: Graph viewer receives API-format workflow (
{"1": {...}}) instead of Graph format ({ nodes, links })Context:
prompt(API/exec) +workflow(visual/graph)chunks.prompttoai.comfyui_workflow{ nodes: [{ pos, size, type, ... }], links: [...] }IF litegraph isn't the one to use there ARE things like:
https://www.npmjs.com/package/@xyflow/react
So far the CUSTOM COMPONENT exists, so that's a start.