public static void FillGraph(IGraph <int> graph, TestConfiguration conf) { if (String.IsNullOrEmpty(conf.TestFile)) { GraphGenerator.FillGraph(graph, conf.Levels, conf.Descendants, conf.Precedents); return; } var sequencesToAdd = LoadSequencesFromFile(conf.TestFile); graph.AddSequences(sequencesToAdd); }