-
Notifications
You must be signed in to change notification settings - Fork 161
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
tree branch visibility is incorrect #473
Comments
I've been annoyed by this as well. My only thought for a solution has been to break up branches into multiple subbranches, each with 1 parent and 1 child node. However, I was worried about this for performance reasons as it would significantly increase the number of SVG objects, which has already shown to be a performance bottleneck. Alternatively, there could be some way to change x-values for nodes dynamically based on time interval selected. This would give more of a growing tree effect than the current approach. |
You could do it with one extra SVG line per branch and using |
Yes. I'm afraid of digging too deep into Phylotree and would instead be thinking of solutions that change the "data" supplied to phylotree. |
@evogytis and I have a possible solution to this:
This should actually make animation, filtering etc much faster, as the skeleton tree is left unchanged and so we are rendering far fewer branches at each time point. |
Closed in #639 |
As it stands, any branch that is present within the selected time slice is "visible". E.g. the branch joining a tip from 2016 with a parent in 2013 will be selected if the max date is 2014.
Furthermore, as both tips & branches use the same visibility array, the 2016 tip (in the above example) is shown as visible.
This screenshot indicates zika filtered to a max date of 2014:
The text was updated successfully, but these errors were encountered: