[graphviz-interest] Possible bug in dot
Ron Savage <[email protected]>
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
Hi
I've been swapping emails with a user (of my Perl modules which wrap
Graphviz) in Russia, and he thinks he's found a bug in dot. His argument
(if I understand his English :-) is that this:
echo "digraph G { a->b }" | dot -Gsize=200,400
Outputs:
digraph G {
graph [size="20,40"];
node [label="\N"];
graph [bb="0,0,54,108"];
a [pos="27,90", width="0.75", height="0.5"];
b [pos="27,18", width="0.75", height="0.5"];
a -> b [pos="e,27,36.104 27,71.697 27,63.983 27,54.712 27,46.112"];
}
but that bb and size should be the same.
I'm not familiar with bb, so I'll leave it for you to decide.
Note: Our discussion started off with this entry in the Changes file,
when he tried to use viewport:
February 23, 2004
...
- add -Gviewport="X,Y,Z,x,y" where XY are the dimensions of a viewport
...
But, using V 2.30.1, 'man dot' does not show any reference to viewport.
Was it removed at a later date but not noted in the Changes file?
TIA.
--
Ron Savage
http://savage.net.au/
Ph: 0421 920 622
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest