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
A
 activate, mxWindow
 add
 addAction
 addActionCombo
 addActionOption, mxDefaultToolbar
 addActions, mxEditor
 addAlias, mxCodecRegistry
 addAllEdges, mxGraph
 addAncestorsWithLayout, mxLayoutManager
 addBreak, mxToolbar
 addButton, mxLog
 addButtons, mxForm
 addCell
 addCellOverlay, mxGraph
 addCells
 addCellsWithLayout, mxLayoutManager
 addCheckbox, mxForm
 addCombo
 addDescendantsWithLayout, mxLayoutManager
 addEdge, mxGraph
 addEdges, mxCellStatePreview
 addElement, mxCodec
 addField, mxForm
 addForeignObject, mxSvgCanvas2D
 addGestureListeners, mxEvent
 addGraphFragment, mxPrintPreview
 addImageBundle, mxGraph
 addItem
 addItems, mxDefaultPopupMenu
 addLine, mxToolbar
 addListener
 addMarker, mxMarker
 addMode
 addMouseListener, mxGraph
 addNode
 addObjectValue, mxObjectCodec
 addOp, mxAbstractCanvas2D
 addOption
 addPageBreak, mxPrintPreview
 addPoint, mxEdgeHandler
 addPointAt, mxEdgeHandler
 addPoints, mxShape
 addPrototype, mxDefaultToolbar
 addSelectionCell, mxGraph
 addSelectionCells, mxGraph
 addSeparator
 addStates, mxGraphHandler
 addStencil, mxStencilRegistry
 addStylename, mxUtils
 addSwitchMode, mxToolbar
 addTemplate, mxEditor
 addText, mxForm
 addTextarea, mxForm
 addTextBackground, mxSvgCanvas2D
 addTransparentBackgroundFilter, mxUtils
 addVertex, mxEditor
 addWaypoint, mxConnectionHandler
 adjustParents, mxCompactTreeLayout
 afterDecode
 afterEncode
 afterPaint, mxShape
 alert, mxUtils
 alignCells, mxGraph
 allowEval, mxStencil
 animateCell, mxMorphing
 animateChanges
 appendGraph, mxPrintPreview
 apply
 applyValue, mxCellEditor
 arcTo, mxAbstractCanvas2D
 arcToCurves, mxUtils
 arrangeGroups, mxGraphLayout
 attachParent, mxCompactTreeLayout
 augmentBoundingBox
 autoSizeCell, mxGraph
 avoid, mxEdgeLabelLayout
mxWindow.prototype.activate = function()
Puts the window on top of all other windows.
mxGraphModel.prototype.add = function(parent,
child,
index)
Adds the specified child to the parent at the given index using mxChildChange and adds the change to the current transaction.
mxRectangle.prototype.add = function(rect)
Adds the given rectangle to this rectangle.
add: function(basename,
lan,
callback)
Adds the default and current language properties file for the specified basename.
mxUndoableEdit.prototype.add = function(change)
Adds the specified change to this edit.
mxDefaultPopupMenu.prototype.addAction = function(menu,
editor,
lab,
icon,
funct,
action,
cell,
parent,
iconCls,
enabled)
Helper method to bind an action to a new menu item.
mxEditor.prototype.addAction = function (actionname,
funct)
Binds the specified actionname to the specified function.
mxDefaultToolbar.prototype.addActionCombo = function(title)
Helper method to invoke mxToolbar.addActionCombo on toolbar using the given title and return the resulting DOM node.
mxToolbar.prototype.addActionCombo = function(title,
style)
Adds and returns a new SELECT element using the given title as the default element.
mxDefaultToolbar.prototype.addActionOption = function(combo,
title,
action)
Binds the given action to a option with the specified label in the given combo.
mxEditor.prototype.addActions = function ()
Adds the built-in actions to the editor instance.
addAlias: function(classname,
codecname)
Adds an alias for mapping a classname to a codecname.
mxGraph.prototype.addAllEdges = function(cells)
Returns an array with the given cells and all edges that are connected to a cell or one of its descendants.
mxLayoutManager.prototype.addAncestorsWithLayout = function(cell,
result)
Adds all ancestors of the given cell that have a layout.
mxToolbar.prototype.addBreak = function()
Adds a break to the container.
addButton: function(lab,
funct)
Adds a button to the console using the given label and function.
mxForm.prototype.addButtons = function(okFunct,
cancelFunct)
Helper method to add an OK and Cancel button using the respective functions.
mxGraph.prototype.addCell = function(cell,
parent,
index,
source,
target)
Adds the cell to the parent and connects it to the given source and target terminals.
mxGraphSelectionModel.prototype.addCell = function(cell)
Adds the given mxCell to the selection and fires a select event.
mxGraph.prototype.addCellOverlay = function(cell,
overlay)
Adds an mxCellOverlay for the specified cell.
mxGraph.prototype.addCells = function(cells,
parent,
index,
source,
target,
absolute)
Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal.
mxGraphSelectionModel.prototype.addCells = function(cells)
Adds the given array of mxCells to the selection and fires a select event.
mxLayoutManager.prototype.addCellsWithLayout = function(cell,
result)
Adds all ancestors of the given cell that have a layout.
mxForm.prototype.addCheckbox = function(name,
value)
Adds a checkbox for the given name and value and returns the textfield.
mxDefaultToolbar.prototype.addCombo = function()
Helper method to invoke mxToolbar.addCombo on toolbar and return the resulting DOM node.
mxForm.prototype.addCombo = function(name,
isMultiSelect,
size)
Adds a combo for the given name and returns the combo.
mxToolbar.prototype.addCombo = function(style)
Adds and returns a new SELECT element using the given style.
mxLayoutManager.prototype.addDescendantsWithLayout = function(cell,
result)
Adds all descendants of the given cell that have a layout.
mxGraph.prototype.addEdge = function(edge,
parent,
source,
target,
index)
Adds the edge to the parent and connects it to the given source and target terminals.
mxCellStatePreview.prototype.addEdges = function(state)
mxCodec.prototype.addElement = function(node)
Adds the given element to elements if it has an ID.
mxForm.prototype.addField = function(name,
input)
Adds a new row with the name and the input field in two columns and returns the given input.
mxSvgCanvas2D.prototype.addForeignObject = function(x,
y,
w,
h,
str,
align,
valign,
wrap,
format,
overflow,
clip,
rotation,
dir,
div,
root)
Creates a foreignObject for the given string and adds it to the given root.
addGestureListeners: function(node,
startListener,
moveListener,
endListener)
Adds the given listeners for touch, mouse and/or pointer events.
mxPrintPreview.prototype.addGraphFragment = function(dx,
dy,
scale,
pageNumber,
div,
clip)
Adds a graph fragment to the given div.
mxGraph.prototype.addImageBundle = function(bundle)
Adds the specified mxImageBundle.
mxDefaultToolbar.prototype.addItem = function(title,
icon,
action,
pressed)
Adds a new item that executes the given action in editor.
mxPopupMenu.prototype.addItem = function(title,
image,
funct,
parent,
iconCls,
enabled,
active,
noHover)
Adds the given item to the given parent item.
mxToolbar.prototype.addItem = function(title,
icon,
funct,
pressedIcon,
style,
factoryMethod)
Adds the given function as an image with the specified title and icon and returns the new image node.
mxDefaultPopupMenu.prototype.addItems = function(editor,
menu,
cell,
evt,
conditions,
item,
parent)
Recursively adds the given items and all of its children into the given menu.
mxToolbar.prototype.addLine = function()
Adds a horizontal line to the container.
addListener: function()
Binds the function to the specified event on the given element.
mxEventSource.prototype.addListener = function(name,
funct)
Binds the specified function to the given event name.
addMarker: function(type,
funct)
Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.
mxDefaultToolbar.prototype.addMode = function(title,
icon,
mode,
pressed,
funct)
Creates an item for selecting the given mode in the editor’s graph.
mxToolbar.prototype.addMode = function(title,
icon,
funct,
pressedIcon,
style,
toggle)
Adds a new item to the toolbar.
mxGraph.prototype.addMouseListener = function(listener)
Adds a listener to the graph event dispatch loop.
mxSvgCanvas2D.prototype.addNode = function(filled,
stroked)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.addNode = function(filled,
stroked)
Adds the current node to the root.
mxObjectCodec.prototype.addObjectValue = function(obj,
fieldname,
value,
template)
Sets the decoded child node as a value of the given object.
mxAbstractCanvas2D.prototype.addOp = function()
Adds the given operation to the path.
mxDefaultToolbar.prototype.addOption = function(combo,
title,
value)
Helper method to invoke mxToolbar.addOption on toolbar and return the resulting DOM node that represents the option.
mxForm.prototype.addOption = function(combo,
label,
value,
isSelected)
Adds an option for the given label to the specified combo.
mxToolbar.prototype.addOption = function(combo,
title,
value)
Adds and returns a new OPTION element inside the given SELECT element.
mxPrintPreview.prototype.addPageBreak = function(doc)
Adds a page break to the given document.
mxEdgeHandler.prototype.addPoint = function(state,
evt)
Adds a control point for the given state and event.
mxEdgeHandler.prototype.addPointAt = function(state,
x,
y)
Adds a control point at the given point.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close,
exclude,
initialMove)
Paints the given points with rounded corners.
mxDefaultToolbar.prototype.addPrototype = function(title,
icon,
ptype,
pressed,
insert,
toggle)
Creates an item for inserting a clone of the specified prototype cell into the editor’s graph.
mxGraph.prototype.addSelectionCell = function(cell)
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCells = function(cells)
Adds the given cells to the selection.
mxDefaultToolbar.prototype.addSeparator = function(icon)
Adds a vertical separator using the optional icon.
mxPopupMenu.prototype.addSeparator = function(parent,
force)
Adds a horizontal separator in the given parent item or the top-level menu if no parent is specified.
mxToolbar.prototype.addSeparator = function(icon)
Adds the specifies image as a separator.
mxGraphHandler.prototype.addStates = function(cell,
dict)
Adds the states for the given cell recursively to the given dictionary.
addStencil: function(name,
stencil)
Adds the given mxStencil.
addStylename: function(style,
stylename)
Adds the specified stylename to the given style if it does not already contain the stylename.
mxToolbar.prototype.addSwitchMode = function(title,
icon,
funct,
pressedIcon,
style)
Adds a new selectable item to the toolbar.
mxEditor.prototype.addTemplate = function (name,
template)
Adds the specified template under the given name in templates.
mxForm.prototype.addText = function(name,
value,
type)
Adds an input for the given name, type and value and returns it.
mxForm.prototype.addTextarea = function(name,
value,
rows)
Adds a textarea for the given name and value and returns the textarea.
mxSvgCanvas2D.prototype.addTextBackground = function(node,
str,
x,
y,
w,
h,
align,
valign,
overflow)
Background color and border
addTransparentBackgroundFilter: function(node)
Adds a transparent background to the filter of the given node.
mxEditor.prototype.addVertex = function (parent,
vertex,
x,
y)
Adds the given vertex as a child of parent at the specified x and y coordinate and fires an addVertex event.
mxConnectionHandler.prototype.addWaypointForEvent = function(me)
Adds the waypoint for the given event to waypoints.
mxCompactTreeLayout.prototype.adjustParents = function()
Adjust parent cells whose child geometries have changed.
codec.afterDecode = function(dec,
node,
obj)
Restores object state in the child change.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
mxObjectCodec.prototype.afterDecode = function(dec,
node,
obj)
Hook for subclassers to post-process the object after decoding.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterEncode = function(enc,
obj,
node)
Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).
codec.afterEncode = function(enc,
obj,
node)
Encodes the child recusively and adds the result to the given node.
mxObjectCodec.prototype.afterEncode = function(enc,
obj,
node)
Hook for subclassers to post-process the node for the given object after encoding and return the post-processed node.
mxShape.prototype.afterPaint = function(c)
Invokes after paint was called.
alert: function(message)
Displayss the given alert in a new dialog.
mxGraph.prototype.alignCells = function(align,
cells,
param)
Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.
Static global switch that specifies if the use of eval is allowed for evaluating text content and images.
mxMorphing.prototype.animateCell = function(cell,
move,
recurse)
Animates the given cell state using mxCellStatePreview.moveState.
animateChanges: function(graph,
changes,
done)
Asynchronous animated move operation.
animateChanges: function(graph,
changes)
See mxEffects.animateChanges.
mxPrintPreview.prototype.appendGraph = function(graph,
scale,
x0,
y0,
forcePageBreaks,
keepOpen)
Adds the given graph to the existing print preview.
mxCompactTreeLayout.prototype.apply = function(node,
bounds)
mxImageShape.prototype.apply = function(state)
Overrides mxShape.apply to replace the fill and stroke colors with the respective values from mxConstants.STYLE_IMAGE_BACKGROUND and mxConstants.STYLE_IMAGE_BORDER.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxText.prototype.apply = function(state)
Extends mxShape to update the text styles.
mxCellEditor.prototype.applyValue = function(state,
value)
Called in stopEditing if cancel is false to invoke mxGraph.labelChanged.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Converts the given arc to a series of curves.
mxGraphLayout.prototype.arrangeGroups = function(cells,
border,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Shortcut to mxGraph.updateGroupBounds with moveGroup set to true.
mxCompactTreeLayout.prototype.attachParent = function(node,
height)
mxArrow.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxArrowConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxGraph.prototype.autoSizeCell = function(cell,
recurse)
Resizes the specified cell to just fit around the its label and/or children
mxEdgeLabelLayout.prototype.avoid = function(edge,
vertex)
Places the labels of the given edges.
Close