UpdateEdge() public static méthode

public static UpdateEdge ( UMD.HCIL.Piccolo.Nodes.PPath edge ) : void
edge UMD.HCIL.Piccolo.Nodes.PPath
Résultat void
            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);
                }
            }
Exemple #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);
                 }
             }
         }
     }
 }