Number: 1811
Title: error in drawing undirected graph
Submitter: Frederic Voisin
Date: Sat Nov 7 11:43:43 2009
Subsys: Other
Version: 2.25
System: x86-OSX-10.5.8
Severity: major
Problem:
Hello,

drawing the undirected graph (see ex. above) is OK when using neato in a shell (neato -Tgif) but is WRONG when using Graphviz (both version 2.25.20091107.0545 and before): length of edges seems to be not considered within Graphviz.
Input:

graph G {
 0 -- 2 [w=0,len=      1.0];
 2 -- 3 [w=0,len= 0.1];
 2 -- 5 [w=0,len= 0.1];
 2 -- 6 [w=0,len= 0.1];
 2 -- 11 [w=0,len=      1.0];
 1 -- 11 [w=0,len=      1.0];
 1 -- 4 [w=0,len= 0.1];
 7 -- 11 [w=0,len=      1.0];
 7 -- 9 [w=0,len= 0.1];
 1 -- 8 [w=0,len=      1.0];
 8 -- 10 [w=0,len= 0.1];
}
Comments:
may be neato not fully implemented in Graphviz ? anyway, dot, neato are great programs ! Thank's, FV [erg] We usually use Graphviz to refer to the entire package of tools. When you say that Graphviz does not appear to use the edge lengths, are you referring to the Mac GUI?
Owner: *
Status: *