Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

networkx.utils.union_find.UnionFind.union

UnionFind.union(*objects)[source]

Find the sets containing the objects and merge them all.