/// <summary> /// Removes a Graph from the internal list. /// (Also used by the editor to close Graphs) /// </summary> public static void RemoveGraph(Graph g) { Graphs.Remove(g); }
/// <summary> /// Create a controller for the assigned Graph. /// </summary> private static void CreateGraphController(Graph graph) { // in this case we create one controller for all graphs // you could also create different controllers for different graphs //if (_controller == null) _controller = new StandardGraphController(); }
/// <summary> /// Saves a graph by its path. /// (Also used by the editor to save Graphs) /// </summary> public static void SaveGraph(Graph g, string path) { Graph.Save(path, g); }