Graphviz Generate strange behaviour

Topics: bug, graph
Sep 3, 2010 at 8:56 AM


I am using Quickgraph Version 3.3.50603.0 in VS2010 / .Net 4.0.

I've got simple relations between string-verteces.

If I user the GraphvizAlgorithm to generate a graph, all my strings were replaced by numbers. If I subscribe to the FormatVertex-event, without doing anything in the eventhandler method, my verteces were the original strings..

var graphviz = new GraphvizAlgorithm<string,Edge<string>>(graph);
graphviz.FormatVertex += new FormatVertexEventHandler<string>(graphviz_FormatVertex);
graphviz.Generate(new FileDotEngine(), "graph");

Ok, now while writing this, I realize, that maybe the generic parameter of the event handler does the trick? 

Is there another possibility to control the output?


Best regards,