vtraag / leidenalg

Implementation of the Leiden algorithm for various quality functions to be used with igraph in Python.
GNU General Public License v3.0
596 stars 78 forks source link

plan for working with NetworkX? #54

Closed ma-ji closed 3 years ago

ma-ji commented 3 years ago

Hi, thanks for this great package! Do you have a plan to develop a version for working with NetworkX? Lots of users will be benefited.

vtraag commented 3 years ago

No, I don't have such a plan. However, converting from (and to)networkx is straightforward: https://igraph.org/python/doc/igraph.Graph-class.html#from_networkx. This should add just one line to your code.

vtraag commented 3 years ago

If there is any problem with this functionality, feel free to re-open this issue.