private void OnClickOutPoint(Connection.Point outPoint) { selectedOutPoint = outPoint; if (selectedInPoint != null) { CreateConnection(); ClearConnectionSelection(); } }
private void ClearConnectionSelection() { selectedInPoint = null; selectedOutPoint = null; }