Number: 799
Title: bb graph attribute issue
Submitter: Brian Roth
Date: Fri Sep 30 15:48:33 2005
Subsys: Dotty/Lneato/Lefty
Version: 2.6
System: x86-Windows-XP
Severity: critical
Problem:
The below dotty file displays in a previous version (2.2.1), but doesn't in the current version (2.6):

digraph G {
graph [bb="0,0,2000,2000"];

GILLETTE_WY [pos = "1265.355,1061.385"]; ORIN_WY [pos = "1293.11,949.65"];

GILLETTE_WY->ORIN_WY [pos="e,1293.11,949.65 1265.355,1061.385 1272.29375,1033.45125 1279.2325,1005.5175 1290.3345,960.8235"]; }

Note that the file loads with no errors, but displays a blank page.
Input:

digraph G {
graph [bb="0,0,2000,2000"];

GILLETTE_WY [pos = "1265.355,1061.385"];
ORIN_WY [pos = "1293.11,949.65"];

GILLETTE_WY->ORIN_WY [pos="e,1293.11,949.65 1265.355,1061.385 1272.29375,1033.45125 1279.2325,1005.5175 1290.3345,960.8235"];
}
Comments:
[erg] It's not clear that the above input ever worked, though neither ek or I know why not. However, in general, if the output of dot -Tdot is given to older versions of dotty, it would draw the graph. The newer versions of lefty rely on -Txdot, so the solution is to run dot -n -s -Txdot and give that to lefty.
Owner: erg
Status: Fixed (2 Oct 2005)