public override void SaveGraphData(TinkerGrapĥ tinkerGrapĥ, string directory) { var filePath = string.Concat(directory, GraphFileGml); DeleteFile(filePath); GmlWriter.OutputGraph(tinkerGrapĥ, filePath); }
public static void SaveGml(this IGraph graph, string directory) { if (graph == null) { throw new ArgumentNullException(nameof(graph)); } var filePath = string.Concat(directory, GraphFileGml); DeleteFile(filePath); GmlWriter.OutputGraph(graph, filePath); }