示例#1
0
文件: Launcher.cs 项目: despin89/repo
 /// <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);
 }
示例#2
0
文件: Launcher.cs 项目: despin89/repo
 /// <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();
 }
示例#3
0
文件: Launcher.cs 项目: despin89/repo
 /// <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);
 }