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
R
 rankCoordinates, mxCoordinateAssignment
 rankMedianPosition, mxCoordinateAssignment
 readGraphModel, mxEditor
 receive, mxSession
 reconfigure
 rect
 rectangleIntersectsSegment, mxUtils
 RectanglePerimeter, mxPerimeter
 redirectMouseEvents, mxEvent
 redo
 redraw
 redrawBackgroundImage, mxGraphView
 redrawCellOverlays, mxCellRenderer
 redrawControl, mxCellRenderer
 redrawForeignObject, mxText
 redrawHtml
 redrawHtmlTable, mxText
 redrawIcons, mxConnectionHandler
 redrawInnerBends
 redrawLabel, mxCellRenderer
 redrawMarker, mxConnector
 redrawPageBreaks, mxGraph
 redrawPath
 redrawShape, mxStencilShape
 redrawSvg
 redrawSvgTextNodes, mxText
 redrawTextbox, mxText
 redrawVml
 reduceTemperature, mxFastOrganicLayout
 reference, mxCodec
 refresh
 refreshTasks, mxEditor
 register, mxCodecRegistry
 registerShape, mxCellRenderer
 relativeCcw, mxUtils
 release, mxEvent
 releaseSvgClip, mxText
 remove
 removeAllListeners, mxEvent
 removeAllStylenames, mxUtils
 removeCell, mxGraphSelectionModel
 removeCellOverlay, mxGraph
 removeCellOverlays, mxGraph
 removeCells
 removeCellsFromParent, mxGraph
 removeCursors, mxUtils
 removeEdge, mxCell
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeImageBundle, mxGraph
 removeListener
 removeMouseListener, mxGraph
 removePoint, mxEdgeHandler
 removeSelectionCell, mxGraph
 removeSelectionCells, mxGraph
 removeState, mxGraphView
 removeStateForCell, mxGraph
 removeStylename, mxUtils
 removeWhitespace, mxUtils
 renderDom, mxStencil
 renderPage, mxPrintPreview
 repaint
 repaintGraph, mxUtils
 reparseVml, mxShape
 repositionValid, mxCoordinateAssignment
 reset
 resetEdge, mxGraph
 resetEdges, mxGraph
 resetFirstTime, mxEditor
 resetHistory, mxEditor
 resetMode, mxToolbar
 resetTimer, mxTooltipHandler
 resize, mxDivResizer
 resizeCell
 resizeCells, mxGraph
 resizeHeight, mxDivResizer
 resizeSwimlane, mxSwimlaneManager
 resizeWidth, mxDivResizer
 resolve, mxCellPath
 resolveColor, mxCellRenderer
 restore
 restoreClone, mxGraphModel
 resume, mxSession
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 rootChanged, mxGraphModel
 rotate
 roundrect
 route, mxParallelEdgeLayout
 rtrim, mxUtils
 run, mxHierarchicalLayout
mxCoordinateAssignment.prototype.rankCoordinates = function(rankValue,
graph,
model)
Sets up the layout in an initial positioning.
mxCoordinateAssignment.prototype.rankMedianPosition = function(rankValue,
model,
nextRankValue)
Performs median minimisation over one rank.
mxEditor.prototype.readGraphModel = function (node)
Reads the specified XML node into the existing graph model and resets the command history and modified state.
mxSession.prototype.receive = function(node)
Processes the given node by applying the changes to the model.
mxArrow.prototype.reconfigure = function()
Extends mxActor.reconfigure to ignore fill if enableFill is false.
mxCylinder.prototype.reconfigure = function()
Overrides the method to make sure the stroke is applied to the foreground.
mxLabel.prototype.reconfigure = function()
Reconfigures this shape.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxSwimlane.prototype.reconfigure = function(node)
Overrides to avoid filled content area in HTML and updates the shadow in SVG.
rect: function(x,
y,
w,
h)
Sets the current path to a rectangle.
rect: function(x,
y,
w,
h)
Sets the current path to a rectangle.
rectangleIntersectsSegment: function(bounds,
p1,
p2)
Returns true if the given rectangle intersects the given segment.
RectanglePerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rectangular perimeter for the given bounds.
redirectMouseEvents: function(node,
graph,
state,
down,
move,
up,
dblClick)
Redirects the mouse events from the given DOM node to the graph dispatch loop using the event and given state as event arguments.
mxEditor.prototype.redo = function ()
Redo the last change in graph.
mxUndoableEdit.prototype.redo = function()
Redoes all changes in this edit.
mxUndoManager.prototype.redo = function()
Redoes the last change.
mxCellRenderer.prototype.redraw = function(state,
force,
rendering)
Updates the bounds or points and scale of the shapes for the given cell state.
mxEdgeHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxImageShape.prototype.redraw = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxLabel.prototype.redraw = function()
Overrides redraw to define a unified implementation for redrawing all supported dialects.
mxShape.prototype.redraw = function()
Invokes redrawSvg, redrawVml or redrawHtml depending on the dialect of the shape.
mxStencilShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxVertexHandler.prototype.redraw = function()
Redraws the handles and the preview.
mxGraphView.prototype.redrawBackgroundImage = function(backgroundImage,
bg)
Updates the bounds and redraws the background image.
mxCellRenderer.prototype.redrawCellOverlays = function(state)
Redraws the overlays for the given cell state.
mxCellRenderer.prototype.redrawControl = function(state)
Redraws the control for the given cell state.
mxText.prototype.redrawForeignObject = function()
Redraws the foreign object for this text.
mxRhombus.prototype.redrawHtml = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxShape.prototype.redrawHtml = function()
Redraws this HTML shape by invoking updateHtmlShape on this.node.
mxSwimlane.prototype.redrawHtml = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.redrawHtml = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.redrawHtmlTable = function()
Redraws the HTML table.
mxConnectionHandler.prototype.redrawIcons = function(icons,
state)
Redraws the given array of mxImageShapes.
mxEdgeSegmentHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates the position of the custom bends.
mxEdgeHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates and redraws the inner bends.
mxElbowEdgeHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates and redraws the inner bends.
mxCellRenderer.prototype.redrawLabel = function(state)
Redraws the label for the given cell state.
mxConnector.prototype.redrawMarker = function(node,
type,
p0,
pe,
color,
size)
Updates the given SVG or VML marker.
Invokes from sizeDidChange to redraw the page breaks.
mxActor.prototype.redrawPath = function(path,
x,
y,
w,
h)
Draws the path for this shape.
mxArrow.prototype.redrawPath = function(path,
x,
y,
w,
h)
Draws the path for this shape.
mxCloud.prototype.redrawPath = function(path,
x,
y,
w,
h)
Draws the path for this shape.
mxCylinder.prototype.redrawPath = function(path,
x,
y,
w,
h,
isForeground)
Draws the path for this shape.
mxHexagon.prototype.redrawPath = function(path,
x,
y,
w,
h)
Draws the path for this shape.
mxShape.prototype.redrawPath = function(path,
x,
y,
w,
h)
Draws the path for this shape.
mxTriangle.prototype.redrawPath = function(path,
x,
y,
w,
h)
Draws the path for this shape.
mxStencilShape.prototype.redrawShape = function()
Updates the SVG or VML shape.
mxActor.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxArrow.prototype.redrawSvg = function()
Extends mxActor.redrawSvg to update the event handling shape if one exists.
mxConnector.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxCylinder.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxDoubleEllipse.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxEllipse.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxImageShape.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxLine.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxPolyline.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxRhombus.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxShape.prototype.redrawSvg = function()
Redraws this SVG shape by invoking updateSvgShape on this.node, this.innerNode and this.shadowNode.
mxSwimlane.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxText.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
mxText.prototype.redrawSvgTextNodes = function(x,
y,
dy)
Hook to update the position of the SVG text nodes.
mxText.prototype.redrawTextbox = function()
Redraws the textbox for this text.
mxActor.prototype.redrawVml = function()
Updates the VML node(s) to reflect the latest bounds and scale.
Redraws this VML shape by invoking updateVmlShape on this.node.
mxCylinder.prototype.redrawVml = function()
Updates the VML node(s) to reflect the latest bounds and scale.
mxDoubleEllipse.prototype.redrawVml = function()
Updates the VML node(s) to reflect the latest bounds and scale.
Redraws this VML shape by invoking updateVmlShape on this.node.
mxPolyline.prototype.redrawVml = function()
Overrides the method to update the bounds if they have not been assigned.
mxRhombus.prototype.redrawVml = function()
Updates the VML node(s) to reflect the latest bounds and scale.
mxShape.prototype.redrawVml = function()
Redraws this VML shape by invoking updateVmlShape on this.node.
mxSwimlane.prototype.redrawVml = function()
Updates the VML node(s) to reflect the latest bounds and scale.
mxText.prototype.redrawVml = function()
Updates the VML node(s) to reflect the latest bounds and scale.
mxFastOrganicLayout.prototype.reduceTemperature = function()
Reduces the temperature of the layout from an initial setting in a linear fashion to zero.
mxCodec.prototype.reference = function(obj)
Hook for subclassers to implement a custom method for retrieving IDs from objects.
mxEdgeSegmentHandler.prototype.refresh = function()
Refreshes the bends of this handler.
mxGraph.prototype.refresh = function(cell)
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraphView.prototype.refresh = function()
Clears the view if currentRoot is not null and revalidates.
mxOutline.prototype.refresh = function()
Invokes update and revalidate the outline.
mxSelectionCellsHandler.prototype.refresh = function()
Reloads or updates all handlers.
mxEditor.prototype.refreshTasks = function (div)
Updates the contents of the tasks window using createTasks.
register: function(codec)
Registers a new codec and associates the name of the template constructor in the codec with the codec object.
mxCellRenderer.prototype.registerShape = function(key,
shape)
Registers the given constructor under the specified key in this instance of the renderer.
relativeCcw: function(x1,
y1,
x2,
y2,
px,
py)
Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
release: function(element)
Removes the known listeners from the given DOM node and its descendants.
mxText.prototype.releaseSvgClip = function()
Releases the given SVG clip removing it from the DOM if required.
mxCell.prototype.remove = function(index)
Removes the child at the specified index from the child array and returns the child that was removed.
mxDictionary.prototype.remove = function(key)
Removes the value for the given key and returns the value that has been removed.
mxGraphModel.prototype.remove = function(cell)
Removes the specified cell from the model using mxChildChange and adds the change to the current transaction.
remove: function(obj,
array)
Removes all occurrences of the given object in the given array or object.
removeAllListeners: function(element)
Removes all listeners from the given element.
removeAllStylenames: function(style)
Removes all stylenames from the given style and returns the updated style.
mxGraphSelectionModel.prototype.removeCell = function(cell)
Removes the specified mxCell from the selection and fires a select event for the remaining cells.
mxGraph.prototype.removeCellOverlay = function(cell,
overlay)
Removes and returns the given mxCellOverlay from the given cell.
mxGraph.prototype.removeCellOverlays = function(cell)
Removes all mxCellOverlays from the given cell.
removeCells: function(graph,
cells)
Hook to remove the given cells from the given graph after a cut operation.
mxGraph.prototype.removeCells = function(cells,
includeEdges)
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraphSelectionModel.prototype.removeCells = function(cells)
mxGraph.prototype.removeCellsFromParent = function(cells)
Removes the specified cells from their parents and adds them to the default parent.
removeCursors: function(element)
Removes the cursors from the style of the given DOM node and its descendants.
mxCell.prototype.removeEdge = function(edge,
isOutgoing)
Removes the specified edge from the edge array and returns the edge.
mxCell.prototype.removeFromParent = function()
Removes the cell from its parent.
mxCell.prototype.removeFromTerminal = function(isSource)
Removes the edge from its source or target terminal.
mxGraph.prototype.removeImageBundle = function(bundle)
Removes the specified mxImageBundle.
removeListener: function()
Removes the specified listener from the given element.
mxEventSource.prototype.removeListener = function(funct)
Removes all occurrences of the given listener from eventListeners.
mxGraph.prototype.removeMouseListener = function(listener)
Removes the specified graph listener.
mxEdgeHandler.prototype.removePoint = function(state,
index)
Removes the control point at the given index from the given state.
mxGraph.prototype.removeSelectionCell = function(cell)
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCells = function(cells)
Removes the given cells from the selection.
mxGraphView.prototype.removeState = function(cell)
Removes and returns the mxCellState for the given cell.
mxGraph.prototype.removeStateForCell = function(cell)
Removes all cached information for the given cell and its descendants.
removeStylename: function(style,
stylename)
Removes all occurrences of the specified stylename in the given style and returns the updated style.
removeWhitespace: function(node,
before)
Removes the sibling text nodes for the given node that only consists of tabs, newlines and spaces.
mxStencil.prototype.renderDom = function(shape,
bounds,
parentNode,
state)
Updates the SVG or VML shape.
mxPrintPreview.prototype.renderPage = function(w,
h,
dx,
dy,
scale,
pageNumber)
Creates a DIV that prints a single page of the given graph using the given scale and returns the DIV that represents the page.
mxCellHighlight.prototype.repaint = function()
Updates the highlight after a change of the model or view.
mxRubberband.prototype.repaint = function()
Computes the bounding box and updates the style of the div.
repaintGraph: function(graph,
pt)
Normally not required, this contains the code to workaround a repaint issue and force a repaint of the graph container in AppleWebKit.
mxShape.prototype.reparseVml = function()
Forces a parsing of the outerHTML of this node and restores all references specified in vmlNodes.
mxCoordinateAssignment.prototype.repositionValid = function(model,
cell,
rank,
position)
Determines whether or not a node may be moved to the specified x position on the specified rank
mxAutoSaveManager.prototype.reset = function()
Resets all counters.
mxCellMarker.prototype.reset = function()
Resets the state of the cell marker.
mxConnectionHandler.prototype.reset = function()
Resets the state of this handler.
mxConstraintHandler.prototype.reset = function()
Resets the state of this handler.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
mxRubberband.prototype.reset = function()
Resets the state of the rubberband selection.
mxSelectionCellsHandler.prototype.reset = function()
Resets all handlers.
mxTooltipHandler.prototype.reset = function(me,
restart)
Resets and/or restarts the timer to trigger the display of the tooltip.
mxVertexHandler.prototype.reset = function()
Resets the state of this handler.
mxGraph.prototype.resetEdge = function(edge)
Resets the control points of the given edge.
mxGraph.prototype.resetEdges = function(cells)
Resets the control points of the edges that are connected to the given cells if not both ends of the edge are in the given cells array.
mxEditor.prototype.resetFirstTime = function ()
Resets the cookie that is used to remember if the editor has already been used.
mxEditor.prototype.resetHistory = function ()
Resets the command history, modified state and counters.
mxToolbar.prototype.resetMode = function(forced)
Selects the default mode and resets the state of the previously selected mode.
mxTooltipHandler.prototype.resetTimer = function()
Resets the timer.
mxDivResizer.prototype.resize = function()
Updates the style of the DIV after the window has been resized.
mxGraph.prototype.resizeCell = function(cell,
bounds)
Sets the bounds of the given cell using resizeCells.
mxVertexHandler.prototype.resizeCell = function(cell,
dx,
dy,
index,
gridEnabled)
Uses the given vector to change the bounds of the given cell in the graph using mxGraph.resizeCell.
mxGraph.prototype.resizeCells = function(cells,
bounds)
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
Boolean specifying if the height should be updated.
mxSwimlaneManager.prototype.resizeSwimlane = function(swimlane,
w,
h)
Called from cellsResized for all swimlanes that are not ignored to update the size of the siblings and the size of the parent swimlanes, recursively, if bubbling is true.
Boolean specifying if the width should be updated.
resolve: function(root,
path)
Returns the cell for the specified cell path using the given root as the root of the path.
mxCellRenderer.prototype.resolveColor = function(state,
field,
key)
Resolves special keywords ‘inherit’, ‘indicated’ and ‘swimlane’ and sets the respective color on the shape.
restore: function()
Restores the state of the graphics object.
restore: function()
Restores the state of the graphics object.
mxGraphModel.prototype.restoreClone = function(clone,
cell,
mapping)
Inner helper method for restoring the connections in a network of cloned cells.
mxSession.prototype.resume = function(type,
attr,
value)
Resumes the session if it has been suspended.
mxGraphView.prototype.revalidate = function()
Revalidates the complete view with all cell states.
mxCellStatePreview.prototype.revalidateState = function(parentState,
state,
dx,
dy,
visitor)
reversePortConstraints: function(constraint)
Reverse the port constraint bitmask.
RhombusPerimeter: function (bounds,
vertex,
next,
orthogonal)
Describes a rhombus (aka diamond) perimeter.
mxGraphModel.prototype.rootChanged = function(root)
Inner callback to change the root of the model and update the internal datastructures, such as cells and nextId.
rotate: function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the current graphics object.
rotate: function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the current graphics object.
roundrect: function(x,
y,
w,
h,
dx,
dy)
Sets the current path to a rounded rectangle.
roundrect: function(x,
y,
w,
h,
dx,
dy)
Sets the current path to a rounded rectangle.
mxParallelEdgeLayout.prototype.route = function(edge,
x,
y)
Routes the given edge via the given point.
rtrim: function(str,
chars)
Strips all whitespaces from the end of the string.
mxHierarchicalLayout.prototype.run = function(parent)
The API method used to exercise the layout upon the graph description and produce a separate description of the vertex position and edge routing changes made.
Close