  We study the analytic properties and the critical behavior of the elliptic
representation of solutions of the Painlev\'e 6 equation. We solve the
connection problem for elliptic representation in the generic case and in a
non-generic case equivalent to WDVV equations of associativity.
