I'm new to QuickGraph. I followed the examples on the documentation page to add vertices & edges to my graph. Now, I want to display my graph on a windows form. I'm using Graphviz for that purpose, which generates a .DOT file as output. I'm following the code sample below for rendering:
IVertexAndEdgeListGraph<TVertex,TEdge> g= ...;
var graphviz = new GraphvizAlgorithm<TVertex,TEdge>(g);
string output = graphviz.Generate(new FileDotEngine(), "graph");
But, my compiler is not detecting FileDotEngine()
. Moreover, I don't know what to do after the .DOT file is generated.