Draw network and grouped vertices of the same community or partition

前端 未结 3 1845
鱼传尺愫
鱼传尺愫 2021-01-20 18:59

I need view (drawn or plot) the communities structure in networks

I have this:

import igraph
from random import randint

def _plot(g, membership=None         


        
3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-20 19:49

    Remove the edges across multiple communities, calculate the layout without these edges, and then use it for the original graph.

提交回复
热议问题