A | |
ABSOLUTE_LINE_HEIGHT, mxConstants | |
absoluteOffset, mxCellState | |
absolutePoints, mxCellState | |
actions, mxEditor | |
Actions and Options, mxEditor | |
activate, mxWindow | |
ACTIVATE | |
add | |
ADD | |
ADD_CELLS | |
ADD_OVERLAY | |
ADD_VERTEX | |
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 | |
addEnabled | |
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 | |
AFTER_ADD_VERTEX | |
afterDecode | |
afterEncode | |
afterPaint, mxShape | |
alert, mxUtils | |
aliases, mxCodecRegistry | |
align | |
ALIGN_BOTTOM, mxConstants | |
ALIGN_CELLS | |
ALIGN_CENTER, mxConstants | |
ALIGN_LEFT, mxConstants | |
ALIGN_MIDDLE, mxConstants | |
ALIGN_RIGHT, mxConstants | |
ALIGN_TOP, mxConstants | |
alignCells, mxGraph | |
alignRanks, mxCompactTreeLayout | |
allowAutoPanning, mxGraph | |
allowDanglingEdges, mxGraph | |
allowedToRun, mxFastOrganicLayout | |
allowEval | |
allowGaps, mxStackLayout | |
allowHandleBoundsCheck | |
allowLivePreview, mxGraphHandler | |
allowLoops, mxGraph | |
allowNegativeCoordinates, mxGraph | |
alreadyConnectedResource, mxGraph | |
alt, mxImageBundle | |
alternateBounds, mxGeometry | |
alternateEdgeStyle, mxGraph | |
angleOffset, mxRadialTreeLayout | |
animateCell, mxMorphing | |
animateChanges | |
antiAlias | |
API Specification | |
appendGraph, mxPrintPreview | |
apply | |
applyValue, mxCellEditor | |
arcTo, mxAbstractCanvas2D | |
arcToCurves, mxUtils | |
arrangeGroups, mxGraphLayout | |
ARROW_BLOCK, mxConstants | |
ARROW_BLOCK_THIN, mxConstants | |
ARROW_CLASSIC, mxConstants | |
ARROW_CLASSIC_THIN, mxConstants | |
ARROW_DIAMOND, mxConstants | |
ARROW_DIAMOND_THIN, mxConstants | |
ARROW_OPEN, mxConstants | |
ARROW_OPEN_THIN, 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 | |
autoExpand, mxPopupMenu | |
autoExtend, mxGraph | |
Autolayout, mxEditor | |
autoOrigin, mxPrintPreview | |
autoRadius, mxRadialTreeLayout | |
autoSaveDelay, mxAutoSaveManager | |
autoSaveThreshold, mxAutoSaveManager | |
autoSaveThrottle, mxAutoSaveManager | |
autoscroll, mxDragSource | |
autoScroll, mxGraph | |
autoSize, mxCellEditor | |
autoSizeCell, mxGraph | |
autoSizeCells, mxGraph | |
autoSizeCellsOnAdd, mxGraph | |
avoid, mxEdgeLabelLayout |
Specifies if absolute line heights should be used (px) in CSS.
ABSOLUTE_LINE_HEIGHT: false
mxPoint that holds the absolute offset.
mxCellState.prototype.absoluteOffset
Holds an array of mxPoints that represent the absolute points of an edge.
mxCellState.prototype.absolutePoints
Maps from actionnames to actions, which are functions taking the editor and the cell as arguments.
mxEditor.prototype.actions
Puts the window on top of all other windows.
mxWindow.prototype.activate = function()
Specifies the event name for activate.
ACTIVATE: 'activate'
Adds the specified child to the parent at the given index using mxChildChange and adds the change to the current transaction.
mxGraphModel.prototype.add = function( parent, child, index )
Adds the given rectangle to this rectangle.
mxRectangle.prototype.add = function( rect )
Adds the default and current language properties file for the specified basename.
add: function( basename, lan, callback )
Adds the specified change to this edit.
mxUndoableEdit.prototype.add = function( change )
Specifies the event name for add.
ADD: 'add'
Specifies the event name for addCells.
ADD_CELLS: 'addCells'
Specifies the event name for addOverlay.
ADD_OVERLAY: 'addOverlay'
Specifies the event name for addVertex.
ADD_VERTEX: 'addVertex'
Helper method to bind an action to a new menu item.
mxDefaultPopupMenu.prototype.addAction = function( menu, editor, lab, icon, funct, action, cell, parent, iconCls, enabled )
Binds the specified actionname to the specified function.
mxEditor.prototype.addAction = function ( actionname, funct )
Helper method to invoke mxToolbar.addActionCombo on toolbar using the given title and return the resulting DOM node.
mxDefaultToolbar.prototype.addActionCombo = function( title )
Adds and returns a new SELECT element using the given title as the default element.
mxToolbar.prototype.addActionCombo = function( title, style )
Binds the given action to a option with the specified label in the given combo.
mxDefaultToolbar.prototype.addActionOption = function( combo, title, action )
Adds the built-in actions to the editor instance.
mxEditor.prototype.addActions = function ()
Adds an alias for mapping a classname to a codecname.
addAlias: function( classname, codecname )
Returns an array with the given cells and all edges that are connected to a cell or one of its descendants.
mxGraph.prototype.addAllEdges = function( cells )
Adds all ancestors of the given cell that have a layout.
mxLayoutManager.prototype.addAncestorsWithLayout = function( cell, result )
Adds a break to the container.
mxToolbar.prototype.addBreak = function()
Adds a button to the console using the given label and function.
addButton: function( lab, funct )
Helper method to add an OK and Cancel button using the respective functions.
mxForm.prototype.addButtons = function( okFunct, cancelFunct )
Adds the cell to the parent and connects it to the given source and target terminals.
mxGraph.prototype.addCell = function( cell, parent, index, source, target )
Adds the given mxCell to the selection and fires a select event.
mxGraphSelectionModel.prototype.addCell = function( cell )
Adds an mxCellOverlay for the specified cell.
mxGraph.prototype.addCellOverlay = function( cell, overlay )
Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal.
mxGraph.prototype.addCells = function( cells, parent, index, source, target, absolute )
Adds the given array of mxCells to the selection and fires a select event.
mxGraphSelectionModel.prototype.addCells = function( cells )
Adds all ancestors of the given cell that have a layout.
mxLayoutManager.prototype.addCellsWithLayout = function( cell, result )
Adds a checkbox for the given name and value and returns the textfield.
mxForm.prototype.addCheckbox = function( name, value )
Helper method to invoke mxToolbar.addCombo on toolbar and return the resulting DOM node.
mxDefaultToolbar.prototype.addCombo = function()
Adds a combo for the given name and returns the combo.
mxForm.prototype.addCombo = function( name, isMultiSelect, size )
Adds and returns a new SELECT element using the given style.
mxToolbar.prototype.addCombo = function( style )
Adds all descendants of the given cell that have a layout.
mxLayoutManager.prototype.addDescendantsWithLayout = function( cell, result )
Adds the edge to the parent and connects it to the given source and target terminals.
mxGraph.prototype.addEdge = function( edge, parent, source, target, index )
mxCellStatePreview.prototype.addEdges = function( state )
Adds the given element to elements if it has an ID.
mxCodec.prototype.addElement = function( node )
Specifies if adding bends by shift-click is enabled.
mxEdgeHandler.prototype.addEnabled
Specifies if newly added cells should be resized to match the size of their existing siblings.
mxSwimlaneManager.prototype.addEnabled
Adds a new row with the name and the input field in two columns and returns the given input.
mxForm.prototype.addField = function( name, input )
Creates a foreignObject for the given string and adds it to the given root.
mxSvgCanvas2D.prototype.addForeignObject = function( x, y, w, h, str, align, valign, wrap, format, overflow, clip, rotation, dir, div, root )
Adds the given listeners for touch, mouse and/or pointer events.
addGestureListeners: function( node, startListener, moveListener, endListener )
Adds a graph fragment to the given div.
mxPrintPreview.prototype.addGraphFragment = function( dx, dy, scale, pageNumber, div, clip )
Adds the specified mxImageBundle.
mxGraph.prototype.addImageBundle = function( bundle )
Adds a new item that executes the given action in editor.
mxDefaultToolbar.prototype.addItem = function( title, icon, action, pressed )
Adds the given item to the given parent item.
mxPopupMenu.prototype.addItem = function( title, image, funct, parent, iconCls, enabled, active, noHover )
Adds the given function as an image with the specified title and icon and returns the new image node.
mxToolbar.prototype.addItem = function( title, icon, funct, pressedIcon, style, factoryMethod )
Recursively adds the given items and all of its children into the given menu.
mxDefaultPopupMenu.prototype.addItems = function( editor, menu, cell, evt, conditions, item, parent )
Adds a horizontal line to the container.
mxToolbar.prototype.addLine = function()
Binds the function to the specified event on the given element.
addListener: function()
Binds the specified function to the given event name.
mxEventSource.prototype.addListener = function( name, funct )
Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.
addMarker: function( type, funct )
Creates an item for selecting the given mode in the editor’s graph.
mxDefaultToolbar.prototype.addMode = function( title, icon, mode, pressed, funct )
Adds a new item to the toolbar.
mxToolbar.prototype.addMode = function( title, icon, funct, pressedIcon, style, toggle )
Adds a listener to the graph event dispatch loop.
mxGraph.prototype.addMouseListener = function( listener )
Private helper function to create SVG elements
mxSvgCanvas2D.prototype.addNode = function( filled, stroked )
Adds the current node to the root.
mxVmlCanvas2D.prototype.addNode = function( filled, stroked )
Sets the decoded child node as a value of the given object.
mxObjectCodec.prototype.addObjectValue = function( obj, fieldname, value, template )
Adds the given operation to the path.
mxAbstractCanvas2D.prototype.addOp = function()
Helper method to invoke mxToolbar.addOption on toolbar and return the resulting DOM node that represents the option.
mxDefaultToolbar.prototype.addOption = function( combo, title, value )
Adds an option for the given label to the specified combo.
mxForm.prototype.addOption = function( combo, label, value, isSelected )
Adds and returns a new OPTION element inside the given SELECT element.
mxToolbar.prototype.addOption = function( combo, title, value )
Adds a page break to the given document.
mxPrintPreview.prototype.addPageBreak = function( doc )
Adds a control point for the given state and event.
mxEdgeHandler.prototype.addPoint = function( state, evt )
Adds a control point at the given point.
mxEdgeHandler.prototype.addPointAt = function( state, x, y )
Paints the given points with rounded corners.
mxShape.prototype.addPoints = function( c, pts, rounded, arcSize, close, exclude, initialMove )
Creates an item for inserting a clone of the specified prototype cell into the editor’s graph.
mxDefaultToolbar.prototype.addPrototype = function( title, icon, ptype, pressed, insert, toggle )
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCell = function( cell )
Adds the given cells to the selection.
mxGraph.prototype.addSelectionCells = function( cells )
Adds a vertical separator using the optional icon.
mxDefaultToolbar.prototype.addSeparator = function( icon )
Adds a horizontal separator in the given parent item or the top-level menu if no parent is specified.
mxPopupMenu.prototype.addSeparator = function( parent, force )
Adds the specifies image as a separator.
mxToolbar.prototype.addSeparator = function( icon )
Adds the states for the given cell recursively to the given dictionary.
mxGraphHandler.prototype.addStates = function( cell, dict )
Adds the given mxStencil.
addStencil: function( name, stencil )
Adds the specified stylename to the given style if it does not already contain the stylename.
addStylename: function( style, stylename )
Adds a new selectable item to the toolbar.
mxToolbar.prototype.addSwitchMode = function( title, icon, funct, pressedIcon, style )
Adds the specified template under the given name in templates.
mxEditor.prototype.addTemplate = function ( name, template )
Adds an input for the given name, type and value and returns it.
mxForm.prototype.addText = function( name, value, type )
Adds a textarea for the given name and value and returns the textarea.
mxForm.prototype.addTextarea = function( name, value, rows )
Background color and border
mxSvgCanvas2D.prototype.addTextBackground = function( node, str, x, y, w, h, align, valign, overflow )
Adds a transparent background to the filter of the given node.
addTransparentBackgroundFilter: function( node )
Adds the given vertex as a child of parent at the specified x and y coordinate and fires an addVertex event.
mxEditor.prototype.addVertex = function ( parent, vertex, x, y )
Adds the waypoint for the given event to waypoints.
mxConnectionHandler.prototype.addWaypointForEvent = function( me )
Adjust parent cells whose child geometries have changed.
mxCompactTreeLayout.prototype.adjustParents = function()
Specifies the event name for afterAddVertex.
AFTER_ADD_VERTEX: 'afterAddVertex'
Restores object state in the child change.
codec.afterDecode = function( dec, node, obj )
Restores the state by assigning the previous value.
codec.afterDecode = function( dec, node, obj )
Hook for subclassers to post-process the object after decoding.
mxObjectCodec.prototype.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.afterDecode = function( dec, node, obj )
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.
codec.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.
mxObjectCodec.prototype.afterEncode = function( enc, obj, node )
Invokes after paint was called.
mxShape.prototype.afterPaint = function( c )
Displayss the given alert in a new dialog.
alert: function( message )
Maps from classnames to codecnames.
aliases: []
Holds the current temporary horizontal alignment for the cell style.
mxCellEditor.prototype.align
Holds the horizontal alignment for the overlay.
mxCellOverlay.prototype.align
Constant for bottom vertical alignment.
ALIGN_BOTTOM: 'bottom'
Specifies the event name for alignCells.
ALIGN_CELLS: 'alignCells'
Constant for center horizontal alignment.
ALIGN_CENTER: 'center'
Constant for left horizontal alignment.
ALIGN_LEFT: 'left'
Constant for middle vertical alignment.
ALIGN_MIDDLE: 'middle'
Constant for right horizontal alignment.
ALIGN_RIGHT: 'right'
Constant for top vertical alignment.
ALIGN_TOP: 'top'
Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.
mxGraph.prototype.alignCells = function( align, cells, param )
Whether or not the tops of cells in each rank should be aligned across the rank
mxCompactTreeLayout.prototype.alignRanks
Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.
mxGraph.prototype.allowAutoPanning
Specifies if edges with disconnected terminals are allowed in the graph.
mxGraph.prototype.allowDanglingEdges
Boolean flag that specifies if the layout is allowed to run.
mxFastOrganicLayout.prototype.allowedToRun
Static global switch that specifies if the use of eval is allowed for evaluating text content.
mxDefaultToolbarCodec.allowEval
Specifies if string values in cell styles should be evaluated using mxUtils.eval.
mxGraphView.prototype.allowEval
Static global switch that specifies if expressions in arrays are allowed.
mxObjectCodec.allowEval
Static global switch that specifies if the use of eval is allowed for evaluating text content.
mxStylesheetCodec.allowEval
If gaps should be allowed in the stack.
mxStackLayout.prototype.allowGaps
Specifies if the bounds of handles should be used for hit-detection in IE Default is true.
mxEdgeHandler.prototype.allowHandleBoundsCheck
Specifies if the bounds of handles should be used for hit-detection in IE or if tolerance > 0.
mxVertexHandler.prototype.allowHandleBoundsCheck
If live preview is allowed on this system.
mxGraphHandler.prototype.allowLivePreview
Specifies if loops (aka self-references) are allowed.
mxGraph.prototype.allowLoops
Specifies if negative coordinates for vertices are allowed.
mxGraph.prototype.allowNegativeCoordinates
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
mxGraph.prototype.alreadyConnectedResource
Specifies if the fallback representation should be returned.
mxImageBundle.prototype.alt
Stores alternate values for x, y, width and height in a rectangle.
mxGeometry.prototype.alternateBounds
Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.
mxGraph.prototype.alternateEdgeStyle
The initial offset to compute the angle position.
mxRadialTreeLayout.prototype.angleOffset
Animates the given cell state using mxCellStatePreview.moveState.
mxMorphing.prototype.animateCell = function( cell, move, recurse )
Asynchronous animated move operation.
animateChanges: function( graph, changes, done )
See mxEffects.animateChanges.
animateChanges: function( graph, changes )
Anti-aliasing option for new shapes.
mxCellRenderer.prototype.antiAlias
Rendering hint for configuring the canvas.
mxShape.prototype.antiAlias
Adds the given graph to the existing print preview.
mxPrintPreview.prototype.appendGraph = function( graph, scale, x0, y0, forcePageBreaks, keepOpen )
mxCompactTreeLayout.prototype.apply = function( node, bounds )
Overrides mxShape.apply to replace the fill and stroke colors with the respective values from mxConstants.STYLE_IMAGE_BACKGROUND and mxConstants.STYLE_IMAGE_BORDER.
mxImageShape.prototype.apply = function( state )
Applies the style of the given mxCellState to the shape.
mxShape.prototype.apply = function( state )
Extends mxShape to update the text styles.
mxText.prototype.apply = function( state )
Called in stopEditing if cancel is false to invoke mxGraph.labelChanged.
mxCellEditor.prototype.applyValue = function( state, value )
Adds the given arc to the current path.
mxAbstractCanvas2D.prototype.arcTo = function( rx, ry, angle, largeArcFlag, sweepFlag, x, y )
Converts the given arc to a series of curves.
arcToCurves: function( x0, y0, r1, r2, angle, largeArcFlag, sweepFlag, x, y )
Shortcut to mxGraph.updateGroupBounds with moveGroup set to true.
mxGraphLayout.prototype.arrangeGroups = function( cells, border, topBorder, rightBorder, bottomBorder, leftBorder )
Constant for block arrow markers.
ARROW_BLOCK: 'block'
Constant for thin block arrow markers.
ARROW_BLOCK_THIN: 'blockThin'
Constant for classic arrow markers.
ARROW_CLASSIC: 'classic'
Constant for thin classic arrow markers.
ARROW_CLASSIC_THIN: 'classicThin'
Constant for diamond arrow markers.
ARROW_DIAMOND: 'diamond'
Constant for thin diamond arrow markers.
ARROW_DIAMOND_THIN: 'diamondThin'
Constant for open arrow markers.
ARROW_OPEN: 'open'
Constant for thin open arrow markers.
ARROW_OPEN_THIN: 'openThin'
Constant for oval arrow markers.
ARROW_OVAL: 'oval'
Defines the size of the arrowhead in the arrow shape.
ARROW_SIZE: 30
Defines the spacing between the arrow shape and its terminals.
ARROW_SPACING: 0
Defines the width of the arrow shape.
ARROW_WIDTH: 30
Specifies the resource key for the zoom dialog.
mxEditor.prototype.askZoomResource
Holds the aspect of the shape.
mxStencil.prototype.aspect
Boolean indicating if the request is asynchronous.
mxXmlRequest.prototype.async
mxCompactTreeLayout.prototype.attachParent = function( node, height )
Optional string that specifies the attributename to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxMultiplicity.prototype.attr
Augments the bounding box with the edge width and markers.
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 strokewidth and shadow offsets.
mxConnector.prototype.augmentBoundingBox = function( bbox )
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.augmentBoundingBox = function( bbox )
Specifies if submenus should be expanded on mouseover.
mxPopupMenu.prototype.autoExpand
Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.
mxGraph.prototype.autoExtend
Specifies if the origin should be automatically computed based on the top, left corner of the actual diagram contents.
mxPrintPreview.prototype.autoOrigin
Specifies if the radios should be computed automatically
mxRadialTreeLayout.prototype.autoRadius
Minimum amount of seconds between two consecutive autosaves.
mxAutoSaveManager.prototype.autoSaveDelay
Minimum amount of ignored changes before an autosave.
mxAutoSaveManager.prototype.autoSaveThreshold
Minimum amount of seconds between two consecutive autosaves triggered by more than autoSaveThreshhold changes within a timespan of less than autoSaveDelay seconds.
mxAutoSaveManager.prototype.autoSaveThrottle
Specifies if the graph should scroll automatically.
mxDragSource.prototype.autoscroll
Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.
mxGraph.prototype.autoScroll
Specifies if the textarea should be resized while the text is being edited.
mxCellEditor.prototype.autoSize
Resizes the specified cell to just fit around the its label and/or children
mxGraph.prototype.autoSizeCell = function( cell, recurse )
Specifies if the graph should automatically update the cell size after an edit.
mxGraph.prototype.autoSizeCells
Specifies if autoSize style should be applied when cells are added.
mxGraph.prototype.autoSizeCellsOnAdd
Places the labels of the given edges.
mxEdgeLabelLayout.prototype.avoid = function( edge, vertex )