public void AddInputPointer(ShellNodeConfigInput item)
 {
     DiagramViewModel.CurrentRepository.Add(new ShellNodeConfigInputPointer()
     {
         Node             = GraphItem,
         SourceIdentifier = item.Identifier
     });
 }
        private void CreateInput(ShellNodeConfigInput input, object dataObject)
        {
            var vm = new InputOutputViewModel()
            {
                IsInput          = true,
                IsOutput         = false,
                DiagramViewModel = this.DiagramViewModel,
                Name             = input.Name,
                DataObject       = dataObject,
                Column           = input.Column,
                ColumnSpan       = input.ColumnSpan,
                IsNewLine        = input.IsNewRow,
                AllowSelection   = input.AllowSelection
            };

            ContentItems.Add(vm);
        }