I'm looking for samples/references for routing polylines - ie as visio/MSSQL query designer does?
Posted on 2004-04-06
I am building an application that has some functionality similar to an organisation chart, and I am aiming to be able to move the 'nodes' & lines dynamically.
I'm looking for any references / samples that anyone may know of that relate to the routing of polylines - as you find in visio / MS SQL query desginer.
Drawing the the lines (using VML) and moving them is not a problem, and I have done this. What I need is to be able to update my current routing functions.They are crude, but need to find a better solution, perhaps with collision detection (checking the line does not route over an existing node etc.)
Perhaps some of you have a grasp of some mathematical method that could be employed?
All comments appreciated.