Connectorclass represents an edge in the graph of hubs and connectors.
class Connector final : public GraphRelation<Hub, Connector>
||Returns the key value for a connector.|
Connector(Hub *hub, const char *key);
||The hub for which the connector is an outgoing edge.|
||The key value for the connector. This is a string up to 15 bytes in length, not counting the null terminator.|
DescriptionEvery node may have a
Hubto which one or more connectors are attached, allowing the node to link to other nodes in a scene. An instance of the
Connectorclass is used to represent each connector attached to a node's connector hub.
Connectorobjects are not normally constructed directly, but are instead attached to a node's connector hub by calling the
Connectorobject is first constructed, both the start and finish elements for the connector are set to the hub specified by the
hubparameter. This indicates that the connector is not connected to another node.
||Connectors form the edges in a directed graph in which the nodes are hubs.|