Compact graph representations and parallel connectivity algorithms for massive dynamic network analysis