public void Remove(SimGraph graph) { // Remove nodes Remove(graph.Nodes); // Remove relations Remove(graph.Relations); }
/// <summary> /// Add content of the graph into the current graph /// </summary> /// <param name="graph">Graph to be added to the current graph</param> public void Add(SimGraph graph) { // Add nodes Add(graph.Nodes); // Add relations Add(graph.Relations); }
/// <summary> /// Updates corresponding entites from passed in graph on the current graph /// </summary> /// <param name="graph"></param> public void Update(SimGraph graph) { // Update nodes Update(graph.Nodes); // Update relations Update(graph.Relations); }