Cookbook guides# Contents: Inferring modular network structure Background: Nonparametric statistical inference Minimum description length (MDL) The stochastic block model (SBM) The nested stochastic block model Inferring the best partition Hierarchical partitions Refinements using merge-split MCMC Model selection Sampling from the posterior distribution Hierarchical partitions Characterizing the posterior distribution Model class selection Edge weights and covariates Model selection Posterior sampling Layered networks Assortative community structure Ordered community structure Network reconstruction Measured networks Heterogeneous errors Extraneous error estimates Latent Poisson multigraphs Latent triadic closures Reconstruction from dynamics Edge prediction as binary classification References Animations with graph-tool Simple interactive animations SIRS epidemics Dynamic layout Interactive visualizations Integration with matplotlib Writing extensions in C++ Range-based iteration over vertices and edges Extracting specific property maps Checked and unchecked property maps References