I want to implement a new community detection algorithm, like multilevel_minimize this is an agglomerative algorithm that will merge blocks. I now wonder whats a good way to merge whole blocks, I can move vertices between blocks with move_vertex to do this but is there a better way?

Maybe a merge_blocks(blocks...) function could be useful.