FubarDevelopment / QuickGraph

Fork of https://quickgraph.codeplex.com/
Microsoft Public License
9 stars 2 forks source link

CP-21826: FileDotEngine problem #122

Open fubar-coder opened 6 years ago

fubar-coder commented 6 years ago

From unknown CodePlex user on Friday, 25 November 2011 06:36:16

I have an old project which has QuickGraph.Graphviz version 3.6.0.0 and downloaded the latest today for another project it has QuickGraph.Graphviz version 3.6.61114.0 and it doesn't include FileDotEngine was it intended? my legacy code doesn't work anymore? any suggestions for alternative implementation?

fubar-coder commented 6 years ago

Form unknown CodePlex user on Monday, 02 April 2012 01:18:07

I got the same problem. Any solution ?

fubar-coder commented 6 years ago

Form unknown CodePlex user on Monday, 02 April 2012 02:28:11

I manually add the FileDotEngine class as follows and the code is found in the link: https://quickgraph.svn.codeplex.com/svn/2.0/sources/QuickGraph.Graphviz/FileDotEngine.cs

namespace QuickGraph.Graphviz { public sealed class FileDotEngine : IDotEngine { public string Run(GraphvizImageType imageType, string dot, string outputFileName) { string output = outputFileName + ".dot"; File.WriteAllText(output, dot); return output; } } }