Highlight¶
A set of atoms or of bonds of a molecule that is shown highlighted.
Appears in¶
An element of the highlight array of a Molecule.
Identified by¶
An object with entityType and items.
Attributes¶
entityType¶
Type: string
Required: yes
Values:
"atoms","bonds"
Whether items holds atom indexes or bond indexes.
items¶
Type: array of integer
Required: yes
Indexes of the highlighted atoms in the molecule’s atoms array, or of the highlighted bonds in its bonds array.
Rules¶
entityTypeanditemsare required.itemslists each index once, and every index is an atom or a bond of the same molecule.A molecule’s
highlightholds at most one element for atoms and one for bonds.