Skip to main content

Interface: BondSpec

Defined in: src/mobjects/chemistry/chemistryTypes.ts:35

One bond in the input: two atom indices and an optional order/style.

Properties​

from​

from: number

Defined in: src/mobjects/chemistry/chemistryTypes.ts:37

Index of the first atom in the atoms array.


order?​

optional order: BondOrder

Defined in: src/mobjects/chemistry/chemistryTypes.ts:41

Bond order. Default: 1.


to​

to: number

Defined in: src/mobjects/chemistry/chemistryTypes.ts:39

Index of the second atom in the atoms array.


type?​

optional type: BondStyle

Defined in: src/mobjects/chemistry/chemistryTypes.ts:43

Bond style. Default: 'normal'.