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
S
 scale
 selectPath, ST
 sense, GraphPlot
 sequence, GraphPlot
 set, Tree.Util
 setAngularWidthForNodes
 setClass, Tree.Label
 setColor, Config
 setDimensions, Tree.Label
 setDivProperties, Tree.Label
 setRightLevelToShow, Tree.Geometry
 setSubtreeAngularWidth
 setSubtreesAngularWidths
 show
 squaredNorm, Complex
 squarify, TM.Squarified
 ST, ST
 stripify, TM.Strip
 sum, GraphOp
 switchOrientation, Tree.Geometry
 switchPosition, ST
T
 tagChildren, RGraph
 toComplex, Polar
 toPolar, Complex
 toStyle, Config
 translate, Tree.Geometry
 Tree, Tree
 treeFitsInCanvas, Tree.Geometry
U
 unflagRoot
V
 view, Config
W
 worstAspectRatio, TM.Area
scale: function(factor)
Returns the result of scaling a Complex instance.
scale: function(number)
Scales a polar norm.
selectPath: function(node,
nodePrev)
Sets a “selected” flag to nodes that are in the path.
sense: function(angleBegin,
angleEnd)
For private use only: sets angle direction to clockwise (true) or counterclockwise (false).
sequence: function(viz,
options)
Iteratively performs an action while refreshing the state of the visualization.
set: function(tree,
props,
value)
To set multiple values to multiple properties of a tree node.
setAngularWidthForNodes: function()
Sets nodes angular widths.
setAngularWidthForNodes: function()
Sets nodes angular widths.
setClass: function(node,
cssClass)
Sets the className property of the label with a cssClass String.
setColor: function(json)
A JSON tree node has usually a data property containing an Array of key-value objects.
setDimensions: function (node)
Sets label width and height based on Config.Label realWidth and realHeight values.
setDivProperties: function(node,
cssClass,
canvas)
Intended for private use: sets some label properties, such as positioning and className.
setRightLevelToShow: function(tree,
canvas)
Hides levels of the tree until it properly fits in canvas.
setSubtreeAngularWidth: function(elem)
Sets the angular width for a subtree.
setSubtreeAngularWidth: function(elem)
Sets the angular width for a subtree.
Sets subtrees angular widths.
Sets subtrees angular widths.
show: function(nodes,
canvas,
controller)
Expands group of nodes.
show: function(node)
Displays the label by removing the “hidden” className.
squaredNorm: function ()
Calculates the complex squared norm.
squarify: function(tail,
initElem,
w,
coord)
Performs a heuristic method to calculate div elements sizes in order to have a good aspect ratio.
var ST= function(canvas,
controller)
Creates a new ST instance.
stripify: function(tail,
initElem,
w,
coord)
Performs a heuristic method to calculate div elements sizes in order to have a good compromise between aspect ratio and order.
sum: function(viz,
json,
opt)
Adds a new graph to the visualization.
switchOrientation: function()
Changes the tree current orientation from top to left or viceversa.
switchPosition: function(pos,
onComplete)
Switches the tree orientation from vertical to horizontal or viceversa.
tagChildren: function(par,
id)
Enumerates the children in order to mantain child ordering (second constraint of the paper).
toComplex: function()
Translates from polar to cartesian coordinates and returns a new Complex instance.
toPolar: function()
Transforms cartesian to polar coordinates.
toStyle: function(obj)
Transforms a JSON into a CSS style string.
translate: function(tree,
pos,
prop)
Applys a translation to the tree.
var Tree = function(json)
Tree constructor.
treeFitsInCanvas: function(tree,
canvas,
level)
Returns a Boolean if the current tree fits in canvas.
unflagRoot: function()
Unflags all nodes.
unflagRoot: function()
Unflags all nodes.
view: function(id)
Sets the root of the treemap to the specified Id
worstAspectRatio: function(ch,
w)
Calculates the worst aspect ratio of a group of rectangles.
Close