In his PhD thesis, S. Krstić used (multi)graphs to solve generalized quadratic quasigroup functional equations. In particular, he showed the fundamental role of Kuratowski Theorem on planarity of graphs in determining properties of general solutions of such equations. As a first step towards generalization of his results to functional equations on ternary quasigroups, we consider generalized 3-diagonal equation $A\big(B(x,y,z),C(y,u,v),D(z,v,w)\big)=E(x,u,w)$. This is one of equations with complete graph $K_5$ as a corresponding graph. General solution of this equation is given, confirming the important role of Kuratowski Theorem in this case as well.