Class: SplitStructFragment

Kekule.ChemStructOperation. SplitStructFragment

new SplitStructFragment()

Operation of split one unconnected structure fragment into multiple connected ones.
Parameters:
Name Type Description
target. Kekule.StructureFragment
Properties:
Name Type Description
target Kekule.StructureFragment Source fragment, all connectors and nodes will be moved to dest fragment.
splittedFragments Array Fragment splitted, this property will be automatically calculated in execution of operation.
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. SplitStructFragment

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: