public void Save() { if (graph == null) { return; } FileOPS.SaveJson(graph.GraphName, graph); }
public void Save(string path, string name) { if (graph == null) { return; } graph.GraphName = name; FileOPS.SaveJson(path, graph.GraphName, graph); }