NetworkX 1.4 ============ Release date: 23 January 2011 New features ------------ - :mod:`k-shell,k-crust,k-corona ` - :mod:`read GraphML files from yEd ` - :mod:`read/write GEXF format files ` - :mod:`find cycles in a directed graph ` - :mod:`DFS ` and :mod:`BFS ` algorithms - :mod:`chordal graph functions ` - :mod:`Prim's algorithm for minimum spanning tree ` - :mod:`r-ary tree generator ` - :mod:`rich club coefficient ` - NumPy matrix version of :mod:`Floyd's algorithm for all-pairs shortest path ` - :mod:`read GIS shapefiles ` - :mod:`functions to get and set node and edge attributes ` - and more, see https://networkx.lanl.gov/trac/query?status=closed&group=milestone&milestone=networkx-1.4 API changes ----------- - :mod:`gnp_random_graph() ` now takes a directed=True|False keyword instead of create_using - :mod:`gnm_random_graph() ` now takes a directed=True|False keyword instead of create_using Algorithms changed ================== Shortest path ------------- astar_path(), astar_path_length(), shortest_path(), shortest_path_length(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bidirectional_shortest_path(), dijkstra_path(), dijkstra_path_length(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ bidirectional_dijkstra() ^^^^^^^^^^^^^^^^^^^^^^^^ These algorithms now raise an exception when a source and a target are specified and no path exist between these two nodes. The exception is a NetworkXNoPath exception.