spmviz.layout.layered_layout# spmviz.layout.layered_layout(G, layer=None, sweeps=8, orient='left', sources=None)[source]# Layered (Sugiyama-style) layout with barycentric crossing reduction. Parameters: Gnetworkx graph layerstr or dict, optionalNode attribute (or mapping) giving the layer; by default the BFS distance from sources (nodes without predecessors, or the start node "▶"). sweepsintDown/up sweeps of the barycenter heuristic. orient{“left”, “top”}