mirror of
https://gitee.com/antv/g6.git
synced 2024-12-16 02:21:25 +08:00
147 lines
3.0 KiB
Markdown
147 lines
3.0 KiB
Markdown
|
---
|
|||
|
title: CircularLayoutOptions
|
|||
|
---
|
|||
|
|
|||
|
[概述 - v5.0.0-alpha.9](../../README.zh.md) / [模块](../../modules.zh.md) / [布局](../. ./modules/layout.zh.md) / CircularLayoutOptions
|
|||
|
|
|||
|
[布局](../../modules/layout.zh.md).CircularLayoutOptions
|
|||
|
|
|||
|
## 特性
|
|||
|
|
|||
|
### 角度比率
|
|||
|
|
|||
|
• `可选` **angleRatio**:`数字`
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:121
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 中心
|
|||
|
|
|||
|
• `可选` **中心**:`PointTuple`
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:112
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 顺时针
|
|||
|
|
|||
|
• `可选` **顺时针**:`布尔值`
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:118
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 部门
|
|||
|
|
|||
|
• `可选` **部门**:`数量`
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:119
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 结束角度
|
|||
|
|
|||
|
• `可选` **endAngle**:`数字`
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:123
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 结束半径
|
|||
|
|
|||
|
• `可选` **endRadius**:`数字`
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:117
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 高度
|
|||
|
|
|||
|
• `可选` **高度**:`数字`
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:114
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 节点大小
|
|||
|
|
|||
|
• `可选` **nodeSize**: `number` \| `数字`[]
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:125
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 节点间距
|
|||
|
|
|||
|
• `可选` **nodeSpacing**: `number` \| (`节点?`: `节点`) => `数字`
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:124
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 订购
|
|||
|
|
|||
|
• `可选` **排序**:``“拓扑”`` \| ``“拓扑导向”`` \| ``“程度”``
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:120
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 半径
|
|||
|
|
|||
|
• `可选` **半径**:`数字`
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:115
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 起始角度
|
|||
|
|
|||
|
• `可选` **起始角度**:`数字`
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:122
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 起始半径
|
|||
|
|
|||
|
• `可选` **startRadius**:`number`
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:116
|
|||
|
|
|||
|
___
|
|||
|
|
|||
|
### 宽度
|
|||
|
|
|||
|
• `可选` **宽度**:`数量`
|
|||
|
|
|||
|
#### 定义于
|
|||
|
|
|||
|
node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:113
|