mirror of
https://gitee.com/antv/g6.git
synced 2024-12-16 02:21:25 +08:00
193 lines
3.4 KiB
Markdown
193 lines
3.4 KiB
Markdown
|
---
|
||
|
title: DagreLayoutOptions
|
||
|
---
|
||
|
|
||
|
[Overview - v5.0.0-alpha.9](../../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.5_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.5_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.5_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.5_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.5_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.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:195
|
||
|
|
||
|
___
|
||
|
|
||
|
### nodeSize
|
||
|
|
||
|
• `Optional` **nodeSize**: `number` \| `number`[]
|
||
|
|
||
|
#### Defined in
|
||
|
|
||
|
node_modules/.pnpm/@antv+layout@1.2.5_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.5_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.5_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.5_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.5_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.5_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.5_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.5_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.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:193
|