- Type Parameters:
N - The node type for the graph
E - The edge type for the graph
- All Implemented Interfaces:
- Arrangement<N>, GraphArrangement<N,E>
public class CircleArrangement<N,E>
Arrangement class which will arrange all nodes in a circle with a radius
close to the size of the working area.
- Edward Swing
|Modifier and Type
||Method and Description
Arranges the specified Graph.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void arrange(Graph<N,E> graph)
Arranges the specified Graph. This simply iterates over the list of
nodes, and places them in a circle around the center of the display.
- Specified by:
arrange in interface
graph - the graph to be arranged