Packagecom.asterisq.constellation.behaviors
Classpublic class EdgeWeightStatsBehavior
InheritanceEdgeWeightStatsBehavior Inheritance Behavior Inheritance flash.events.EventDispatcher
SubclassesCustomAccelerationBehavior, NodeAttractionRepulsionBehavior

Behavior for measuring the weighting values of edge renderers.



Public Properties
 PropertyDefined by
 Inheritedconstellation : IConstellation
The constellation instance this behavior belongs to.
Behavior
 Inheritedenabled : Boolean
Indicates whether this behavior is currently enabled.
Behavior
  highWeight : Number
[read-only] The highest edge renderer weighting value.
EdgeWeightStatsBehavior
  lowWeight : Number
[read-only] The lowest edge renderer weighting value.
EdgeWeightStatsBehavior
 InheritednodeRendererFilterFunction : Function
The function which determines the node renderers affected by this behavior.
Behavior
  totalWeight : Number
[read-only] The sum of all edge renderer weighting values.
EdgeWeightStatsBehavior
Protected Properties
 PropertyDefined by
  _highWeight : Number
EdgeWeightStatsBehavior
  _lowWeight : Number
EdgeWeightStatsBehavior
  _totalWeight : Number
EdgeWeightStatsBehavior
Public Methods
 MethodDefined by
  
Creates a new edge weight stats behavior.
EdgeWeightStatsBehavior
 Inherited
Indicates whether this class affects node renderers' acceleration.
Behavior
 Inherited
Determines whether this behavior affects the given node renderer.
Behavior
 Inherited
affectsPosition():Boolean
Indicates whether this class affects node renderers' position.
Behavior
 Inherited
affectsVelocity():Boolean
Indicates whether this class affects node renderers' velocity.
Behavior
 Inherited
fromXML(elem:XML):Behavior
[static] Creates an IBehavior instance and initializes it with the given XML data.
Behavior
 Inherited
stepEnd():void
Method called at the end of a step.
Behavior
  
stepStart():void
Method called at the beginning of a step.
EdgeWeightStatsBehavior
 Inherited
Modifies the given node renderer's acceleration.
Behavior
 Inherited
Modifies the given node renderer's position.
Behavior
 Inherited
Modifies the given node renderer's velocity.
Behavior
Protected Methods
 MethodDefined by
 Inherited
loadValuesFromXML(behaviorElem:XML):void
Updates this behavior with values from the given XML element.
Behavior
Property detail
_highWeightproperty
protected var _highWeight:Number
highWeightproperty 
highWeight:Number  [read-only]

The highest edge renderer weighting value.

Implementation
    public function get highWeight():Number
_lowWeightproperty 
protected var _lowWeight:Number
lowWeightproperty 
lowWeight:Number  [read-only]

The lowest edge renderer weighting value.

Implementation
    public function get lowWeight():Number
_totalWeightproperty 
protected var _totalWeight:Number
totalWeightproperty 
totalWeight:Number  [read-only]

The sum of all edge renderer weighting values.

Implementation
    public function get totalWeight():Number
Constructor detail
EdgeWeightStatsBehavior()constructor
public function EdgeWeightStatsBehavior()

Creates a new edge weight stats behavior.

Method detail
stepStart()method
public override function stepStart():void

Method called at the beginning of a step.