Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void NodeEditControl_ConnectionDragStarted(object sender, ConnectionDragStartedEventArgs e)
        {
            if (!(e.ConnectorDraggedOut is NodeConnectorViewModel))
            {
                return;
            }

            var link = NodeEditViewModel.ConnectionDragStarted(e.ConnectorDraggedOut as NodeConnectorViewModel);

            e.Connection = link;
        }