enfore networkx 1.5