Class: StandardizeStructFragment

Kekule.ChemStructOperation. StandardizeStructFragment

new StandardizeStructFragment()

Split one unconnected structure fragment into multiple connected ones, or remove the fragment if the fragment contains no node.
Parameters:
Name Type Description
target. Kekule.StructureFragment
Properties:
Name Type Description
target Kekule.StructureFragment Source fragment.
enableRemove Bool Whether allow remove empty structure fragment. Default is true.
enableSplit Bool Whether allow splitting structure fragment. Default is true.
Source:

Extends

Methods

execute()

Execute this command.
Inherited From:
Source:

isReversible() → {Bool}

Indicate whether this command can be undone. Default is true. Descendants should override this method if unreversible.
Inherited From:
Source:
Returns:
Type
Bool

reverse()

Undo command execution.
Inherited From:
Source:

Kekule.ChemStructOperation. StandardizeStructFragment

new StandardizeStructFragment()

Source:

Methods

execute()

Execute this command.
Inherited From:
Source:

isReversible() → {Bool}

Indicate whether this command can be undone. Default is true. Descendants should override this method if unreversible.
Inherited From:
Source:
Returns:
Type
Bool

reverse()

Undo command execution.
Inherited From:
Source: