Display options
The CifVis widget provides several display options that can be controlled via attributes. Mode attributes use kebab-case; if a display mode is incompatible with a structure, the widget falls back to an applicable mode. The concepts behind these modes are explained in General → The structure model.
Hydrogen modes
Disorder modes
ADP representations and render modes
Choose adpRepresentation: "ellipsoid" for probability ellipsoids or adpRepresentation: "rmsd-peanut" for RMS displacement PEANUT surfaces. The separate renderStyle option selects a clean 3D, explanatory 3D, or publication presentation.
The same presentation selector applies to RMS displacement PEANUT surfaces:
The render style is set through the JSON options attribute (options='{"renderStyle":"cutout-2d"}') — see Options Reference → Rendering for the full description of each style and the plot2D* tuning options.
Growing symmetry
You can grow the symmetry one additional sphere using bonds or hydrogen bonds contained in the CIF tables:
The full set of values is none, hbonds, fragment, fragment-hbonds, cell, and fragment-cell — fragment modes grow through bonds, H-bonds, or both; cell modes display the complete unit cell, optionally with connected fragments.
Atom labels
Labels are opt-in and can be set through the atom-labels attribute or options.atomLabels. They have their own dedicated section — see Atom Labels and in particular Labels in the widget.
Everything else
All remaining appearance and behaviour settings go through the JSON options attribute, which is passed unchanged to the internal CrystalViewer — see the attributes reference and the Options Reference.