You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
问题描述
通过websocket获取到数据后筛选提取自己需要的数据进行添加画布数据边和节点,然后添加到一个json里 使用graph.fromjson来渲染,每当从ws获取当前数据的时候 画布视图都会闪烁一下 代码如下 这个Draw方法在ws里一直调用获取数据
第一张是节点的 第二张是边的 根据status来修改边的样式
重现链接
无
重现步骤
通过ws获取数据 边和节点里有一个字段来判断我的节点和边的状态 ,状态更改 就更改相应的样式
预期行为
画布使用上述方法 能够平滑的展示,不要闪烁的更新
平台
屏幕截图或视频(可选)
default.mp4
录制的视频看不出来闪烁 但其实整体的节点画布都在闪烁 是formJSON的原因吗?
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: