Skip to content
  • Jameson Rollins's avatar
    update to support networkx >=2 · c8854a35
    Jameson Rollins authored
    networkx 2 dropped the {nodes,edges}_iter methods, with the nodes/edges
    methods now returning Views.  We can just use the non _iter methods from
    earlier versions that just return lists of nodes and edges, as these
    methods are available in all versions (although they return lists instead
    of Views in versions earlier than 2).
    c8854a35