Add algorithm to find connected groups in graph
Allow to reflow connected groups in graph separately