The following image shows examples of the <polyline> element being used to create various lines on an SVG canvas.
SVG Image:
View standalone SVG