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

edges not showing #113

Open
gordonwoodhull opened this issue Apr 11, 2019 · 0 comments
Open

edges not showing #113

gordonwoodhull opened this issue Apr 11, 2019 · 0 comments

Comments

@gordonwoodhull
Copy link
Contributor

@lkoutsofios wrote

sometimes is that the graph is drawn with no edges.
or maybe the edges are drawn transparent? I don't set the opacity at all.

I think there is some kind of concurrency bug that can happen when layout is slow or there is too much in the DOM, like if you sit there and wait for it, the edges will draw, but if you get bored and do something else, the edges are drawn transparent when the browser or tab is backgrounded.

D3 uses requestAnimationFrame, which only runs in the foreground. The edges are supposed to transition from opacity 0 to 1. Surely it should resolve to the completed transition but maybe it gets interrupted?

Could be one of these redraw/refresh concurrency problems. Maybe it is time to namespace all the enter transitions so that they can't be interrupted.

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

1 participant