I am currently working on graphviz in linux environment and i am new to linux.
By using the below command i am trying to generate an svg file from the below listed input dot file.(i have installed graphviz 2.38.0) and the current user is having full access to the machine.
dot -Tsvg -o Check_Svg.svg Check_Svg.txt
Check_Svg.txt
digraph g {
graph[size="15,5" nodesep=1 ranksep=1 ];
node[color="#56B9F9" shape="oval" style="filled" penwidth="2.5" fontname="Helvitica-Outline" fontsize="25" ];
edge[penwidth="2.5" fontsize="30" ];
Example_01[fontcolor="white" color="#56B9F9" label=<<table border="0"><tr> <td>Example_Application</td></tr><tr><td>Case1</td></tr><tr><td>Case2</td></tr></table>> fontsize=35 ];
Example_02[color="#FDC12E" label=<<table border="0"><tr><td>Example_02</td></tr><tr> <td>Case2</td></tr></table>>];
Example_01->Example_02[label=<<table border="0"><tr><td>Example_01 to Example_02</td> </tr><tr><td>1 Relationship</td></tr></table>> headport="nw" ];
{
rank="max"
Legend [color="#96B9F9" fontsize="30" ,shape=none, margin=0, label=<
<TABLE COLOR="BLACK" BORDER="1" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
<TR>
<TD> ( ) </TD>
<TD align="left"> Cases </TD>
</TR>
<TR>
<TD> * </TD>
<TD align="left"> Relationship </TD>
</TR>
</TABLE>
>];
}
}
When i executed the command to generate a svg output from a dot file, i am getting the below error.
Warning: Not built with libexpat. Table formatting is not available.
in label of node Example_01
in label of node Example_02
in label of node Legend
in label of edge Example_01 -> Example_02
The output svg file is getting created, but wrongly. Instead of the html label, the node name itself is coming in the diagram.
The output svg from the above dot file
I have installed libexpat, in my linux machine, at /usr/local/lib.
Please suggest me how to invoke the libexpat, so that i can generate the actual output from my linux environment.
Thanks in advance !!!