What is Graphviz4Net?
Graphviz4Net is a .NET port for Graphviz library. It provides controls to draw beautiful graph, such like curve edges, sub-graph, etc.This is its homepage: http://graphviz4net.codeplex.com/
WPF Example
And there is a WPF sample program within its download package file. After opening the sample project, we can see the project structure:The project is mainly divided into two parts: main window and ViewModel (a good architecture).
When I tried to run this sample, I got an exception text displayed on the main window: Graphviz4Net: an exception was thrown during layouting. Exception message: The system cannot find the file specified.
This problem is caused by that Graphviz4Net is dependent on the "dot" program which is part of Graphviz (http://graphviz.org). So we need download Graphviz first for our application.
No comments:
Post a Comment