internal void RemovePin(ConnectorPinModel connectorPinModel) { ConnectorPinModels.Remove(connectorPinModel); }
/// <summary> /// Handles adding a new ConnectorPin to the collection of ConnectorPins associated with this connector. /// This function is called after placing a new watch node in a connector and preserving pin locations during /// the re-wire of affected connectors. It is also called during undo/redo operations. /// to each connector. /// </summary> /// <param name="connectorPinModel"> Previous ConnectorPinModel to be re-added to the collection of pins corresponding /// to a connector. </param> internal void AddPin(ConnectorPinModel connectorPinModel) { ConnectorPinModels.Add(connectorPinModel); }