コード例 #1
0
 void CreateEdges(NodeBase source)
 {
     // add edges to source
     while (source != null)
     {
         foreach (NodeBase n in outgoingEdges)
         {
             source.AddRelationship(n);
         }
         source = source.Parent;
     }
     outgoingEdges.Clear();
 }