Layouts#

Deterministic layouts for trees, forests and layered graphs.

Radial and layered tree layouts, Sugiyama-style layered layout.

Functions#

layered_layout(G[, layer, sweeps, orient, ...])

Layered (Sugiyama-style) layout with barycentric crossing reduction.

radial_tree_layout(G[, root, weight, order, ...])

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

tree_layout(G[, root, weight, order, ...])

Layered tree layout (tidy): leaves on a line, parents centered over their children.