- Type Parameters:
N
- The node type for the graph or grid cellE
- the edge type for the graph
- All Implemented Interfaces:
- Arrangement<N>, GraphArrangement<N,E>
public class RectangularArrangement<N,E>
extends AbstractArrangement<N>
implements GraphArrangement<N,E>
Arranges the nodes of a graph or grid in a rectangular style. For a graph,
the arrangement attempts to arrange the nodes in a nearly-square
arrangement. For a grid, this arrangement will arrange the nodes according
to the first two axes; higher dimension grids will have a calculated offset
to prevent excessive overlapping
- Author:
- Edward Swing