igraph -> networkx, fully python 3