g6/packages/site/docs/apis/interfaces/layout/DagreLayoutOptions.en.md

193 lines
3.4 KiB
Markdown
Raw Normal View History

---
title: DagreLayoutOptions
---
2023-08-31 22:06:26 +08:00
[Overview - v5.0.0-beta.1](../../README.en.md) / [Modules](../../modules.en.md) / [layout](../../modules/layout.en.md) / DagreLayoutOptions
[layout](../../modules/layout.en.md).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