antvis / F6

F6 is a graph visualization engine which provides quick and smooth operations on mobile devices.
https://f6.antv.vision
MIT License
133 stars 21 forks source link

fruchterman 无动态的效果 #3

Closed openwayne closed 1 month ago

openwayne commented 3 years ago

fruchterman 无动态的效果

openwayne commented 3 years ago

@antv/layout未更新导致,已修复

openwayne commented 3 years ago

@antv/f6@0.0.8 已解决

openwayne commented 3 years ago

H5下正常,小程序下需注入setInterval,初步想法是通过支付宝小程序nodemodule中存在window这个变量,在nodemodule中注入window的setInterval等方法。长期看,需改造@antv/layout

openwayne commented 3 years ago

图片

需对@antv/layout 中fruchterman进行调整,增加了衰减系数,细调一下应该就可以了