auspice icon indicating copy to clipboard operation
auspice copied to clipboard

ENH: Make it easy to see branches with reversions, without needing to hover, e.g. colouring or label

Open corneliusroemer opened this issue 2 years ago • 1 comments

Current Behavior

Since Auspice 2.33.0, the tooltips show the number of reversions that occur on a branch.

That's great, and nice to know when inspecting a branch.

image

Problem

However, when scanning a tree for problematic regions, it's not possible to scan all branches with the mouse.

It would be great if one could quickly spot where reversions occur.

Possible solutions

I can think of two ways to highlight:

  • a coloring, where we color a branch depending on the number of reversions, (0,1,2,3,4,5,..10-20,20+ is maybe better than auto mode because this would make difference between 0,1 hard to distinguish, despite that difference being very important)
  • branch labels, maybe displaying the number of reversions, or their nature, though this would get too long for lots of undeletions

Use case

Inspecting a tree for regions where lots of reversions happen. This would have been very useful in the beginning with Omicron, so one can quickly see how much back and forth there is.

corneliusroemer avatar Feb 15 '22 14:02 corneliusroemer

Do you think this is best in Auspice? I would think this could be a really useful augur command (augur qc or some-such) producing a node-data JSON, which could then be used as a colouring in auspice.

jameshadfield avatar Feb 22 '22 02:02 jameshadfield