private void CreateArrowDiagram(IActivitiesReader reader, IArrowGraphWriter writer) { Console.WriteLine("Reading activities...", inputFile); var activities = reader.Read(); var graphGenerator = new ArrowGraphGenerator(activities); Console.WriteLine("Generating Graph...", outputFile); var arrowGraph = graphGenerator.GenerateGraph(); Console.WriteLine("Writing Graph...", inputFile); writer.Write(arrowGraph); Console.WriteLine("Done.", outputFile); }