Nitpick, but maybe instead create a dict and pass that:

```python
kwargs = {"color": color}
if label:
    kwargs["label"] = label
G.add_edge(linkUUIDtoNodeName[sourceUUID], linkUUIDtoNodeName[destUUID], **kwargs)
```

Not really sure if that's cleaner though, now that I look at it.