OptionalviewOptionalstyleOptionaltoolsetOptionalgeneral?: { zoom?: boolean; undo?: boolean; create?: boolean; select?: boolean }These tools involve the whole diagram or have a common meaning for all objects.
Optionalzoom?: booleanZoom in and out
Optionalundo?: booleanUndo and redo
Optionalcreate?: booleanCan new objects be created or can only existing objects be edited?
create is enabled you can also delete objects.Optionalselect?: booleanSelect atoms (lasso or rectangle) and transform them.
create is enabled the selection can also be copied/deleted.Optionalatom?: {Optionallabel?: {Atom label
Optionalelement?: booleanCreate and edit chemical elements.
Optionalr_group?: booleanCreate and edit R-groups.
Optionalformula?: booleanSet custom formulas and abbreviations as atom label.
Optionalmenu?: { periodic_table?: boolean; quick?: (...)[][] }These options are presented in a toolbar or context menu. For some use cases it can be desirable to only present a limited range. Keyboard shortcuts are always enabled.
Optionalperiodic_table?: booleanPick elements from the periodic table.
Optionalquick?: (...)[][]Which labels can be picked directly from the menu?
Optionalformal_charge?: booleanFormal charge
Optionallone_pairs?: booleanLone pairs
Optionalunpaired_electrons?: booleanUnpaired electrons
Optionalmark?: booleanMarking
Optionalbond?: { type?: sketcher.Bond_Type[]; mark?: boolean }Optionalarrow?: { type?: Arrow_Type[] }Optionaltype?: Arrow_Type[]Type of arrow
Optionaltemplate?: { chain?: boolean; ring?: boolean }Templates enable creating larger structures quickly. For some templates (chains) there is a specialized tool.
Optionalchain?: booleanChain of carbon atoms
Optionalring?: booleanRing of carbon atoms
See Full_Props for details.