Draw network and grouped vertices of the same community or partition

前端 未结 3 1847
鱼传尺愫
鱼传尺愫 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:55

    To group the vertices of a community together and highlight them you should use 'mark_groups=True'. See http://igraph.org/python/doc/igraph.clustering-pysrc.html#VertexClustering.plot

提交回复
热议问题