Packageorg.un.flex.graphLayout.layout
Classpublic class ISOMLayouter
InheritanceISOMLayouter Inheritance IterativeBaseLayouter Inheritance BaseLayouter
ImplementsILayoutAlgorithm

This is an implementation of an Inverted Self Organizing Map (ISOM) layout.



Public Properties
 PropertyDefined by
 InheritedanimInProgress : Boolean
Indicator if currently an animation sequence is still in progress.
BaseLayouter
 InheritedautoFitEnabled : Boolean
BaseLayouter
 InheriteddisableAnimation : Boolean
If set to true, animation is disabled and direct node location setting occurs (instantaneously).
BaseLayouter
 Inheritedgraph : IGraph
Assign a Graph datastructure object to the layouter, every layouter will need one to work and some may allow to set it in their constructor
BaseLayouter
 InheritedlayoutChanged : Boolean
BaseLayouter
 InheritedlinkLength : Number
This is a NOP in the BaseLayouter class.
BaseLayouter
 Inheritedvgraph : IVisualGraph
Assign a VisualGraph object to the layouter, every layouter will need one to work, some may also offer to set it in their constructor.
BaseLayouter
Protected Properties
 PropertyDefined by
 Inherited_autoFitEnabled : Boolean = false
The indicator if AutoFit should currently be used or not.
BaseLayouter
 InheritedcurrentDrawing : BaseLayoutDrawing
Allow to set the reference to the drawing object from derived classes.
BaseLayouter
 Inherited_disableAnimation : Boolean = false
If set to true, animation is disabled and direct node location setting occurs (instantaneously).
BaseLayouter
 Inherited_dragNode : IVisualNode = null
IterativeBaseLayouter
 Inherited_graph : IGraph = null
All layouters need access to the Graph.
BaseLayouter
 Inherited_layoutChanged : Boolean = false
This keeps track if the layout has changed and can be accessed by any derived layouter.
BaseLayouter
 Inherited_root : INode
The current root node of the layout.
BaseLayouter
 Inherited_stree : IGTree
A spanning tree of the graph, since probably every layout will work on a spanning tree, we keep this one in this base class.
BaseLayouter
 Inherited_vgraph : IVisualGraph = null
All layouters need access to the VisualGraph.
BaseLayouter
Public Methods
 MethodDefined by
  
ISOMLayouter
 Inherited
bgDragContinue(event:MouseEvent):void
This is a NOP for this layouter.
BaseLayouter
 Inherited
bgDragEvent(event:MouseEvent):void
This is a NOP for this layouter.
BaseLayouter
 Inherited
bgDropEvent(event:MouseEvent):void
This is a NOP for this layouter.
BaseLayouter
 Inherited
dragContinue(event:MouseEvent, vn:IVisualNode):void
This is a NOP for this layouter.
BaseLayouter
 Inherited
dragEvent(event:MouseEvent, vn:IVisualNode):void
This method notifies the layouter about a drag/drop operation.
IterativeBaseLayouter
 Inherited
dropEvent(event:MouseEvent, vn:IVisualNode):void
If we receive a drop event, we delete the drag node.
IterativeBaseLayouter
 Inherited
layoutPass():Boolean
This is the actual method that does a layout pass.
IterativeBaseLayouter
  
refreshInit():void
ISOMLayouter
  
resetAll():void
ISOMLayouter
Protected Methods
 MethodDefined by
 Inherited
Sets the current absolute target coordinates of a node in the node's vnode.
BaseLayouter
 Inherited
applyTargetToNodes(vns:Dictionary):void
Applies the target coordinates to all nodes that are in the Dictionary object passed as argument.
BaseLayouter
  
Layout Methods - Computational Methods
ISOMLayouter
  
isStable():Boolean
ISOMLayouter
 Inherited
layoutIteration():Boolean
Do a full calculation iteration of the layout.
IterativeBaseLayouter
Public Constants
 ConstantDefined by
 InheritedDEFAULT_MARGIN : Number = 30
[static] The default margin to be considered when using autoFit.
BaseLayouter
 InheritedMINIMUM_NODE_HEIGHT : Number = 5
[static] The default minimum node height to be used if the exact node height cannot be determined yet.
BaseLayouter
 InheritedMINIMUM_NODE_WIDTH : Number = 5
[static] The default minimum node width to be used if the exact node height cannot be determined yet.
BaseLayouter
Constructor detail
ISOMLayouter()constructor
public function ISOMLayouter(vg:IVisualGraph = null)Parameters
vg:IVisualGraph (default = null)
Method detail
calculateLayout()method
protected override function calculateLayout():void

Layout Methods - Computational Methods

isStable()method 
protected override function isStable():Boolean

Returns
Boolean
refreshInit()method 
public override function refreshInit():void
resetAll()method 
public override function resetAll():void