public void Report(folderNode folder) { builderForText reporter = new builderForText(); Detectors.Report(reporter); Candidates.Report(reporter, nameof(Candidates)); AcceptedCandidates.Report(reporter, nameof(AcceptedCandidates)); DeclinedCandidates.Report(reporter, nameof(DeclinedCandidates)); DeclinedByDetectorCandidates.Report(reporter, nameof(DeclinedByDetectorCandidates)); NodeDictionaryGraphStyleSettings style = new NodeDictionaryGraphStyleSettings(); var initialGraph = InitialGraph.BuildDirectedGraph(style); initialGraph.Save(folder.pathFor("InitialGraph.dgml", imbSCI.Data.enums.getWritableFileMode.overwrite, "Initial content graph of chunk detection")); var finalGraph = CurrentGraph.BuildDirectedGraph(style); finalGraph.Save(folder.pathFor("FinalGraph.dgml", imbSCI.Data.enums.getWritableFileMode.overwrite, "Final content graph of chunk detection")); CurrentGraphStates.Save(folder, "StateGraph"); foreach (var chunk in DetectedChunks) { chunk.PublishAnnotation(initialGraph, "#f7941d", style); } initialGraph.Save(folder.pathFor("InitialGraphWithAnnotation.dgml", imbSCI.Data.enums.getWritableFileMode.overwrite, "Initial content graph of chunk detection with chunks annoted")); folder.SaveText(reporter.GetContent(), "report.txt"); }