Add networkx_graph() + tests