| Package | com.asterisq.constellation.behaviors |
| Class | public class EdgeWeightStatsBehavior |
| Inheritance | EdgeWeightStatsBehavior Behavior flash.events.EventDispatcher |
| Subclasses | CustomAccelerationBehavior, NodeAttractionRepulsionBehavior |
| Property | Defined by | ||
|---|---|---|---|
![]() | constellation : IConstellation
The constellation instance this behavior belongs to.
| Behavior | |
![]() | enabled : 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 | ||
![]() | nodeRendererFilterFunction : 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 | ||
| Property | Defined by | ||
|---|---|---|---|
| _highWeight : Number | EdgeWeightStatsBehavior | ||
| _lowWeight : Number | EdgeWeightStatsBehavior | ||
| _totalWeight : Number | EdgeWeightStatsBehavior | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new edge weight stats behavior.
| EdgeWeightStatsBehavior | ||
![]() |
affectsAcceleration():Boolean
Indicates whether this class affects node renderers' acceleration.
| Behavior | |
![]() |
affectsNodeRenderer(nr:INodeRenderer):Boolean
Determines whether this behavior affects the given node renderer.
| Behavior | |
![]() |
affectsPosition():Boolean
Indicates whether this class affects node renderers' position.
| Behavior | |
![]() |
affectsVelocity():Boolean
Indicates whether this class affects node renderers' velocity.
| Behavior | |
![]() |
[static]
Creates an IBehavior instance and initializes it with the given XML data.
| Behavior | |
![]() |
stepEnd():void
Method called at the end of a step.
| Behavior | |
|
stepStart():void
Method called at the beginning of a step.
| EdgeWeightStatsBehavior | ||
![]() |
Modifies the given node renderer's acceleration.
| Behavior | |
![]() |
Modifies the given node renderer's position.
| Behavior | |
![]() |
Modifies the given node renderer's velocity.
| Behavior | |
| _highWeight | property |
protected var _highWeight:Number
| highWeight | property |
highWeight:Number [read-only]The highest edge renderer weighting value.
Implementation public function get highWeight():Number
| _lowWeight | property |
protected var _lowWeight:Number
| lowWeight | property |
lowWeight:Number [read-only]The lowest edge renderer weighting value.
Implementation public function get lowWeight():Number
| _totalWeight | property |
protected var _totalWeight:Number
| totalWeight | property |
totalWeight:Number [read-only]The sum of all edge renderer weighting values.
Implementation public function get totalWeight():Number
| EdgeWeightStatsBehavior | () | constructor |
public function EdgeWeightStatsBehavior()Creates a new edge weight stats behavior.
| stepStart | () | method |
public override function stepStart():voidMethod called at the beginning of a step.