circular layout - radius rank

How can I specify ranking based on groups or subgraphs in a circular layout? Say I want all nodes of a certain type to be at a certain radius. 
Thank you 

circular layout - radius

I assume you are interested in the twopi layout, as there is no ranking in circo. In twopi, the level is determined by a spanning tree from the root node, so at present you would have to input a tree indicating the desired ranks, and then add additional edges in postprocessing. Just providing ranks as input would probably profit by a very different algorithm, but it wouldn't be hard to allow you to specify the desired spanning tree as input, so you could avoid the postprocessing.

Recent comments