remove unecessary overloads of addNode() addEdge()