[graph-tool] Generate SBM with edge weights