Add add edge, del node, add node methods and tests