'Plot concentric circles in cytoscape GUI (NOT cytoscape.js)
I want to use the cytoscape GUI tool (https://cytoscape.org/) to draw something like this (please see the image here concentric circle graph
My data looks like this, where each node belongs to one of the 2 classes.
Node,class
'1','dog'
'2','cat'
'3','cat'
'4','dog'
'5','dog'
...
...
I want the outer circle to have 'dog' nodes and the inner circle to consists of 'cat' nodes.
Thank you!
Solution 1:[1]
If you only have a couple of classes, you should be able to do this using a circular layout, or perhaps even simpler, a group attributes layout. If you do a group attributes layout, you will get multiple circles, but they won't be concentric. However, it should be easy to select the smaller circle and move it to be inside of the larger circle. You may need to shrink it a bit using the Node Layout tools scale option.
Hope this helps!
-- scooter
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Scooter Morris |
