Skip to content
New issue

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

能不能在调用refresh刷新时不让缩放跳动那么明显呢,强迫症的人看着很难受 #308

Closed
liuzewei1990 opened this issue May 16, 2024 · 1 comment

Comments

@liuzewei1990
Copy link

No description provided.

@seeksdream
Copy link
Owner

$graphRef.refresh()方法是一个动作比较大的方法,内容包括缩放居中动画等各种效果以及重新布局。

你可以使用$graphRef.getInstance().doLayout()方法来重新布局,这样的话不会有缩放居中这样的效果,应该可以避免你说的跳来跳去

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants