Laying out Graphs

InfoInfo
Search:    

Laying out Graphs

One of the most critical aspects of visualizing graphs is to get nice looking layouts. The figures above represent a sampling of the layouts provided by GUESS which you can apply to your graphs. A number of the guess layouts are iterative. That is they are always trying to “improve” and thus may never converge. For these layouts you may predefine how many loops they should run for. If you choose not to define a limit the layout algorithms will run until convergence or will show a dialog every 30 seconds asking if you would like to continue.

Currently GUESS provides the following layouts

random.jpg


circle.jpg


spring.jpg


fr.jpg


gem.jpg


physics.jpg


mds.jpg


cc.jpg


isom.jpg

By and large layouts are executed in their own loops so that they do not take over the UI rendering pipeline. Layouts will also center the display to fit all the nodes. This is also an asynchronous process. At times you may want to add layout operations into your scripts. You may wish to make use of the commands:

adjust.gif

[programmatic control of layouts]

This is a Wiki Spot wiki. Wiki Spot is a non-profit organization that helps communities collaborate via wikis.