How to export the nodes/connections #175
-
|
I'm creating a chatbot application where the user can create the flow to manage the chats/queus and bots, how can I export the nodes and connections created so I can use it on my backend to handle it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi! Thanks for your question 🙌 If you’re rendering nodes and connections using Foblex Flow, then you’re already managing their data in your component — the library doesn’t store state internally. You likely have arrays like nodes[] and connections[], which you pass to as inputs. To export the data (for saving to a backend, for example), you can simply send those arrays — they already contain all the structure and connection info you’ve created. So in short: if it’s visible on screen, it’s already in your data. Just serialize it and use it however your backend needs 👍 |
Beta Was this translation helpful? Give feedback.
Hi! Thanks for your question 🙌
If you’re rendering nodes and connections using Foblex Flow, then you’re already managing their data in your component — the library doesn’t store state internally. You likely have arrays like nodes[] and connections[], which you pass to as inputs.
To export the data (for saving to a backend, for example), you can simply send those arrays — they already contain all the structure and connection info you’ve created.
So in short: if it’s visible on screen, it’s already in your data. Just serialize it and use it however your backend needs 👍