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
NAntGraph Source on GitHub  26 Feb 2015
NAntGraph v2.2 Released  16 Jun 2010
NAntGraph v2.1 Released  08 Apr 2010
Announcing NAntGraph2  27 Mar 2010
Announcing NAntGraph  18 Dec 2008
June 2010