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
When collapsing and expanding nodes there does not seem to be a simple way to know which nodes are visible. You can use the graphRef.current.getGraph() function to check on the current visible nodes but that is not a mutable state that I can use to update a visbleNodes state. If there was a reference to the visible nodes or a callback to when the graph finishes updating it should solve this dilemma.
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
-
When collapsing and expanding nodes there does not seem to be a simple way to know which nodes are visible. You can use the graphRef.current.getGraph() function to check on the current visible nodes but that is not a mutable state that I can use to update a visbleNodes state. If there was a reference to the visible nodes or a callback to when the graph finishes updating it should solve this dilemma.
Beta Was this translation helpful? Give feedback.
All reactions