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 more functions to handle selections #184

Open
merkys opened this issue Mar 29, 2016 · 0 comments
Open

Add more functions to handle selections #184

merkys opened this issue Mar 29, 2016 · 0 comments

Comments

@merkys
Copy link

merkys commented Mar 29, 2016

I am developing a user interface to a geometrical database, and I am happy to use jchempaint as a GUI tool, allowing to visualise a set of user-selected atoms. I am using selectAtom function, which, however, highlights a single atom at time. I would suggest adding a few more functions for more versatile highlighting:

  • selectAtoms, which would accept an array indices of atoms to highlight;
  • addSelectedAtom, which would add an atom to the current selection;
  • removeSelectedAtom, which would remove an atom from the current selection;
  • clearSelection, which would un-highlight all atoms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant