Packageorg.un.flex.graphLayout.layout
Classpublic class ConcentricRadialLayoutDrawing
InheritanceConcentricRadialLayoutDrawing Inheritance BaseLayoutDrawing

This class holds all the parameters needed for a drawing representation of a graph drawing with a Concentric Radial Layout and corresponding access methods It actually represents a calculated layout.



Public Properties
 PropertyDefined by
 InheritedcenteredLayout : Boolean
Specifies if the center offset should be applied or not.
BaseLayoutDrawing
 InheritedcenterOffset : Point
Access to the offset of the center of the layout.
BaseLayoutDrawing
 InheritedoriginOffset : Point
Access to the offset of the origin of the layout.
BaseLayoutDrawing
Public Methods
 MethodDefined by
  
The constructor just initializes the internal data structures.
ConcentricRadialLayoutDrawing
 Inherited
Access the absolute cartesian coordinates of the given node.
BaseLayoutDrawing
  
Allows retrieval of the "angular width" value of a given node, required by the layouter.
ConcentricRadialLayoutDrawing
 Inherited
getPolarPhi(n:INode):Number
access the polar angle part of the target coordinates of the given node.
BaseLayoutDrawing
 Inherited
getPolarR(n:INode):Number
access the polar radius part of the target coordinates of the given node.
BaseLayoutDrawing
 Inherited
Access the cartesian coordinates of the given node.
BaseLayoutDrawing
 Inherited
invalidate all node data sets
BaseLayoutDrawing
 Inherited
nodeDataValid(n:INode):Boolean
indicates if the data set for a given node is currently valid.
BaseLayoutDrawing
  
setAngularWidth(n:INode, w:Number):void
This methods allows the setting of the "angular width" value for each node, which is required by the corresponding layouter.
ConcentricRadialLayoutDrawing
 Inherited
setCartCoordinates(n:INode, p:Point):void
Set the target coordinates for node n according to the calculated layout in cartesian (i.e.
BaseLayoutDrawing
 Inherited
setPolarCoordinates(n:INode, polarR:Number, polarPhi:Number):void
Set the target coordinates for node n according to the calculated layout in Polar form.
BaseLayoutDrawing
Constructor detail
ConcentricRadialLayoutDrawing()constructor
public function ConcentricRadialLayoutDrawing()

The constructor just initializes the internal data structures.

Method detail
getAngularWidth()method
public function getAngularWidth(n:INode):Number

Allows retrieval of the "angular width" value of a given node, required by the layouter.

Parameters
n:INode — The node for which the angular width is requested.

Returns
Number — The angular width of that node in radians.
setAngularWidth()method 
public function setAngularWidth(n:INode, w:Number):void

This methods allows the setting of the "angular width" value for each node, which is required by the corresponding layouter.

Parameters
n:INode — The node for which the width to set.
 
w:Number — The angular width of the node in degrees.