This is the class for manipulating links between nodes in the tree as returned by PyNode.getInputLink() and PyNode.getOutputLink().
PyNode getFromNode() - returns the upstream node.
int getFromOutput() - returns which output connection of the upstream node this link connect to.
PyNode getToNode() - returns the downstream node.
int getToInput() - returns which input connection of the downstream node this link connects to.