public override void SaveGraphData(TinkerGrapĥ tinkerGrapĥ, string directory)
            {
                var filePath = string.Concat(directory, GraphFileGml);

                DeleteFile(filePath);
                GmlWriter.OutputGraph(tinkerGrapĥ, filePath);
            }
예제 #2
0
        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);
        }