2023-08-30 19:46:37 +08:00
|
|
|
|
---
|
|
|
|
|
title: CircularLayoutOptions
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
[概述 - v5.0.0-alpha.9](../../README.zh.md) / [模块](../../modules.zh.md) / [布局](../. ./modules/layout.zh.md) / CircularLayoutOptions
|
|
|
|
|
|
|
|
|
|
[布局](../../modules/layout.zh.md).CircularLayoutOptions
|
|
|
|
|
|
|
|
|
|
## 特性
|
|
|
|
|
|
|
|
|
|
### 角度比率
|
|
|
|
|
|
|
|
|
|
• `可选` **angleRatio**:`数字`
|
|
|
|
|
|
|
|
|
|
#### 定义于
|
|
|
|
|
|
2023-08-31 01:43:08 +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
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
### 中心
|
|
|
|
|
|
|
|
|
|
• `可选` **中心**:`PointTuple`
|
|
|
|
|
|
|
|
|
|
#### 定义于
|
|
|
|
|
|
2023-08-31 01:43:08 +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 01:43:08 +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 01:43:08 +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
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
### 结束角度
|
|
|
|
|
|
|
|
|
|
• `可选` **endAngle**:`数字`
|
|
|
|
|
|
|
|
|
|
#### 定义于
|
|
|
|
|
|
2023-08-31 01:43:08 +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
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
### 结束半径
|
|
|
|
|
|
|
|
|
|
• `可选` **endRadius**:`数字`
|
|
|
|
|
|
|
|
|
|
#### 定义于
|
|
|
|
|
|
2023-08-31 01:43:08 +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 01:43:08 +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 01:43:08 +08:00
|
|
|
|
• `可选` **nodeSize**: `number` \| `数字`[] \| (`nodeData`: `Node`) => `数字`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
|
|
|
|
#### 定义于
|
|
|
|
|
|
2023-08-31 01:43:08 +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
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
### 节点间距
|
|
|
|
|
|
|
|
|
|
• `可选` **nodeSpacing**: `number` \| (`节点?`: `节点`) => `数字`
|
|
|
|
|
|
|
|
|
|
#### 定义于
|
|
|
|
|
|
2023-08-31 01:43:08 +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 01:43:08 +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 01:43:08 +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 01:43:08 +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
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
### 起始半径
|
|
|
|
|
|
|
|
|
|
• `可选` **startRadius**:`number`
|
|
|
|
|
|
|
|
|
|
#### 定义于
|
|
|
|
|
|
2023-08-31 01:43:08 +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 01:43:08 +08:00
|
|
|
|
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:113
|