UpdateEdge() public static method

public static UpdateEdge ( UMD.HCIL.Piccolo.Nodes.PPath edge ) : void
edge UMD.HCIL.Piccolo.Nodes.PPath
return void
示例#1
0
            protected override void OnDrag(object sender, PInputEventArgs e)
            {
                base.OnDrag(sender, e);

                ArrayList edges = (ArrayList)e.PickedNode.Tag;

                foreach (PPath edge in edges)
                {
                    GraphEditor.UpdateEdge(edge);
                }
            }
示例#2
0
 protected override void OnDrag(object sender, PInputEventArgs e)
 {
     if (!e.Handled)
     {
         base.OnDrag(sender, e);
         foreach (PNode node in e.PickedNode.AllNodes)
         {
             ArrayList edges = (ArrayList)node.Tag;
             if (edges != null)
             {
                 foreach (PPath edge in edges)
                 {
                     GraphEditor.UpdateEdge(edge);
                 }
             }
         }
     }
 }