Function: moleculeFromSmiles()
moleculeFromSmiles(
smiles,options):MoleculeMobject
Defined in: src/mobjects/chemistry/smiles.ts:494
Parse a SMILES string and build a MoleculeMobject from it.
Parameters
smiles
string
The SMILES string (organic subset).
options
Omit<MoleculeOptions, "atoms" | "bonds"> = {}
Extra molecule options (bond length, colors, and so on).
Returns
The constructed molecule.