LayeredDigraphLayoutOptions
Defined in: layout/LayeredDigraphLayout.ts:6
Properties
Sección titulada «Properties»center?
Sección titulada «center?»
optionalcenter?:boolean
Defined in: layout/LayeredDigraphLayout.ts:16
Whether to center the layout. Default: true
direction?
Sección titulada «direction?»
optionaldirection?:"horizontal"|"vertical"
Defined in: layout/LayeredDigraphLayout.ts:14
Direction of the layout. Default: ‘vertical’ (layers top to bottom).
layerSpacing?
Sección titulada «layerSpacing?»
optionallayerSpacing?:number
Defined in: layout/LayeredDigraphLayout.ts:10
Layer spacing (vertical gap between layers). Default: 80
padding?
Sección titulada «padding?»
optionalpadding?:number
Defined in: layout/LayeredDigraphLayout.ts:12
Border padding. Default: 20
reduceCrossings?
Sección titulada «reduceCrossings?»
optionalreduceCrossings?:boolean
Defined in: layout/LayeredDigraphLayout.ts:18
Whether to run crossing reduction. Default: true
spacing?
Sección titulada «spacing?»
optionalspacing?:number
Defined in: layout/LayeredDigraphLayout.ts:8
Spacing between nodes. Default: 60