We study the relation between the space of representation classes of the fundamental group of a Riemann surface and gauge theory on trivalent graphs. We construct a partial gauge fixing in the latter gauge theory. As an application we get a proof of a conjecture of Florentino.