Connectors join Nodes together. They are instantiated by the Node's connect() methods and modified by the Node's setDist() methods so there is little need for you to create and manage them yourself but they are documented so you can access their properties and understand their use.
A reference to a Node that this Connector points to.
The suggested distance to the target Node 'n' (this can be entirely arbitrary and does not affect the target or host Node).
n, float d)
Creates a Connector targeted at Node 'n' with a distance property of 'd'.
public Connector (Node n, float d)
Creates a Connector targeted at Node 'n' with a distance property of 'd'. Management of Connectors is handled usually through the methods in the Node object, these methods are nothing more than instantiation and addition to the 'links' property, they are there for your convenience.
n - the Node the Connector targets.
d - the distance property of the Connector, the higher the number the less favourable the Node.