We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
官方示例(https://x6.antv.antgroup.com/zh/examples/showcase/practices/#orgchart),在点击添加节点后,由于为了自动布局都会执行layout()方法,当节点过多的时候会给用户一种闪烁感觉,请问有没有处理的办法来解决这种闪烁感
https://x6.antv.antgroup.com/zh/examples/showcase/practices/#orgchart
添加节点,不会有闪的视觉感
No response
The text was updated successfully, but these errors were encountered:
在寻找解决办法的时候,发现过canvas中可以使用双缓存的机制来规避类似问题,x6针对这种问题是否有规避方法
Sorry, something went wrong.
layout 之后只会修改节点的位置以及连线的 vertices,我本地并没有出现闪烁情况,请问你添加了多少节点。
以上是我操作的视频
https://github.com/antvis/X6/assets/48782144/5c0aa7f8-489b-464c-9b1f-5b3b91c0d88d 截图就是闪烁的情况,造成闪烁的原因是因为每次添加节点,都会执行自动布局的操作造成的
这个视频可以更明显一点
No branches or pull requests
问题描述
官方示例(https://x6.antv.antgroup.com/zh/examples/showcase/practices/#orgchart),在点击添加节点后,由于为了自动布局都会执行layout()方法,当节点过多的时候会给用户一种闪烁感觉,请问有没有处理的办法来解决这种闪烁感
重现链接
https://x6.antv.antgroup.com/zh/examples/showcase/practices/#orgchart
重现步骤
https://x6.antv.antgroup.com/zh/examples/showcase/practices/#orgchart
预期行为
添加节点,不会有闪的视觉感
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: