On Mon, May 21, 2012 at 5:58 AM, Tamás Nepusz <[email protected]> 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
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help



-- 
Gabor Csardi <[email protected]>     MTA KFKI RMKI

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to