Rgraphviz plot with edge weights
0
0
Entering edit mode
@sam-steingold-5553
Last seen 9.6 years ago
I have --8<---------------cut here---------------start------------->8--- A graphNEL graph with undirected edges Number of Nodes = 41 Number of Edges = 816 --8<---------------cut here---------------end--------------->8--- each edge has a weight. how do I tell plot() to respect edge weights? (higher weight => thicker, straighter and shorter edge). I suppose I should be using the edgeAttrs argument, but I cannot figure out how. Thanks. PS. I also have vertex attributes which indicate vertex size. PPS. I got the graph object from the igraph object using igraph.to.graphNEL(http://igraph.sourceforge.net/doc/R/graphNEL.html); it would be nice to be able to create a graph from a list of vetexes and their sizes and a list of edges and their weights, like (http://igraph.sourceforge.net/doc/R/graph.data.frame.html). -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://truepeace.org http://honestreporting.com http://camera.org http://think-israel.org http://dhimmi.com Those who can laugh at themselves will never cease to be amused.
graph graph • 988 views
ADD COMMENT

Login before adding your answer.

Traffic: 983 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6