spmviz.layout.radial_tree_layout#

spmviz.layout.radial_tree_layout(G, root=None, weight=None, order='weight', start_angle=90.0)[source]#

Concentric layout: the root in the center, depth d on the circle of radius d.

Every subtree receives an angular sector proportional to its number of leaves (or to the sum of the weight attribute of its leaves), so heavy branches get room. A forest is placed around a virtual center (the layout of the NBVFS-WN circle view, with the starting events on the first ring).