News for hackers. Stuff that matters.
Re:React-flow: a library to create interactive node-based gr... by moklick on Wednesday May 06, 2020 @07:06AM (#23089676)
That's why we tried to make this library as simple as possible. It doesn't do any state updates besides the positions. You can easily store state inside nodes and change it as seen in the custom node example https://react-flow.netlify.app/custom-node
Re:React-flow: a library to create interactive node-based gr... by amelius on Wednesday May 06, 2020 @07:20AM (#23089750)
One thing that seems to be missing though is slot names.

For example if the nodes are objects in C++ and the edges are relations, you want to know the names of the members that point to the other nodes.

Labels on the edges would also be nice.