Originally published on JavaScript in Plain English:https://javascript.plainenglish.io/creating-a-visual-call-workflow-editor-with-angular-eb89d08815ff
In this tutorial, we build a visual call-flow editor in Angular using @foblex/flow.
To manage workflow elements, define base models:
We define node types and a node metadata map (name, icon, color, outputs):
Generate the editor component:
Then initialize basic editor state:
Render connections and nodes inside f-flow / f-canvas:
Prepare draggable node templates and handle node creation:
Enable connection creation/reassignment and process events:
This gives users a flexible way to build and modify call routing logic visually.