Layered (hierarchical) layout: DAGs use longest-path layers, other graphs BFS depth; vertices within a layer are ordered by barycenter sweeps. Layers grow downward (y), each centered on x = 0.
Layered (hierarchical) layout: DAGs use longest-path layers, other graphs BFS depth; vertices within a layer are ordered by barycenter sweeps. Layers grow downward (y), each centered on x = 0.