[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] plot walktrap communities
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] plot walktrap communities |
Date: |
Mon, 21 May 2012 10:14:12 -0400 |
On Mon, May 21, 2012 at 5:58 AM, Tamás Nepusz <address@hidden> wrote:
>> I have calculated walktrap communities on my network, then I'd like to
>> plot the result. I see the standard is to plot nodes colored
>> accordingly to membership, but I'd prefer to plot each community in a
>> different area of the same plot. Right now I have done this by hand
>> using tkplot and then exporting coordinates, but I am wondering if a
>> more automated procedure can be applied...
>
> I don't think so; well, one possible way to do it is to use a layout which
> takes weights into account (e.g., Fruchterman-Reingold), and then construct a
> weight vector which is large for intra-community edges and small for
> inter-community edges. With some luck (and a nice community structure), the
> weights should take care of pulling the related nodes close to each other.
I second that. I would try simply having weight 1 for internal edges,
and weight 1/10 for external ones, and see how it looks.
G.
> Best,
> T.
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
--
Gabor Csardi <address@hidden> MTA KFKI RMKI