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

PyGame mouse click interaction #3

Open
brianzhang01 opened this issue Nov 25, 2019 · 0 comments
Open

PyGame mouse click interaction #3

brianzhang01 opened this issue Nov 25, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@brianzhang01
Copy link
Member

Right now the only interaction is the left and right keys to move between adjacent trees. We could also support mouse clicking on a section of the genome, and switching to that marginal tree.

I would also like to develop some operations of clicking on the tree. Right now, what I'm thinking is that clicking on a part of the tree will highlight / colour the subtree that is below that node / branch. I would additionally like to show in the genomic view how long this tree lasts for -- defined as how long that node continues to be ancestral in the tree sequence, with the exact same set of samples underneath.

@brianzhang01 brianzhang01 added enhancement New feature or request good first issue Good for newcomers labels Nov 25, 2019
brianzhang01 added a commit that referenced this issue Dec 11, 2019
Work on #3. Also includes a fix to make sure the highlighting
of the genomic region is done last.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant