rdkit.Chem.Draw.rdMolDraw2D

Package rdkit :: Package Chem :: Package Draw :: Module rdMolDraw2D |
[hide private]
[frames] | no frames]

# Module rdMolDraw2D

    Module containing a C++ implementation of 2D molecule drawing

Classes | [hide private]
| IntStringMap
| MolDraw2D Drawer abstract base class
| MolDraw2DSVG SVG molecule drawer
| MolDrawOptions Drawing options
| map_indexing_suite_IntStringMap_entry

Functions | [hide private]
PrepareMolForDrawing(...) PrepareMolForDrawing( (Mol)mol [, (bool)kekulize=True [, (bool)addChiralHs=True [, (bool)wedgeBonds=True [, (bool)forceCoords=True]]]]) -> Mol : Does some cleanup operations on the molecule to prepare it to draw nicely. |

Variables | [hide private]
| __package__ = `None` hash(x)

Function Details | [hide private]

### PrepareMolForDrawing(...) |
    PrepareMolForDrawing( (Mol)mol [, (bool)kekulize=True [, (bool)addChiralHs=True [, (bool)wedgeBonds=True [, (bool)forceCoords=True]]]]) -> Mol :
        Does some cleanup operations on the molecule to prepare it to draw nicely.
        The operations include: kekulization, addition of chiral Hs (so that we can draw
        wedges to them), wedging of bonds at chiral centers, and generation of a 2D
        conformation if the molecule does not already have a conformation

        Returns a modified copy of the molecule.

        C++ signature :
            RDKit::ROMol* PrepareMolForDrawing(RDKit::ROMol const* [,bool=True [,bool=True [,bool=True [,bool=True]]]])