img tag padding

I have a problem with adding an image to a node with text. The image is added to a node with a table tag but I cannot make the image to fill the area for the image. Instead there's some padding of some sort that I cannot get rid of. The attached image shows the problem. I want the area between the two blue lines to be preferably 0. I have tried the CELLPADDING="value"-tag and some others that are listed in the shapes-page (see link [1]). I'm using "dot - graphviz version 2.26.3 (20100126.1600)". Any suggestions? I am new to using Graphviz so there might be some obvious mistake I've made or something I don't know... 1) http://www.graphviz.org/doc/info/shapes.html Source for the graph: digraph G { node [shape=box]; compound=true; ratio=1; receipt_level1 [label=<

Receipt tab

>] my_receipts_level1 [label=<

My receipts tab

>] preferences_logout [label=<

Preference tab

>] receipt_level1 -> {my_receipts_level1; preferences_logout;} my_receipts_level1 -> {receipt_level1; preferences_logout;} [constraint=false] preferences_logout -> {receipt_level1; my_receipts_level1;} [constraint=false] }

img tag padding

I have a problem with adding an image to a node with text. The image is added
to a node with a table tag but I cannot make the image to fill the area for
the image. Instead there's some padding of some sort that I cannot get rid
of. The attached image shows the problem. I want the area between the two
blue lines to be preferably 0. I have tried the CELLPADDING="value"-tag and
some others that are listed in the shapes-page (see link [1]).

I'm using "dot - graphviz version 2.26.3 (20100126.1600)". Any suggestions? I
am new to using Graphviz so there might be some obvious mistake I've made or
something I don't know...

1) http://www.graphviz.org/doc/info/shapes.html

Source for the graph:
digraph G {
node [shape=box];
compound=true;
ratio=1;

receipt_level1 [label=<

Receipt tab

>]

my_receipts_level1 [label=<

My receipts tab

>]

preferences_logout [label=<

Preference tab

>]

receipt_level1 -> {my_receipts_level1; preferences_logout;}
my_receipts_level1 -> {receipt_level1; preferences_logout;}
[constraint=false]
preferences_logout -> {receipt_level1; my_receipts_level1;}
[constraint=false]
}

workaround: downgrade to 2.20.2, bug #2397 opened

I've got this problem too, and the solution for me was to downgrade to 2.20.2. I've opened a graphviz bug #2397

this is regression since graphviz 2.20.2

Hi,
I am a developer in gramps-project.org, and I have come here after investigating an annoying bug http://www.gramps-project.org/bugs/view.php?id=6999. The root cause seems to be that, somewhere between 2.20 and 2.26, graphviz began to emit the extra extra padding around every image.

See the "margin.png" attached to the bug under the URL above.

My short-term solution was downgrading to graphviz 2.20.2.

Recent comments