jcreek.util.graph.layout
Interface Layout

All Known Implementing Classes:
SpringEmbedderLayout

public interface Layout

This interface represents a particular method of laying out a graph of nodes on a 2 dimensional surface.


Method Summary
 void layout(Graph graph, Node[] nodes, java.awt.Rectangle bounds)
          Lay out the specified nodes of the graph within the supplied bounds.
 void layout(Graph graph, java.awt.Rectangle bounds)
          Lay out the graph within the supplied bounds.
 

Method Detail

layout

public void layout(Graph graph,
                   java.awt.Rectangle bounds)
Lay out the graph within the supplied bounds.


layout

public void layout(Graph graph,
                   Node[] nodes,
                   java.awt.Rectangle bounds)
Lay out the specified nodes of the graph within the supplied bounds.



Created at IDI, NTNU by the Artificial Intelligence and Learning group