Visualization settings. Note, that export currently supports the variableAttachmentHighlight, rgroupAttachmentOrderVisible and structureHighlightVisible option only.

interface VisualizationSettings {
    aminoAcidsPerLine?: number;
    atomMapsVisible?: boolean;
    atomNumbersVisible?: boolean;
    atomPkasVisible?: boolean;
    atomRepresentation?: AtomRepresentation;
    attachedDataRepresentation?: AttachedDataRepresentation;
    calculationBoxesVisible?: boolean;
    chargeSign?: ChargeSign;
    cipStereoEZVisible?: boolean;
    cipStereoMPVisible?: boolean;
    cipStereoRSVisible?: boolean;
    colorScheme?: ColorScheme;
    coordinateBondStyle?: CoordinateBondStyle;
    customJournalStyles?: StyleSettings[];
    lonePairsVisible?: boolean;
    pointSize?: number;
    rgroupAttachmentOrderVisible?: boolean;
    stereoChiralLabel?: string;
    stereoChiralVisible?: boolean;
    stereoNotChiralLabel?: string;
    stereoNotChiralVisible?: boolean;
    stereoVisible?: boolean;
    structureHighlightVisible?: boolean;
    styleSettings?: StyleSettings;
    valenceErrorVisible?: boolean;
    variableAttachmentHighlight?: VariableAttachmentHighlight;
    variableAttachmentHighlightVisible?: boolean;
}

Properties

aminoAcidsPerLine?: number

Sets how many amino acids can ba displayed in one line when a peptide is imported. Default: 20

atomMapsVisible?: boolean

Atom maps shown if true. Default: true

atomNumbersVisible?: boolean

Atom numbers shown if true. Default: true

atomPkasVisible?: boolean

Controls the atom pKa visibility. Default: true

atomRepresentation?: AtomRepresentation

Sets when and how to render atom on the canvas. Default: "H_ON_HETERO"

attachedDataRepresentation?: AttachedDataRepresentation

Sets which information of attached data labels should be rendered on the canvas and exported images. Default: 'VALUE_UNIT'

calculationBoxesVisible?: boolean

Controls the calculation boxes visibility. Default: true

chargeSign?: ChargeSign

Sets how editor renders the charge sign. Default: "PLAIN"

cipStereoEZVisible?: boolean

CIP stereo E/Z notations shown on canvas if true. Default: false

cipStereoMPVisible?: boolean

CIP stereo M/P notations shown on canvas if true. Default: false

cipStereoRSVisible?: boolean

CIP stereo R/S notations shown on canvas if true. Default: false

colorScheme?: ColorScheme

Sets the coloring scheme of the editor. Default: "MONO"

coordinateBondStyle?: CoordinateBondStyle

Sets the display style of coordinate bonds on the canvas. Default: "SOLID"

customJournalStyles?: StyleSettings[]

User defined journal styles.

lonePairsVisible?: boolean

Lone pairs shown if true. Default: true

pointSize?: number

Sets internal point size to be used for generating images. This is read/measured from browser window by default.

rgroupAttachmentOrderVisible?: boolean

Show rgroup attachment order if true. Default: true

stereoChiralLabel?: string

Define the molecule-level chiral label. Default: "Absolute"

stereoChiralVisible?: boolean

Molecule-level chiral labels displayed if true. Default: false

stereoNotChiralLabel?: string

Define the molecule-level not-chiral label. Default: "Mixture"

stereoNotChiralVisible?: boolean

Molecule-level not-chiral labels displayed if true. Default: false

stereoVisible?: boolean

Stereo notations displayed if true. Default: true

structureHighlightVisible?: boolean

Controls the structure highlight visibility. Default: true

styleSettings?: StyleSettings

Style settings for molecule visualization.

Defaults to "ACS 1996" Journal Style.

valenceErrorVisible?: boolean

Valence errors highlighted if true. Default: true

variableAttachmentHighlight?: VariableAttachmentHighlight

Optional setting to override the default variable attachment highlight rendering. "NONE" value is ignored if the settings is used for editor configuration. Default: "GRAY"

variableAttachmentHighlightVisible?: boolean

Controls the variable attachment highlight visibility. Default: true