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
So I'm able to get the desired zoom value that will allow for the entire graph to fit inside my container. While the default zoom works to scale the graph to fit, the graph remains off centered, running graph.center(0) to center on the root node does not always work as there are always a few nodes that expands past the majority of the clusters. I can play around with the translation values, but I have no idea how these values (-1018.40185546875,-295.5054626464844) translates to graph being placed in the center of my container. How are the translate values defined?
Is there a way to set the default zoom on.rendered so that graph fits inside element?
The text was updated successfully, but these errors were encountered: