Adding getEdges from NodeId method