Connection¶
A bond between two monomers, or between a monomer and an atom of a molecule.
Appears in¶
An element of root.connections, and of the connections of a Monomer group template.
Identified by¶
An object with connectionType. A Haptic connection has type instead.
Attributes¶
connectionType¶
Type: string
Required: yes
Values: Connection type
Kind of bond: a covalent single bond or a hydrogen bond.
endpoint1¶
Type: Connection endpoint
Required: yes
One end of the connection.
endpoint2¶
Type: Connection endpoint
Required: yes
The other end of the connection.
label¶
Type: string
Required: no
A free-text label of the connection.
annotation¶
Type: Object annotation
Required: no
A note attached to the connection.
selected¶
Type: boolean
Required: no
Default:
false
Editor state: the connection is selected. Carries no meaning; written only as true.
Rules¶
connectionType,endpoint1andendpoint2are required.A
singleconnection joins two monomer attachment points, or a monomer attachment point and an atom.A
hydrogenconnection joins two monomers and names no attachment point.An attachment point takes part in at most one
singleconnection, and two monomers are joined by at most one connection.The order of the two ends carries no meaning.