added a copy of networkx