Interface between networkx and igraph

前端 未结 5 1098
被撕碎了的回忆
被撕碎了的回忆 2020-12-29 08:30

I\'ve been working with networkx for quite some time now and it\'s been serving my purposes quite well with minimal tweaks until recently when I started looking into communi

5条回答
  •  生来不讨喜
    2020-12-29 08:50

    In an upcoming release of python-igraph or if you install from source this will be as easy as

    import igraph
    g = igraph.Graph.from_networkx(G)
    

    The source code for how this is done can be found here.

提交回复
热议问题