phyloref / klados

A curation tool to edit test cases for the Phyloref curation workflow
http://www.phyloref.org/klados/
MIT License
2 stars 1 forks source link

Make phyloreferences within phylogenies clickable if there is more than one of them #334

Open gaurav opened 2 weeks ago

gaurav commented 2 weeks ago

Within a single phyloreference, we only display one or two internal labels -- the phyloreference label (i.e. the expected resolution) and the actual resolution. When we display multiple internal labels within a single phylogeny (such as in the summary view), it would be neat to have that be clickable so you can jump directly to that phyloreference. Unfortunately, this requires both (1) making a text element in SVG clickable via whatever library phylotree.js is using, and (2) then having that click event trigger a Vue event so we can use it to modify Vue variables, so, not easy. We can try this after Klados v1.0.