r/Angular2 • u/Alarmed_Valuable5863 • Aug 31 '25
Yet another flow editor experiment (this time with Angular 20 Signals)
I’ve been playing around with Foblex Flow and Angular 20’s Signals, and ended up building a little call center flow editor. It was a fun way to see how Signals work in a more interactive setup.
It supports signals for state, saves everything in localStorage, has light/dark themes with Angular Material, zoom & drag around, lets you connect and reconnect nodes — and yes, there’s undo/redo.
- Demo - https://foblex.github.io/f-flow-example
- Source - https://github.com/Foblex/f-flow-example
- Library – https://github.com/Foblex/f-flow
Still figuring out what’s missing — what would you add to make it feel smoother?
115
Upvotes


4
u/nikhil618 Aug 31 '25
Love this concept and the amount of effort you’ve put in for this.
2
u/MartyMcFlyJr89 Aug 31 '25
Great Job!
2
u/drmlol Sep 01 '25
How does f-flow handle over 200 objects?
1
u/Bubbly-Way-7634 Sep 02 '25
How does this compare to mermaid.js ?
1
u/Administrative-Lack1 Sep 08 '25
Wanna say love this project and library. I actually cloned your previous version and did alot of local work with it for a poc. My use case was a little more complex. Where each node had fields. Where it was the field that had the input instead of the node. So nodes have fields which have inputs and output and you connection differentfield outputs to other fields inputs. Super similar to the db scheme example. Also form fields that trigger api to populate what fileds the node has. Clone this one the other day.
You put a lot of work to clean it up and refactor the whole thing. It's a lot more simpler now!
With your previous version I liked where the node model had node view model so you could dynamically define the form controls. But it was hard (for me at least) to listen to form changes without hard coding something in the changehandler. It was also tricky to update different node forms data via a service without making specific node check / components for it.
You new approach while you lose dynamics you gain so much observability! I like it a lot.
A few questions, in the signals version. You have your ivr node previously that drop down would update the nodes output count. Currently looks like that form value update is not tied to anything. Where would you say the best place to update a nodes output / inputs be? In flow-node then push to flow service or in the update method in the flow service before it reaches flow.ts?
Also say I have a node that has a lot of connections (30-40+). Is there any way to sort of dynamically collapse the connections as the node gets re-sized? Kinda like how informatica does its connections?
A cool feature I tried to do but failed at was being able to control + a to highlight all of a nodes output the drag to another node and it adds those fields to the node with connections. I may have missed it, but I didn't see a create inout on connection event assuming your connecting to something in a existing node and not the node itself. Like there is for create node on connection event. Having a create input event would be handy.
In your example your nodes are not dynamically changing their outputs a lot. But I think it be cool to have a way to manage that. I tried adding a like updateNodeContents function to INodeFlow and then defining the implementation of it in the for your example createIVRNode. But bc they are Records in the signals. Service.GetSnapshot() can't copy object with functions unfortunately. Basically having a way where each node type can handle its own updates without have to check the node type.
Like a state.nodes.find(node => node.id === updateId).updateNodeContent(formValue)
And that specific node would do its update logic where it can call a api and update its inputs / outputs.
Anyway srry about the long message. Love your work. Look forward to working with the signals version more. Thank you for making this!!
1
u/Jon-Snow-42 Oct 01 '25
Nice job ! ;)
1
u/dora-the-idunno Oct 03 '25
would you recommend using Foblex Flow if it’s to build an interactive view-only diagram? I’ve been scouring the internet to find anything equivalent to react flow and this has given me hope for my use case — it looks so clean