Skip to content
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

Add sequence view pan and zoom #295

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

ivan-aksamentov
Copy link
Member

@ivan-aksamentov ivan-aksamentov commented Jan 11, 2021

Resolves #34

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

  • horizontal zoom and pan (horizontal scroll) in sequence view
  • 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

@vercel
Copy link

vercel bot commented Jan 11, 2021

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

@rneher
Copy link
Member

rneher commented Jan 11, 2021

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.

@vercel
Copy link

vercel bot commented Jun 24, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Implement zoom and horizontal scrolling for sequence views
2 participants