Library: add text and line elements to Dom_svg.