igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] plot: edges cross vertexes


From: Sam Steingold
Subject: [igraph] plot: edges cross vertexes
Date: Fri, 12 Oct 2012 12:51:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

I plot a graph using:
  plot(small, vertex.label=V(small)$name, edge.width=E(small)$weight,
       vertex.size=sqrt(sqrt((V(small)$share + V(small)$click))), 
edge.curved=TRUE,
       main=paste(mydate,what,"(",length(V(small)),"; share or click > 1%)"))
and get this:

Attachment: country-graph.png
Description: graph plot

note that the edge EG<-->SA curves to hit vertex NL,
and the edge SA<-->JO curves to hit vertexes FR, GB, BR.
It would be nice if the edges curved to __avoid__ vertexes, not to hit
them.
Thanks!

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://memri.org http://iris.org.il http://pmw.org.il
http://mideasttruth.com http://openvotingconsortium.org http://www.memritv.org
There are two ways to write error-free programs; only the third one works.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]