In MESH you can inverse the diagonal (edge) of a pseudo-quadrangle formed by two neighboring triangles with one common edge.
To inverse the diagonal:
From the Modification menu choose the Diagonal inversion item or click "Diagonal Inversion" button in the toolbar.
The following dialog box shall appear:
See Also a sample TUI Script of a Diagonal Inversion of Elements operation.