@graphty/layout / index / multipartite
Function: multipartite()
multipartite(
s,options?):LayoutResult
Defined in: indexed/multipartite.ts:114
Nodes in straight lines, one line per layer: with vertical alignment layer k is a column left of layer k + 1, its nodes evenly spaced top to bottom in the order listed. 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?
MultipartiteLayoutOptions = {}
scale is the distance of the farthest node from the centre; subsets the layers
Returns
the layout