[Fdp] When trying to plot a graph using fdb empty plot is generated
Ported Issue from Mantis Original ID: 2402 Attachments may only be available from the Mantis Tracker Reported By: trygub
SEVERITY: NORMAL Submitted: 2013-12-14 00:22:30
OS: FREEBSD
OS BUILD: 9
PLATFORM: PC
DESCRIPTION
I really like fdp algorithm --- it is sometimes slower to run than other utilities in Graphviz but the results are excellent and I don't mind the wait. However, for some graphs it produces an image file that seems to contain no plot.
The formats I tried: png and svg
By "seems to contain no plot" I mean this: when viewing the result it appears to contain an empty page (no plot). The image files non-zero in size, and, when inspected in text editor, appear to be non-empty and valid structure.
Because of this I initially thought it is a viewer problem. I have tried loading svg in various svg viewers (eog, Inkscape, Firefox), then png --- eog, Firefox and Gimp --- with no luck. Loading the problematic file in eog results in "Could not load image _graphssFdp.sv -- image loading failed" message. Inkscake and Firefox open the file but display nothing.
STEPS TO REPRODUCE
fdp -Tsvg graphss.gv -o _graphssFdp.svg
ADDITIONAL INFORMATION
I attach graphss.gv as an example file that gives rise to this problem. The files is by no means minimal, but I did not want to waste effort unless there is a clear need to reduce the input in size. The input file contains about 1,500 nodes and 2401 edges and describes an undirected graph.