Use line elements for lines instead of path elements.