From df2f6b0b4875775e33cf3303a0524c6f4eda5f71 Mon Sep 17 00:00:00 2001 From: Emile Sonneveld Date: Tue, 8 Jan 2019 01:12:38 +0100 Subject: [PATCH] Use dot.exe --- BalsamiqFlowOverview/Program.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BalsamiqFlowOverview/Program.cs b/BalsamiqFlowOverview/Program.cs index ebe916c..69f2752 100644 --- a/BalsamiqFlowOverview/Program.cs +++ b/BalsamiqFlowOverview/Program.cs @@ -87,7 +87,7 @@ static void Main(string[] args) Console.WriteLine("Outputting flow.txt"); File.WriteAllText("flow.txt", graphViz); - var svg2 = GraphVizToSvgUsingNode(graphViz); + var svg2 = GraphVizToSvg(graphViz); Console.WriteLine("Outputting flow_graph.svg"); File.WriteAllText("flow_graph.svg", svg2); //Console.ReadLine(); @@ -177,7 +177,8 @@ public static string GraphVizToSvg(string graphCode) File.WriteAllText(tmpInputPath, graphCode); var dot_path = SearchProgramWhileBubelingUpPath("graphviz-2.38-minimal/dot"); - var arguments = tmpInputPath + " -Tsvg -v -o " + fileName; + // Add -v parameter to debug dot.exe + var arguments = tmpInputPath + " -Tsvg -o " + fileName; // Start the child process. Process p = new Process();