[Output Generation] xdot background polygon coordinates are "nan" with no nodes
Ported Issue from Mantis Original ID: 2393 Attachments may only be available from the Mantis Tracker Reported By: ryandesign
SEVERITY: MINOR Submitted: 2013-11-26 03:43:09
OS: OS X
OS BUILD: 10.8.5
PLATFORM: X86_64
PROFILE ID: 4
DESCRIPTION
This graph should make a 72px ✕ 72px red canvas with no nodes, and that is what the PNG output shows. But the xdot output shows:
_draw_="c 7 -#ff0000 C 7 -#ff0000 P 4 nan nan nan nan nan nan nan nan "
STEPS TO REPRODUCE
dot nan.gv -Txdot -onan.gv.xdot -Tpng -onan.gv.png
ADDITIONAL INFORMATION
This may be because of the difference in default pad values for PNG and xdot output. As I recently learned, the default pad for PNG is 4 but the default for xdot is 0. If I add "pad=0" to the graph, then the PNG output doesn't work either (graphviz generates a 0-byte PNG file).