[graph-tool] Layered block state with edge weights and/or different set of nodes across layers