nextclade icon indicating copy to clipboard operation
nextclade copied to clipboard

Add sequence view pan and zoom

Open ivan-aksamentov opened this issue 4 years ago • 3 comments

Resolves #34

It is useful, in particular, to see mutation markers that are close together.

  • [x] horizontal zoom and pan (horizontal scroll) in sequence view
  • [x] hold shift to zoom with mouse wheel
  • [ ] rebase on current master
  • [ ] figure out edge cases
  • [ ] figure out how pan and zoom interact with each other
  • [ ] limit scrolling and panning to some reasonable range
  • [ ] add reset button

ivan-aksamentov avatar Jan 11 '21 08:01 ivan-aksamentov

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nextstrain/nextclade/C5enLQHvRK2NStBCisqyTqoQKeyL
✅ Preview: https://nextclade-git-feat-seq-view-pan-and-zoom-nextstrain.vercel.app

vercel[bot] avatar Jan 11 '21 08:01 vercel[bot]

To make this useful, I think we need a few other bits

  • the genemap should move/zoom along with the sequence graph
  • the elements should shrink. They are much wider than one base/one codon and often overlap. when zooming, this overlap should decrease.

I am wondering whether a mouse-drag-rectangle and pan would be useful.

rneher avatar Jan 11 '21 09:01 rneher

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nextclade ✅ Ready (Inspect) Visit Preview Jun 24, 2022 at 9:34PM (UTC)

vercel[bot] avatar Jun 24 '22 21:06 vercel[bot]