Ir al contenido

LayeredDigraphLayoutOptions

Defined in: layout/LayeredDigraphLayout.ts:6

optional center?: boolean

Defined in: layout/LayeredDigraphLayout.ts:16

Whether to center the layout. Default: true


optional direction?: "horizontal" | "vertical"

Defined in: layout/LayeredDigraphLayout.ts:14

Direction of the layout. Default: ‘vertical’ (layers top to bottom).


optional layerSpacing?: number

Defined in: layout/LayeredDigraphLayout.ts:10

Layer spacing (vertical gap between layers). Default: 80


optional padding?: number

Defined in: layout/LayeredDigraphLayout.ts:12

Border padding. Default: 20


optional reduceCrossings?: boolean

Defined in: layout/LayeredDigraphLayout.ts:18

Whether to run crossing reduction. Default: true


optional spacing?: number

Defined in: layout/LayeredDigraphLayout.ts:8

Spacing between nodes. Default: 60