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