Use SVG path instead of line.