Is it possible to obtain a circular hierarchy in Cytoscape js?
The breadthfirst layout gives a generic hierarchy layout, if somehow nodes could be arranged in a circrular hierarchy (with roots being in the center...), please do let me know the way out.
Thanks
Have you tried the
concentricoptions for the breadth-first layout? By default breadth-first gives a pyramid-like layout but you can specify a circular layout.For example:
See https://jsfiddle.net/josephst18/kznos1x9/2/ for the rest of my code.