Dear list,

I am new to RGraphViz and currently evaluating it's options. So bare with me regarding this basic question....

Say i have three nodes, A, B and C. How can i plot a graph in which the length of the edges between the nodes are user-defined? Say between A en B the length should be 1, between A and C this should be 2, and between B and C this should be 0.5?
I found that the argument "len" is able to set the length of the edges,
http://www.graphviz.org/pub/scm/graphviz2/doc/info/attrs.html#d:len
(len: Preferred edge length, in inches.)
Also from the info @ the link:
len; Edge;, double; 1.0 (neato); 0.3(fdp); fdp, neato only

>From the above I conclude that depending on the lay-out (neato or fdp) the length of ALL edges in the graph are set to 1 and 0.3 inch, respectively.

But how to vary the length per edge? Or is what i would like to to not possible?

Any feedback is much appreciated!

Guido

------------------------------------------------
Guido Hooiveld, PhD
Nutrition, Metabolism & Genomics Group
Division of Human Nutrition
Wageningen University
Biotechnion, Bomenweg 2
NL-6703 HD Wageningen
the Netherlands
tel: (+)31 317 485788
fax: (+)31 317 483342
internet:   http://nutrigene.4t.com<http://nutrigene.4t.com/>
email:      guido.hooiveld@wur.nl



	[[alternative HTML version deleted]]

