CommunityGraphPlot

CommunityGraphPlot[g]
generates a plot showing the community structure of the graph g.

CommunityGraphPlot[g,{{vi1,vi2,},}]
generates a plot for the graph g with communities , .

CommunityGraphPlot[g,{,wj[{vi1,}],}]
generates a plot with highlighting features defined by the symbol wrappers .

CommunityGraphPlot[{vi1vj1,vi2vj2,},]
generates a plot for a graph in which vertex is connected to vertex .

CommunityGraphPlot[m,]
generates a plot for a graph represented by the adjacency matrix m.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Show communities in a graph:

In[1]:=
Click for copyable input
Out[1]=

Find communities:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Show the communities:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 2012
(9.0)
Translate this page: