Class SugiyamaLayoutAlgorithm

java.lang.Object
org.eclipse.gef.layout.algorithms.SugiyamaLayoutAlgorithm
All Implemented Interfaces:
ILayoutAlgorithm

public class SugiyamaLayoutAlgorithm extends Object implements ILayoutAlgorithm
The SugiyamaLayoutAlgorithm class implements an algorithm to arrange a directed graph in a layered tree-like layout. The final presentation follows five design principles for enhanced readability: - Hierarchical layout of vertices - Least crossings of lines (edges) - Straightness of lines when ever possible - Close layout of vertices connected to each other, i.e. short paths - Balanced layout of lines coming into or going from a vertex For further information see http://dx.doi.org/10.1109/TSMC.1981.4308636 This layout algorithm works only with - directed graphs (otherwise an appropriate RuntimeException is thrown)