react-force-graph
react-force-graph copied to clipboard
Joining two nodes live example
Is your feature request related to a problem? Please describe. I am working on a project which uses this library. One of the feature was to join two nodes live for which I had to search the correct api in lots of issues and stackoverflow. Now I have figured out how can we join two nodes live using this library. I wanted to contribute back this code so others have no problem making that functionality. Can I share that example to this repo?
Describe the solution you'd like
We have to use onNodeClick
api and onRenderFramePost/Pre
to draw the link between them and then later just updating the graphData.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.