Chemical Data Processing Library Python API - Version 1.1.1
Static Public Attributes | List of all members
CDPL.Vis.MolecularGraphProperty Class Reference

Provides keys for built-in Chem.MolecularGraph properties. More...

+ Inheritance diagram for CDPL.Vis.MolecularGraphProperty:

Static Public Attributes

 ATOM_COLOR = CDPL.Base.LookupKey('ATOM_COLOR')
 Specifies the color of atom labels. More...
 
 ATOM_COLOR_TABLE = CDPL.Base.LookupKey('ATOM_COLOR_TABLE')
 Specifies a lookup table for the atom type dependent coloring of atom labels. More...
 
 RADICAL_ELECTRON_DOT_SIZE = CDPL.Base.LookupKey('RADICAL_ELECTRON_DOT_SIZE')
 Specifies the size of radical electron dots. More...
 
 ATOM_LABEL_FONT = CDPL.Base.LookupKey('ATOM_LABEL_FONT')
 Specifies the font for atom element and query match expression labels. More...
 
 ATOM_LABEL_MARGIN = CDPL.Base.LookupKey('ATOM_LABEL_MARGIN')
 Specifies the margin of free space around atom labels. More...
 
 ATOM_LABEL_SIZE = CDPL.Base.LookupKey('ATOM_LABEL_SIZE')
 Specifies the size of atom element and query match expression labels. More...
 
 SECONDARY_ATOM_LABEL_FONT = CDPL.Base.LookupKey('SECONDARY_ATOM_LABEL_FONT')
 Specifies the font for text labels that show the value of various atomic properties. More...
 
 SECONDARY_ATOM_LABEL_SIZE = CDPL.Base.LookupKey('SECONDARY_ATOM_LABEL_SIZE')
 Specifies the size of text labels that show the value of various atomic properties. More...
 
 BOND_COLOR = CDPL.Base.LookupKey('BOND_COLOR')
 Specifies the color of bonds. More...
 
 BOND_LABEL_FONT = CDPL.Base.LookupKey('BOND_LABEL_FONT')
 Specifies the font for bond labels. More...
 
 BOND_LABEL_MARGIN = CDPL.Base.LookupKey('BOND_LABEL_MARGIN')
 Specifies the margin of free space around bond labels. More...
 
 BOND_LABEL_SIZE = CDPL.Base.LookupKey('BOND_LABEL_SIZE')
 Specifies the size of bond labels. More...
 
 BOND_LINE_SPACING = CDPL.Base.LookupKey('BOND_LINE_SPACING')
 Specifies the distance between the lines of double and triple bonds. More...
 
 BOND_LINE_WIDTH = CDPL.Base.LookupKey('BOND_LINE_WIDTH')
 Specifies the width of bond lines. More...
 
 REACTION_CENTER_LINE_LENGTH = CDPL.Base.LookupKey('REACTION_CENTER_LINE_LENGTH')
 Specifies the length of the lines in reaction center marks. More...
 
 REACTION_CENTER_LINE_SPACING = CDPL.Base.LookupKey('REACTION_CENTER_LINE_SPACING')
 Specifies the distance between the lines in reaction center marks. More...
 
 STEREO_BOND_HASH_SPACING = CDPL.Base.LookupKey('STEREO_BOND_HASH_SPACING')
 Specifies the distance between the hashes of down stereo bonds. More...
 
 STEREO_BOND_WEDGE_WIDTH = CDPL.Base.LookupKey('STEREO_BOND_WEDGE_WIDTH')
 Specifies the width of wedge-shaped stereo bonds. More...
 
 DOUBLE_BOND_TRIM_LENGTH = CDPL.Base.LookupKey('DOUBLE_BOND_TRIM_LENGTH')
 Specifies the amount by which the non-central lines of asymmetric double bonds have to be trimmed at each line end. More...
 
 TRIPLE_BOND_TRIM_LENGTH = CDPL.Base.LookupKey('TRIPLE_BOND_TRIM_LENGTH')
 Specifies the amount by which the non-central lines of triple bonds have to be trimmed at each line end. More...
 
 ATOM_CONFIGURATION_LABEL_FONT = CDPL.Base.LookupKey('ATOM_CONFIGURATION_LABEL_FONT')
 Specifies the font used for atom configuration descriptor text labels. More...
 
 ATOM_CONFIGURATION_LABEL_SIZE = CDPL.Base.LookupKey('ATOM_CONFIGURATION_LABEL_SIZE')
 Specifies the size of atom configuration descriptor text labels. More...
 
 BOND_CONFIGURATION_LABEL_FONT = CDPL.Base.LookupKey('BOND_CONFIGURATION_LABEL_FONT')
 Specifies the font used for bond configuration descriptor text labels. More...
 
 BOND_CONFIGURATION_LABEL_SIZE = CDPL.Base.LookupKey('BOND_CONFIGURATION_LABEL_SIZE')
 Specifies the size of bond configuration descriptor text labels. More...
 

Detailed Description

Provides keys for built-in Chem.MolecularGraph properties.

Member Data Documentation

◆ ATOM_COLOR

CDPL.Vis.MolecularGraphProperty.ATOM_COLOR = CDPL.Base.LookupKey('ATOM_COLOR')
static

Specifies the color of atom labels.

The specified color takes precedence over the color specified by the parameter Vis.ControlParameter.ATOM_COLOR.

Value Type: Vis.Color

Note
The setting is overridden by the Chem.Atom property Vis.AtomProperty.COLOR.

◆ ATOM_COLOR_TABLE

CDPL.Vis.MolecularGraphProperty.ATOM_COLOR_TABLE = CDPL.Base.LookupKey('ATOM_COLOR_TABLE')
static

Specifies a lookup table for the atom type dependent coloring of atom labels.

If the color for a particular atom type is missing, the color specified by Vis.ControlParameter.ATOM_COLOR or Vis.MolecularGraphProperty.ATOM_COLOR will be used instead. The specified color takes precedence over the table specified by the parameter Vis.ControlParameter.ATOM_COLOR_TABLE.

Value Type: Vis.ColorTable.SharedPointer

Note
The color table will only be considered if the Chem.Atom property Vis.AtomProperty.COLOR has not been set.

◆ RADICAL_ELECTRON_DOT_SIZE

CDPL.Vis.MolecularGraphProperty.RADICAL_ELECTRON_DOT_SIZE = CDPL.Base.LookupKey('RADICAL_ELECTRON_DOT_SIZE')
static

Specifies the size of radical electron dots.

The dot size can either be specified as an absolute value or as a scaling factor for the primary label size given by Vis.ControlParameter.ATOM_LABEL_SIZE, Vis.MolecularGraphProperty.ATOM_LABEL_SIZE or Vis.AtomProperty.LABEL_SIZE. If input-scaling is enabled, the dot diameter will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the diameter will follow the size change of the chemical structure during viewport size adjustment. The specified size takes precedence over the size specified by the parameter Vis.ControlParameter.RADICAL_ELECTRON_DOT_SIZE.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Atom property Vis.AtomProperty.RADICAL_ELECTRON_DOT_SIZE.

◆ ATOM_LABEL_FONT

CDPL.Vis.MolecularGraphProperty.ATOM_LABEL_FONT = CDPL.Base.LookupKey('ATOM_LABEL_FONT')
static

Specifies the font for atom element and query match expression labels.

The specified font takes precedence over the font specified by the parameter Vis.ControlParameter.ATOM_LABEL_FONT.

Value Type: Vis.Font

Note
The setting is overridden by the Chem.Atom property Vis.AtomProperty.LABEL_FONT.

◆ ATOM_LABEL_MARGIN

CDPL.Vis.MolecularGraphProperty.ATOM_LABEL_MARGIN = CDPL.Base.LookupKey('ATOM_LABEL_MARGIN')
static

Specifies the margin of free space around atom labels.

The margin can either be specified as an absolute value or as a scaling factor for the primary label size given by Vis.ControlParameter.ATOM_LABEL_SIZE, Vis.MolecularGraphProperty.ATOM_LABEL_SIZE or Vis.AtomProperty.LABEL_SIZE. If input-scaling is enabled, the width of the margin will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the label margin will follow the size change of the chemical structure during viewport size adjustment. The specified margin takes precedence over the margin specified by the parameter Vis.ControlParameter.ATOM_LABEL_MARGIN.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Atom property Vis.AtomProperty.LABEL_MARGIN.

◆ ATOM_LABEL_SIZE

CDPL.Vis.MolecularGraphProperty.ATOM_LABEL_SIZE = CDPL.Base.LookupKey('ATOM_LABEL_SIZE')
static

Specifies the size of atom element and query match expression labels.

The font size has to be specified as an absolute value. If input-scaling is enabled, the font size will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the font size will grow/shrink with the size of the chemical structure during viewport size adjustment. The specified size takes precedence over the size specified by the parameter Vis.ControlParameter.ATOM_LABEL_SIZE.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Atom property Vis.AtomProperty.LABEL_SIZE.

◆ SECONDARY_ATOM_LABEL_FONT

CDPL.Vis.MolecularGraphProperty.SECONDARY_ATOM_LABEL_FONT = CDPL.Base.LookupKey('SECONDARY_ATOM_LABEL_FONT')
static

Specifies the font for text labels that show the value of various atomic properties.

The specified font takes precedence over the font specified by the parameter Vis.ControlParameter.SECONDARY_ATOM_LABEL_FONT.

Value Type: Vis.Font

Note
The setting is overridden by the Chem.Atom property Vis.AtomProperty.SECONDARY_LABEL_FONT.

◆ SECONDARY_ATOM_LABEL_SIZE

CDPL.Vis.MolecularGraphProperty.SECONDARY_ATOM_LABEL_SIZE = CDPL.Base.LookupKey('SECONDARY_ATOM_LABEL_SIZE')
static

Specifies the size of text labels that show the value of various atomic properties.

The size can either be specified as an absolute value or as a scaling factor for the primary label size given by Vis.ControlParameter.ATOM_LABEL_SIZE, Vis.MolecularGraphProperty.ATOM_LABEL_SIZE or Vis.AtomProperty.LABEL_SIZE. If input-scaling is enabled, the size of the font will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the font size will follow the size change of the chemical structure during viewport size adjustment. The specified size takes precedence over the size specified by the parameter Vis.ControlParameter.SECONDARY_ATOM_LABEL_SIZE.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Atom property Vis.AtomProperty.SECONDARY_LABEL_SIZE.

◆ BOND_COLOR

CDPL.Vis.MolecularGraphProperty.BOND_COLOR = CDPL.Base.LookupKey('BOND_COLOR')
static

Specifies the color of bonds.

The specified color takes precedence over the color specified by the parameter Vis.ControlParameter.BOND_COLOR.

Value Type: Vis.Color

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.COLOR.

◆ BOND_LABEL_FONT

CDPL.Vis.MolecularGraphProperty.BOND_LABEL_FONT = CDPL.Base.LookupKey('BOND_LABEL_FONT')
static

Specifies the font for bond labels.

The specified font takes precedence over the font specified by the parameter Vis.ControlParameter.BOND_LABEL_FONT.

Value Type: Vis.Font

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.LABEL_FONT.

◆ BOND_LABEL_MARGIN

CDPL.Vis.MolecularGraphProperty.BOND_LABEL_MARGIN = CDPL.Base.LookupKey('BOND_LABEL_MARGIN')
static

Specifies the margin of free space around bond labels.

The margin can either be specified as an absolute value or as a scaling factor for the primary label size given by Vis.ControlParameter.BOND_LABEL_SIZE, Vis.MolecularGraphProperty.BOND_LABEL_SIZE or Vis.BondProperty.LABEL_SIZE. If input-scaling is enabled, the width of the margin will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the label margin will follow the size change of the chemical structure during viewport size adjustment. The specified margin takes precedence over the margin specified by the parameter Vis.ControlParameter.BOND_LABEL_MARGIN.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.LABEL_MARGIN.

◆ BOND_LABEL_SIZE

CDPL.Vis.MolecularGraphProperty.BOND_LABEL_SIZE = CDPL.Base.LookupKey('BOND_LABEL_SIZE')
static

Specifies the size of bond labels.

The font size has to be specified as an absolute value. If input-scaling is enabled, the font size will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the font size will follow the size change of the chemical structure during viewport size adjustment. The specified font size takes precedence over the size specified by the parameter Vis.ControlParameter.BOND_LABEL_SIZE.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.LABEL_SIZE.

◆ BOND_LINE_SPACING

CDPL.Vis.MolecularGraphProperty.BOND_LINE_SPACING = CDPL.Base.LookupKey('BOND_LINE_SPACING')
static

Specifies the distance between the lines of double and triple bonds.

The distance can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the line distance will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the distance grows/shrinks with the size of the chemical structure during viewport size adjustment. The specified line spacing takes precedence over the distance specified by the parameter Vis.ControlParameter.BOND_LINE_SPACING.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.LINE_SPACING.

◆ BOND_LINE_WIDTH

CDPL.Vis.MolecularGraphProperty.BOND_LINE_WIDTH = CDPL.Base.LookupKey('BOND_LINE_WIDTH')
static

Specifies the width of bond lines.

The width can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the line width will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the line width grows/shrinks with the size of the chemical structure during viewport size adjustment. The specified line width takes precedence over the width specified by the parameter Vis.ControlParameter.BOND_LINE_WIDTH.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.LINE_WIDTH.

◆ REACTION_CENTER_LINE_LENGTH

CDPL.Vis.MolecularGraphProperty.REACTION_CENTER_LINE_LENGTH = CDPL.Base.LookupKey('REACTION_CENTER_LINE_LENGTH')
static

Specifies the length of the lines in reaction center marks.

The length can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the line length will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the length grows/shrinks with the size of the chemical structure during viewport size adjustment. The specified line length takes precedence over the length specified by the parameter Vis.ControlParameter.REACTION_CENTER_LINE_LENGTH.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.REACTION_CENTER_LINE_LENGTH.
See also
Vis.ControlParameter.SHOW_BOND_REACTION_INFOS

◆ REACTION_CENTER_LINE_SPACING

CDPL.Vis.MolecularGraphProperty.REACTION_CENTER_LINE_SPACING = CDPL.Base.LookupKey('REACTION_CENTER_LINE_SPACING')
static

Specifies the distance between the lines in reaction center marks.

The distance can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the line distance will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the distance grows/shrinks with the size of the chemical structure during viewport size adjustment. The specified line spacing takes precedence over the spacing specified by the parameter Vis.ControlParameter.REACTION_CENTER_LINE_SPACING.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.REACTION_CENTER_LINE_SPACING.
See also
Vis.ControlParameter.SHOW_BOND_REACTION_INFOS

◆ STEREO_BOND_HASH_SPACING

CDPL.Vis.MolecularGraphProperty.STEREO_BOND_HASH_SPACING = CDPL.Base.LookupKey('STEREO_BOND_HASH_SPACING')
static

Specifies the distance between the hashes of down stereo bonds.

The distance can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the hash distance will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the hash distance grows/shrinks with the size of the chemical structure during viewport size adjustment. The specified hash spacing takes precedence over the spacing specified by the parameter Vis.ControlParameter.STEREO_BOND_HASH_SPACING.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.STEREO_BOND_HASH_SPACING.

◆ STEREO_BOND_WEDGE_WIDTH

CDPL.Vis.MolecularGraphProperty.STEREO_BOND_WEDGE_WIDTH = CDPL.Base.LookupKey('STEREO_BOND_WEDGE_WIDTH')
static

Specifies the width of wedge-shaped stereo bonds.

The width can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the wedge width will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the wedge width grows/shrinks with the size of the chemical structure during viewport size adjustment. The specified wedge width takes precedence over the width specified by the parameter Vis.ControlParameter.STEREO_BOND_WEDGE_WIDTH.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.STEREO_BOND_WEDGE_WIDTH.

◆ DOUBLE_BOND_TRIM_LENGTH

CDPL.Vis.MolecularGraphProperty.DOUBLE_BOND_TRIM_LENGTH = CDPL.Base.LookupKey('DOUBLE_BOND_TRIM_LENGTH')
static

Specifies the amount by which the non-central lines of asymmetric double bonds have to be trimmed at each line end.

The trim length can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the trim length will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the length grows/shrinks with the size of the chemical structure during viewport size adjustment. The specified trim length takes precedence over the length specified by the parameter Vis.ControlParameter.DOUBLE_BOND_TRIM_LENGTH.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.DOUBLE_BOND_TRIM_LENGTH.

◆ TRIPLE_BOND_TRIM_LENGTH

CDPL.Vis.MolecularGraphProperty.TRIPLE_BOND_TRIM_LENGTH = CDPL.Base.LookupKey('TRIPLE_BOND_TRIM_LENGTH')
static

Specifies the amount by which the non-central lines of triple bonds have to be trimmed at each line end.

The trim length can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the trim length will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the length grows/shrinks with the size of the chemical structure during viewport size adjustment. The specified trim length takes precedence over the length specified by the parameter Vis.ControlParameter.TRIPLE_BOND_TRIM_LENGTH.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.TRIPLE_BOND_TRIM_LENGTH.

◆ ATOM_CONFIGURATION_LABEL_FONT

CDPL.Vis.MolecularGraphProperty.ATOM_CONFIGURATION_LABEL_FONT = CDPL.Base.LookupKey('ATOM_CONFIGURATION_LABEL_FONT')
static

Specifies the font used for atom configuration descriptor text labels.

The specified font takes precedence over the font specified by the parameter Vis.ControlParameter.ATOM_CONFIGURATION_LABEL_FONT.

Value Type: Vis.Font

Note
The setting is overridden by the Chem.Atom property Vis.AtomProperty.CONFIGURATION_LABEL_FONT.
Since
1.1

◆ ATOM_CONFIGURATION_LABEL_SIZE

CDPL.Vis.MolecularGraphProperty.ATOM_CONFIGURATION_LABEL_SIZE = CDPL.Base.LookupKey('ATOM_CONFIGURATION_LABEL_SIZE')
static

Specifies the size of atom configuration descriptor text labels.

The size can either be specified as an absolute value or as a scaling factor for the primary label size given by Vis.ControlParameter.ATOM_LABEL_SIZE, Vis.MolecularGraphProperty.ATOM_LABEL_SIZE or Vis.AtomProperty.LABEL_SIZE. If input-scaling is enabled, the size of the font will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the font size will follow the size change of the chemical structure during viewport size adjustment. The specified size takes precedence over the size specified by the parameter Vis.ControlParameter.ATOM_CONFIGURATION_LABEL_SIZE.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Atom property Vis.AtomProperty.CONFIGURATION_LABEL_SIZE.
Since
1.1

◆ BOND_CONFIGURATION_LABEL_FONT

CDPL.Vis.MolecularGraphProperty.BOND_CONFIGURATION_LABEL_FONT = CDPL.Base.LookupKey('BOND_CONFIGURATION_LABEL_FONT')
static

Specifies the font used for bond configuration descriptor text labels.

The specified font takes precedence over the font specified by the parameter Vis.ControlParameter.BOND_CONFIGURATION_LABEL_FONT.

Value Type: Vis.Font

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.CONFIGURATION_LABEL_FONT.
Since
1.1

◆ BOND_CONFIGURATION_LABEL_SIZE

CDPL.Vis.MolecularGraphProperty.BOND_CONFIGURATION_LABEL_SIZE = CDPL.Base.LookupKey('BOND_CONFIGURATION_LABEL_SIZE')
static

Specifies the size of bond configuration descriptor text labels.

The size can either be specified as an absolute value or as a scaling factor for the primary label size given by Vis.ControlParameter.BOND_LABEL_SIZE, Vis.MolecularGraphProperty.BOND_LABEL_SIZE or Vis.BondProperty.LABEL_SIZE. If input-scaling is enabled, the size of the font will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the font size will follow the size change of the chemical structure during viewport size adjustment. The specified size takes precedence over the size specified by the parameter Vis.ControlParameter.BOND_CONFIGURATION_LABEL_SIZE.

Value Type: Vis.SizeSpecification

Note
The setting is overridden by the Chem.Bond property Vis.BondProperty.CONFIGURATION_LABEL_SIZE.
Since
1.1