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); } }
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); } } } } }