private void EstablishExplicitInputConnection(VisualNode endNode, Connection connection, List<IVisualNode> modifiedNodes) { VisualNode startNode = (VisualNode)nodeCollection[connection.OtherNode]; uint startSlotId = startNode.GetOutputSlot(connection.OtherIndex); uint endSlotId = endNode.GetInputSlot(connection.LocalIndex); Slot outputSlot = GetSlot(startSlotId) as Slot; Slot inputSlot = GetSlot(endSlotId) as Slot; edgeController.CreateLinkingEdge(outputSlot, inputSlot); startNode.HandleNewConnection(startSlotId); endNode.HandleNewConnection(endSlotId); modifiedNodes.Add(startNode); modifiedNodes.Add(endNode); }