in reply to breaking up undirected graphs

You want the connected_components method of the Graph module. That's exactly what it does.

A word spoken in Mind will reach its own level, in the objective world, by its own weight