Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 $add
 $conjugate, Complex
 $div, Complex
 $madd, Polar
 $prod, Complex
 $scale
A
 add
 addAdjacence, Graph
 addAdjacency, Graph.Node
 addClass, Tree.Label
 addNode, Graph
 addSubtree
 adjacentTo, Graph.Node
 animate
 atLevel, Tree.Util
 avgAspectRatio, TM.Area
B
 bodyBox, Config
C
 calculateCorners, Tree.Geometry
 calculatePositions, ST
 Canvas, Canvas
 children, Tree.Children
 chk, Tree.Label
 clean, GraphUtil
 clear, Canvas
 clearLabels, GraphPlot
 clearReactangle, Canvas
 clone
 Complex, Complex
 compute
 computeAngularWidths
 computeArcThroughTwoPoints, GraphPlot
 computeDim, TM.Area
 computeLevels, GraphUtil
 computePositions
 conjugate, Complex
 contentBox, Config
 contract, ST
 createBox, Config
D
 dispatch, Tree.Geometry
 disposeLabel, GraphPlot
$add: function(pos)
Returns the result of adding two complex numbers.
$add: function(polar)
Adds two Polar instances affecting the current object.
$conjugate: function()
Returns the conjugate for this complex.
$div: function(pos)
Returns the division of two complex numbers.
$madd: function(polar)
Adds two Polar instances affecting the current object.
$prod:function(pos)
Returns the result of multiplying two complex numbers.
$scale: function(factor)
Returns the result of scaling a Complex instance.
$scale: function(number)
Scales a polar instance affecting the object.
add: function(pos)
Returns the result of adding two complex numbers.
add: function(polar)
Adds two Polar instances.
addAdjacence: function (obj,
obj2,
weight)
Connects nodes specified by obj and obj2.
addAdjacency: function(node,
data)
Connects the node to the specified by id.
addClass: function(node,
cssClass)
Adds the specified className to the label.
addNode: function(obj)
Adds a node.
addSubtree: function(id,
subtree,
method,
onComplete)
Adds a subtree, performing optionally an animation.
addSubtree: function(tree,
id,
subtree)
Makes a proper Tree object from a Tree JSON structure and inserts it where specified by id.
adjacentTo: function(node)
Indicates if the node is adjacent to the node indicated by the specified id
animate: function(viz,
opt,
versor)
Animates the graph by performing a moebius transformation from the current state to the given position.
animate: function(viz,
opt)
Animates the graph by performing a translation from elem.startPos to elem.endPos.
atLevel: function(tree,
level,
action)
Iterates over tree nodes from a sepecified level performing an action.
avgAspectRatio: function(ch,
w)
Calculates the worst aspect ratio of a group of rectangles.
bodyBox: function(html,
coord)
Creates the body div dom element that usually contains a subtree dom element layout.
calculateCorners: function(tree,
corners)
Intended for private use.
calculatePositions: function (tree,
initialPos,
property,
contracted)
This method implements the core algorithm to calculate node positioning.
Canvas constructor.
children: function(tree,
property)
Returns true if the current node has at least one node with property set to true.
chk: function(node)
Checks if a label with the homologue id of the current tree node exists and if it doesn’t it creates a label with this id.
clean: function(graph)
Cleans flags from nodes (by setting the flag property to false).
clear: function ()
Clears the canvas object.
clearLabels: function(viz)
Clears the label container.
Same as clear but only clears a section of the canvas.
clone: function()
Returns a copy of the current object.
clone: function()
Returns a copy of the current object.
var Complex= function()
Complex constructor.
compute: function(property)
Computes the graph nodes positions and stores this positions on property.
compute: function(property)
Computes the graph nodes positions and stores this positions on property.
compute: function ()
Calculates positions from root node.
compute: function(par,
json,
orientation)
Called by loadFromJSON to calculate recursively all node positions and lay out the tree.
compute: function(json,
coord)
Called by loadFromJSON to calculate recursively all node positions and lay out the tree.
compute: function(json,
coord)
Called by loadFromJSON to calculate recursively all node positions and lay out the tree.
computeAngularWidths: function ()
Computes nodes and subtrees angular widths.
computeAngularWidths: function ()
Computes nodes and subtrees angular widths.
computeArcThroughTwoPoints: function(p1,
p2)
Calculates the arc parameters through two points.
computeDim: function(tail,
initElem,
w,
coord,
comp)
Computes the dimensions and positions of a group of nodes according to a custom layout row condition.
computeLevels: function(graph,
id,
flags)
Performs a BFS traversal setting correct level for nodes.
computePositions: function(property)
Performs the main algorithm for computing node positions.
computePositions: function(property)
Performs the main algorithm for computing node positions.
conjugate: function()
Returns the conjugate por this complex.
contentBox: function(json,
coord,
html)
Creates the content div dom element that usually contains a leaf div dom element or head and body div dom elements.
contract: function(onComplete,
switched)
Contracts selected nodes.
createBox: function(json,
coord,
html)
Constructs the proper DOM layout from a json node.
dispatch: function()
Makes a value dispatch according to the current layout Works like a CSS property, either top-right-bottom-left or top|bottom - left|right.
disposeLabel: function(id)
Removes a label.
Close