New method MPG.subgraphs_iter()
Process each connected subgraph independently