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