コード例 #1
0
 /// <summary>
 /// Remove edge
 /// </summary>
 /// <param name="edge">Edge</param>
 public void RemoveEdge(GraphEdge edge)
 {
     Edges.Remove(edge);
 }
コード例 #2
0
 /// <summary>
 /// Add new edge
 /// </summary>
 /// <param name="newEdge">New edge</param>
 public void AddEdge(GraphEdge newEdge)
 {
     Edges.Add(newEdge);
 }