taynaud / python-louvain

Louvain Community Detection
BSD 3-Clause "New" or "Revised" License
964 stars 200 forks source link

Adapted for most recent networkx version #13

Closed thedomdom closed 7 years ago

thedomdom commented 7 years ago

Adapted for most recent networkx version

thedomdom commented 7 years ago

Ok I saw that you developed for networkx 2.0dev: https://networkx.github.io/documentation/development/reference/generated/networkx.Graph.get_edge_data.html

My code works also for networkx 1.11: https://networkx.github.io/documentation/networkx-1.10/reference/generated/networkx.MultiDiGraph.get_edge_data.html

Nevertheless, this change should work for both versions.

On pypi both versions are listed: https://pypi.python.org/pypi/networkx/

taynaud commented 7 years ago

Hello,

Thanks, it should improve support for networkx 2.0, but edges iteration is still an issue, isn't it ?

Best