kitchensjn / tskit_arg_visualizer

Interactive visualization method for ancestral recombination graphs
MIT License
11 stars 3 forks source link

Button to distribute tips evenly #48

Closed hyanwong closed 1 year ago

hyanwong commented 1 year ago

I've been playing with the visualiser recently, and it's great. One thing which would be useful would be the ability to take all the nodes of the tree at time 0 (or whatever is the most recent time) and space them out equidistant from each other on the X: i.e. evenly space them.

Quite often, if you are dragging the sample tips around to reorder them, you don't get the spacings exactly even.

I guess this would be somewhat akin to allowing the fixed nodes to move on reheating.

kitchensjn commented 1 year ago

It makes sense to add incorporate this functionality into the reheating button, as well as separately. Will look into it!