private void CompleteConnection() { if (!startConnection.AllowsMultipleConnections()) { startConnection.RemoveAllConnections(); } if (!endConnection.AllowsMultipleConnections()) { endConnection.RemoveAllConnections(); } startConnection.MakeNewConnectionTo(endConnection); endConnection.MakeNewConnectionTo(startConnection); startConnection.isCreatingNewConnection = false; endConnection = null; startConnection = null; save = true; }