本文へ移動

@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? ​

optional columnGap?: 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 ​

GraphLayoutOptions.columnGap


direction? ​

optional direction?: GraphLayoutDirection

Defined in: src/core/graph.ts:229

Flow direction: ranks grow along it. Default 'LR'.

Inherited from ​

GraphLayoutOptions.direction


nodeHeight? ​

optional nodeHeight?: number

Defined in: src/core/graph.ts:233

Height of a node box. Default 58.

Inherited from ​

GraphLayoutOptions.nodeHeight


nodeWidth? ​

optional nodeWidth?: number

Defined in: src/core/graph.ts:231

Width of a node box. Default 144.

Inherited from ​

GraphLayoutOptions.nodeWidth


padding? ​

optional padding?: number

Defined in: src/core/graph.ts:239

Margin around the layout. Default 20.

Inherited from ​

GraphLayoutOptions.padding


roots? ​

optional roots?: readonly string[]

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? ​

optional rowGap?: 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.

Inherited from ​

GraphLayoutOptions.rowGap

MIT ライセンスで公開しています。