Capturing the dynamics of a network in a single parameter: the percolation indicator