addEdge checks for existence of nodes
removeNode: checks if some edge has node as it's source/target before
removing it