Arrangement class which will arrange all nodes in a radial pattern with the
designated target node in the center. All other nodes are arranged in radial
tiers from the target, by their level of connectedness.
Any nodes which are not connected to the target node are not arranged. This
is to allow the arrangement to handle a number of different clusters within
the same graph.
Arranges the specified Graph. For all nodes that are connected directly
or indirectly to the target node, the node position will be determined.
For those which are not valid, the nodes will have a null location. This
will allow multiple focus nodes to be used sequentially.
Get the radius step, which is the distance between successive tiers of
the radius step
public void setCenter(java.awt.Point centerPoint)
Set the center point for the arrangement. The center point is the point
where the root of the tree, or the focus node of the graph, is located
in the arrangement. If not set, the center point defaults to the center
of the arrangement work area.
centerPoint - the center point
public void setRadiusStep(int step)
Set the radius step for the arrangement. The radius step is the distance
between successive tiers of the arrangement. If this value is not set
specifically, it defaults to dividing the available space around the