set label of edge at the angle of this edge.

moreover, if two vertices have more than 1 edge allow each edge to have its own label. make sure each labels does not interfere each other.