NAntGraph leverages GraphViz to do the actual image rendering.

Normally, NAntGraph will find GraphViz automatically, by searching your Program Files directory for any folder named GraphViz (see DotRenderer.FindDotPath() in the source to see how this works).

If this doesn’t work, you’ll need to manually configure NAntGraph as follows:

For the commandline tool, NAntGraph2.exe find the file NAntGraph2.exe.config in the same directory. If it doesn’t exist, create it using notepad but be sure not to give it a .txt extension.

Add the following content:

<?xml version="1.0" encoding="utf-8" ?>
      <add key="dot.exe" 
           value="C:\Program Files\Graphviz2.26.3\bin\dot.exe"/>

Of course, modify the path to point to your actual GraphVis installation.

If you’re using NAntGraphUI.exe the process is the same, but with a different filename - use NAntGraphUI.exe.config instead.


blog comments powered by Disqus
Next Post
Gource for Software Visualization  13 Aug 2010
Prior Post
Doing less with LINQ  30 Jun 2010
Related Posts
Browsers and WSL  31 Mar 2024
Factory methods and functions  05 Mar 2023
Using Constructors  27 Feb 2023
An Inconvenient API  18 Feb 2023
Method Archetypes  11 Sep 2022
A bash puzzle, solved  02 Jul 2022
A bash puzzle  25 Jun 2022
Improve your troubleshooting by aggregating errors  11 Jun 2022
Improve your troubleshooting by wrapping errors  28 May 2022
Keep your promises  14 May 2022
June 2010