English
@eightkk/vue-weave / core / GraphTreeLayoutOptions
Interface: GraphTreeLayoutOptions
Defined in: src/core/graphLayouts.ts:11
Options of layoutTreeGraph: the shared layout options (columnGap between depth levels, rowGap between adjacent leaves) plus roots.
Extends
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.
Inherited from
direction?
optionaldirection?:GraphLayoutDirection
Defined in: src/core/graph.ts:229
Flow direction: ranks grow along it. Default 'LR'.
Inherited from
nodeHeight?
optionalnodeHeight?:number
Defined in: src/core/graph.ts:233
Height of a node box. Default 58.
Inherited from
nodeWidth?
optionalnodeWidth?:number
Defined in: src/core/graph.ts:231
Width of a node box. Default 144.
Inherited from
padding?
optionalpadding?:number
Defined in: src/core/graph.ts:239
Margin around the layout. Default 20.
Inherited from
roots?
optionalroots?: readonlystring[]
Defined in: src/core/graphLayouts.ts:13
Node IDs placed first as tree roots. Remaining roots are nodes without incoming edges, then any node left over in a cycle.
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.