Unwanted space around html font tags

I’m not including the image because of the beginner limitation

You don’t have to upload your SVG images. You can render them inline in this forum directly using only DOT source code as described in Render Graphviz graphs directly in your posts.

Here is your graph rendered just like that.

[dot verbose=true]

digraph {
   node [shape=none]
   color=none

   main [
       label=<<font color='red'>main</font>( _1: <font color='darkgreen'>impl Fn()</font>, _2: <font color='darkgreen'>usize</font> )>
   ]
}

[/dot]

From what I can see there’s no extra spaces. Maybe you are using an old version of Graphviz?

1 Like