Control the sketcher using JavaScript #4050
BenoitClaveau
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Highlighting atoms and bonds is already supported in Ketcher API. You can do this as simple as this: We also are going to introduce the ability to do this from Ketcher UI via context menu soon. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on a retrosynthesis tool that uses
ketcher-react
(2.15.1). In this tool, I want to select atoms or bonds to indicate how to break the molecule. Currently, I am using RDKit.js to highlight atoms or bonds. I would like to be able to perform this action directly in the sketcher, but I don't know how to do it.Ideally, I would like to add a button to select one or more atoms and bonds and retrieve this list in my React code. MarvinJS allows this to be done via a right-click.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions