You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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