The molecule to convert.
Optionaloptions: {Options to control atom highlighting and grouping.
OptionalatomMapNo?: booleanIf true, group atoms by their atom map number. Atoms with no map number (0) are excluded from highlighting.
OptionalcollapseHydrogens?: booleanIf true, remove explicit hydrogens from the molfile. Implies heavyAtomHydrogen.
OptionalcustomAtomLabel?: booleanIf true, group atoms by their custom atom label. Atoms with no custom label are excluded from highlighting.
Optionaldiastereotopic?: booleanIf true, group atoms by diastereotopic IDs.
OptionalheavyAtomHydrogen?: booleanIf true, copy each hydrogen's highlight label to its parent heavy atom. When used with diastereotopic, implicit hydrogens are added internally to compute their diastereotopic IDs.
A molfile object with highlight and atom mapping information.
Convert a molecule to a molfile object compatible with the visualizer.