nodeConnectedTo(n1, n2) now is method of Node objects: n1.connectedTo(n2)