| Package | flare.vis.operator.layout |
| Class | public class DendrogramLayout |
| Inheritance | DendrogramLayout Layout Operator |
To determine the height of dendrogram branches, a distance property can be provided. The values of this property will directly determine node heights by laying out the depth axis using a linear scale of distance values. The distance property should be set for all non-leaf nodes in the tree. Typically, leaf nodes have a distance of zero, resulting in an aligned list of leaf nodes.
| Property | Defined by | ||
|---|---|---|---|
| distanceProperty : String Data property to use as the distance field for
determining the height values of dendrogram branches.
| DendrogramLayout | ||
![]() | enabled : Boolean Indicates if the operator is enabled or disabled.
| Operator | |
![]() | layoutAnchor : Point The layout anchor, used by some layout instances to place an
initial item or determine a focal point.
| Layout | |
![]() | layoutBounds : Rectangle The layout bounds for the layout.
| Layout | |
![]() | layoutRoot : DataSprite
The layout root, the root node for tree layouts.
| Layout | |
![]() | layoutType : String = "null" The type of layout and axes.
| Layout | |
| orientation : String The orientation of the dendrogram
| DendrogramLayout | ||
![]() | parameters : Object
Sets parameter values for this operator.
| Operator | |
![]() | visualization : Visualization
The visualization processed by this operator.
| Operator | |
| Method | Defined by | ||
|---|---|---|---|
|
DendrogramLayout(distField:String = null, orientation:String)
Creates a new DendrogramLayout.
| DendrogramLayout | ||
![]() |
applyParameters(op:IOperator, params:Object):void
[static]
Static method that applies parameter settings to an operator.
| Operator | |
![]() |
clearEdgePoints():void
Strips all EdgeSprites in a visualization of any control points.
| Layout | |
![]() |
Hides the axes.
| Layout | |
![]() |
operate(t:Transitioner = null):void
Performs an operation over the contents of a visualization.
| Layout | |
![]() |
setup():void
Setup method invoked whenever this operator's visualization
property is set.
| Operator | |
![]() |
Reveals the axes.
| Layout | |
![]() |
[static]
Updates all edges to be straight lines.
| Layout | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
autoAnchor():void
Automatically-generate an anchor point.
| Layout | |
|
layout():void
Calculates the spatial layout of visualized items.
| DendrogramLayout | ||
![]() |
minAngle(a1:Number, a2:Number):Number
Returns an angle value that minimizes the angular distance
between a reference angle and a target angle.
| Layout | |
| distanceProperty | property |
distanceProperty:String [read-write]Data property to use as the distance field for determining the height values of dendrogram branches.
Implementation public function get distanceProperty():String
public function set distanceProperty(value:String):void
| orientation | property |
orientation:String [read-write]The orientation of the dendrogram
Implementation public function get orientation():String
public function set orientation(value:String):void
| DendrogramLayout | () | constructor |
public function DendrogramLayout(distField:String = null, orientation:String)Creates a new DendrogramLayout.
ParametersdistField:String (default = null) — data property to use as the distance field for
determining the height values of dendrogram branches
|
|
orientation:String — the orientation of the dendrogram
|
| layout | () | method |
protected override function layout():voidCalculates the spatial layout of visualized items. Layout operators override this method with their layout implementations.