--- title: D3ForceLayoutOptions --- [概述 - v5.0.0-alpha.9](../../README.zh.md) / [模块](../../modules.zh.md) / [布局](../. ./modules/layout.zh.md) / D3ForceLayoutOptions [布局](../../modules/layout.zh.md).D3ForceLayoutOptions ## 特性 ### α • `可选` **alpha**:`数字` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:214 ___ ### 阿尔法衰变 • `可选` **alphaDecay**:`数字` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:215 ___ ### 阿尔法最小值 • `可选` **alphaMin**:`数字` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:216 ___ ### 中心 • `可选` **中心**:`PointTuple` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:206 ___ ### clusterEdgeDistance • `可选` **clusterEdgeDistance**:`number` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:220 ___ ### clusterEdgeStrength • `可选` **clusterEdgeStrength**:`数量` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:219 ___ ### clusterFociStrength • `可选` **clusterFociStrength**:`数量` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:222 ___ ### 集群节点大小 • `可选` **clusterNodeSize**:`数量` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:221 ___ ### clusterNodeStrength • `可选` **clusterNodeStrength**:`数量` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:218 ___ ### 聚类 • `可选` **聚类**:`布尔值` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:217 ___ ### 碰撞强度 • `可选` **碰撞强度**:`数字` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:211 ___ ### 边缘强度 • `可选` **边缘强度**:`数字` \| (`边?`: `边`) => `数字` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:208 ___ ### 力模拟 • `可选` **forceSimulation**:`任何` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:223 ___ ### 链接距离 • `可选` **linkDistance**:`数字` \| (`边?`: `边`) => `数字` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:207 ___ ### 节点大小 • `可选` **nodeSize**: `number` \| `数字`[] \| (`节点?`: `节点`) => `数字` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:212 ___ ### 节点间距 • `可选` **nodeSpacing**: `number` \| `数字`[] \| (`节点?`: `节点`) => `数字` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:213 ___ ### 节点强度 • `可选` **nodeStrength**: `number` \| (`节点?`: `节点`) => `数字` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:209 ___ ### 勾选 • `可选` **onTick**: (`data`: `LayoutMapping`) => `void` #### 类型声明 ▸ (`数据`): `无效` ##### 参数 | 名称 | 类型 | | :------ | :------ | | `数据` | `布局映射` | ##### 返回 `无效` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:224 ___ ### 防止重叠 • `可选` **preventOverlap**:`boolean` #### 定义于 node_modules/.pnpm/@antv+layout@1.2.5_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:210