Links between topology of the transition graph and limit cycles in a two-dimensional piecewise affine biological model