Currently, I treat <line> as <polyline>. However, for absolutely horizontal/vertical lines, the operable bounding box is lost.
Therefore, I believe we should distinguish between Line and Polyline. So we can use different edit tools for them like Figma.