Code for investigation of edges weighted by TE.