@graphty/layout / index / BipartiteLayoutOptions
Interface: BipartiteLayoutOptions
Defined in: indexed/bipartite.ts:8
Options of the index-based bipartite layout.
Extends
Properties
align?
readonlyoptionalalign?:LayerAlign
Defined in: indexed/bipartite.ts:16
Default vertical.
aspectRatio?
readonlyoptionalaspectRatio?:number
Defined in: indexed/bipartite.ts:18
Width over height of the unscaled layout; default 4 / 3.
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
top?
readonlyoptionaltop?:string|U32|NodeSet
Defined in: indexed/bipartite.ts:14
The nodes of the first line: a node mask (bit i set means node i), any other node set (a plain array of indices, { mask } or { ids }), or the name of a bool node column whose true rows are the first line (an unset row is false). A bare Uint32Array is read as a node mask. Default the even node indices.