Interface: ReactionSchemeOptions
Defined in: src/mobjects/chemistry/ReactionScheme.ts:51
Options for a ReactionScheme.
Properties
arrowLength?
optionalarrowLength:number
Defined in: src/mobjects/chemistry/ReactionScheme.ts:62
Length of each arrow, in scene units. Default: 2.
color?
optionalcolor:string
Defined in: src/mobjects/chemistry/ReactionScheme.ts:64
Arrow color. Default: WHITE. The species keep their own atom colors.
gap?
optionalgap:number
Defined in: src/mobjects/chemistry/ReactionScheme.ts:60
Horizontal space between a species and the next arrow, in scene units. Default: 1.
species
species:
MoleculeMobject[]
Defined in: src/mobjects/chemistry/ReactionScheme.ts:53
The species, laid left to right. At least two (a reactant and a product).
steps?
optionalsteps:ReactionStep[]
Defined in: src/mobjects/chemistry/ReactionScheme.ts:58
One step per gap between adjacent species. Its length must equal
species.length - 1 when given. Omit for all-forward arrows.