@graphty/layout / index / bipartite
Function: bipartite()
bipartite(
s,options?):LayoutResult
Defined in: indexed/bipartite.ts:83
Nodes in two straight lines: with vertical alignment the top nodes form the left column and the rest the right, each in node-index order. In 3D the layout lies in the plane of the centre's z.
Parameters
s
GraphSnapshot
the snapshot; only its node count and the named column are read
options?
scale is the distance of the farthest node from the centre; top the first line
Returns
the layout