Equilibrium in a Model of Production Networks By Meng Yu and Junnan Zhang Code for generating the graphs in the paper.