@graphty/layout / index / MultipartiteLayoutOptions
Interface: MultipartiteLayoutOptions
Defined in: indexed/multipartite.ts:10
Options of the index-based multipartite layout.
Extends
Properties
align?
readonlyoptionalalign?:LayerAlign
Defined in: indexed/multipartite.ts:19
Default vertical.
center?
readonlyoptionalcenter?:ArrayLike<number>
Defined in: indexed/common.ts:12
The centre (for random, the lowest corner of its cell, as in the legacy layout); missing components are 0. Default the origin.
Inherited from
dim?
readonlyoptionaldim?:2|3
Defined in: indexed/common.ts:8
Components per row, 2 or 3; default 2.
Inherited from
scale?
readonlyoptionalscale?:number
Defined in: indexed/common.ts:10
Size of the layout around its centre; default 1. What it measures is documented per layout.
Inherited from
seed?
readonlyoptionalseed?:number|null
Defined in: indexed/common.ts:14
Seed of a layout that draws random numbers; a random seed when absent or null.
Inherited from
subsets?
readonlyoptionalsubsets?:string| readonlyNodeSet[]
Defined in: indexed/multipartite.ts:17
The layers, in order: either node sets (index arrays, { mask } or { ids }), or the name of a u32 or dict node column whose equal values form one layer, in ascending value (for dict, dictionary) order. A node in no layer, or with an unset value, is not placed: its row is NaN. Default the column "subset".