function constructNodeConnections(node, data) {
    for (var i = 0; i < data.connections.length; i++) { if (!node.connections.contains(node.scope.allNodes[data.connections[i]])) node.connect(node.scope.allNodes[data.connections[i]]); }
}
Constructs all the connections of Node node
@param {Node} node - node to be constructed
@param {JSON} data - the saved data which is used to load
@category node