Function: moleculeFromMolfile()
moleculeFromMolfile(
text,options):MoleculeMobject
Defined in: src/mobjects/chemistry/molfile.ts:260
Parse a MOL / SDF string and build a MoleculeMobject from the first record.
Parameters
text
string
The MOL block or SDF file contents.
options
Omit<MoleculeOptions, "atoms" | "bonds"> = {}
Extra molecule options (bond length, colors, and so on).
Returns
The constructed molecule.