g6/packages/site/docs/apis/interfaces/layout/D3ForceLayoutOptions.en.md
2023-08-31 22:06:26 +08:00

4.1 KiB

title
D3ForceLayoutOptions

Overview - v5.0.0-beta.1 / Modules / layout / D3ForceLayoutOptions

layout.D3ForceLayoutOptions

Properties

alpha

Optional alpha: number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:214


alphaDecay

Optional alphaDecay: number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:215


alphaMin

Optional alphaMin: number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:216


center

Optional center: PointTuple

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:206


clusterEdgeDistance

Optional clusterEdgeDistance: number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:220


clusterEdgeStrength

Optional clusterEdgeStrength: number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:219


clusterFociStrength

Optional clusterFociStrength: number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:222


clusterNodeSize

Optional clusterNodeSize: number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:221


clusterNodeStrength

Optional clusterNodeStrength: number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:218


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:217


collideStrength

Optional collideStrength: number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:211


edgeStrength

Optional edgeStrength: number | (edge?: Edge) => number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:208


forceSimulation

Optional forceSimulation: any

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:223


linkDistance

Optional linkDistance: number | (edge?: Edge) => number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:207


nodeSize

Optional nodeSize: number | number[] | (node?: Node) => number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:212


nodeSpacing

Optional nodeSpacing: number | number[] | (node?: Node) => number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:213


nodeStrength

Optional nodeStrength: number | (node?: Node) => number

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:209


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:224


preventOverlap

Optional preventOverlap: boolean

Defined in

node_modules/.pnpm/@antv+layout@1.2.9_workerize-loader@2.0.2/node_modules/@antv/layout/lib/types.d.ts:210