Skip to content

Unit-cell visualization settings

These options style the unit-cell box and crystallographic axis arrows used by the cell growth modes (symmetryMode: 'cell' / 'fragment-cell').

OptionTypeDefaultDescription
cell.boxColorColor"#000000"Unit-cell edge colour.
cell.boxOpacityNumber0.8Unit-cell edge opacity.
cell.boxLineWidthNumber2Unit-cell edge line width.
cell.arrowColorAColor"#E74C3C"Colour of the a axis arrow.
cell.arrowColorBColor"#2ECC71"Colour of the b axis arrow.
cell.arrowColorCColor"#3498DB"Colour of the c axis arrow.
cell.arrowHeadLengthMultNumber0.05Arrow-head length multiplier.
cell.arrowHeadWidthMultNumber0.25Arrow-head width multiplier.
cell.arrowCylinderRadiusNumber0.04Axis-arrow shaft radius.