Change supported networkx version >=1.4