I want to draw a line from point A to point B. However the lines itself should be intelligent in the sense that if point B is exactly below point A a straight line should get drawn. But if the point B is below A and little far horizontally from A then a line should get drawn in right angled manner. I hope you are getting me. If you may have used any UML tool like edraw Max or any other you may have seen these types of lines. Any idea how can we achieve this?
Thanks in advance 🙂
Here’s some code:
To clarify, the asker actually wants 3-segment axis-aligned lines that look like most connections here:
