2023-08-30 19:46:37 +08:00
|
|
|
---
|
|
|
|
title: CircularLayoutOptions
|
|
|
|
---
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
> 📋 中文文档还在翻译中... 欢迎 PR
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
[Overview - v5.0.0-beta.2](../../README.zh.md) / [Modules](../../modules.zh.md) / [layout](../../modules/layout.zh.md) / CircularLayoutOptions
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
[layout](../../modules/layout.zh.md).CircularLayoutOptions
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
## Properties
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### angleRatio
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **angleRatio**: `number`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:121
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### center
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **center**: `PointTuple`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:112
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### clockwise
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **clockwise**: `boolean`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:118
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### divisions
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **divisions**: `number`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:119
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### endAngle
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **endAngle**: `number`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:123
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### endRadius
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **endRadius**: `number`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:117
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### height
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **height**: `number`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:114
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### nodeSize
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **nodeSize**: `number` \| `number`[] \| (`nodeData`: `Node`) => `number`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:125
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### nodeSpacing
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **nodeSpacing**: `number` \| (`node?`: `Node`) => `number`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:124
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### ordering
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
• `Optional` **ordering**: `"topology"` \| `"topology-directed"` \| `"degree"`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:120
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### radius
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **radius**: `number`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:115
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### startAngle
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **startAngle**: `number`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:122
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### startRadius
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **startRadius**: `number`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:116
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
### width
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
• `Optional` **width**: `number`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
2023-08-31 22:06:26 +08:00
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:113
|