This repository contains two R scripts to generate the examples and synthetic graphs used in the article 'Analytical Formulation of the Block-Constrained Configuration Model'. The preprint of the article is available at https://arxiv.org/abs/1811.05337.