Class: MergeConnectors

Kekule.ChemStructOperation. MergeConnectors

new MergeConnectors(target, dest, coordMode, enableStructFragmentMerge)

Operation of merging two connectors as one.
Parameters:
Name Type Description
target Kekule.ChemStructureConnector Source connector.
dest Kekule.ChemStructureConnector Destination connector.
coordMode Int Coord mode of current editor.
enableStructFragmentMerge Bool If true, molecule will be also merged when merging connectors between different molecule.
Source:

Extends

Methods

(static) canMerge(target, dest, canMergeStructFragment) → {Bool}

A class method to check if two connectors can be merged
Parameters:
Name Type Description
target Kekule.ChemStructureConnector
dest Kekule.ChemStructureConnector
canMergeStructFragment Bool
Source:
Returns:
Type
Bool