  We consider a six dimensional gauge theory compactified on $T^2/\mathbb{Z}_2$
with magnetic flux. The configurations of models are classified by winding
numbers at the fixed points. Requiring the existence of generation numbers and
Yukawa coupling, we see that allowed and forbidden configurations are described
by geometry of winding numbers.
