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
 selected, Tree.Node
 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
 showSubtree, Config
 Spacetree.js
 squaredNorm, Complex
 squarify, TM.Squarified
 ST
 startAlpha
 startPos
 stripify, TM.Strip
 sum, GraphOp
 switchOrientation, Tree.Geometry
 switchPosition, ST
T
 tagChildren, RGraph
 tips, Config
 titleHeight, Config
 TM
 TM.Area
 TM.SliceAndDice
 TM.Squarified
 TM.Strip
 toComplex, Polar
 toPolar, Complex
 toStyle, Config
 Trans
 transformNodes, Config
 translate, Tree.Geometry
 tree, Config
 Tree
 Tree.Children
 Tree.Geometry
 Tree.Group
 Tree.Label
 Tree.Node
 Tree.Plot
 Tree.Util
 treeFitsInCanvas, Tree.Geometry
 Treemap.js
 TreeUtil
U
 unflagRoot
V
 view, Config
W
 width, Config
 worstAspectRatio, TM.Area
scale: function(factor)
Returns the result of scaling a Complex instance.
scale: function(number)
Scales a polar norm.
sets the node as selected.
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.
The displayed JSON subtree.
Author: Nicolas Garcia Belmonte
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.
The main Spacetree class.
var ST= function(canvas,
controller)
Creates a new ST instance.
node start alpha
node start alpha
not being used by the moment.
node from position
node from position
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).
initial layout orientation “v” or “h” for vertical/horizontal.
The height of the title.
Abstract Treemap class.
Abstract Treemap class containing methods that are common to aspect ratio related algorithms.
A JavaScript implementation of the Slice and Dice Treemap algorithm.
A JavaScript implementation of the Squarified Treemap algorithm.
A JavaScript implementation of the Strip Treemap algorithm.
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.
An object containing multiple type of transformations.
Apply the moebius transformation to the nodes.
translate: function(tree,
pos,
prop)
Applys a translation to the tree.
The JSON tree.
Provides packages with useful methods for tree manipulation.
var Tree = function(json)
Tree constructor.
Provides iterators and utility methods for tree children.
Performs geometrical computations like calculating bounding boxes, a subtree base size, etc.
Performs operations on group of nodes.
Permorfs all label operations like showing, hiding, setting a label to a particular position, adding/removing classNames, etc.
Enhances the json tree node with special properties.
Performs plotting operations.
Provides iterators and utility methods for trees.
treeFitsInCanvas: function(tree,
canvas,
level)
Returns a Boolean if the current tree fits in canvas.
Author: Nicolas Garcia Belmonte
An object containing some common tree manipulation methods.
unflagRoot: function()
Unflags all nodes.
unflagRoot: function()
Unflags all nodes.
view: function(id)
Sets the root of the treemap to the specified Id
Label width (offset included)
worstAspectRatio: function(ch,
w)
Calculates the worst aspect ratio of a group of rectangles.
Close