We should have some handling for disconnected graphs in our distances. Some distances explicitly don't work with disconnected graphs. I think these should either:
- raise a
ValueError immediately, or
- return
np.nan and a consistent warning of some sort.