Require networkx >= 1.9 (#21).