diff --git a/docs/skeletor/skeletonize.html b/docs/skeletor/skeletonize.html
index 9098a60..4edacd9 100644
--- a/docs/skeletor/skeletonize.html
+++ b/docs/skeletor/skeletonize.html
@@ -1364,7 +1364,7 @@
References
228 directed=False)
229
230 # Make sure that every connected component has at least one valid target
-231 for cc in G.clusters():
+231 for cc in G.connected_components():
232 if not np.isin(cc, original_ind[~inv]).any():
233 inv[cc[0]] = False
234 centers[cc[0]] = mesh.vertices[cc[0]]