如何始终在力导向图中为气泡设置动画?

时间:2019-08-19 09:21:31

标签: animation d3.js force-layout d3-force-directed

执行一段时间后,组件停止了动画,我希望它始终执行动画。

forceSimulation(data)
      .force('charge',forceManyBody())
      .force('center', forceCenter(width / 2, height / 2))
      .on('tick', draw)

0 个答案:

没有答案
相关问题