[graphviz-interest] dot -> fig -> pic = annoying border line, how to remove?
Anton Shterenlikht <[email protected]> Tue, 03 Nov 2015 05:04:43 -0800 (PST)
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
HI
I've been using gv for a long time,
so I'm familiar with the basics.
I now have a minor but annoying problem
that I cannot figure out.
$ cat lnklst2.gv
//$Id: lnklst2.gv 160 2015-11-03 11:42:23Z mexas $
digraph "" {
bgcolor = transparent;
label = "lnklst2.gv";
fontsize = 10;
node [ shape = Mrecord ];
node1 [ label = "<f1> value | <f2> next" ];
null [ shape="circle", label="NULL" ];
node1:f2 -> null;
}
$
I process this file as:
dot -Tfig -o lnklst2.fig lnklst2.gv
fig2dev -Lpic -pall lnklst2.fig lnklst2.pic
And it gives me a bounding line which I do not want:
http://eis.bris.ac.uk/~mexas/z.pdf
The source of the problem seems to be that
the graph background is set to white even
though I set it to transparent.
You can see this here, where I open lnklst2.fig
file with Xfig:
http://eis.bris.ac.uk/~mexas/lnklst2-xfig.png
Can anybody reproduce this behaviour?
Have I messed up the settings?
Or does this look like an unexpected behaviour.
I tried to convert gv -> pic directly, but
I get errors on the groff side which I haven't figured out yet.
Many thanks
Anton
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest