com.tensegrity.graph.layout.circular
Class CircularLayoutConstants

java.lang.Object
  extended bycom.tensegrity.graph.layout.circular.CircularLayoutConstants

public class CircularLayoutConstants
extends java.lang.Object

This class contains attributes and their default values that are used by CircularLayout.

The CircularLayout arranges nodes on circles. It provides the following attributes to adjust the distance between nodes and the minimum circle radius.

There are some attributes which influence node distribution. Please note that some of these attributes adjust the arrangement of nodes in radial trees while others influence the arrangement of nodes on circles. Angle units are degrees.

Version:
$Id: CircularLayoutConstants.java,v 1.25 2005/10/19 13:27:30 BurkhardWick Exp $
Author:
Sharokh Khani

Field Summary
static int DEVIATION_ANGLE_DEF
          The default value for DEVIATION_ANGLE_DESC.
static java.lang.String DEVIATION_ANGLE_DESC
          This attribute determines the maximum deviation angle allowed for an edge.
static java.lang.String DISTRIBUTION_STRATEGY_DESC
          The predefined strategy to distribute nodes on a circle.
static java.lang.String DISTRIBUTION_SYMMETRICAL
          Distributes nodes on a circle in equal measure.
static java.lang.String DISTRIBUTION_WEIGHTED
          Distributes nodes on a circle depended on their sizes
static java.lang.String GRAPH_CATEGORY_DESC
          Description text of attributes.
static MetricExpression GRAPH_RADIUS_DEF
          The default value for RADIUS_DESC.
static boolean GROUP_BICONNECTED_DEF
          The default value for GROUP_BICONNECTED_DESC.
static java.lang.String GROUP_BICONNECTED_DESC
          The predefined strategy to group unilaterally-connected subgraphs.
static java.lang.String LAYOUT_NAME
          The name of the layout.
static MetricExpression NODE_DISTANCE_DEF
          The default value for NODE_DISTANCE_DESC.
static java.lang.String NODE_DISTANCE_DESC
          This attribute specifies the minimal distance between the borders of two adjacent nodes on a shared circle.
static java.lang.String RADIUS_DESC
          This attribute specifies the minimum circle radius.
static int ROTATION_DEGREE_DEF
          The default value for ROTATION_DEGREE_DESC.
static java.lang.String ROTATION_DEGREE_DESC
          This attribute specifies the drawing rotation angle in degrees.
static int WAGE_ANGLE_DEF
          The default value for WAGE_ANGLE_DESC.
static java.lang.String WAGE_ANGLE_DESC
          This attribute determines the angular range of the sector that will be reserved around the root node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAYOUT_NAME

public static final java.lang.String LAYOUT_NAME
The name of the layout.

See Also:
Constant Field Values

GRAPH_CATEGORY_DESC

public static final java.lang.String GRAPH_CATEGORY_DESC
Description text of attributes.

See Also:
Constant Field Values

RADIUS_DESC

public static final java.lang.String RADIUS_DESC
This attribute specifies the minimum circle radius. This value will be extended when necessary, usually in order to draw nodes without overlapping.

See Also:
Constant Field Values

GRAPH_RADIUS_DEF

public static final MetricExpression GRAPH_RADIUS_DEF
The default value for RADIUS_DESC.


NODE_DISTANCE_DESC

public static final java.lang.String NODE_DISTANCE_DESC
This attribute specifies the minimal distance between the borders of two adjacent nodes on a shared circle.

See Also:
Constant Field Values

NODE_DISTANCE_DEF

public static final MetricExpression NODE_DISTANCE_DEF
The default value for NODE_DISTANCE_DESC.


ROTATION_DEGREE_DESC

public static final java.lang.String ROTATION_DEGREE_DESC
This attribute specifies the drawing rotation angle in degrees. You can use this attribute to rotate the arranged graph.

See Also:
Constant Field Values

ROTATION_DEGREE_DEF

public static final int ROTATION_DEGREE_DEF
The default value for ROTATION_DEGREE_DESC.

See Also:
Constant Field Values

DEVIATION_ANGLE_DESC

public static final java.lang.String DEVIATION_ANGLE_DESC
This attribute determines the maximum deviation angle allowed for an edge. The wider the deviation angle, the more compact the graph.

See Also:
Constant Field Values

DEVIATION_ANGLE_DEF

public static final int DEVIATION_ANGLE_DEF
The default value for DEVIATION_ANGLE_DESC.

See Also:
Constant Field Values

WAGE_ANGLE_DESC

public static final java.lang.String WAGE_ANGLE_DESC
This attribute determines the angular range of the sector that will be reserved around the root node. The attached subtree will be accommodated in the remaining sector. The unit of angle is degrees.

See Also:
Constant Field Values

WAGE_ANGLE_DEF

public static final int WAGE_ANGLE_DEF
The default value for WAGE_ANGLE_DESC.

See Also:
Constant Field Values

DISTRIBUTION_STRATEGY_DESC

public static final java.lang.String DISTRIBUTION_STRATEGY_DESC
The predefined strategy to distribute nodes on a circle. null The possible values are: null

See Also:
Constant Field Values

DISTRIBUTION_SYMMETRICAL

public static final java.lang.String DISTRIBUTION_SYMMETRICAL
Distributes nodes on a circle in equal measure.

See Also:
DISTRIBUTION_STRATEGY_DESC, Constant Field Values

DISTRIBUTION_WEIGHTED

public static final java.lang.String DISTRIBUTION_WEIGHTED
Distributes nodes on a circle depended on their sizes

See Also:
DISTRIBUTION_STRATEGY_DESC, Constant Field Values

GROUP_BICONNECTED_DESC

public static final java.lang.String GROUP_BICONNECTED_DESC
The predefined strategy to group unilaterally-connected subgraphs. If the value is true, the subgroups of a node will be arranged on the same circle; otherwise on different circles.

See Also:
Constant Field Values

GROUP_BICONNECTED_DEF

public static final boolean GROUP_BICONNECTED_DEF
The default value for GROUP_BICONNECTED_DESC.

See Also:
Constant Field Values


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.