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

Stuck when dragging ends with large graph #1500

Closed
ouzhou opened this issue Jan 2, 2025 · 1 comment
Closed

Stuck when dragging ends with large graph #1500

ouzhou opened this issue Jan 2, 2025 · 1 comment
Labels

Comments

@ouzhou
Copy link

ouzhou commented Jan 2, 2025

At the end of the drag and drop, mouse up will cause lag

large graph
image

if (shouldRefresh) this.renderer.refresh();

i read this reason cfd9197

Even when rendering edges, my drag and drop performance is still excellent, doing a full refresh caused my screen to freeze instand.

can we add if statement , if hideEdgesOnMove is false , dont do a full refresh?

@ouzhou ouzhou added the bug label Jan 2, 2025
@jacomyal
Copy link
Owner

Hi, and thanks for your report and your research.
I agree, I see no proper reason to run a full refresh when the hideEdgesOnMove is not set to true.
I'll run some more tests, but it should be fixed in the next version.
Thanks again!

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

No branches or pull requests

2 participants