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
G
 get, Graph
 getAdjacence, Graph
 getAdjacency, Graph.Node
 getAlignedPos, ST.Plot
 getByName, Graph
 getc
 getCanvasStyle, Accessors
 getClosestNodeToOrigin, Graph.Util
 getClosestNodeToPos, Graph.Util
 getConfig, Canvas
 getCtx, Canvas
 getData, Accessors
 getElement, Canvas
 getLabel, Graph.Label.DOM
 getLabelContainer, Graph.Label.DOM
 getLabelData, Accessors
 getLegend
 getMaxValue
 getNode
 getp
 getParent, $jit.json
 getParents, Graph.Util
 getPos
 getRadius, Hypertree
 getSize, Canvas
 getSubnodes, Graph.Util
 getSubtree, $jit.json
H
 hasNode, Graph
 hexToRgb, $jit.util
 hideLabel, Graph.Label.DOM
 hideLabels, Graph.Label.DOM
I
 interpolate, Polar
 isDescendantOf, Graph.Util
 isZero
L
 leaf, TM.Base
 loadJSON
M
 map, $jit.util
 merge, $jit.util
 morph, Graph.Op
 move, Hypertree
N
 norm, Complex
O
 onClick
 out
P
 plot
 plotLabel
 plotLine, Graph.Plot
 plotNode, Graph.Plot
 prod, Complex
 prune, $jit.json
R
 reduce, $jit.util
 refresh
 removeAdjacence, Graph
 removeCanvasStyle, Accessors
 removeData, Accessors
 removeEdge, Graph.Op
 removeLabelData, Accessors
 removeNode
 removeSubtree, ST
 render
 resize, Canvas
 restore, AreaChart
 rgbToHex, $jit.util
 rotate, Sunburst
 rotateAngle, Sunburst
get: function(id)
An alias for Graph.Util.getNode.
getAdjacence: function (id,
id2)
Returns a Graph.Adjacence object connecting nodes with ids id and id2.
getAdjacency: function(id)
Returns a Graph.Adjacence object connecting the current Graph.Node and the node having id as id.
getAlignedPos: function(pos,
width,
height)
Returns a x, y object with the position of the top/left corner of a ST node.
getByName: function(name)
Returns a Graph.Node by name.
getc: function()
Returns a complex number.
getc: function(simple)
Returns a complex number.
getCanvasStyle: function(prop,
type,
force)
Returns the specified canvas style data value property.
getClosestNodeToOrigin: function(graph,
prop,
flags)
Returns the closest node to the center of canvas.
getClosestNodeToPos: function(graph,
pos,
prop,
flags)
Returns the closest node to the given position.
getConfig: function()
Returns the current Configuration for this Canvas Widget.
getCtx: function(i)
Returns the main canvas context object
getData: function(prop,
type,
force)
Returns the specified data value property.
getElement: function()
Returns the main Canvas DOM wrapper
getLabel: function(id)
Lazy fetcher for the label element.
getLabelContainer: function()
Lazy fetcher for the label container.
getLabelData: function(prop,
type,
force)
Returns the specified label data value property.
getLegend: function()
Returns an object containing as keys the legend names and as values hex strings with color values.
getLegend: function()
Returns an object containing as keys the legend names and as values hex strings with color values.
getLegend: function()
Returns an object containing as keys the legend names and as values hex strings with color values.
getMaxValue: function()
Returns the maximum accumulated value for the stacks.
getMaxValue: function()
Returns the maximum accumulated value for the stacks.
getMaxValue: function()
Returns the maximum accumulated value for the stacks.
getNode: function(id)
Returns a Graph.Node by id.
getNode: function(graph,
id)
Returns a Graph.Node by id.
getp: function(simple)
Returns a Polar representation of this number.
getp: function()
Returns a Polar representation.
getParent: function(tree,
id)
Returns the parent node of the node having id as id.
getParents: function(node)
Returns an Array of Graph.Nodes which are parents of the given node.
getPos: function(force)
Returns the canvas position as an x, y object.
getPos: function(type)
Returns the position of the node.
getRadius: function()
Returns the current radius of the visualization.
getSize: function(i)
Returns canvas dimensions.
getSubnodes: function(node,
level,
flags)
Collects all subnodes for a specified node.
getSubtree: function(tree,
id)
Returns the subtree that matches the given id.
hasNode: function(id)
Returns a boolean indicating if the node belongs to the Graph or not.
$.hexToRgb = function(hex)
Converts an Hex color string into an RGB array.
hideLabel: function(node,
show)
Hides the corresponding Graph.Node label.
hideLabels: function (hide)
Hides all labels (by hiding the label container).
interpolate: function(elem,
delta)
Calculates a polar interpolation between two points at a given delta moment.
isDescendantOf: function(node,
id)
Returns a boolean indicating if some node is descendant of the node with the given id.
isZero: function ()
Returns true if the number is zero.
isZero: function ()
Returns true if the number is zero.
leaf: function(n)
Returns whether the node is a leaf.
loadJSON: function(json)
Loads JSON data into the visualization.
loadJSON: function(json)
Loads JSON data into the visualization.
loadJSON: function(json,
i)
Loads a JSON structure to the visualization.
loadJSON: function(json)
Loads JSON data into the visualization.
$.map = function(array,
f)
Maps or collects an array by applying f.
$.merge = function()
Merges n-objects and their sub-objects creating a new, fresh object.
morph: function(json,
opt,
extraModes)
This method will transform the current visualized graph into the new JSON representation passed in the method.
move: function(pos,
opt)
Translates the tree to the given position.
norm: function ()
Calculates a Complex number norm.
onClick: function(id,
opt)
Animates the Hypertree to center the node specified by id.
onClick: function(id,
opt)
Animates the RGraph to center the node specified by id.
onClick: function (id,
options)
Animates the ST to center the node specified by id.
out: function()
Sets the parent node of the current selected node as root.
out: function()
Sets the parent node of the current selected node as root.
plot: function()
Plots the ForceDirected graph.
plot: function(opt,
animating)
Plots a Graph.
plot: function()
Plots the Hypertree.
plot: function()
Plots the Icicle visualization.
plot: function()
Plots the RGraph.
plot: function()
Plots the ST.
plot: function()
Plots the Sunburst.
plot: function()
Plots the TreeMap.
plotLabel: function(canvas,
node,
controller)
Plots a label for a given node.
plotLabel: function(canvas,
node,
controller)
Plots a label for a given node.
plotLabel: function(canvas,
node,
controller)
Plots a label for a given node.
plotLine: function(adj,
canvas,
animating)
Plots a Graph.Adjacence.
plotNode: function(node,
canvas,
animating)
Plots a Graph.Node.
prod: function(pos)
Returns the result of multiplying two Complex numbers.
prune: function(tree,
maxLevel)
Clears all tree nodes having depth greater than maxLevel.
$.reduce = function(array,
f,
opt)
Iteratively applies the binary function f storing the result in an accumulator.
refresh: function()
Computes positions and plots the tree.
refresh: function(reposition)
Computes positions and plots the tree.
refresh: function()
Computes positions and plots the tree.
refresh: function()
Computes positions and plots the tree.
refresh: function()
Computes positions and plots the tree.
refresh: function()
Computes positions and plots the tree.
refresh: function()
Computes positions and plots the tree.
removeAdjacence: function(id1,
id2)
Removes a Graph.Adjacence matching id1 and id2.
removeCanvasStyle: function()
Remove canvas style properties from data.
removeData: function()
Remove data properties.
removeEdge: function(vertex,
opt)
Removes one or more Graph.Adjacences from the visualization.
removeLabelData: function()
Remove label properties from data.
removeNode: function(id)
Removes a Graph.Node matching the specified id.
removeNode: function(node,
opt)
Removes one or more Graph.Nodes from the visualization.
removeSubtree: function(id,
removeRoot,
method,
onComplete)
Removes a subtree.
'render': function(from,
to,
dim,
swap,
canvas)
Renders an arrow into the canvas.
'render': function(from,
to,
r,
canvas)
Renders a hyperline into the canvas.
'render': function(from,
to,
canvas)
Renders a line into the canvas.
'render': function(type,
pos,
radius,
canvas)
Renders a circle into the canvas.
'render': function(type,
pos,
width,
height,
canvas)
Renders an ellipse into the canvas.
'render': function(type,
pos,
width,
height,
canvas)
Renders a rectangle into the canvas.
'render': function(type,
pos,
dim,
canvas)
Renders a square into the canvas.
'render': function(type,
pos,
dim,
canvas)
Renders a star (concave decagon) into the canvas.
'render': function(type,
pos,
dim,
canvas)
Renders a triangle into the canvas.
resize: function(width,
height)
Resizes the canvas.
restore: function(callback)
Sets all stacks that could have been filtered visible.
$.rgbToHex = function(srcArray,
array)
Converts an RGB array into a Hex string.
rotate: function(node,
method,
opt)
Rotates the graph so that the selected node is horizontal on the right.
rotateAngle: function(theta,
method,
opt)
Rotates the graph of an angle theta.
Close