-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't display a big graph #34
Comments
Hi @vherrera96, this behavior is observed when the physics stabilization engine is not able to converge (which is quite tough for skewed graphs with a high edge to node ratio). One way we can "force" convergence, is by reducing the steps taken for stabilization. Sample code (taken from readme example), # init Jaal and run server
Jaal(edge_df, node_df).plot(vis_opts={'physics':{'stabilization':{'iterations': 100}}}) # define the convergence iteration of network Here, you can try reducing the iterations value which will halt the stabilization effort. I should point out that while your graph will stop moving, it might be quite "messy" to see 😅 |
Maybe allow some manual intervention by letting the user to choose node(s) and "fix them in place" (to slightly clean the "mess" you write about)? |
For me the
Using `` the most important settings were
You can turn |
Hello!
Thanks for this wonderful package! I've been playing with random graphs and it works great. However after trying to display a "big graph" (44 nodes and ~300 edges) something weird happens. It seems unable to stabilize the graph and it doesn't stop moving. Do you know how to fix this?
Thank you!
The text was updated successfully, but these errors were encountered: