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

find non-empty edge element for panToNode method #354

Merged
merged 2 commits into from
Sep 5, 2023
Merged

Conversation

chenyunw-uber
Copy link
Contributor

There is a bug where the graph cannot locate the correct edge position when panTo. This is because there are two element with same id but the first one is empty. For example
Screenshot 2023-09-05 at 12 13 08
To fix this, we do querySelectorAll and try to find the correct edge.

@jasonli468 jasonli468 merged commit 8975ace into master Sep 5, 2023
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants