Similar to my other gist LineThroughPoints but now the line is also rounded at the given control points.
This behavior is now similar to line drawing and edges in Tikz.
The syntax should be rather self-explanatory together with the example.
LineThroughPoints([(p1,""),(p2,""),(p3,"")])creates a line which goes straight from p1 to p2 to p3, optinally with an arrow tip at the end.
LineThroughPoints([(p1,"-|"),(p2,"")])creates a line which leaves p1 horizontally until it is right above p2, then it drops vertically to p2.
LineThroughPoints([(p1,"|-"),(p2,"")])creates a line which leaves p1 vertically until it is on the same height as p2, then it goes horizontally to p2.
The directional argument of the last point doesn't matter.
Additional a global radius= can be defined to round the midway corners between the control points,
and/or individual radii can be given to each rectangular midway-corner.