private bool CanExecuteDropLineCommand(ProfileConnectorModel parameter)
 {
     if (_dragItem is ProfileConnectorModel)
     {
         return((_dragItem as ProfileConnectorModel).GetRoot() != parameter.GetRoot());
     }
     else
     {
         return(false);
     }
 }
        private void ExecuteDropLineCommand(ProfileConnectorModel parameter)
        {
            parameter.Departures.Add(_dragItem as ProfileConnectorModel);
            (_dragItem as ProfileConnectorModel).Arrivals.Add(parameter);

            NodeConnectors.Add(new NodeConnectorModel()
            {
                DepartureNode = _dragItem as ProfileConnectorModel,
                ArrivalNode   = parameter,
            });
        }
 private bool CanExecuteDragLineCommand(ProfileConnectorModel parameter)
 {
     return(true);
 }
        private void ExecuteDragLineCommand(ProfileConnectorModel parameter)
        {
            _dragItem = parameter;

            System.Diagnostics.Debug.WriteLine($"   _dragItem.Y - {_dragItem.Y} ");
        }