3.8 KiB
title |
---|
FruchtermanLayoutOptions |
📋 中文文档还在翻译中... 欢迎PR
Overview - v5.0.0-beta.1 / Modules / layout / FruchtermanLayoutOptions
layout.FruchtermanLayoutOptions
Hierarchy
-
CommonForceLayoutOptions
↳
FruchtermanLayoutOptions
Properties
center
• Optional
center: PointTuple
Inherited from
CommonForceLayoutOptions.center
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:252
clusterGravity
• Optional
clusterGravity: number
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:316
clustering
• Optional
clustering: boolean
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:315
dimensions
• Optional
dimensions: number
Inherited from
CommonForceLayoutOptions.dimensions
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:251
distanceThresholdMode
• Optional
distanceThresholdMode: "min"
| "max"
| "mean"
Inherited from
CommonForceLayoutOptions.distanceThresholdMode
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:255
gravity
• Optional
gravity: number
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:313
height
• Optional
height: number
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:312
maxDistance
• Optional
maxDistance: number
If distance is specified, sets the maximum distance between nodes over which this force is considered. If distance is not specified, returns the current maximum distance, which defaults to infinity. Specifying a finite maximum distance improves performance and produces a more localized layout.
Inherited from
CommonForceLayoutOptions.maxDistance
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:261
maxIteration
• Optional
maxIteration: number
Inherited from
CommonForceLayoutOptions.maxIteration
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:254
minMovement
• Optional
minMovement: number
Inherited from
CommonForceLayoutOptions.minMovement
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:253
nodeClusterBy
• Optional
nodeClusterBy: string
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:317
onTick
• Optional
onTick: (data
: LayoutMapping
) => void
Type declaration
▸ (data
): void
Parameters
Name | Type |
---|---|
data |
LayoutMapping |
Returns
void
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:318
speed
• Optional
speed: number
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:314
width
• Optional
width: number
Defined in
node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:311