Playing with networkx graphs.