zhiyzuo / python-modularity-maximization

Python implementation of Newman's spectral methods to maximize modularity.
MIT License
45 stars 25 forks source link

Please add Edge's weight support #2

Open rahatipour opened 6 years ago

rahatipour commented 6 years ago

I want to use your implementation of paper titled "Newman, M. E. J. (2006). Modularity and community structure in networks. Proceedings of the National Academy of Sciences of the United States of America, 103(23), 8577–82" but my graph has weight in it's edges.but this implementation ignore graph weight

thelahunginjeet commented 5 years ago

I've done this in my forked version of Zhiya's repo. I have created a pull request so hopefully it will be approved.