Closed thegodone closed 1 year ago
I wonder if I can send a SMILES in the editor for rendering. If I have already an instance of the editor how can I change molecule display ? I don't see an example except the openchemlib is it the only solution ?
I think what you're looking for is the readGenericMolecularInput function. Example:
readGenericMolecularInput
const jsmeApplet = new window.JSApplet.JSME(id, '300px', '300px') jsmeApplet.readGenericMolecularInput('CC')
I wonder if I can send a SMILES in the editor for rendering. If I have already an instance of the editor how can I change molecule display ? I don't see an example except the openchemlib is it the only solution ?