Skip to content

Initial display modes

These are the camelCase object equivalents of the widget's kebab-case mode attributes (hydrogen-mode, disorder-mode, symmetry-mode). Unsupported modes automatically fall back to a mode applicable to the loaded structure. The concepts are explained in General → The structure model.

OptionTypeDefaultDescription
hydrogenModeString"none"none, constant, or anisotropic.
disorderModeString"all"all or a structure-dependent group<rank>of<total> value.
symmetryModeString"none"none, hbonds, fragment, fragment-hbonds, cell, or fragment-cell.
packingCutoffNumber11 (default) shows the canonical, Z-correct unit cell. A value above 1 (e.g. 1.001) additionally duplicates atoms sitting within that margin of a low cell face onto the matching high face(s), for a "closed" packing diagram with atoms on every face, edge and corner. The duplicates are unbonded.