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

interface VisualizationSettings {
    aminoAcidLabelLength?: AminoAcidLabelLength;
    aminoAcidsPerLine?: number;
    atomNumbersVisible?: boolean;
    atomRepresentation?: AtomRepresentation;
    chargeSign?: ChargeSign;
    cipStereoVisible?: boolean;
    colorScheme?: ColorScheme;
    coordinateBondStyle?: CoordinateBondStyle;
    customJournalStyles?: StyleSettings[];
    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

aminoAcidLabelLength?: AminoAcidLabelLength

Sets the amino acids label length on the canvas. Default: "LETTER3"

aminoAcidsPerLine?: number

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

atomNumbersVisible?: boolean

Atom numbers shown if true. Default: false

atomRepresentation?: AtomRepresentation

Sets when and how to render atom on the canvas.

chargeSign?: ChargeSign

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

cipStereoVisible?: boolean

CIP stereo notations shown on canvas if true.

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.

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.

stereoChiralLabel?: string

Define the molecule-level chiral label.

stereoChiralVisible?: boolean

Molecule-level chiral labels displayed if true.

stereoNotChiralLabel?: string

Define the molecule-level not-chiral label.

stereoNotChiralVisible?: boolean

Molecule-level not-chiral labels displayed if true.

stereoVisible?: boolean

Stereo notations displayed if true.

structureHighlightVisible?: boolean

Controls the structure highlight visibility.

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 ('COLOR'). 'NONE' value is ignored if the settings is used for editor configuration.

variableAttachmentHighlightVisible?: boolean

Controls the variable attachment highlight visibility.

Generated using TypeDoc