Optional
useSVG: booleanOptional
scale: numberSets a callback function which is called whenever an atom is hovered/unhovered by the mouse.
Sets a callback function which is called whenever a bond is hovered/unhovered by the mouse.
Sets a callback function which is called whenever the structure in the editor is changed.
Static
createCreate a new structure editor.
Id of the DOM element
Static
createSVGEditorCreate a new structure editor with an SVG toolbar.
Id of the DOM element
Returns the current molecule as a string that contains its ID Code and coordinates separated by a space.