Urgently required: A C#/VB.Net class to layout a database diagram in an appropriate manner. Similar to the the auto-layout feature found in the database diagram system in SQL Server Enterprise manager. The produced software need render nothing to the screen, it only has to calculate an appropriate layout. Inputs: ------- An array of elements giving width (in pixels), height, and a unique identifier. An array of edges (connectors) specifying a start element and an end element, and (optionally) a direction. Ouputs: ------- An x,y location for each element. A series of coordinates describing the best way to render the connectors. Additional requirements: ------------------------ The resulting diagram may have only horizontal and vertical connectors and a minimum of bends or connector overlaps.
## Deliverables
1) Working source code in C# plus a very simple project to demonstrate functionality. 2) Basic documentation describing the algorithm used in general terms 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
C#/VB.Net. Would perhaps accept another language if someone has an appropriate class already prepared. In this case full documentation would be required to assist conversion to C#.