protected virtual void OnMouseUp(MouseUpEvent e)
        {
            if (!m_Active || !CanStopManipulation(e))
            {
                return;
            }

            try
            {
                if (CanPerformConnection(e.localMousePosition))
                {
                    m_EdgeDragHelper.HandleMouseUp(e);
                }
                else
                {
                    Abort();
                }
            }
            finally
            {
                m_Active = false;
                target.ReleaseMouse();
                e.StopPropagation();
            }
        }
 protected void OnMouseUp(MouseUpEvent evt)
 {
     if (CanStopManipulation(evt))
     {
         target.ReleaseMouse();
         if (m_Active)
         {
             m_ConnectedEdgeDragHelper.HandleMouseUp(evt);
         }
         Reset();
         evt.StopPropagation();
     }
 }