com.mindfusion.diagramming.jlayout
Class FractalLayout

java.lang.Object
  extended by com.mindfusion.diagramming.jlayout.FractalLayout

public class FractalLayout
extends java.lang.Object


Constructor Summary
FractalLayout()
          Initializes a new instance of the FractalLayout class.
 
Method Summary
 boolean arrange(Graph igraph)
          Applies the layout to the specified graph.
 Node getRoot()
          Gets the tree root.
 void setRoot(Node value)
          Sets the tree root.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FractalLayout

public FractalLayout()
Initializes a new instance of the FractalLayout class.

Method Detail

arrange

public boolean arrange(Graph igraph)
Applies the layout to the specified graph.


getRoot

public Node getRoot()
Gets the tree root.

Returns:
A Node specifying the root.

setRoot

public void setRoot(Node value)
Sets the tree root.

Parameters:
value - A Node specifying the root.