public bool ConnectorExists()
        {
            if (_connectorType == ConnectorType.Input && _parentComponent.GetFlowInput().Value)
            {
                return(true);
            }

            if (_connectorType == ConnectorType.Output && _parentComponent.GetFlowOutput().Value)
            {
                return(true);
            }

            return(false);
        }
        public void Initialize(IVisualNodeComponent component, ConnectorType connectionType)
        {
            _connectorType   = connectionType;
            _parentComponent = component;

            if (connectionType is ConnectorType.Input)
            {
                component.GetFlowInput().PropertyChanged += FlowPropertyChanged;
            }

            if (connectionType is ConnectorType.Output)
            {
                component.GetFlowOutput().PropertyChanged += FlowPropertyChanged;
            }
        }