g6/packages/site/docs/apis/interfaces/layout/DagreLayoutOptions.en.md
2023-08-31 22:06:26 +08:00

3.4 KiB

title
DagreLayoutOptions

Overview - v5.0.0-beta.1 / Modules / layout / DagreLayoutOptions

layout.DagreLayoutOptions

Properties

align

Optional align: DagreAlign

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:187


begin

Optional begin: PointTuple

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:188


controlPoints

Optional controlPoints: boolean

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:192


edgeLabelSpace

Optional edgeLabelSpace: boolean

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:194


focusNode

Optional focusNode: ID | Node

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:197


nodeOrder

Optional nodeOrder: string[]

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:195


nodeSize

Optional nodeSize: number | number[] | (nodeData: Node) => number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:189


nodesep

Optional nodesep: number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:190


nodesepFunc

Optional nodesepFunc: (d?: Node) => number

Type declaration

▸ (d?): number

Parameters
Name Type
d? Node
Returns

number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:202


preset

Optional preset: Object

Type declaration

Name Type
edges Edge[]
nodes OutNode[]

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:198


radial

Optional radial: boolean

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:196


rankdir

Optional rankdir: DagreRankdir

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:186


ranksep

Optional ranksep: number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:191


ranksepFunc

Optional ranksepFunc: (d?: Node) => number

Type declaration

▸ (d?): number

Parameters
Name Type
d? Node
Returns

number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:203


sortByCombo

Optional sortByCombo: boolean

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:193