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
 absoluteOffset, mxCellState
 absolutePoints, mxCellState
 actions, mxEditor
 Actions and Options, mxEditor
 activate, mxWindow
 ACTIVATE, mxEvent
 add
 ADD
 ADD_CELLS
 ADD_OVERLAY
 ADD_VERTEX
 addAction
 addActionCombo, mxDefaultToolbar
 addActionOption, mxDefaultToolbar
 addActions, mxEditor
 addAlias, mxCodecRegistry
 addAllEdges, mxGraph
 addBreak, mxToolbar
 addButton, mxLog
 addButtons, mxForm
 addCell
 addCellOverlay, mxGraph
 addCells
 addCheckbox, mxForm
 addCombo
 addEdge, mxGraph
 addEdges, mxCellStatePreview
 addEnabled
 addField, mxForm
 addImageBundle, mxGraph
 addItem
 addItems, mxDefaultPopupMenu
 addLine, mxToolbar
 addListener
 addMode
 addMouseListener, mxGraph
 addObjectValue, mxObjectCodec
 addOption
 addPath, mxPath
 addPipe
 addPoint, mxEdgeHandler
 addPrototype, mxDefaultToolbar
 addSelectionCell, mxGraph
 addSelectionCells, mxGraph
 addSeparator
 addStencil, mxStencilRegistry
 addStylename, mxUtils
 addSwitchMode, mxToolbar
 addTemplate, mxEditor
 addText, mxForm
 addTextarea, mxForm
 addVertex, mxEditor
 addWaypoint, mxConnectionHandler
 adjustParents, mxCompactTreeLayout
 AFTER_ADD_VERTEX
 afterDecode
 afterEncode
 alert, mxUtils
 aliases, mxCodecRegistry
 align, mxCellOverlay
 ALIGN_BOTTOM, mxConstants
 ALIGN_CELLS
 ALIGN_CENTER, mxConstants
 ALIGN_LEFT, mxConstants
 ALIGN_MIDDLE, mxConstants
 ALIGN_RIGHT, mxConstants
 ALIGN_TOP, mxConstants
 alignCells, mxGraph
 allowAutoPanning, mxGraph
 allowCrispMarkers, mxConnector
 allowDanglingEdges, mxGraph
 allowedToRun, mxFastOrganicLayout
 allowEval, mxGraphView
 allowHandleBoundsCheck
 allowLoops, mxGraph
 allowNegativeCoordinates, mxGraph
 alreadyConnectedResource, mxGraph
 alt, mxImageBundle
 alternateBounds, mxGeometry
 alternateEdgeStyle, mxGraph
 animateCell, mxMorphing
 animateChanges
 API Specification
 apply
 arcToCurves, mxUtils
 ARROW_BLOCK, mxConstants
 ARROW_CLASSIC, mxConstants
 ARROW_DIAMOND, mxConstants
 ARROW_OPEN, mxConstants
 ARROW_OVAL, mxConstants
 ARROW_SIZE, mxConstants
 ARROW_SPACING, mxConstants
 ARROW_WIDTH, mxConstants
 askZoomResource, mxEditor
 aspect, mxStencil
 async, mxXmlRequest
 attachParent, mxCompactTreeLayout
 attr, mxMultiplicity
 Attribute Cycling, mxEditor
 augmentBoundingBox, mxShape
 autoAntiAlias, mxSvgCanvas2D
 autoExpand, mxPopupMenu
 autoExtend, mxGraph
 Autolayout, mxEditor
 autoOrigin, mxPrintPreview
 autoSaveDelay, mxAutoSaveManager
 autoSaveThreshold, mxAutoSaveManager
 autoSaveThrottle, mxAutoSaveManager
 autoscroll, mxDragSource
 autoScroll, mxGraph
 autoSizeCells, mxGraph
 avoid, mxEdgeLabelLayout
mxCellState.prototype.absoluteOffset
mxPoint that holds the absolute offset.
mxCellState.prototype.absolutePoints
Holds an array of mxPoints that represent the absolute points of an edge.
mxEditor.prototype.actions
Maps from actionnames to actions, which are functions taking the editor and the cell as arguments.
mxWindow.prototype.activate = function()
Puts the window on top of all other windows.
Specifies the event name for activate.
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)
Adds the default and current language properties file for the specified basename.
mxUndoableEdit.prototype.add = function(change)
Adds the specified change to this edit.
Specifies the event name for add.
Fires after an undoable edit was added to the history.
Specifies the event name for addCells.
Fires between begin- and endUpdate in addCells.
Specifies the event name for addOverlay.
Fires after an overlay is added in addCellOverlay.
Fires between begin- and endUpdate in addVertex.
Specifies the event name for addVertex.
mxDefaultPopupMenu.prototype.addAction = function(menu,
editor,
lab,
icon,
funct,
action,
cell,
parent,
iconCls)
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.
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.
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)
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.
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.
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)
mxEdgeHandler.prototype.addEnabled
Specifies if adding bends by shift-click is enabled.
mxSwimlaneManager.prototype.addEnabled
Specifies if newly added cells should be resized to match the size of their existing siblings.
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.
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)
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.
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.
mxObjectCodec.prototype.addObjectValue = function(obj,
fieldname,
value,
template)
Sets the decoded child node as a value of the given object.
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.
mxPath.prototype.addPath = function(path)
Adds the given path.
mxArrow.prototype.addPipe
Specifies if a SVG path should be created around any path to increase the tolerance for mouse events.
mxConnector.prototype.addPipe
Specifies if a SVG path should be created around any path to increase the tolerance for mouse events.
mxCylinder.prototype.addPipe
Specifies if a SVG path should be created around the background for better hit detection.
mxPolyline.prototype.addPipe
Specifies if a SVG path should be created around any path to increase the tolerance for mouse events.
mxEdgeHandler.prototype.addPoint = function(state,
evt)
Adds a control point for the given state and event.
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.
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)
Adds a textfield for the given name and value and returns the textfield.
mxForm.prototype.addTextarea = function(name,
value,
rows)
Adds a textarea for the given name and value and returns the textarea.
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.
Fires after a vertex was inserted and selected in addVertex.
Specifies the event name for afterAddVertex.
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.
alert: function(message)
Displayss the given alert in a new dialog.
Maps from classnames to codecnames.
mxCellOverlay.prototype.align
Holds the horizontal alignment for the overlay.
Constant for bottom vertical alignment.
Specifies the event name for alignCells.
Fires between begin- and endUpdate in alignCells.
Constant for center horizontal alignment.
Constant for left horizontal alignment.
Constant for middle vertical alignment.
Constant for right horizontal alignment.
Constant for top vertical alignment.
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.
mxGraph.prototype.allowAutoPanning
Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.
mxConnector.prototype.allowCrispMarkers
Specifies if mxShape.crisp should be allowed for markers.
mxGraph.prototype.allowDanglingEdges
Specifies if edges with disconnected terminals are allowed in the graph.
mxFastOrganicLayout.prototype.allowedToRun
Boolean flag that specifies if the layout is allowed to run.
mxGraphView.prototype.allowEval
Specifies if string values in cell styles should be evaluated using mxUtils.eval.
mxEdgeHandler.prototype.allowHandleBoundsCheck
Specifies if the bounds of handles should be used for hit-detection in IE Default is true.
mxVertexHandler.prototype.allowHandleBoundsCheck
Specifies if the bounds of handles should be used for hit-detection in IE Default is true.
mxGraph.prototype.allowLoops
Specifies if loops (aka self-references) are allowed.
mxGraph.prototype.allowNegativeCoordinates
Specifies if negative coordinates for vertices are allowed.
mxGraph.prototype.alreadyConnectedResource
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
Specifies if the fallback representation should be returned.
mxGeometry.prototype.alternateBounds
Stores alternate values for x, y, width and height in a rectangle.
mxGraph.prototype.alternateEdgeStyle
Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.
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.
This JavaScript library is divided into 8 packages.
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.
mxStencilShape.prototype.apply = function(state)
Extends mxShape apply to keep a reference to the mxCellState.
arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Converts the given arc to a series of curves.
Constant for block arrow markers.
Constant for classic arrow markers.
Constant for diamond arrow markers.
Constant for open arrow markers.
Constant for oval arrow markers.
Defines the size of the arrowhead in the arrow shape.
Defines the spacing between the arrow shape and its terminals.
Defines the width of the arrow shape.
mxEditor.prototype.askZoomResource
Specifies the resource key for the zoom dialog.
mxStencil.prototype.aspect
Holds the aspect of the shape.
mxXmlRequest.prototype.async
Boolean indicating if the request is asynchronous.
mxCompactTreeLayout.prototype.attachParent = function(node,
height)
mxMultiplicity.prototype.attr
Optional string that specifies the attributename to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
var autoAntiAlias
Specifies if anti aliasing should be disabled for rectangles and orthogonal paths.
mxPopupMenu.prototype.autoExpand
Specifies if submenus should be expanded on mouseover.
mxGraph.prototype.autoExtend
Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.
mxPrintPreview.prototype.autoOrigin
Specifies if the origin should be automatically computed based on the top, left corner of the actual diagram contents.
mxAutoSaveManager.prototype.autoSaveDelay
Minimum amount of seconds between two consecutive autosaves.
mxAutoSaveManager.prototype.autoSaveThreshold
Minimum amount of ignored changes before an autosave.
mxAutoSaveManager.prototype.autoSaveThrottle
Minimum amount of seconds between two consecutive autosaves triggered by more than autoSaveThreshhold changes within a timespan of less than autoSaveDelay seconds.
mxDragSource.prototype.autoscroll
Specifies if the graph should scroll automatically.
mxGraph.prototype.autoScroll
Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.
mxGraph.prototype.autoSizeCells
Specifies if the graph should automatically update the cell size after an edit.
mxEdgeLabelLayout.prototype.avoid = function(edge,
vertex)
Places the labels of the given edges.
Close