|Anonymous | Login||2017-11-21 14:28 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001162||graphviz||Dot||public||2006-07-31 14:00||2011-04-28 04:03|
|Platform||OS||x86-Windows-XP Professional||OS Version|
|Summary||0001162: Output to SVG produces non-displayable files, even tho file's not empty|
Running dot with:
dot c:\temp\dot.txt -Tsvg -oak.svg -v
Produces this output:
C:\UTIL\ATT\Graphviz\bin>dot c:\temp\dot.txt -Tsvg -oak.svg -v
network simplex: 84 nodes 102 edges 0 iter 0.00 sec
mincross: pass 0 iter 0 trying 0 cur_cross 17 best_cross 17
mincross: pass 0 iter 1 trying 1 cur_cross 18 best_cross 17
mincross: pass 0 iter 2 trying 0 cur_cross 13 best_cross 13
mincross: pass 0 iter 3 trying 0 cur_cross 3 best_cross 3
mincross: pass 1 iter 0 trying 0 cur_cross 12 best_cross 3
mincross: pass 1 iter 1 trying 1 cur_cross 7 best_cross 3
mincross: pass 1 iter 2 trying 2 cur_cross 11 best_cross 3
mincross: pass 1 iter 3 trying 3 cur_cross 3 best_cross 3
mincross: pass 2 iter 0 trying 0 cur_cross 3 best_cross 3
mincross: pass 2 iter 1 trying 1 cur_cross 6 best_cross 3
mincross: pass 2 iter 2 trying 2 cur_cross 6 best_cross 3
mincross: pass 2 iter 3 trying 3 cur_cross 4 best_cross 3
mincross: pass 2 iter 4 trying 4 cur_cross 4 best_cross 3
mincross: pass 2 iter 5 trying 5 cur_cross 15 best_cross 3
mincross: pass 2 iter 6 trying 6 cur_cross 6 best_cross 3
mincross: pass 2 iter 7 trying 7 cur_cross 5 best_cross 3
mincross: pass 2 iter 8 trying 8 cur_cross 5 best_cross 3
mincross All users: 3 crossings, 0.00 secs.
network simplex: 100 200
network simplex: 630 nodes 893 edges 260 iter 0.01 sec
routesplines: 112 edges, 1450 boxes, 0 splines 0.09 sec
Opening the resulting ak.svg file in IE (with Adobe SVG viewer, version 3.03, build 94)
produces blank output, no error messages, just blank space.
Running the same input file with -Tpng produces a perfectly valid PNG file.
Seems to be easily reproduceable in my situation.
The sample dot.txt file is pretty much what I use all the time.
And for all those cases, output to PNG works fine while SVG does not.
[erg] The svg output you supplied can be viewed fine using Firefox, amaya and inkscape. This is not to
say that there isn't something wrong with the dot output. You are using a version of dot which
is 3 1/2 years old, and we've made a lot of changes to the svg output during that time. Please
download and try a newer version of graphviz
and see if that fixes the problem. In either case, please let us know what happens.
One other thing to check: when I view the file in Firefox or amaya, I also see a blank. This is because a
large portion of the upper left corner of the picture is blank. By scrolling to the right or down,
the graph drawing appears. Any chance this is happening in IE?
[Alexander.Koorkoff] I was truly shocked to find out that the problem I've been experiencing
had indeed to do with the fact that Adobe viewer with IE does not
provide any clue that the graph is much larger that the screen. There's
no scroll bars (even when loading SVG using IFRAME tag) so it was
natural for me to assume that something is wrong with the output.
|Tags||No tags attached.|
|VERSION||1.9 (Fri Jan 31 11:51:16 EST 2003)|
|2011-04-28 04:03||user1||New Issue|
|2011-04-28 04:03||user1||Assigned To||=> erg|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|