Dimension reduction of dynamics on heterogeneous networks This is the code used to generate the figures in the article Dimension reduction of dynamics on heterogeneous networks. See readme.txt for further details.