logo

Ant Design Charts

  • Manual
  • Components
  • Examples
  • Options
  • Productsantv logo arrow
  • 2.6.0-beta.0
  • Component Overview
  • Statistical Charts
    • Chart overview
    • Line
    • Column
    • Bar
    • Area
    • Pie
    • DualAxes
    • Scatter
    • WordCloud
    • Funnel
    • Heatmap
    • Histogram
    • Liquid
    • BidirectionalBar
    • Box
    • Bullet
    • CirclePacking
    • Gauge
    • Radar
    • Rose
    • Sankey
    • Stock
    • Sunburst
    • Treemap
    • Venn
    • Tiny
    • Violin
    • Waterfall
    • RadialBar
  • Relation Graph Components
    • Overview
    • MindMap
    • Fishbone
    • IndentedTree
    • Dendrogram
    • OrganizationChart
    • FlowGraph
    • FlowDirectionGraph
    • NetworkGraph
    • FAQ

D 3 Force Layout En

Next
Component Overview

Resources

Ant Design
Galacea Effects
Umi-React Application Framework
Dumi-Component doc generator
ahooks-React Hooks Library

Community

Ant Financial Experience Tech
seeconfSEE Conf-Experience Tech Conference

Help

GitHub
StackOverflow

more productsMore Productions

Ant DesignAnt Design-Enterprise UI design language
yuqueYuque-Knowledge creation and Sharing tool
EggEgg-Enterprise-class Node development framework
kitchenKitchen-Sketch Tool set
GalaceanGalacean-互动图形解决方案
xtechLiven Experience technology
© Copyright 2025 Ant Group Co., Ltd..备案号:京ICP备15032932号-38

Loading...

Layout

D3 Force layout. Common parameters are as follows:

collide: Force to prevent node overlap.

PropertyDescriptionTypeDefault Value
collide.radiusCollision radius of nodesnumber-
collide.strengthstrength of collision forcenumber-

link: Used to simulate the connection relationship between nodes, ensuring that the connected nodes remain within a certain distance range.

PropertyDescriptionTypeDefault Value
link.distanceThe ideal distance between two nodesnumber-
link.strengthThe strength of the link, controlling the tightness of the connection between nodesnumber-

manyBody: The gravitational or repulsive force between nodes.

PropertyDescriptionTypeDefault Value
manyBody.strengthThe strength of the gravitational or repulsive force between nodesnumber-
manyBody.thetaBarnes-Hut approximation parameter for calculating multi-body forcesnumber-

For complete parameters, refer to d3-force