Packagecom.kapit.visualizer
Classpublic class LayoutConstants

LayoutConstants class contains all constants used to control layout options and parameters.



Public Methods
 MethodDefined by
  
LayoutConstants
  
getLayouts():Array
[static] Returns an array of string references to layouts
LayoutConstants
  
getLayoutsMap(reference:String):uint
[static]
LayoutConstants
Public Constants
 ConstantDefined by
  APPROXIMATE_OVERLAP_AVOID : uint = 0
[static] Indicator for using approximation to avoid nodes overlapping.
LayoutConstants
  BALLOON_LAYOUT : uint = 3
[static]
LayoutConstants
  BIHIERARCHICAL_LAYOUT : uint = 9
[static]
LayoutConstants
  CIRCULAR_LAYOUT : uint = 0
[static]
LayoutConstants
  CURVED_POLYLINE : uint = 2
[static] urved polyline drawing of edges
LayoutConstants
  DETERMINISTIC_OVERLAP_AVOID : uint = 1
[static] Indicator for using deterministic computation to avoid nodes overlapping.
LayoutConstants
  DIRECTED_ROOT_SELECTION : uint = 2
[static] Automatic root node selection from a tree graph (General Graphs are not allowed to use this Tree Layout)
LayoutConstants
  GROUP_OF_NODES : uint = 2
[static]
LayoutConstants
  HIERARCHICAL_CYCLIC_LAYOUT : uint = 4
[static]
LayoutConstants
  HIERARCHICAL_TREE_LAYOUT : uint = 1
[static]
LayoutConstants
  layoutsMap : Object
[static]
LayoutConstants
  MANUAL_SELECTION : int = 1
[static] Manual root node selection.
LayoutConstants
  MIND_MAP_LAYOUT : uint = 8
[static]
LayoutConstants
  MOST_WEIGHTED_ROOT_SELECTION : uint = 0
[static] Most weighted node selection.
LayoutConstants
  ORIENTATION_BOTTOM_UP : uint = 1
[static]
LayoutConstants
  ORIENTATION_HORIZONTAL : uint = 0
[static]
LayoutConstants
  ORIENTATION_LEFT_RIGHT : uint = 2
[static]
LayoutConstants
  ORIENTATION_RIGHT_LEFT : uint = 3
[static]
LayoutConstants
  ORIENTATION_TOP_DOWN : uint = 0
[static]
LayoutConstants
  ORIENTATION_VERTICAL : uint = 1
[static]
LayoutConstants
  ORTHOGONAL_CURVED_POLYLINE : uint = 4
[static] rthogonal curved polylinedrawing of edges
LayoutConstants
  ORTHOGONAL_LAYOUT : uint = 7
[static]
LayoutConstants
  ORTHOGONAL_STRAIGHT_POLYLINE : uint = 3
[static] rthogonal straight polyline drawing of edges
LayoutConstants
  RADIAL_LAYOUT : uint = 2
[static]
LayoutConstants
  SIMPLE_NODES : uint = 1
[static]
LayoutConstants
  STATIC_ORGANIC_LAYOUT : uint = 5
[static]
LayoutConstants
  STRAIGHT_LINE : uint = 0
[static] Straight drawing of edges
LayoutConstants
  STRAIGHT_POLYLINE : uint = 1
[static] traight polyline drawing of edges
LayoutConstants
Constructor detail
LayoutConstants()constructor
public function LayoutConstants()
Method detail
getLayouts()method
public static function getLayouts():Array

Returns an array of string references to layouts

Returns
Array — String references to layouts
getLayoutsMap()method 
public static function getLayoutsMap(reference:String):uintParameters
reference:String

Returns
uint
Constant detail
APPROXIMATE_OVERLAP_AVOIDconstant
public static const APPROXIMATE_OVERLAP_AVOID:uint = 0

Indicator for using approximation to avoid nodes overlapping.

BALLOON_LAYOUTconstant 
public static const BALLOON_LAYOUT:uint = 3
BIHIERARCHICAL_LAYOUTconstant 
public static const BIHIERARCHICAL_LAYOUT:uint = 9
CIRCULAR_LAYOUTconstant 
public static const CIRCULAR_LAYOUT:uint = 0
CURVED_POLYLINEconstant 
public static const CURVED_POLYLINE:uint = 2

urved polyline drawing of edges

DETERMINISTIC_OVERLAP_AVOIDconstant 
public static const DETERMINISTIC_OVERLAP_AVOID:uint = 1

Indicator for using deterministic computation to avoid nodes overlapping.

DIRECTED_ROOT_SELECTIONconstant 
public static const DIRECTED_ROOT_SELECTION:uint = 2

Automatic root node selection from a tree graph (General Graphs are not allowed to use this Tree Layout)

GROUP_OF_NODESconstant 
public static const GROUP_OF_NODES:uint = 2
HIERARCHICAL_CYCLIC_LAYOUTconstant 
public static const HIERARCHICAL_CYCLIC_LAYOUT:uint = 4
HIERARCHICAL_TREE_LAYOUTconstant 
public static const HIERARCHICAL_TREE_LAYOUT:uint = 1
layoutsMapconstant 
public static const layoutsMap:Object
MANUAL_SELECTIONconstant 
public static const MANUAL_SELECTION:int = 1

Manual root node selection.

MIND_MAP_LAYOUTconstant 
public static const MIND_MAP_LAYOUT:uint = 8
MOST_WEIGHTED_ROOT_SELECTIONconstant 
public static const MOST_WEIGHTED_ROOT_SELECTION:uint = 0

Most weighted node selection. Node with the highest weight (In/Out Edges number) is set as a root Node.

ORIENTATION_BOTTOM_UPconstant 
public static const ORIENTATION_BOTTOM_UP:uint = 1
ORIENTATION_HORIZONTALconstant 
public static const ORIENTATION_HORIZONTAL:uint = 0
ORIENTATION_LEFT_RIGHTconstant 
public static const ORIENTATION_LEFT_RIGHT:uint = 2
ORIENTATION_RIGHT_LEFTconstant 
public static const ORIENTATION_RIGHT_LEFT:uint = 3
ORIENTATION_TOP_DOWNconstant 
public static const ORIENTATION_TOP_DOWN:uint = 0
ORIENTATION_VERTICALconstant 
public static const ORIENTATION_VERTICAL:uint = 1
ORTHOGONAL_CURVED_POLYLINEconstant 
public static const ORTHOGONAL_CURVED_POLYLINE:uint = 4

rthogonal curved polylinedrawing of edges

ORTHOGONAL_LAYOUTconstant 
public static const ORTHOGONAL_LAYOUT:uint = 7
ORTHOGONAL_STRAIGHT_POLYLINEconstant 
public static const ORTHOGONAL_STRAIGHT_POLYLINE:uint = 3

rthogonal straight polyline drawing of edges

RADIAL_LAYOUTconstant 
public static const RADIAL_LAYOUT:uint = 2
SIMPLE_NODESconstant 
public static const SIMPLE_NODES:uint = 1
STATIC_ORGANIC_LAYOUTconstant 
public static const STATIC_ORGANIC_LAYOUT:uint = 5
STRAIGHT_LINEconstant 
public static const STRAIGHT_LINE:uint = 0

Straight drawing of edges

STRAIGHT_POLYLINEconstant 
public static const STRAIGHT_POLYLINE:uint = 1

traight polyline drawing of edges