fix: raise an error when Algo.diameter is called on a non-connected graph

2 jobs for v4.5.4 in 3 minutes and 29 seconds (queued for 10 seconds)
latest