-
Notifications
You must be signed in to change notification settings - Fork 104
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
Animated growth of entering edges looks bad on Chrome & Safari #2
Labels
Comments
If a DocumentFragment is not used, but the initial SVG is instead created directly in the DOM, the problem does not occur, but this approach may have performance implications. |
There was no measurable performance difference between the DOM and the Document Fragment approach. A few ms for a graph with 20 nodes and 15 edges. The layout and data extraction require magnitudes longer time. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some arrowheads have the wrong direction during transitions and the edges are grown i segments. On Firefox is looks good.
The root cause is that the getTotalLength() method is undefined here and the test workaround for jsdom/jsdom#1330 kicks in. Probably this is because the element is part of a DocumentFragment.
The text was updated successfully, but these errors were encountered: