Delete C++ mol objects manually from memory
See Emscripten docs for more details
Draw the molecule to an HTML5 canvas, with atom highlights
canvas ID
A stringified JSON object containing any of the following options https://www.rdkitjs.com/#drawing-molecules-all-options
Draw the molecule to an HTML5 canvas with an offset
canvas ID
offset X in pixels
offset Y in pixels
width in pixels
height in pixels
Aligns molecule with the template. you can also specify the following options (passed as a stringified JSON object)
Returns the Morgan fingerprint as an unsigned integer array
Returns the Morgan fingerprint as an unsigned integer array
You can also specify the following options (passed as a stringified JSON object)
Returns the pattern fingerprint as an unsigned integer array
Returns the pattern fingerprint as an unsigned integer array
you can also specify the following options (passed as a stringified JSON object)
Returns the list of property names
Returns the list of property names
set to true to include private properties
Returns the list of property names
set to true to include private properties
set to true to include computed properties
Returns a substructure match string
query molecule
A stringified JSON object containing the matched atoms and bonds of the parent molecule
Returns all substructure matches
query molecule
A stringified JSON object containing the matched atoms and bonds of the parent molecule
Returns an SVG of the molcule, with atoms highlighted
A stringified JSON object containing any of the following options https://www.rdkitjs.com/#drawing-molecules-all-options
Sets a property on the molecule
property name
property value
Sets a property on the molecule
property name
property value
set true to flag the value as computed
Generated using TypeDoc
Represents a molecule object generated by RDKit.js
Remarks
JSMol's are created using the RDKitModule.get_mol() methods.