Add line numbers to each element in the SVG.