-
Notifications
You must be signed in to change notification settings - Fork 63
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
Many layout algorithms are not centered #276
Comments
Wow, great issue! Ok, I think of two things when I read your issue:
For now I can't really tackle this, but I'm always around to answer questions and help any other way I can, both here and on gitter: https://gitter.im/QuantStack/Lobby |
It is not that they are not centered, but that since they are not part of the package the graph breaks and all nodes are set in the upper-left corner of the canvas. They are all on top of each other. The real issue here is that we should add more layouts to the Python package. |
maybe this is a stupid question, but why aren't all the documented layouts included in the python package? It's a little frustrating to see a layout that you want to use in the cytoscape.js documentation only to find out it doesn't work when you try to use it and end up finding this bug report and that it isn't included for some reason and that nothing in the ipycytoscape documentation actually states which layouts are and are not supported. |
Bug report
Bug summary
Using several layout algorithms result in a graph that is not centered.
Below code snippet contains list of which ones yield centered graphs and which don't.
Code for reproduction
Actual outcome
COLA (centered):
ASVDF (not centered):
Expected outcome
Centered graph
Update: initially I filed this for ASVDF, but it turns out many algos have this issue
The text was updated successfully, but these errors were encountered: