public ConnectionViewModel(InputConnectorViewModel to) { To = to; }
public ConnectionViewModel(OutputConnectorViewModel from, InputConnectorViewModel to) { From = from; To = to; }
protected void AddInputConnector(string name, Color color) { var inputConnector = new InputConnectorViewModel(this, name, color); InputConnectors.Add(inputConnector); }