I will present an overview of recent results showing how to coarse-grain the network into groups or modules of nodes playing a similar dynamical role. I will demonstrate the utility of the approach through the analysis of a signed social-interaction network and a leaky- integrate-and-fire neural network.