spmviz.layout.tree_layout#
- spmviz.layout.tree_layout(G, root=None, weight=None, order='weight', orient='top', level_gap=1.0)[source]#
Layered tree layout (tidy): leaves on a line, parents centered over their children.
orientis"top"(root on top, the NBVFS-WN hierarchical view) or"left"(root on the left, as in word trees and icicles).