Help needed..
I have a organization layout which have rectangular shapes not in an ordered grid. If it was a grid, I would have used A- star code. So, How to connect two nodes (i.e. two rectangles) without interfering in between nodes(rectangles).
I just want the algorithm to find coordinates that will draw the path so that I can use that in generating SVG file.
Algorithm which I followed-
right, top, bottom as four datasets.
I implemented this algorithm even though this is not giving an exact shortest path. This gives great output. I would like to share the java code if anyone requests since I find it difficult to explain how I implemented by above points.