-
Notifications
You must be signed in to change notification settings - Fork 177
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
Center molecules after layout #2078
Comments
I'm currently trying to implement this for a side project. Would it be enough to be able to do this programmatically with ketcher.addFragment("...") and we would just change the definition of the function to take in parameters? ketcher.addFragment("...", x=10, y=10) and the users would be able to center the structure by using the dimensions of the editor? Would love to help with this anyway I can! |
I'm currently trying to implement this. Would it be enough to be able to do this programmatically with ketcher.addFragment("...") and we would just change the definition of the function to take in parameters? ketcher.addFragment("...", x=10, y=10) and the users would be able to get the half of this structure based on the size of the editor? Would love to help with this anyway I can! |
I think not. In my opinion, it is better to calculate the required coordinates in Ketcher itself, rather than on user's side. |
Feature working as expected. |
Is your feature request related to a problem? Please describe.
It is required to display structures and reactions in the middle of the screen, when user clicks layout button.
#184100496
The text was updated successfully, but these errors were encountered: