Initial Pass on detectDisjointSubgraphs().