[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Plot - simple question
From: |
simone gabbriellini |
Subject: |
Re: [igraph] Plot - simple question |
Date: |
Tue, 21 Apr 2009 10:36:32 +0200 |
I have the same problem too...
using curved edges solves it, but the edge labels are still in the
middle, like in this image
http://www.digitaldust.it/papers/curvededges.pdf
and this is my code:
g<-read.graph("auno.net", format="pajek")
E(g)$curved <- is.mutual(g)
ll <- layout.circle(g)
plot(g, layout=ll, vertex.label=V(g)$id, edge.label=E(g)$weight)
I am sure I miss something, but what should I tell to the plot()
function to avoid this behavior?
I don't see any edge.label.dist parameter
thanks,
simone
this is my net:
*Vertices 4
1 node-54
2 node-4
3 node-85
4 node-5
*Arcs
1 2 1
1 3 1
1 4 1
2 1 2
2 3 2
2 4 2
3 1 2
3 2 2
3 4 2
4 1 2
4 2 2
4 3 2