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
 reconfigure, mxShape
 rect
 rectangleIntersectsSegment, mxUtils
 RectanglePerimeter, mxPerimeter
 redirectMouseEvents, mxEvent
 redo
 redraw
 redrawBackgroundImage, mxGraphView
 redrawCellOverlays, mxCellRenderer
 redrawControl, mxCellRenderer
 redrawHandles
 redrawHtml, mxShape
 redrawHtmlShape
 redrawHtmlShapeWithCss3, mxText
 redrawIcons, mxConnectionHandler
 redrawInnerBends
 redrawLabel, mxCellRenderer
 redrawLabelShape, mxCellRenderer
 redrawPath
 redrawShape
 reduceTemperature, mxFastOrganicLayout
 reference, mxCodec
 refresh
 refreshTasks, mxEditor
 register, mxCodecRegistry
 registerShape, mxCellRenderer
 relativeCcw, mxUtils
 release, mxEvent
 releaseSvgGradients, mxShape
 remove
 removeAllListeners, mxEvent
 removeAllStylenames, mxUtils
 removeCell, mxGraphSelectionModel
 removeCellOverlay, mxGraph
 removeCellOverlays, mxGraph
 removeCells
 removeCellsAfterUngroup, mxGraph
 removeCellsFromParent, mxGraph
 removeCursors, mxUtils
 removeDragElement, mxDragSource
 removeDuplicates, mxUtils
 removeEdge, mxCell
 removeFromParent, mxCell
 removeFromTerminal, mxCell
 removeGestureListeners, mxEvent
 removeHint
 removeImageBundle, mxGraph
 removeListener
 removeListeners, mxDragSource
 removeMouseListener, mxGraph
 removePoint, mxEdgeHandler
 removeSelectionCell, mxGraph
 removeSelectionCells, mxGraph
 removeState, mxGraphView
 removeStateForCell, mxGraph
 removeStylename, mxUtils
 removeWhitespace, mxUtils
 renderPage, mxPrintPreview
 repaint
 replacePlaceholders, mxResources
 replaceTrailingNewlines, mxUtils
 repositionValid, mxCoordinateAssignment
 reset
 resetEdge, mxGraph
 resetEdges, mxGraph
 resetFirstTime, mxEditor
 resetHistory, mxEditor
 resetLivePreview, mxGraphHandler
 resetMode, mxToolbar
 resetPreviewStates, mxGraphHandler
 resetStyles
 resetTimer, mxTooltipHandler
 resetValidationState, mxGraphView
 resize
 resizeCell
 resizeCells, mxGraph
 resizeChildCells, mxGraph
 resizeHeight, mxDivResizer
 resizeSwimlane, mxSwimlaneManager
 resizeVertex, mxVertexHandler
 resizeWidth, mxDivResizer
 resolve, mxCellPath
 resolveColor, mxCellRenderer
 restore
 restoreClone, mxGraphModel
 resume, mxGraphHandler
 revalidate, mxGraphView
 revalidateState, mxCellStatePreview
 reversePortConstraints, mxUtils
 RhombusPerimeter, mxPerimeter
 rootChanged, mxGraphModel
 rotate
 rotate90, mxRectangle
 rotateCell, mxVertexHandler
 rotateClick, mxVertexHandler
 rotateLabelBounds, mxCellRenderer
 rotatePoint
 rotateVertex, mxVertexHandler
 roundAngle, mxVertexHandler
 roundLength
 roundrect
 route, mxParallelEdgeLayout
 rtrim, mxUtils
 run
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.
mxShape.prototype.reconfigure = function()
Reconfigures this shape.
mxSvgCanvas2D.prototype.rect = function(x,
y,
w,
h)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Sets the current path to a rectangle.
mxXmlCanvas2D.prototype.rect = function(x,
y,
w,
h)
Puts a rectangle into the drawing buffer.
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.
mxEdgeSegmentHandler.prototype.redraw = function()
Overridden to invoke refresh before the redraw.
mxCellRenderer.prototype.redraw = function(state,
force,
rendering)
Updates the bounds or points and scale of the shapes for the given cell state.
mxConstraintHandler.prototype.redraw = function()
Transfers the focus to the given state as a source or target terminal.
mxEdgeHandler.prototype.redraw = function(ignoreHandles)
Redraws the preview, and the bends- and label control points.
mxHandle.prototype.redraw = function()
Renders the shape for this handle.
mxImageShape.prototype.redrawHtmlShape = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxLabel.prototype.redraw = function()
Reconfigures this shape.
mxShape.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxText.prototype.redraw = function()
Renders the text using the given DOM nodes.
mxVertexHandler.prototype.redraw = function(ignoreHandles)
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,
forced)
Redraws the overlays for the given cell state.
mxCellRenderer.prototype.redrawControl = function(state,
forced)
Redraws the control for the given cell state.
mxEdgeHandler.prototype.redrawHandles = function()
Redraws the handles.
mxGraphHandler.prototype.redrawHandles = function(states)
Redraws the preview shape for the given states array.
mxVertexHandler.prototype.redrawHandles = function()
Redraws the handles.
mxShape.prototype.redrawHtmlShape = function()
Allow optimization by replacing VML with HTML.
mxLabel.prototype.redrawHtmlShape = function()
Generic background painting implementation.
mxText.prototype.redrawHtmlShape = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.redrawHtmlShapeWithCss3 = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
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,
forced)
Redraws the label for the given cell state.
mxCellRenderer.prototype.redrawLabelShape = function(shape)
Called to invoked redraw on the given text shape.
mxActor.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCloud.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCylinder.prototype.redrawPath = function(c,
x,
y,
w,
h,
isForeground)
Draws the path for this shape.
mxHexagon.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxTriangle.prototype.redrawPath = function(c,
x,
y,
w,
h)
Draws the path for this shape.
mxCellRenderer.prototype.redrawShape = function(state,
force,
rendering)
Redraws the shape for the given cell state.
mxShape.prototype.redrawShape = function()
Updates the SVG or VML shape.
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.
mxEdgeHandler.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.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.
mxShape.prototype.releaseSvgGradients = function(grads)
Paints the line shape.
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.removeCellsAfterUngroup = function(cells)
Hook to remove the groups after ungroupCells.
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.
mxDragSource.prototype.removeDragElement = function()
Removes and destroys the dragElement.
removeDuplicates: function(arr)
Removes all duplicates from the given array.
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.
removeGestureListeners: function(node,
startListener,
moveListener,
endListener)
Removes the given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
mxEdgeHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxGraphHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
mxVertexHandler.prototype.removeHint = function()
Hooks for subclassers to hide details when the handler gets inactive.
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.
mxDragSource.prototype.removeListeners = function()
Actives the given graph as a drop target.
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.
mxPrintPreview.prototype.renderPage = function(w,
h,
dx,
dy,
content,
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.
replacePlaceholders: function(value,
params)
Replaces the given placeholders with the given parameters.
replaceTrailingNewlines: function(str,
pattern)
Replaces each trailing newline with the given pattern.
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
mxAbstractCanvas2D.prototype.reset = function()
Resets the state of this canvas.
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.
mxDragSource.prototype.reset = function()
Stops and removes everything and restores the state of the object.
mxEdgeHandler.prototype.reset = function()
Resets the state of this handler.
mxGraphHandler.prototype.reset = function()
Resets the state of this handler.
mxHandle.prototype.reset = function()
Resets the state of this handle by setting its visibility to true.
mxPanningHandler.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.
mxSvgCanvas2D.prototype.reset = function()
Returns any offsets for rendering pixels.
mxTooltipHandler.prototype.reset = function(me,
restart,
state)
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.
mxGraphHandler.prototype.resetLivePreview = function()
Resets the livew preview.
mxToolbar.prototype.resetMode = function(forced)
Selects the default mode and resets the state of the previously selected mode.
mxGraphHandler.prototype.resetPreviewStates = function(states)
Resets the given preview states array.
mxShape.prototype.resetStyles = function()
Resets all styles.
mxText.prototype.resetStyles = function()
Resets all styles.
mxTooltipHandler.prototype.resetTimer = function()
Resets the timer.
mxGraphView.prototype.resetValidationState = function()
Resets the current validation state.
mxCellEditor.prototype.resize = function()
Returns modified.
mxDivResizer.prototype.resize = function()
Updates the style of the DIV after the window has been resized.
mxGraph.prototype.resizeCell = function(cell,
bounds,
recurse)
Sets the bounds of the given cell using resizeCells.
mxGraphLayout.prototype.resizeCell = function(cell,
bounds)
Notified when a cell is being resized in a parent that has automatic layout to update the other cells in the layout.
mxVertexHandler.prototype.resizeCell = function(cell,
dx,
dy,
index,
gridEnabled,
constrained,
recurse)
Uses the given vector to change the bounds of the given cell in the graph using mxGraph.resizeCell.
mxGraph.prototype.resizeCells = function(cells,
bounds,
recurse)
Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress.
mxGraph.prototype.resizeChildCells = function(cell,
newGeo)
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
Boolean specifying if the height should be updated.
mxSwimlaneManager.prototype.resizeSwimlane = function(swimlane,
w,
h,
parentHorizontal)
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.
mxVertexHandler.prototype.resizeVertex = function(me)
Risizes the vertex.
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.
mxAbstractCanvas2D.prototype.restore = function()
Restores the current state.
mxXmlCanvas2D.prototype.restore = function()
Restores the drawing state.
mxGraphModel.prototype.restoreClone = function(clone,
cell,
mapping)
Inner helper method for restoring the connections in a network of cloned cells.
mxGraphHandler.prototype.resume = function()
Suspends the livew preview.
mxGraphView.prototype.revalidate = function()
Revalidates the complete view with all cell states.
mxCellStatePreview.prototype.revalidateState = function(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.
mxAbstractCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates the current state.
mxGeometry.prototype.rotate = function(angle,
cx)
Rotates the geometry by the given angle around the given center.
mxSvgCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Sets the rotation of the canvas.
mxXmlCanvas2D.prototype.rotate = function(theta,
flipH,
flipV,
cx,
cy)
Rotates and/or flips the output around a given center.
mxRectangle.prototype.rotate90 = function()
Rotates this rectangle by 90 degree around its center point.
mxVertexHandler.prototype.rotateCell = function(cell,
angle,
parent)
Rotates the given cell and its children by the given angle in degrees.
mxVertexHandler.prototype.rotateClick = function()
Hook for subclassers to implement a single click on the rotation handle.
mxCellRenderer.prototype.rotateLabelBounds = function(state,
bounds)
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxAbstractCanvas2D.prototype.rotatePoint = function(x,
y,
theta,
cx,
cy)
Rotates the given point and returns the result as an mxPoint.
mxHandle.prototype.rotatePoint = function(pt,
alpha)
Rotates the point by the given angle.
mxVertexHandler.prototype.rotateVertex = function(me)
Rotates the vertex.
mxVertexHandler.prototype.roundAngle = function(angle)
Hook for rounding the angle.
mxEdgeHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxGraphHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled vector.
mxVertexHandler.prototype.roundLength = function(length)
Hook for rounding the unscaled width or height.
mxSvgCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Sets the current path to a rounded rectangle.
mxXmlCanvas2D.prototype.roundrect = function(x,
y,
w,
h,
dx,
dy)
Puts a rounded rectangle into the drawing buffer.
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.
mxSwimlaneLayout.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