pmneila/PyMaxflow

Support for newest networkx

Closed this issue · 2 comments

The current version of the library is incompatible with networkx. I believe networkx has changed the way that nodes are accessed. From g.node[n] -> g.nodes[n]

(Pdb) g.get_nx_graph()
*** AttributeError: 'DiGraph' object has no attribute 'node'

Hi @rajkataria

Thanks for letting me know. I will fix this.

Took some time but this is fixed now. Thank you again for the notice :)

Best.