performances of 2.34 with images (bis)

Hi,

I am not able to attach the resources (on dot file and 2 16x16 png images referenced many times in it) on which I am encountering the issue (a HTTP error...), nor even reply to the previous message (answer considered as a spam...). So please find below the dot specification. For the images, I think you can use any 16x16 png image.

I am running the dot.exe under windows with the following options: -oD:\MyGraphs\graph1.svg -Tsvg -Tcmapx -NURL=\ -oD:\MyGraphs\graph1.map D:\MyGraphs\graph1.dot

It works fine with no (or less) "img" references.

It would be fine if you could reproduce my issue and fix it.

Thank you for considering my problem.

digraph "MainNode " {
graph [rankdir=LR compound=true fontsize=10 fontname=Arial remincross=true start=self splines=spline];
node [shape=rect color=black fontsize=10 fontname=Arial];
edge [color=black fontsize=10 fontname=Arial];
layout=dot overlap=false;
0 [href=0 label=<<table border="0"><tr><td><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\component.png"/></td><td><b>MainNode </b></td></tr></table>> style=filled fillcolor="lightblue:azure" gradientangle=270 penwidth=3];
1 [href=1 label=<<table border="0"><tr><td><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\component.png"/></td><td>Node1 </td></tr></table>> style=filled fillcolor="lightblue:azure" gradientangle=270 penwidth=1];
1 -> 0 [

label=<<table cellpadding="0" border="0">
<tr><td  href="3"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="3">C- M3 </td></tr>
<tr><td  href="4"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="4">C- M4 </td></tr>
<tr><td  href="5"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="5">C- M5 </td></tr>
<tr><td  href="6"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="6">C- M6 </td></tr>
<tr><td  href="7"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="7">C- M7 </td></tr>
<tr><td  href="8"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="8">C- M8 </td></tr>
<tr><td  href="9"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="9">C- M9 </td></tr>
<tr><td  href="10"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="10">C- 22 </td></tr>
<tr><td  href="11"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="11">C- 31 </td></tr>
<tr><td  href="12"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="12">C- 61 </td></tr>
<tr><td  href="13"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="13">C-M10 </td></tr>
<tr><td  href="14"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="14">C-M17 </td></tr>
<tr><td  href="15"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="15">C-M19 </td></tr>
<tr><td  href="16"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="16">C-M20 </td></tr>
<tr><td  href="17"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="17">C-M21 </td></tr>
<tr><td  href="18"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="18">C-180 </td></tr>
<tr><td  href="19"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="19">C-300 </td></tr>
<tr><td  href="20"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="20">C-363 </td></tr>
<tr><td  href="21"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="21">C-700 </td></tr>
<tr><td  href="22"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="22">C-701 </td></tr>
<tr><td  href="23"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="23">C-702 </td></tr>
<tr><td  href="24"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="24">C-703 </td></tr>
<tr><td  href="25"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="25">C-704 </td></tr>
<tr><td  href="26"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="26">C-706 </td></tr>
<tr><td  href="27"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="27">C-707 </td></tr>
<tr><td  href="28"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="28">C-708 </td></tr>
<tr><td  href="29"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="29">C-72A </td></tr>
<tr><td  href="30"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="30">C-72B </td></tr>
<tr><td  href="31"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="31">C-72C </td></tr>
<tr><td  href="32"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="32">C-72D </td></tr>
<tr><td  href="33"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="33">C-72E </td></tr>
<tr><td  href="34"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="34">C-720 </td></tr>
<tr><td  href="35"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="35">C-721 </td></tr>
<tr><td  href="36"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="36">C-722 </td></tr>
<tr><td  href="37"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="37">C-723 </td></tr>
<tr><td  href="38"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="38">C-725 </td></tr>
<tr><td  href="39"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="39">C-726 </td></tr>
<tr><td  href="40"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="40">C-727 </td></tr>
<tr><td  href="41"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="41">C-728 </td></tr>
<tr><td  href="42"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="42">C-729 </td></tr>
<tr><td  href="43"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="43">C-740 </td></tr>
<tr><td  href="44"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="44">C-741 </td></tr>
<tr><td  href="45"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="45">C-742 </td></tr>
<tr><td  href="46"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="46">C-743 </td></tr>
<tr><td  href="47"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="47">C-744 </td></tr>
<tr><td  href="48"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="48">C-745 </td></tr>
<tr><td  href="49"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="49">C-746 </td></tr>
<tr><td  href="50"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="50">C-747 </td></tr>
<tr><td  href="51"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="51">C-748 </td></tr>
<tr><td  href="52"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="52">C-749 </td></tr>
<tr><td  href="53"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="53">C-770 </td></tr>
<tr><td  href="54"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="54">C-775 </td></tr>
<tr><td  href="55"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="55">C-780 </td></tr>
<tr><td  href="56"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="56">C-797 </td></tr>
<tr><td  href="57"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="57">C-828 </td></tr>
</table>>
];
58 [href=58 label=<<table border="0"><tr><td><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\component.png"/></td><td>Node2 </td></tr></table>> style=filled fillcolor="lightblue:azure" gradientangle=270 penwidth=1];
58 -> 0 [

label=<<table cellpadding="0" border="0">
<tr><td  href="60"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="60">B -100 </td></tr>
<tr><td  href="61"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="61">B -101 </td></tr>
<tr><td  href="62"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="62">B -103 </td></tr>
<tr><td  href="63"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="63">B -140 </td></tr>
<tr><td  href="64"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="64">B -141 </td></tr>
<tr><td  href="65"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="65">B -143 </td></tr>
<tr><td  href="66"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="66">B -180 </td></tr>
<tr><td  href="67"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="67">B -181 </td></tr>
<tr><td  href="68"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="68">B -183 </td></tr>
<tr><td  href="69"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="69">B -184 </td></tr>
<tr><td  href="70"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="70">B -185 </td></tr>
<tr><td  href="71"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="71">B -186 </td></tr>
<tr><td  href="72"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="72">B -187 </td></tr>
<tr><td  href="73"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="73">B -189 </td></tr>
<tr><td  href="74"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="74">B -191 </td></tr>
<tr><td  href="75"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="75">B -192 </td></tr>
<tr><td  href="76"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="76">B -221 </td></tr>
<tr><td  href="77"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="77">B -222 </td></tr>
<tr><td  href="78"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="78">B -223 </td></tr>
<tr><td  href="79"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="79">B -240 </td></tr>
<tr><td  href="80"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="80">B -242 </td></tr>
<tr><td  href="81"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="81">B -300 </td></tr>
<tr><td  href="82"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="82">B -301 </td></tr>
<tr><td  href="83"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="83">B -302 </td></tr>
<tr><td  href="84"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="84">B -303 </td></tr>
<tr><td  href="85"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="85">B -304 </td></tr>
<tr><td  href="86"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="86">B -305 </td></tr>
<tr><td  href="87"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="87">B -306 </td></tr>
<tr><td  href="88"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="88">B -307 </td></tr>
<tr><td  href="89"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="89">B -314 </td></tr>
<tr><td  href="90"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="90">B -315 </td></tr>
<tr><td  href="91"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="91">B -316 </td></tr>
<tr><td  href="92"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="92">B -317 </td></tr>
<tr><td  href="93"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="93">B -318 </td></tr>
<tr><td  href="94"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="94">B -319 </td></tr>
<tr><td  href="95"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="95">B -320 </td></tr>
<tr><td  href="96"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="96">B -321 </td></tr>
</table>>
];
97 [href=97 label=<<table border="0"><tr><td><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\component.png"/></td><td>Node3 </td></tr></table>> style=filled fillcolor="lightblue:azure" gradientangle=270 penwidth=1];
0 -> 97 [

label=<<table cellpadding="0" border="0">
<tr><td  href="99"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="99">A-900 </td></tr>
<tr><td  href="100"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="100">A-901 </td></tr>
<tr><td  href="101"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="101">A-902 </td></tr>
<tr><td  href="102"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="102">A-903 </td></tr>
<tr><td  href="103"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="103">A-904 </td></tr>
<tr><td  href="104"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="104">A-905 </td></tr>
</table>>
];
105 [href=105 label=<<table border="0"><tr><td><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\component.png"/></td><td>Node1 </td></tr></table>> style=filled fillcolor="lightblue:azure" gradientangle=270 penwidth=1];
0 -> 105 [

label=<<table cellpadding="0" border="0">
<tr><td  href="107"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="107">A-  1 </td></tr>
<tr><td  href="108"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="108">A-  2 </td></tr>
<tr><td  href="109"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="109">A-  3 </td></tr>
<tr><td  href="110"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="110">A- M1 </td></tr>
<tr><td  href="111"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="111">A-M13 </td></tr>
<tr><td  href="112"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="112">A-700 </td></tr>
<tr><td  href="113"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="113">A-701 </td></tr>
<tr><td  href="114"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="114">A-704 </td></tr>
<tr><td  href="115"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="115">A-705 </td></tr>
<tr><td  href="116"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="116">A-720 </td></tr>
<tr><td  href="117"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="117">A-723 </td></tr>
<tr><td  href="118"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="118">A-724 </td></tr>
<tr><td  href="119"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="119">A-725 </td></tr>
<tr><td  href="120"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="120">A-730 </td></tr>
</table>>
];
121 [href=121 label=<<table border="0"><tr><td><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\component.png"/></td><td>Node2 </td></tr></table>> style=filled fillcolor="lightblue:azure" gradientangle=270 penwidth=1];
0 -> 121 [

label=<<table cellpadding="0" border="0">
<tr><td  href="123"><img src="D:\Temp\n346868\5\GraphVizTmpImgDir\message.png"/></td><td align="left" color="black" href="123">A-725 </td></tr>
</table>>
];
}

Re: performances of 2.34 with images (bis)

So far I'm not able to recreate a performance issue on Linux.

I don't understand why you are generating a Tcmapx output?  -Tsvg supports anchors directly.

Still, even producing both outputs, seems reasonably fast:

    $ time dot MainNode.gv -Tsvg -Tcmapx -O

    real    0m0.022s
    user    0m0.018s
    sys    0m0.003s

I used images created by:

     echo "digraph{A}" | dot -Tpng -o A.png

     echo "digraph{B}" | dot -Tpng -o B.png

and edited them into your file in place of your images.   They are a little larger than 16x16, but not by much.

I'll see if I can get our Window's guru to try the same test ....

    

 

I believe this is an instance

I believe this is an instance of bug http://www.graphviz.org/mantisbt/view.php?id=2294. I don't think it involves having images. At least, when I remove the <IMG> elements and run dot on it on Windows, it still hangs. Even if images can cause problems, the non-image problem needs to be fixed first. Unfortunately, it only occurs on Windows.

I have fixed a problem in the

I have fixed a problem in the Windows build so that your input graph is laid out quickly on Windows. Please try the next available working version of Graphviz to see if this helps you. (I'm not sure when that will be as all of our machines are moving tonight and I don't know when www.graphviz.org will be up again.) If you still have problems, please submit a bug report. Thanks.

As of 16 October, the windows

As of 16 October, the windows packages of Graphviz should have the fix in them.

Recent comments