Dependent dll and other files for distributing Dot.exe

I want to distribute dot.exe with my software without including the entire graphviz package which is 153mb.  I was wondering if anyone has done that and what are the .dll files and other files required by dot.exe? 
I have tried to just include dot.exe, and gradually add .dll file that it complained missing when running a simple dot command. But at the end, it gave the error that png file format is not recognized without giving hints of what files it needs. I was using dot.exe -Tpng xx.dot -O.
I would appreciate any help or hints on this issue.
 
Yaxiong Lin

RE: Dependent dll and other files for distributing Dot.exe

I "hit" the reply but didn't see my reply.  Sorry if this caused the duplicate reply.
I got it produce the graph, but it doesn't generate the html map file as my graph has url set for each node.  Do you know what plugin or 3rd party lib exe that generates the url map file?
Thank you for your help.

Dependent dll and other files

The default dot program is plugin-based. In particular, all of the layout algorithms and renderers are plugins and are only loaded if required. On Windows, the plugins are the dlls in the Graphviz bin directory that have gvplugin as part of their name. Typically, you will want the core, dot_layout, neato_layout and pango plugins.
 
For a separate package, the bin directory must contain dot.exe, the required dlls (such as graph, cdt, gvc) and the desired Graphviz plugins. It must also contain a file called config6, which contains the description of the available plugins. This can be generated by running dot -c.
 
Then there are the third-party libraries that are supplied with the Graphviz package, such as expat, pango, cairo, fontconfig, freetype, etc. These are supplied with Graphviz for convenience in the Graphviz bin directory. I'm not sure what the complete list is, but I assume Windows has some tool you can use to query the plugin dlls as to what other libraries each needs.
 
Finally, there are the various configuration files. These are found in the etc and fonts directories. It is probably simplest just to install these as sibling directories to the bin directory containing dot.exe.

Graphviz lite (minimal dlls)

Hello -
I am currently able to use a stripped down set of *32* files that is able to generate most of the graphs I produce.
The directory listing is:
Within c:\graphviz_lite\...
cdt.dll
cgraph.dll
config6
dir.txt
dot.exe
freetype6.dll
graph.dll
gvc.dll
gvplugin_core.dll
gvplugin_dot_layout.dll
gvplugin_neato_layout.dll
gvplugin_pango.dll
iconv.dll
intl.dll
libcairo-2.dll
libexpat-1.dll
libexpat.dll
libfontconfig-1.dll
libglib-2.0-0.dll
libgmodule-2.0-0.dll
libgobject-2.0-0.dll
libgthread-2.0-0.dll
libpango-1.0-0.dll
libpangocairo-1.0-0.dll
libpangoft2-1.0-0.dll
libpangowin32-1.0-0.dll
libpng14-14.dll
ltdl.dll
Pathplan.dll
prune.exe
unflatten.exe
zlib1.dll

Cheers,
AKE

RE: Dependent dll and other files

Thank you for the information. I am able to get dot to produce the graph ok but it doesn't produce the html map file as I have url link specified for the nodes on the graph.  It doesn't generate any error.  Do you know what plugin or 3rd party lib exe that generates the map file?
 

Recent comments