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
Hey. I have a getNetwork={(network) => setLocalNetwork(network)} prop in the Graph where I get the network object and save it to a local state. I also have an afterDrawing event that will trigger a network.focus(randomNode, focusSettings); after the graph has been finished painting to focus a random node.
The result is that I cannot longer interact with the graph after the focus event is fired (e.g. zoom in, zoom out) even if I set the locked prop to false. This is the focusSettings object:
Hey. I have a
getNetwork={(network) => setLocalNetwork(network)}
prop in theGraph
where I get the network object and save it to a local state. I also have anafterDrawing
event that will trigger anetwork.focus(randomNode, focusSettings);
after the graph has been finished painting to focus a random node.The result is that I cannot longer interact with the graph after the focus
event
is fired (e.g. zoom in, zoom out) even if I set thelocked
prop tofalse
. This is thefocusSettings
object:Any idea on why I cannot interact with the graph afterwards the
focus
is executed? Thanks!The text was updated successfully, but these errors were encountered: