本文へ移動

@eightkk/vue-weave / core / GraphLayeredLayoutOptions

Interface: GraphLayeredLayoutOptions ​

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

Options accepted by layoutLayeredGraph: the shared layout options plus opt-in crossing reduction.

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


crossingReduction? ​

optional crossingReduction?: GraphCrossingReduction

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

Opt-in reordering of nodes within each rank. Default 'none' keeps input order.


crossingSweeps? ​

optional crossingSweeps?: number

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

Maximum number of alternating down/up sweeps when crossingReduction is enabled. Default 8.


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


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 ライセンスで公開しています。