Drawing becomes path data
The pen tool records anchor points as you click, and the editor serializes them into a path d attribute using SVG's command syntax: M moves to a point, L draws a line, C draws a curve, Z closes the shape. You edit the outline by moving points on the canvas, and the path string updates to match - the same string that goes into the export.