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

The hidden time of the connecting line is incorrect #399

Open
tangtingtt opened this issue May 10, 2024 · 5 comments
Open

The hidden time of the connecting line is incorrect #399

tangtingtt opened this issue May 10, 2024 · 5 comments

Comments

@tangtingtt
Copy link

tangtingtt commented May 10, 2024

Hello author!
During use, I found that when I click the button to collapse a child node, the child node will disappear first, and the connection line between the parent node and the child node will be delayed disappear. I also found this issue in the example project you provided. Excuse me: Is there a way to avoid this problem and make them disappear at the same time?
Looking forward to your reply.
thank you!

@tangtingtt
Copy link
Author

问题

@tangtingtt
Copy link
Author

You can find this problem from the connecting line in the dynamic diagram above.
image

@bumbeishvili
Copy link
Owner

Hi, no it's not a problem but side effect of how transition works with path lines

@tangtingtt
Copy link
Author

tangtingtt commented May 11, 2024

Okay, thank you for your reply😊, but is there a way/configuration to shorten this interval? Make it look less obvious. @bumbeishvili

@bumbeishvili
Copy link
Owner

@tangtingtt you can increase or reduce transition time using chart.duration(200) //ms for example, but it will depend on computer power. It might still lag on computers with poor GPU

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