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
M
 makeRect, Canvas
 maxColorValue, Config
 maxValue, Config
 minColorValue, Config
 minValue, Config
 mode, Config
 moebiusTransformation
 morph, GraphOp
 move, ST
N
 name, Graph.Node
 nextPosition, Tree.Geometry
 Node
 nodeDiameters, Config
 nodeFrom, Graph.Adjacence
 nodeRadius, Config
 nodeRangeDiameters, Config
 nodeRangeValues, Config
 nodes, Graph
 nodeTo, Graph.Adjacence
 norm, Complex
O
 offset, Config
 offsetBase, Config
 offsetHeight, Config
 offsetWidth, Config
 onClick
 orientation, Config
 out, Config
P
 path, Canvas
 plot
 plotEdge, Tree.Plot
 plotLabel, GraphPlot
 plotLine, GraphPlot
 plotNode
 plotNodeSquared, Tree.Plot
 plotOn, Tree.Label
 plotTree, Tree.Plot
 Polar
 pos
 processChildrenLayout
 prod, Complex
 Properties
 prune, TreeUtil
R
 realHeight, Config
 realWidth, Config
 refresh
 removeAdjacence, Graph
 removeAdjacency, Graph.Node
 removeClass, Tree.Label
 removeEdge, GraphOp
 removeNode
 removeSubtree
 reposition, Hypertree
 requestNodes
 resetPath, Config
 resize, Canvas
 RGraph
 RGraph.js
 rootId, Config
makeRect: function(pos,
mode)
Draws a rectangle in canvas.
The color to be applied when displaying a max value (RGB format).
We need to know the maximum value of the property which will be taken in account to color the leaves.
The color to be applied when displaying a min value (RGB format).
We need to know the minimum value of the property which will be taken in account to color the leaves.
moebiusTransformation: function(c)
Calculates a moebius transformation for this point / complex.
moebiusTransformation: function(graph,
pos,
prop,
startPos,
flags)
Calculates a moebius transformation for the hyperbolic tree.
morph: function(viz,
json,
opt)
This method will morph the current visualized graph into the new json representation passed in the method.
move: function(node,
onComplete)
Performs the animation of the translation of the tree.
A node’s name
nextPosition: function(firstPos,
offsetHeight)
Calculates a siblings node position given a node position.
Configuration object to customize node styles.
Graph.Node = function(id,
name,
data)
Node constructor.
Tree.Node = function (json,
_parent)
Tree.Node constructor.
Diameters range.
One of the two Graph.Nodes connected by this edge.
The radius of the nodes displayed
Diameters range.
The interval of the values of the first object of your dataSet array.
graph nodes
One of the two Graph.Nodes connected by this edge.
norm: function ()
Calculates the complex norm.
Offset distance between nodes.
Separation offset between nodes.
Used on the currently expanded subtree.
Used on the currently expanded subtree.
onClick: function(id)
Performs all calculations and animation when clicking on a label specified by id.
onClick: function(id)
Performs all calculations and animation when clicking on a label specified by id.
onClick: function (id,
onComplete)
This method is called when clicking on a tree node.
Sets the orientation layout.
out: function()
Takes the parent node of the currently shown subtree and performs the layout.
path: function(type,
action)
Performs a beginPath executes action doing then a type (‘fill’ or ‘stroke’) and closing the path with closePath.
plot: function(json)
Plots a Treemap
plot: function(viz,
opt)
Plots a Graph.
plot: function()
Plots the Hypertree
plot: function()
Plots the RGraph
plot: function()
This method plots the tree.
plot: function(viz,
opt,
scale)
Plots the spacetree
plotEdge: function(begin,
end,
canvas,
selected)
Plots an Edge.
plotLabel: function(canvas,
node,
controller)
Plots a label for a given node.
plotLine: function(adj,
canvas)
Plots a hyperline between two nodes.
plotNode: function(node,
canvas)
Plots a graph node.
plotNode: function(node,
canvas)
Plots a tree node.
plotNodeSquared: function(node,
canvas)
Plots a square node.
plotOn: function (node,
canvas)
Plots the label (if this fits in canvas).
plotTree: function(viz,
plotLabel,
opt)
Plots nodes and edges of the tree.
A multi purpose polar representation.
var Polar = function(theta,
rho)
Polar constructor.
node position
Node position
processChildrenLayout: function(par,
ch,
coord)
Computes children real areas and other useful parameters for performing the Squarified algorithm.
processChildrenLayout: function(par,
ch,
coord)
Computes children real areas and other useful parameters for performing the Squarified algorithm.
prod: function(pos)
Returns the result of multiplying two complex numbers.
prune: function(tree,
maxLevel)
Clears all tree nodes having depth greater than maxLevel.
Label realHeight (offset excluded)
Label realWidth (offset excluded)
refresh: function(reposition)
Computes positions and then plots.
refresh: function()
Computes positions and then plots.
removeAdjacence: function(id1,
id2)
Removes a Graph.Adjacence from Graph that matches the specified id1 and id2.
removeAdjacency: function(id)
Deletes the Graph.Adjacence by id.
removeClass: function(node,
cssClass)
Removes a specified class from the label.
removeEdge: function(viz,
vertex,
opt)
Removes one or more edges from the visualization.
removeNode: function(id)
Removes a Graph.Node from Graph that matches the specified id.
removeNode: function(viz,
node,
opt)
Removes one or more nodes from the visualization.
removeSubtree: function(id,
removeRoot,
method,
onComplete)
Removes a subtree, performing optionally an animation.
removeSubtree: function(tree,
id,
removeRoot)
Deletes a subtree completely.
reposition: function()
Computes new positions and repositions the tree where it was before.
requestNodes: function(node,
onComplete)
If the controller has a request method, it asynchonously requests subtrees for the leaves of the tree.
requestNodes: function(nodes,
controller)
Calls the request method on the controller to request a subtree for each node.
resetPath: function(tree)
Removes the .in-path className for all tree dom elements and then adds this className to all ancestors of the given subtree.
resize: function(width,
height)
Resizes the canvas.
An animated Graph with radial layout.
var RGraph = function(canvas,
controller)
Creates a new RGraph instance.
Author: Nicolas Garcia Belmonte
The id of the main container box.
Close