Algorithms for visual display of objects

I am wondering if there are any known algorithms that I should be aware of for rendering objects visually.

For example, a LINQ to SQL diagram has many tables, but automatically places them for readability. Is this pretty much "random and moves if too close / overlap", or is there even more?

Thanks for any advice!

+1


source to share


2 answers


Roughly, you can perform a "connectivity" analysis on your graph objects to determine which ones are more central; that is, they have a higher degree of connectivity with other objects. Those go in the center. Find out your individual size of objects, determine the amount of space remaining, divide by the number of elements and place them based on this data.



+3


source


Take a look at GraphViz . It can be used straight off the shelf or it can be a good starting point.



+1


source







All Articles