public void OnClickInPoint(IConnectionPoint inPoint) { _selectedInPoint = inPoint; if (_selectedOutPoint != null) { if (_selectedOutPoint.GetNode() != _selectedInPoint.GetNode()) { CreateConnection(); ClearConnectionSelection(); } else { ClearConnectionSelection(); } } }