new ChemStructObjContainer()
A container class contains nodes and/or connectors as a "partial structure fragment".
Properties:
Name | Type | Description |
---|---|---|
nodes |
Array | All structure nodes in this container. |
connectors |
Array | Connectors (usually bonds) in this container. |
Extends
- ObjectEx
Methods
-
add(obj)
-
Add new node or connector into container.
Parameters:
Name Type Description obj
Kekule.ChemStructureObject -
clear()
-
Clear all nodes and connectors in container.
-
remove(obj)
-
Remove an object from container.
Parameters:
Name Type Description obj
Kekule.ChemStructureObject