public ConnectionViewModel(OutputConnectorViewModel from)
 {
     From = from;
 }
 public ConnectionViewModel(OutputConnectorViewModel from, InputConnectorViewModel to)
 {
     From = from;
     To   = to;
 }
Beispiel #3
0
        protected void AddOutputConnector(string name, Color color)
        {
            var outputConnector = new OutputConnectorViewModel(this, name, color);

            OutputConnectors.Add(outputConnector);
        }