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