Quotes around attribute values
Submitted by sjackman on Fri, 01/20/2012 - 13:10
GraphViz does not output quotes around integers, but does output quotes around floats:
$ nop <<<'graph g { x=2 }'
graph g {
graph [x=2];
}
$ nop <<<'graph g { x=2.5 }'
graph g {
graph [x="2.5"];
}
I'd prefer that it format all numbers similarly and not output quotes around floats. Could this minor discrepancy be resolved?
Thanks,
Shaun
Recent comments
- Can't compile gvmap on
20 hours 48 min ago - rendering bug
22 hours 24 min ago - rendering bug
22 hours 31 min ago - subnode
22 hours 34 min ago - cluster problem with manual
2 days 21 hours ago - Graphviz for Protege 4.0 with Lion? (Thanks, it's working)
1 week 1 day ago - can't cross-compile graphviz
1 week 1 day ago - SVG imagepath
1 week 1 day ago - Install graphviz via homebrew solves "dot -Tpng:gd" errors
1 week 1 day ago - force arrangement to side
1 week 2 days ago

Done, as of 23 January.
Done, as of 23 January.
Done, as of 23 January.
To be more explicit, any number that doesn't require quotes as dot input should now be output without quotes. Obviously, if anyone finds a glitch, let us know via a bug report.