.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEExactGraphMatch

.. oe:function:: OEExactGraphMatch

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OEExactGraphMatch(const OEMolBase& mol1, const OEMolBase& mol2)

   .. oe:language:: python

      .. oe:api:: python

         OEExactGraphMatch(mol1: Union[OEGraphMol,OEMol,OEQMol],
                           mol2: Union[OEGraphMol,OEMol,OEQMol]) -> bool

   Determines whether two molecules, 'mol1' and 'mol2', have exactly the
   same graph.  This function effectively compares the :term:`canonical
   SMILES` of both molecules (created by
   :oe:func:`OEChem::OECreateCanSmiString`) using string equality.

