Hide and Center #189
candcconsulting
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Based upon the selected node I would like to turn off all nodes that are not related to the selected node and then redraw the network.
Is this a logic I would have to handle
ie nodes : {selectedNodes}
and then onSelection calculate the related nodes and reset setSelectedNodes ?
Is that a way or is there a supported method ?
When the user clicks the canvas the selectedNodes would be reset to all
I did see a center on a node ... but the graph is complex it requires some cleaning up to make anything useful out of the information
Beta Was this translation helpful? Give feedback.
All reactions