Hi,
I thought that the commands
gm<-set.edge.attribute(gm, "weight", index=E(gm), value=weights)
gm<-set.edge.attribute(gm, "length", index=E(gm), value=weights)
ensure that plot(gm) yields the edge lengths corresponding to the values of vector weights. It seems not the case. I attach the graph in which blue edges have weights < 1 and red edges have weights >1. However, some red edges look shorter than some blue edges.
Thanks much, Alec

<<attachment: pcor2013-7-12.png>>

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

Reply via email to