private static void WriteAsGraphvizToFile(DiscoveryResult result, string outputPath) { File.WriteAllText(outputPath, GraphvizSerializer.ToString(result)); Console.WriteLine($"GraphViz output written to {outputPath}"); }
private static void WriteAsGraphvizToConsole(DiscoveryResult result) => Console.WriteLine(GraphvizSerializer.ToString(result));