English
@eightkk/vue-weave / core / GraphLayoutOptions
Interface: GraphLayoutOptions
Defined in: src/core/graph.ts:227
Options shared by the rank-based layouts (layered, tree, swimlane and incremental). Defaults: direction LR, nodes 144 by 58, columnGap 50, rowGap 24, padding 20. Sizes must be finite numbers > 0 and gaps and padding finite numbers ≥ 0, otherwise the layout throws a RangeError that names the option.
Extended by
GraphLayeredLayoutOptionsGraphTreeLayoutOptionsGraphSwimlaneLayoutOptionsGraphIncrementalLayoutOptions
Properties
columnGap?
optionalcolumnGap?:number
Defined in: src/core/graph.ts:235
Free space between ranks along the flow (between depth levels in the tree layout). Default 50.
direction?
optionaldirection?:GraphLayoutDirection
Defined in: src/core/graph.ts:229
Flow direction: ranks grow along it. Default 'LR'.
nodeHeight?
optionalnodeHeight?:number
Defined in: src/core/graph.ts:233
Height of a node box. Default 58.
nodeWidth?
optionalnodeWidth?:number
Defined in: src/core/graph.ts:231
Width of a node box. Default 144.
padding?
optionalpadding?:number
Defined in: src/core/graph.ts:239
Margin around the layout. Default 20.
rowGap?
optionalrowGap?:number
Defined in: src/core/graph.ts:237
Free space between neighbouring boxes of one rank across the flow (between adjacent leaves in the tree layout, between nodes of one lane in one rank in the swimlane layout). Default 24.