Esempio n. 1
0
 private void addItem(ArrayList items, IGraphPart obj)
 {
     if ((obj != null) && !items.Contains(obj))
     {
         items.Add(obj);
     }
 }
Esempio n. 2
0
 private void addItem(ArrayList items, IGraphPart obj)
 {
     if ((obj != null) && !items.Contains(obj))
     {
         items.Add(obj);
     }
 }
Esempio n. 3
0
 public GraphProperties AddEdge(string startNode, string endNode)
 {
     selectedEntity = new EdgePart(Tuple.Create(startNode, endNode));
     propeties.Add(selectedEntity, null);
     return(this);
 }
Esempio n. 4
0
 public GraphProperties AddNode(string nodeName)
 {
     selectedEntity = new NodePart(nodeName);
     propeties.Add(selectedEntity, null);
     return(this);
 }