Faster string conversion for edges.