Packageflare.vis.operator.layout
Classpublic class BundledEdgeRouter
InheritanceBundledEdgeRouter Inheritance Operator

Layout that routes edges in a graph so that they form groups, reducing clutter. This operator requires that a tree structure (for example, a computed spanning tree) be defined over the graph. The class also sets all edges' shape property to Shapes.BSPLINE and can optionally compute alpha values to improve edge visibility.

The algorithm uses the tree path between two nodes to define control points for routing a b-spline curve. The technique is adapted from Danny Holten's work on Hierarchical Edge Bundles, InfoVis 2006.



Public Properties
 PropertyDefined by
  bundling : Number = 0.85
Determines how "tight" the edges are bundled.
BundledEdgeRouter
 Inheritedenabled : Boolean
Indicates if the operator is enabled or disabled.
Operator
 Inheritedparameters : Object
Sets parameter values for this operator.
Operator
  removeSharedAncestor : Boolean = false
Removes the shared ancestor along a node path.
BundledEdgeRouter
 Inheritedvisualization : Visualization
The visualization processed by this operator.
Operator
Public Methods
 MethodDefined by
  
BundledEdgeRouter(bundling:Number = 0.85, removeSharedAncestor:Boolean = false)
Creates a new BundledEdgeRouter
BundledEdgeRouter
 Inherited
applyParameters(op:IOperator, params:Object):void
[static] Static method that applies parameter settings to an operator.
Operator
  
operate(t:Transitioner = null):void
Performs an operation over the contents of a visualization.
BundledEdgeRouter
 Inherited
setup():void
Setup method invoked whenever this operator's visualization property is set.
Operator
Property detail
bundlingproperty
public var bundling:Number = 0.85

Determines how "tight" the edges are bundled. At 0, all edges are unbundled straight lines. At 1, the edges bundle together tightly. The default is 0.85.

removeSharedAncestorproperty 
public var removeSharedAncestor:Boolean = false

Removes the shared ancestor along a node path.

Constructor detail
BundledEdgeRouter()constructor
public function BundledEdgeRouter(bundling:Number = 0.85, removeSharedAncestor:Boolean = false)

Creates a new BundledEdgeRouter

Parameters
bundling:Number (default = 0.85) — the tightness of edge bundles
 
removeSharedAncestor:Boolean (default = false)
Method detail
operate()method
public override function operate(t:Transitioner = null):void

Performs an operation over the contents of a visualization.

Parameters
t:Transitioner (default = null) — a Transitioner instance for collecting value updates.