Recently I was browsing some React libraries I need to work on. My criteria for selection was to find new and not so many famous ones but they shou...
For further actions, you may consider blocking this person and/or reporting abuse
Great tutorial ! My question is how to add logic to our nodes like api calls node,
if-else nodes, show message, send some message to whatsapp.
Because I want to build message automation app
Pls help :)
Hello! Thanks for reading.
I am not active here for quite some time and haven’t used this library much, so I can't answer your question.
Please look at their docs, support, or community (if any). I hope you understand. Thanks!
Great library! Been playing with it for a while. How do we save and restore custom nodes? Any ideas?
Saving and restoring plain default nodes work. Ref - reactflow.dev/examples/save-and-re...
I don’t know much about saving and restoring custom nodes for this. Maybe you can start a new issue in its repo?
Thanks Vaibhav for your quick response. I've figured out the way to achieve the functionality. FYI, you can create custom nodes and register the names with ReactFlow component and use the same name as the node type to be able to save and restore custom components. You can refer this link to get a clearer picture of what I was talking about - reactflow.dev/examples/custom-node/
Look out for ColorSelectorNode.js and setElements() function usage
Nice, thanks for sharing!
Great post! 🎉 I’ve also been working with React Flow, and it’s been a game-changer for building interactive node-based graphs. If anyone is interested in seeing another use case, check out ChartDB (github.com/chartdb/chartdb) - we implemented React Flow to visualize database schemas in a unique way. Would love to hear your thoughts and feedback! 🚀
How to avoid overlapping of edges (connection lines) and it's label?
This looks great. Which library do you prefer for automatic node positioning?
actually for automatic position requires the dagre library from npm, for details you can see in the documentation reactflow.dev/examples/layouting/
sorry for my bad english
Thanks for sharing!
Thanks! As for the automatic node positioning I haven't used any such library.
Hey, Nice Article, Keep it up.
Do you anyone have an idea how to use this library on drag and drop imgs (Not just text) ?
Thanks
Thanks for reading!
Not sure of the image support but you can read here that:
The edges overlap all-over, not a great experience.
Can we create custom style node? i have created the node design want to apply as a node but in object how can reaturn? pls guide me
Thanks in Advance
Please take a look at this comment. Thanks!