GraphConnectivity with union set
Networkconnections