-
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
Is it possible to set the concentric variable in ipycytoscape? #257
Comments
Hi @micw42 good question! I think you're looking for the code in this example: https://github.com/QuantStack/ipycytoscape/blob/master/examples/Concentric%20example.ipynb The important step is: Hope that works for you! |
Hi @ianhi Thank you for answering my question! Sorry I wasn't being very clear before. I've already done Would it be possible to make the red node on the left be in the center? Cytoscape.js allows you to set a function that determines which layer a node is in, so I wonder if this is also possible in ipycytoscape? Thank you so much for your help; I really appreciate it :) |
Hey @micw42, thanks for opening the issue. |
Hey @marimeireles Yeah, I think it's the same; sorry I didn't see it earlier! Thank you :) |
No probs! :) |
In the concentric layout of cytoscape.js, it is possible to put a node in a certain "layer" of the circle through the
concentric
variable of the layout:Here is the cytoscape.js documentation about this
Is there a similar function to this in ipycytoscape? Thank you so much!
The text was updated successfully, but these errors were encountered: