diff --git a/.npmignore b/.npmignore index 3b5050632..f9b44789b 100644 --- a/.npmignore +++ b/.npmignore @@ -15,10 +15,10 @@ index.html java/ javascript/debug/ javascript/devel/ -javascript/examples/* +javascript/examples/ javascript/index.html -javascript/src/ +javascript/src/js/ mxgraph-dotnet.*suo php/ pom.xml -target \ No newline at end of file +target diff --git a/ChangeLog b/ChangeLog index 0c49e4fa6..645260fdf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +22-JUN-2018: 3.9.7 + +- Adds mxCylinder.getCylinderSize +- Adds mxConstants.STYLE_ANCHOR_POINT_DIRECTION +- Fixes mxGraphicsCanvas2D rotated text with HTML_SCALE [Java] +- Adds webkit-print-color-adjust in mxPrintPreview +- Adds mxConstants.STYLE_BACKGROUND_OUTLINE + 31-MAY-2018: 3.9.6 - Adds mxConnectionHandler.isCellEnabled diff --git a/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html b/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html index 96e606216..82c80f752 100644 --- a/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html +++ b/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html @@ -1,6 +1,6 @@ -
Contains the current version of the mxGraph library.
VERSION: '3.9.6'
Dispatches the given event to the listeners which are registered for the event.
mxEventSource.prototype.fireEvent = function( evt, sender )
Binds the specified function to the given event name.
mxEventSource.prototype.addListener = function( name, funct )
Removes all occurrences of the given listener from eventListeners.
mxEventSource.prototype.removeListener = function( funct )
Dispatches the given event in the graph event dispatch loop.
mxGraph.prototype.fireMouseEvent = function( evtName, me, sender )
Adds a listener to the graph event dispatch loop.
mxGraph.prototype.addMouseListener = function( listener )
Removes the specified graph listener.
mxGraph.prototype.removeMouseListener = function( listener )
Dynamically adds a script node to the document header.
include: function( src )
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
eval: function( expr )
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraph.prototype.setCellWarning = function( cell, warning, img, isSelect )
Specifies the mxImage for the image to be used to display a warning overlay.
mxGraph.prototype.warningImage
Contains the current version of the mxGraph library.
VERSION: '3.9.7'
Dispatches the given event to the listeners which are registered for the event.
mxEventSource.prototype.fireEvent = function( evt, sender )
Binds the specified function to the given event name.
mxEventSource.prototype.addListener = function( name, funct )
Removes all occurrences of the given listener from eventListeners.
mxEventSource.prototype.removeListener = function( funct )
Dispatches the given event in the graph event dispatch loop.
mxGraph.prototype.fireMouseEvent = function( evtName, me, sender )
Adds a listener to the graph event dispatch loop.
mxGraph.prototype.addMouseListener = function( listener )
Removes the specified graph listener.
mxGraph.prototype.removeMouseListener = function( listener )
Dynamically adds a script node to the document header.
include: function( src )
Evaluates the given expression using eval and returns the JavaScript object that represents the expression result.
eval: function( expr )
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraph.prototype.setCellWarning = function( cell, warning, img, isSelect )
Specifies the mxImage for the image to be used to display a warning overlay.
mxGraph.prototype.warningImage
IS_IE: navigator.userAgent.indexOf( 'MSIE' ) >
True if the current browser is Internet Explorer 10 or below. Use mxClient.IS_IE11 to detect IE 11.
Contains the current version of the mxGraph library.
VERSION: '3.9.6'
True if the current browser is Internet Explorer 10 or below.
IS_IE: navigator.userAgent.indexOf( 'MSIE' ) >
True if the current browser is Internet Explorer 6.x.
IS_IE6: navigator.userAgent.indexOf( 'MSIE 6' ) >
True if the current browser is Internet Explorer 11.x.
IS_IE11: !!navigator.userAgent.match( /Trident\/7\./ )
True if the current browser is Microsoft Edge.
IS_EDGE: !!navigator.userAgent.match( /Edge\// )
True if the current browser is Internet Explorer and it is in quirks mode.
IS_QUIRKS: navigator.userAgent.indexOf( 'MSIE' ) >
True if the browser is IE11 in enterprise mode (IE8 standards mode).
IS_EM: 'spellcheck' in document.createElement( 'textarea' ) && document.documentMode
Prefix for VML namespace in node names.
VML_PREFIX: 'v'
Prefix for VML office namespace in node names.
OFFICE_PREFIX: 'o'
True if the current browser is Netscape (including Firefox).
IS_NS: navigator.userAgent.indexOf( 'Mozilla/' ) >
True if the current browser is Opera.
IS_OP: navigator.userAgent.indexOf( 'Opera/' ) >
True if -o-transform is available as a CSS style, ie for Opera browsers based on a Presto engine with version 2.5 or later.
IS_OT: navigator.userAgent.indexOf( 'Presto/' ) >
True if the current browser is Safari.
IS_SF: navigator.userAgent.indexOf( 'AppleWebKit/' ) >
Returns true if the user agent is an iPad, iPhone or iPod.
IS_IOS: ( navigator.userAgent.match(/(iPad|iPhone|iPod)/g) ? true : false )
True if the current browser is Google Chrome.
IS_GC: navigator.userAgent.indexOf( 'Chrome/' ) >
True if the this is running inside a Chrome App.
IS_CHROMEAPP: window.chrome !
True if the current browser is Firefox.
IS_FF: navigator.userAgent.indexOf( 'Firefox/' ) >
True if the browser supports SVG.
IS_SVG: navigator.userAgent.indexOf( 'Firefox/' ) >
True if foreignObject support is not available.
NO_FO: !document.createElementNS || document.createElementNS( 'http://www.w3.org/2000/svg', 'foreignObject' ) !
True if the browser supports VML.
IS_VML: navigator.appName.toUpperCase()
True if the client is a Windows.
IS_WIN: navigator.appVersion.indexOf( 'Win' ) > 0
True if the client is a Mac.
IS_MAC: navigator.appVersion.indexOf( 'Mac' ) > 0
True if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).
IS_TOUCH: 'ontouchstart' in document.documentElement
True if this device supports Microsoft pointer events (always false on Macs).
IS_POINTER: window.PointerEvent !
Contains the base names of the default bundles if mxLoadResources is false.
defaultBundles: []
Returns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.
isBrowserSupported: function()
Adds a link node to the head of the document.
link: function( rel, href, doc )
Helper method to load the default bundles if mxLoadResources is false.
loadResources: function( fn, lan )
Dynamically adds a script node to the document header.
include: function( src )
Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.
dispose: function()
Adds the default and current language properties file for the specified basename.
add: function( basename, lan, callback )
Hook for subclassers to return the URL for the special bundle.
getSpecialBundle: function( basename, lan )
Specifies the resource key for the zoom dialog.
mxEditor.prototype.askZoomResource
Specifies the resource key for the last saved info.
mxEditor.prototype.lastSavedResource
Specifies the resource key for the current file info.
mxEditor.prototype.currentFileResource
Specifies the resource key for the properties window title.
mxEditor.prototype.propertiesResource
Specifies the resource key for the tasks window title.
mxEditor.prototype.tasksResource
Specifies the resource key for the help window title.
mxEditor.prototype.helpResource
Specifies the resource key for the outline window title.
mxEditor.prototype.outlineResource
Specifies the resource key for the tooltip to be displayed on the single control point for routed edges.
mxElbowEdgeHandler.prototype.doubleClickOrientationResource
Specifies the resource key for the title of the error window.
errorResource: ( mxClient. language ! = 'none' ) ? 'error' : ''
Specifies the resource key for the label of the close button.
closeResource: ( mxClient. language ! = 'none' ) ? 'close' : ''
Specifies the resource key for the status message after a long operation.
mxGraphSelectionModel.prototype.doneResource
Specifies the resource key for the status message while the selection is being updated.
mxGraphSelectionModel.prototype.updatingSelectionResource
Specifies the resource key for the status message after a long operation.
mxGraphView.prototype.doneResource
Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.
mxGraph.prototype.containsValidationErrorsResource
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
mxGraph.prototype.alreadyConnectedResource
Hook for subclassers to disable support for a given language.
isLanguageSupported: function( lan )
Contains the current version of the mxGraph library.
VERSION: '3.9.7'
True if the current browser is Internet Explorer 10 or below.
IS_IE: navigator.userAgent.indexOf( 'MSIE' ) >
True if the current browser is Internet Explorer 6.x.
IS_IE6: navigator.userAgent.indexOf( 'MSIE 6' ) >
True if the current browser is Internet Explorer 11.x.
IS_IE11: !!navigator.userAgent.match( /Trident\/7\./ )
True if the current browser is Microsoft Edge.
IS_EDGE: !!navigator.userAgent.match( /Edge\// )
True if the current browser is Internet Explorer and it is in quirks mode.
IS_QUIRKS: navigator.userAgent.indexOf( 'MSIE' ) >
True if the browser is IE11 in enterprise mode (IE8 standards mode).
IS_EM: 'spellcheck' in document.createElement( 'textarea' ) && document.documentMode
Prefix for VML namespace in node names.
VML_PREFIX: 'v'
Prefix for VML office namespace in node names.
OFFICE_PREFIX: 'o'
True if the current browser is Netscape (including Firefox).
IS_NS: navigator.userAgent.indexOf( 'Mozilla/' ) >
True if the current browser is Opera.
IS_OP: navigator.userAgent.indexOf( 'Opera/' ) >
True if -o-transform is available as a CSS style, ie for Opera browsers based on a Presto engine with version 2.5 or later.
IS_OT: navigator.userAgent.indexOf( 'Presto/' ) >
True if the current browser is Safari.
IS_SF: navigator.userAgent.indexOf( 'AppleWebKit/' ) >
Returns true if the user agent is an iPad, iPhone or iPod.
IS_IOS: ( navigator.userAgent.match(/(iPad|iPhone|iPod)/g) ? true : false )
True if the current browser is Google Chrome.
IS_GC: navigator.userAgent.indexOf( 'Chrome/' ) >
True if the this is running inside a Chrome App.
IS_CHROMEAPP: window.chrome !
True if the current browser is Firefox.
IS_FF: navigator.userAgent.indexOf( 'Firefox/' ) >
True if the browser supports SVG.
IS_SVG: navigator.userAgent.indexOf( 'Firefox/' ) >
True if foreignObject support is not available.
NO_FO: !document.createElementNS || document.createElementNS( 'http://www.w3.org/2000/svg', 'foreignObject' ) !
True if the browser supports VML.
IS_VML: navigator.appName.toUpperCase()
True if the client is a Windows.
IS_WIN: navigator.appVersion.indexOf( 'Win' ) > 0
True if the client is a Mac.
IS_MAC: navigator.appVersion.indexOf( 'Mac' ) > 0
True if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).
IS_TOUCH: 'ontouchstart' in document.documentElement
True if this device supports Microsoft pointer events (always false on Macs).
IS_POINTER: window.PointerEvent !
Contains the base names of the default bundles if mxLoadResources is false.
defaultBundles: []
Returns true if the current browser is supported, that is, if mxClient.IS_VML or mxClient.IS_SVG is true.
isBrowserSupported: function()
Adds a link node to the head of the document.
link: function( rel, href, doc )
Helper method to load the default bundles if mxLoadResources is false.
loadResources: function( fn, lan )
Dynamically adds a script node to the document header.
include: function( src )
Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.
dispose: function()
Adds the default and current language properties file for the specified basename.
add: function( basename, lan, callback )
Hook for subclassers to return the URL for the special bundle.
getSpecialBundle: function( basename, lan )
Specifies the resource key for the zoom dialog.
mxEditor.prototype.askZoomResource
Specifies the resource key for the last saved info.
mxEditor.prototype.lastSavedResource
Specifies the resource key for the current file info.
mxEditor.prototype.currentFileResource
Specifies the resource key for the properties window title.
mxEditor.prototype.propertiesResource
Specifies the resource key for the tasks window title.
mxEditor.prototype.tasksResource
Specifies the resource key for the help window title.
mxEditor.prototype.helpResource
Specifies the resource key for the outline window title.
mxEditor.prototype.outlineResource
Specifies the resource key for the tooltip to be displayed on the single control point for routed edges.
mxElbowEdgeHandler.prototype.doubleClickOrientationResource
Specifies the resource key for the title of the error window.
errorResource: ( mxClient. language ! = 'none' ) ? 'error' : ''
Specifies the resource key for the label of the close button.
closeResource: ( mxClient. language ! = 'none' ) ? 'close' : ''
Specifies the resource key for the status message after a long operation.
mxGraphSelectionModel.prototype.doneResource
Specifies the resource key for the status message while the selection is being updated.
mxGraphSelectionModel.prototype.updatingSelectionResource
Specifies the resource key for the status message after a long operation.
mxGraphView.prototype.doneResource
Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.
mxGraph.prototype.containsValidationErrorsResource
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
mxGraph.prototype.alreadyConnectedResource
Hook for subclassers to disable support for a given language.
isLanguageSupported: function( lan )
Extends mxShape to implement an cylinder shape. If a custom shape with one filled area and an overlay path is needed, then this shape’s redrawPath should be overridden. This shape is registered under mxConstants.SHAPE_CYLINDER in mxCellRenderer.
mxCylinder | Extends mxShape to implement an cylinder shape. |
Functions | |
mxCylinder | Constructs a new cylinder shape. |
Variables | |
maxHeight | Defines the maximum height of the top and bottom part of the cylinder shape. |
svgStrokeTolerance | Sets stroke tolerance to 0 for SVG. |
Functions | |
paintVertexShape | Redirects to redrawPath for subclasses to work. |
redrawPath | Draws the path for this shape. |
Extends mxShape to implement an cylinder shape. If a custom shape with one filled area and an overlay path is needed, then this shape’s redrawPath should be overridden. This shape is registered under mxConstants.SHAPE_CYLINDER in mxCellRenderer.
mxCylinder | Extends mxShape to implement an cylinder shape. |
Functions | |
mxCylinder | Constructs a new cylinder shape. |
Variables | |
maxHeight | Defines the maximum height of the top and bottom part of the cylinder shape. |
svgStrokeTolerance | Sets stroke tolerance to 0 for SVG. |
Functions | |
paintVertexShape | Redirects to redrawPath for subclasses to work. |
redrawPath | Draws the path for this shape. |
redrawPath | Draws the path for this shape. |
mxStencil.prototype.computeAspect = function( shape, x, y, w, h, direction )
Returns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given mxRectangle.
shape | mxShape to be drawn. |
bounds | mxRectangle that should contain the stencil. |
direction | Optional direction of the shape to be darwn. |
Constructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.
function mxStencil( desc )
Holds the XML node with the stencil description.
mxStencil.prototype.desc
Reads w0, h0, aspect, bgNodes and fgNodes from desc.
mxStencil.prototype.parseDescription = function()
Reads the constraints from desc into constraints using parseConstraint.
mxStencil.prototype.parseConstraints = function()
Static global variable that specifies the default value for the localized attribute of the text element.
mxStencil.defaultLocalized
Holds an array of mxConnectionConstraints as defined in the shape.
mxStencil.prototype.constraints
Holds the aspect of the shape.
mxStencil.prototype.aspect
Holds the width of the shape.
mxStencil.prototype.w0
Holds the height of the shape.
mxStencil.prototype.h0
Holds the strokewidth direction from the description.
mxStencil.prototype.strokewidth
Parses the given XML node and returns its mxConnectionConstraint.
mxStencil.prototype.parseConstraint = function( node )
Gets the given attribute as a text.
mxStencil.prototype.evaluateTextAttribute = function( node, attribute, shape )
Gets the attribute for the given name from the given node.
mxStencil.prototype.evaluateAttribute = function( node, attribute, shape )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawShape = function( canvas, shape, x, y, w, h )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawChildren = function( canvas, shape, x, y, w, h, node, aspect, disableShadow )
Returns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given mxRectangle.
mxStencil.prototype.computeAspect = function( shape, x, y, w, h, direction )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawNode = function( canvas, shape, node, aspect, disableShadow )
Returns the value for the specified resource key.
get: function( key, params, defaultValue )
Constructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.
function mxStencil( desc )
Holds the XML node with the stencil description.
mxStencil.prototype.desc
Reads w0, h0, aspect, bgNodes and fgNodes from desc.
mxStencil.prototype.parseDescription = function()
Reads the constraints from desc into constraints using parseConstraint.
mxStencil.prototype.parseConstraints = function()
Static global variable that specifies the default value for the localized attribute of the text element.
mxStencil.defaultLocalized
Holds an array of mxConnectionConstraints as defined in the shape.
mxStencil.prototype.constraints
Holds the aspect of the shape.
mxStencil.prototype.aspect
Holds the width of the shape.
mxStencil.prototype.w0
Holds the height of the shape.
mxStencil.prototype.h0
Holds the strokewidth direction from the description.
mxStencil.prototype.strokewidth
Parses the given XML node and returns its mxConnectionConstraint.
mxStencil.prototype.parseConstraint = function( node )
Gets the given attribute as a text.
mxStencil.prototype.evaluateTextAttribute = function( node, attribute, shape )
Gets the attribute for the given name from the given node.
mxStencil.prototype.evaluateAttribute = function( node, attribute, shape )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawShape = function( canvas, shape, x, y, w, h )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawChildren = function( canvas, shape, x, y, w, h, node, aspect, disableShadow, paint )
Returns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given mxRectangle.
mxStencil.prototype.computeAspect = function( shape, x, y, w, h, direction )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawNode = function( canvas, shape, node, aspect, disableShadow, paint )
Returns the value for the specified resource key.
get: function( key, params, defaultValue )
Defines various global constants.
mxConstants | Defines various global constants. |
Variables | |
DEFAULT_HOTSPOT | Defines the portion of the cell which is to be used as a connectable region. |
MIN_HOTSPOT_SIZE | Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region. |
MAX_HOTSPOT_SIZE | Defines the maximum size in pixels of the portion of the cell which is to be used as a connectable region. |
RENDERING_HINT_EXACT | Defines the exact rendering hint. |
RENDERING_HINT_FASTER | Defines the faster rendering hint. |
RENDERING_HINT_FASTEST | Defines the fastest rendering hint. |
DIALECT_SVG | Defines the SVG display dialect name. |
DIALECT_VML | Defines the VML display dialect name. |
DIALECT_MIXEDHTML | Defines the mixed HTML display dialect name. |
DIALECT_PREFERHTML | Defines the preferred HTML display dialect name. |
DIALECT_STRICTHTML | Defines the strict HTML display dialect. |
NS_SVG | Defines the SVG namespace. |
NS_XHTML | Defines the XHTML namespace. |
NS_XLINK | Defines the XLink namespace. |
SHADOWCOLOR | Defines the color to be used to draw shadows in shapes and windows. |
VML_SHADOWCOLOR | Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer). |
SHADOW_OFFSET_X | Specifies the x-offset of the shadow. |
SHADOW_OFFSET_Y | Specifies the y-offset of the shadow. |
SHADOW_OPACITY | Defines the opacity for shadows. |
NODETYPE_ELEMENT | DOM node of type ELEMENT. |
NODETYPE_ATTRIBUTE | DOM node of type ATTRIBUTE. |
NODETYPE_TEXT | DOM node of type TEXT. |
NODETYPE_CDATA | DOM node of type CDATA. |
NODETYPE_ENTITY_REFERENCE | DOM node of type ENTITY_REFERENCE. |
NODETYPE_ENTITY | DOM node of type ENTITY. |
NODETYPE_PROCESSING_INSTRUCTION | DOM node of type PROCESSING_INSTRUCTION. |
NODETYPE_COMMENT | DOM node of type COMMENT. |
NODETYPE_DOCUMENT | DOM node of type DOCUMENT. |
NODETYPE_DOCUMENTTYPE | DOM node of type DOCUMENTTYPE. |
NODETYPE_DOCUMENT_FRAGMENT | DOM node of type DOCUMENT_FRAGMENT. |
NODETYPE_NOTATION | DOM node of type NOTATION. |
TOOLTIP_VERTICAL_OFFSET | Defines the vertical offset for the tooltip. |
DEFAULT_VALID_COLOR | Specifies the default valid color. |
DEFAULT_INVALID_COLOR | Specifies the default invalid color. |
OUTLINE_HIGHLIGHT_COLOR | Specifies the default highlight color for shape outlines. |
OUTLINE_HIGHLIGHT_COLOR | Defines the strokewidth to be used for shape outlines. |
HIGHLIGHT_STROKEWIDTH | Defines the strokewidth to be used for the highlights. |
CONSTRAINT_HIGHLIGHT_SIZE | Size of the constraint highlight (in px). |
HIGHLIGHT_OPACITY | Opacity (in %) used for the highlights (including outline). |
CURSOR_MOVABLE_VERTEX | Defines the cursor for a movable vertex. |
CURSOR_MOVABLE_EDGE | Defines the cursor for a movable edge. |
CURSOR_LABEL_HANDLE | Defines the cursor for a movable label. |
CURSOR_TERMINAL_HANDLE | Defines the cursor for a terminal handle. |
CURSOR_BEND_HANDLE | Defines the cursor for a movable bend. |
CURSOR_VIRTUAL_BEND_HANDLE | Defines the cursor for a movable bend. |
CURSOR_CONNECT | Defines the cursor for a connectable state. |
HIGHLIGHT_COLOR | Defines the color to be used for the cell highlighting. |
TARGET_HIGHLIGHT_COLOR | Defines the color to be used for highlighting a target cell for a new or changed connection. |
INVALID_CONNECT_TARGET_COLOR | Defines the color to be used for highlighting a invalid target cells for a new or changed connections. |
DROP_TARGET_COLOR | Defines the color to be used for the highlighting target parent cells (for drag and drop). |
VALID_COLOR | Defines the color to be used for the coloring valid connection previews. |
INVALID_COLOR | Defines the color to be used for the coloring invalid connection previews. |
EDGE_SELECTION_COLOR | Defines the color to be used for the selection border of edges. |
VERTEX_SELECTION_COLOR | Defines the color to be used for the selection border of vertices. |
VERTEX_SELECTION_STROKEWIDTH | Defines the strokewidth to be used for vertex selections. |
EDGE_SELECTION_STROKEWIDTH | Defines the strokewidth to be used for edge selections. |
SELECTION_DASHED | Defines the dashed state to be used for the vertex selection border. |
SELECTION_DASHED | Defines the dashed state to be used for the edge selection border. |
GUIDE_COLOR | Defines the color to be used for the guidelines in mxGraphHandler. |
GUIDE_STROKEWIDTH | Defines the strokewidth to be used for the guidelines in mxGraphHandler. |
OUTLINE_COLOR | Defines the color to be used for the outline rectangle border. |
OUTLINE_STROKEWIDTH | Defines the strokewidth to be used for the outline rectangle stroke width. |
HANDLE_SIZE | Defines the default size for handles. |
LABEL_HANDLE_SIZE | Defines the default size for label handles. |
HANDLE_FILLCOLOR | Defines the color to be used for the handle fill color. |
HANDLE_STROKECOLOR | Defines the color to be used for the handle stroke color. |
LABEL_HANDLE_FILLCOLOR | Defines the color to be used for the label handle fill color. |
CONNECT_HANDLE_FILLCOLOR | Defines the color to be used for the connect handle fill color. |
LOCKED_HANDLE_FILLCOLOR | Defines the color to be used for the locked handle fill color. |
OUTLINE_HANDLE_FILLCOLOR | Defines the color to be used for the outline sizer fill color. |
OUTLINE_HANDLE_STROKECOLOR | Defines the color to be used for the outline sizer stroke color. |
DEFAULT_FONTFAMILY | Defines the default family for all fonts. |
DEFAULT_FONTSIZE | Defines the default size (in px). |
DEFAULT_TEXT_DIRECTION | Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style. |
LINE_HEIGHT | Defines the default line height for text labels. |
WORD_WRAP | Defines the CSS value for the word-wrap property. |
ABSOLUTE_LINE_HEIGHT | Specifies if absolute line heights should be used (px) in CSS. |
DEFAULT_FONTSTYLE | Defines the default style for all fonts. |
DEFAULT_STARTSIZE | Defines the default start size for swimlanes. |
DEFAULT_MARKERSIZE | Defines the default size for all markers. |
DEFAULT_IMAGESIZE | Defines the default width and height for images used in the label shape. |
ENTITY_SEGMENT | Defines the length of the horizontal segment of an Entity Relation. |
RECTANGLE_ROUNDING_FACTOR | Defines the rounding factor for rounded rectangles in percent between 0 and 1. |
LINE_ARCSIZE | Defines the size of the arcs for rounded edges. |
ARROW_SPACING | Defines the spacing between the arrow shape and its terminals. |
ARROW_WIDTH | Defines the width of the arrow shape. |
ARROW_SIZE | Defines the size of the arrowhead in the arrow shape. |
PAGE_FORMAT_A4_PORTRAIT | Defines the rectangle for the A4 portrait page format. |
PAGE_FORMAT_A4_PORTRAIT | Defines the rectangle for the A4 portrait page format. |
PAGE_FORMAT_LETTER_PORTRAIT | Defines the rectangle for the Letter portrait page format. |
PAGE_FORMAT_LETTER_PORTRAIT | Defines the rectangle for the Letter portrait page format. |
NONE | Defines the value for none. |
STYLE_PERIMETER | Defines the key for the perimeter style. |
STYLE_SOURCE_PORT | Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge. |
STYLE_TARGET_PORT | Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge. |
STYLE_PORT_CONSTRAINT | Defines the direction(s) that edges are allowed to connect to cells in. |
STYLE_PORT_CONSTRAINT_ROTATION | Define whether port constraint directions are rotated with vertex rotation. |
STYLE_SOURCE_PORT_CONSTRAINT | Defines the direction(s) that edges are allowed to connect to sources in. |
STYLE_TARGET_PORT_CONSTRAINT | Defines the direction(s) that edges are allowed to connect to targets in. |
STYLE_OPACITY | Defines the key for the opacity style. |
STYLE_FILL_OPACITY | Defines the key for the fill opacity style. |
STYLE_STROKE_OPACITY | Defines the key for the stroke opacity style. |
STYLE_TEXT_OPACITY | Defines the key for the text opacity style. |
STYLE_TEXT_DIRECTION | Defines the key for the text direction style. |
STYLE_OVERFLOW | Defines the key for the overflow style. |
STYLE_ORTHOGONAL | Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location. |
STYLE_EXIT_X | Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal. |
STYLE_EXIT_Y | Defines the key for the vertical relative coordinate connection point of an edge with its source terminal. |
STYLE_EXIT_PERIMETER | Defines if the perimeter should be used to find the exact entry point along the perimeter of the source. |
STYLE_ENTRY_X | Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal. |
STYLE_ENTRY_Y | Defines the key for the vertical relative coordinate connection point of an edge with its target terminal. |
STYLE_ENTRY_PERIMETER | Defines if the perimeter should be used to find the exact entry point along the perimeter of the target. |
STYLE_WHITE_SPACE | Defines the key for the white-space style. |
STYLE_ROTATION | Defines the key for the rotation style. |
STYLE_FILLCOLOR | Defines the key for the fill color. |
STYLE_POINTER_EVENTS | Specifies if pointer events should be fired on transparent backgrounds. |
STYLE_SWIMLANE_FILLCOLOR | Defines the key for the fill color of the swimlane background. |
STYLE_MARGIN | Defines the key for the margin between the ellipses in the double ellipse shape. |
STYLE_GRADIENTCOLOR | Defines the key for the gradient color. |
STYLE_GRADIENT_DIRECTION | Defines the key for the gradient direction. |
STYLE_STROKECOLOR | Defines the key for the strokeColor style. |
STYLE_SEPARATORCOLOR | Defines the key for the separatorColor style. |
STYLE_STROKEWIDTH | Defines the key for the strokeWidth style. |
STYLE_ALIGN | Defines the key for the align style. |
STYLE_VERTICAL_ALIGN | Defines the key for the verticalAlign style. |
STYLE_LABEL_WIDTH | Defines the key for the width of the label if the label position is not center. |
STYLE_LABEL_POSITION | Defines the key for the horizontal label position of vertices. |
STYLE_VERTICAL_LABEL_POSITION | Defines the key for the vertical label position of vertices. |
STYLE_IMAGE_ASPECT | Defines the key for the image aspect style. |
STYLE_IMAGE_ALIGN | Defines the key for the align style. |
STYLE_IMAGE_VERTICAL_ALIGN | Defines the key for the verticalAlign style. |
STYLE_GLASS | Defines the key for the glass style. |
STYLE_IMAGE | Defines the key for the image style. |
STYLE_IMAGE_WIDTH | Defines the key for the imageWidth style. |
STYLE_IMAGE_HEIGHT | Defines the key for the imageHeight style. |
STYLE_IMAGE_BACKGROUND | Defines the key for the image background color. |
STYLE_IMAGE_BORDER | Defines the key for the image border color. |
STYLE_FLIPH | Defines the key for the horizontal image flip. |
STYLE_FLIPV | Defines the key for the vertical flip. |
STYLE_NOLABEL | Defines the key for the noLabel style. |
STYLE_NOEDGESTYLE | Defines the key for the noEdgeStyle style. |
STYLE_LABEL_BACKGROUNDCOLOR | Defines the key for the label background color. |
STYLE_LABEL_BORDERCOLOR | Defines the key for the label border color. |
STYLE_LABEL_PADDING | Defines the key for the label padding, ie. |
STYLE_INDICATOR_SHAPE | Defines the key for the indicator shape used within an mxLabel. |
STYLE_INDICATOR_IMAGE | Defines the key for the indicator image used within an mxLabel. |
STYLE_INDICATOR_COLOR | Defines the key for the indicatorColor style. |
STYLE_INDICATOR_STROKECOLOR | Defines the key for the indicator stroke color in mxLabel. |
STYLE_INDICATOR_GRADIENTCOLOR | Defines the key for the indicatorGradientColor style. |
STYLE_INDICATOR_SPACING | The defines the key for the spacing between the label and the indicator in mxLabel. |
STYLE_INDICATOR_WIDTH | Defines the key for the indicator width. |
STYLE_INDICATOR_HEIGHT | Defines the key for the indicator height. |
STYLE_INDICATOR_DIRECTION | Defines the key for the indicatorDirection style. |
STYLE_SHADOW | Defines the key for the shadow style. |
STYLE_SEGMENT | Defines the key for the segment style. |
STYLE_ENDARROW | Defines the key for the end arrow marker. |
STYLE_STARTARROW | Defines the key for the start arrow marker. |
STYLE_ENDSIZE | Defines the key for the endSize style. |
STYLE_STARTSIZE | Defines the key for the startSize style. |
STYLE_SWIMLANE_LINE | Defines the key for the swimlaneLine style. |
STYLE_ENDFILL | Defines the key for the endFill style. |
STYLE_STARTFILL | Defines the key for the startFill style. |
STYLE_DASHED | Defines the key for the dashed style. |
STYLE_FIX_DASH | Defines the key for the fixDash style. |
STYLE_ROUNDED | Defines the key for the rounded style. |
STYLE_CURVED | Defines the key for the curved style. |
STYLE_ARCSIZE | Defines the rounding factor for a rounded rectangle in percent (without the percent sign). |
STYLE_ABSOLUTE_ARCSIZE | Defines the key for the absolute arc size style. |
STYLE_SOURCE_PERIMETER_SPACING | Defines the key for the source perimeter spacing. |
STYLE_TARGET_PERIMETER_SPACING | Defines the key for the target perimeter spacing. |
STYLE_PERIMETER_SPACING | Defines the key for the perimeter spacing. |
STYLE_SPACING | Defines the key for the spacing. |
STYLE_SPACING_TOP | Defines the key for the spacingTop style. |
STYLE_SPACING_LEFT | Defines the key for the spacingLeft style. |
STYLE_SPACING_BOTTOM | Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only). |
STYLE_SPACING_RIGHT | Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only). |
STYLE_HORIZONTAL | Defines the key for the horizontal style. |
STYLE_DIRECTION | Defines the key for the direction style. |
STYLE_ELBOW | Defines the key for the elbow style. |
STYLE_FONTCOLOR | Defines the key for the fontColor style. |
STYLE_FONTFAMILY | Defines the key for the fontFamily style. |
STYLE_FONTSIZE | Defines the key for the fontSize style (in px). |
STYLE_FONTSTYLE | Defines the key for the fontStyle style. |
STYLE_ASPECT | Defines the key for the aspect style. |
STYLE_AUTOSIZE | Defines the key for the autosize style. |
STYLE_FOLDABLE | Defines the key for the foldable style. |
STYLE_EDITABLE | Defines the key for the editable style. |
STYLE_BENDABLE | Defines the key for the bendable style. |
STYLE_MOVABLE | Defines the key for the movable style. |
STYLE_RESIZABLE | Defines the key for the resizable style. |
STYLE_RESIZE_WIDTH | Defines the key for the resizeWidth style. |
STYLE_RESIZE_WIDTH | Defines the key for the resizeHeight style. |
STYLE_ROTATABLE | Defines the key for the rotatable style. |
STYLE_CLONEABLE | Defines the key for the cloneable style. |
STYLE_DELETABLE | Defines the key for the deletable style. |
STYLE_SHAPE | Defines the key for the shape. |
STYLE_EDGE | Defines the key for the edge style. |
STYLE_JETTY_SIZE | Defines the key for the jetty size in mxEdgeStyle.OrthConnector. |
STYLE_SOURCE_JETTY_SIZE | Defines the key for the jetty size in mxEdgeStyle.OrthConnector. |
targetJettySize | Defines the key for the jetty size in mxEdgeStyle.OrthConnector. |
STYLE_LOOP | Defines the key for the loop style. |
STYLE_ORTHOGONAL_LOOP | Defines the key for the orthogonal loop style. |
STYLE_ROUTING_CENTER_X | Defines the key for the horizontal routing center. |
STYLE_ROUTING_CENTER_Y | Defines the key for the vertical routing center. |
FONT_BOLD | Constant for bold fonts. |
FONT_ITALIC | Constant for italic fonts. |
FONT_UNDERLINE | Constant for underlined fonts. |
SHAPE_RECTANGLE | Name under which mxRectangleShape is registered in mxCellRenderer. |
SHAPE_ELLIPSE | Name under which mxEllipse is registered in mxCellRenderer. |
SHAPE_DOUBLE_ELLIPSE | Name under which mxDoubleEllipse is registered in mxCellRenderer. |
SHAPE_RHOMBUS | Name under which mxRhombus is registered in mxCellRenderer. |
SHAPE_LINE | Name under which mxLine is registered in mxCellRenderer. |
SHAPE_IMAGE | Name under which mxImageShape is registered in mxCellRenderer. |
SHAPE_ARROW | Name under which mxArrow is registered in mxCellRenderer. |
SHAPE_ARROW_CONNECTOR | Name under which mxArrowConnector is registered in mxCellRenderer. |
SHAPE_LABEL | Name under which mxLabel is registered in mxCellRenderer. |
SHAPE_CYLINDER | Name under which mxCylinder is registered in mxCellRenderer. |
SHAPE_SWIMLANE | Name under which mxSwimlane is registered in mxCellRenderer. |
SHAPE_CONNECTOR | Name under which mxConnector is registered in mxCellRenderer. |
SHAPE_ACTOR | Name under which mxActor is registered in mxCellRenderer. |
SHAPE_CLOUD | Name under which mxCloud is registered in mxCellRenderer. |
SHAPE_TRIANGLE | Name under which mxTriangle is registered in mxCellRenderer. |
SHAPE_HEXAGON | Name under which mxHexagon is registered in mxCellRenderer. |
ARROW_CLASSIC | Constant for classic arrow markers. |
ARROW_CLASSIC_THIN | Constant for thin classic arrow markers. |
ARROW_BLOCK | Constant for block arrow markers. |
ARROW_BLOCK_THIN | Constant for thin block arrow markers. |
ARROW_OPEN | Constant for open arrow markers. |
ARROW_OPEN_THIN | Constant for thin open arrow markers. |
ARROW_OVAL | Constant for oval arrow markers. |
ARROW_DIAMOND | Constant for diamond arrow markers. |
ARROW_DIAMOND_THIN | Constant for thin diamond arrow markers. |
ALIGN_LEFT | Constant for left horizontal alignment. |
ALIGN_CENTER | Constant for center horizontal alignment. |
ALIGN_RIGHT | Constant for right horizontal alignment. |
ALIGN_TOP | Constant for top vertical alignment. |
ALIGN_MIDDLE | Constant for middle vertical alignment. |
ALIGN_BOTTOM | Constant for bottom vertical alignment. |
DIRECTION_NORTH | Constant for direction north. |
DIRECTION_SOUTH | Constant for direction south. |
DIRECTION_EAST | Constant for direction east. |
DIRECTION_WEST | Constant for direction west. |
TEXT_DIRECTION_DEFAULT | Constant for text direction default. |
TEXT_DIRECTION_AUTO | Constant for text direction automatic. |
TEXT_DIRECTION_LTR | Constant for text direction left to right. |
TEXT_DIRECTION_RTL | Constant for text direction right to left. |
DIRECTION_MASK_NONE | Constant for no direction. |
DIRECTION_MASK_WEST | Bitwise mask for west direction. |
DIRECTION_MASK_NORTH | Bitwise mask for north direction. |
DIRECTION_MASK_SOUTH | Bitwise mask for south direction. |
DIRECTION_MASK_EAST | Bitwise mask for east direction. |
DIRECTION_MASK_ALL | Bitwise mask for all directions. |
ELBOW_VERTICAL | Constant for elbow vertical. |
ELBOW_HORIZONTAL | Constant for elbow horizontal. |
EDGESTYLE_ELBOW | Name of the elbow edge style. |
EDGESTYLE_ENTITY_RELATION | Name of the entity relation edge style. |
EDGESTYLE_LOOP | Name of the loop edge style. |
EDGESTYLE_SIDETOSIDE | Name of the side to side edge style. |
EDGESTYLE_TOPTOBOTTOM | Name of the top to bottom edge style. |
EDGESTYLE_ORTHOGONAL | Name of the generic orthogonal edge style. |
EDGESTYLE_SEGMENT | Name of the generic segment edge style. |
PERIMETER_ELLIPSE | Name of the ellipse perimeter. |
PERIMETER_RECTANGLE | Name of the rectangle perimeter. |
PERIMETER_RHOMBUS | Name of the rhombus perimeter. |
PERIMETER_HEXAGON | Name of the hexagon perimeter. |
PERIMETER_TRIANGLE | Name of the triangle perimeter. |
Defines various global constants.
mxConstants | Defines various global constants. |
Variables | |
DEFAULT_HOTSPOT | Defines the portion of the cell which is to be used as a connectable region. |
MIN_HOTSPOT_SIZE | Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region. |
MAX_HOTSPOT_SIZE | Defines the maximum size in pixels of the portion of the cell which is to be used as a connectable region. |
RENDERING_HINT_EXACT | Defines the exact rendering hint. |
RENDERING_HINT_FASTER | Defines the faster rendering hint. |
RENDERING_HINT_FASTEST | Defines the fastest rendering hint. |
DIALECT_SVG | Defines the SVG display dialect name. |
DIALECT_VML | Defines the VML display dialect name. |
DIALECT_MIXEDHTML | Defines the mixed HTML display dialect name. |
DIALECT_PREFERHTML | Defines the preferred HTML display dialect name. |
DIALECT_STRICTHTML | Defines the strict HTML display dialect. |
NS_SVG | Defines the SVG namespace. |
NS_XHTML | Defines the XHTML namespace. |
NS_XLINK | Defines the XLink namespace. |
SHADOWCOLOR | Defines the color to be used to draw shadows in shapes and windows. |
VML_SHADOWCOLOR | Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer). |
SHADOW_OFFSET_X | Specifies the x-offset of the shadow. |
SHADOW_OFFSET_Y | Specifies the y-offset of the shadow. |
SHADOW_OPACITY | Defines the opacity for shadows. |
NODETYPE_ELEMENT | DOM node of type ELEMENT. |
NODETYPE_ATTRIBUTE | DOM node of type ATTRIBUTE. |
NODETYPE_TEXT | DOM node of type TEXT. |
NODETYPE_CDATA | DOM node of type CDATA. |
NODETYPE_ENTITY_REFERENCE | DOM node of type ENTITY_REFERENCE. |
NODETYPE_ENTITY | DOM node of type ENTITY. |
NODETYPE_PROCESSING_INSTRUCTION | DOM node of type PROCESSING_INSTRUCTION. |
NODETYPE_COMMENT | DOM node of type COMMENT. |
NODETYPE_DOCUMENT | DOM node of type DOCUMENT. |
NODETYPE_DOCUMENTTYPE | DOM node of type DOCUMENTTYPE. |
NODETYPE_DOCUMENT_FRAGMENT | DOM node of type DOCUMENT_FRAGMENT. |
NODETYPE_NOTATION | DOM node of type NOTATION. |
TOOLTIP_VERTICAL_OFFSET | Defines the vertical offset for the tooltip. |
DEFAULT_VALID_COLOR | Specifies the default valid color. |
DEFAULT_INVALID_COLOR | Specifies the default invalid color. |
OUTLINE_HIGHLIGHT_COLOR | Specifies the default highlight color for shape outlines. |
OUTLINE_HIGHLIGHT_COLOR | Defines the strokewidth to be used for shape outlines. |
HIGHLIGHT_STROKEWIDTH | Defines the strokewidth to be used for the highlights. |
CONSTRAINT_HIGHLIGHT_SIZE | Size of the constraint highlight (in px). |
HIGHLIGHT_OPACITY | Opacity (in %) used for the highlights (including outline). |
CURSOR_MOVABLE_VERTEX | Defines the cursor for a movable vertex. |
CURSOR_MOVABLE_EDGE | Defines the cursor for a movable edge. |
CURSOR_LABEL_HANDLE | Defines the cursor for a movable label. |
CURSOR_TERMINAL_HANDLE | Defines the cursor for a terminal handle. |
CURSOR_BEND_HANDLE | Defines the cursor for a movable bend. |
CURSOR_VIRTUAL_BEND_HANDLE | Defines the cursor for a movable bend. |
CURSOR_CONNECT | Defines the cursor for a connectable state. |
HIGHLIGHT_COLOR | Defines the color to be used for the cell highlighting. |
TARGET_HIGHLIGHT_COLOR | Defines the color to be used for highlighting a target cell for a new or changed connection. |
INVALID_CONNECT_TARGET_COLOR | Defines the color to be used for highlighting a invalid target cells for a new or changed connections. |
DROP_TARGET_COLOR | Defines the color to be used for the highlighting target parent cells (for drag and drop). |
VALID_COLOR | Defines the color to be used for the coloring valid connection previews. |
INVALID_COLOR | Defines the color to be used for the coloring invalid connection previews. |
EDGE_SELECTION_COLOR | Defines the color to be used for the selection border of edges. |
VERTEX_SELECTION_COLOR | Defines the color to be used for the selection border of vertices. |
VERTEX_SELECTION_STROKEWIDTH | Defines the strokewidth to be used for vertex selections. |
EDGE_SELECTION_STROKEWIDTH | Defines the strokewidth to be used for edge selections. |
SELECTION_DASHED | Defines the dashed state to be used for the vertex selection border. |
SELECTION_DASHED | Defines the dashed state to be used for the edge selection border. |
GUIDE_COLOR | Defines the color to be used for the guidelines in mxGraphHandler. |
GUIDE_STROKEWIDTH | Defines the strokewidth to be used for the guidelines in mxGraphHandler. |
OUTLINE_COLOR | Defines the color to be used for the outline rectangle border. |
OUTLINE_STROKEWIDTH | Defines the strokewidth to be used for the outline rectangle stroke width. |
HANDLE_SIZE | Defines the default size for handles. |
LABEL_HANDLE_SIZE | Defines the default size for label handles. |
HANDLE_FILLCOLOR | Defines the color to be used for the handle fill color. |
HANDLE_STROKECOLOR | Defines the color to be used for the handle stroke color. |
LABEL_HANDLE_FILLCOLOR | Defines the color to be used for the label handle fill color. |
CONNECT_HANDLE_FILLCOLOR | Defines the color to be used for the connect handle fill color. |
LOCKED_HANDLE_FILLCOLOR | Defines the color to be used for the locked handle fill color. |
OUTLINE_HANDLE_FILLCOLOR | Defines the color to be used for the outline sizer fill color. |
OUTLINE_HANDLE_STROKECOLOR | Defines the color to be used for the outline sizer stroke color. |
DEFAULT_FONTFAMILY | Defines the default family for all fonts. |
DEFAULT_FONTSIZE | Defines the default size (in px). |
DEFAULT_TEXT_DIRECTION | Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style. |
LINE_HEIGHT | Defines the default line height for text labels. |
WORD_WRAP | Defines the CSS value for the word-wrap property. |
ABSOLUTE_LINE_HEIGHT | Specifies if absolute line heights should be used (px) in CSS. |
DEFAULT_FONTSTYLE | Defines the default style for all fonts. |
DEFAULT_STARTSIZE | Defines the default start size for swimlanes. |
DEFAULT_MARKERSIZE | Defines the default size for all markers. |
DEFAULT_IMAGESIZE | Defines the default width and height for images used in the label shape. |
ENTITY_SEGMENT | Defines the length of the horizontal segment of an Entity Relation. |
RECTANGLE_ROUNDING_FACTOR | Defines the rounding factor for rounded rectangles in percent between 0 and 1. |
LINE_ARCSIZE | Defines the size of the arcs for rounded edges. |
ARROW_SPACING | Defines the spacing between the arrow shape and its terminals. |
ARROW_WIDTH | Defines the width of the arrow shape. |
ARROW_SIZE | Defines the size of the arrowhead in the arrow shape. |
PAGE_FORMAT_A4_PORTRAIT | Defines the rectangle for the A4 portrait page format. |
PAGE_FORMAT_A4_PORTRAIT | Defines the rectangle for the A4 portrait page format. |
PAGE_FORMAT_LETTER_PORTRAIT | Defines the rectangle for the Letter portrait page format. |
PAGE_FORMAT_LETTER_PORTRAIT | Defines the rectangle for the Letter portrait page format. |
NONE | Defines the value for none. |
STYLE_PERIMETER | Defines the key for the perimeter style. |
STYLE_SOURCE_PORT | Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge. |
STYLE_TARGET_PORT | Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge. |
STYLE_PORT_CONSTRAINT | Defines the direction(s) that edges are allowed to connect to cells in. |
STYLE_PORT_CONSTRAINT_ROTATION | Define whether port constraint directions are rotated with vertex rotation. |
STYLE_SOURCE_PORT_CONSTRAINT | Defines the direction(s) that edges are allowed to connect to sources in. |
STYLE_TARGET_PORT_CONSTRAINT | Defines the direction(s) that edges are allowed to connect to targets in. |
STYLE_OPACITY | Defines the key for the opacity style. |
STYLE_FILL_OPACITY | Defines the key for the fill opacity style. |
STYLE_STROKE_OPACITY | Defines the key for the stroke opacity style. |
STYLE_TEXT_OPACITY | Defines the key for the text opacity style. |
STYLE_TEXT_DIRECTION | Defines the key for the text direction style. |
STYLE_OVERFLOW | Defines the key for the overflow style. |
STYLE_ORTHOGONAL | Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location. |
STYLE_EXIT_X | Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal. |
STYLE_EXIT_Y | Defines the key for the vertical relative coordinate connection point of an edge with its source terminal. |
STYLE_EXIT_PERIMETER | Defines if the perimeter should be used to find the exact entry point along the perimeter of the source. |
STYLE_ENTRY_X | Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal. |
STYLE_ENTRY_Y | Defines the key for the vertical relative coordinate connection point of an edge with its target terminal. |
STYLE_ENTRY_PERIMETER | Defines if the perimeter should be used to find the exact entry point along the perimeter of the target. |
STYLE_WHITE_SPACE | Defines the key for the white-space style. |
STYLE_ROTATION | Defines the key for the rotation style. |
STYLE_FILLCOLOR | Defines the key for the fill color. |
STYLE_POINTER_EVENTS | Specifies if pointer events should be fired on transparent backgrounds. |
STYLE_SWIMLANE_FILLCOLOR | Defines the key for the fill color of the swimlane background. |
STYLE_MARGIN | Defines the key for the margin between the ellipses in the double ellipse shape. |
STYLE_GRADIENTCOLOR | Defines the key for the gradient color. |
STYLE_GRADIENT_DIRECTION | Defines the key for the gradient direction. |
STYLE_STROKECOLOR | Defines the key for the strokeColor style. |
STYLE_SEPARATORCOLOR | Defines the key for the separatorColor style. |
STYLE_STROKEWIDTH | Defines the key for the strokeWidth style. |
STYLE_ALIGN | Defines the key for the align style. |
STYLE_VERTICAL_ALIGN | Defines the key for the verticalAlign style. |
STYLE_LABEL_WIDTH | Defines the key for the width of the label if the label position is not center. |
STYLE_LABEL_POSITION | Defines the key for the horizontal label position of vertices. |
STYLE_VERTICAL_LABEL_POSITION | Defines the key for the vertical label position of vertices. |
STYLE_IMAGE_ASPECT | Defines the key for the image aspect style. |
STYLE_IMAGE_ALIGN | Defines the key for the align style. |
STYLE_IMAGE_VERTICAL_ALIGN | Defines the key for the verticalAlign style. |
STYLE_GLASS | Defines the key for the glass style. |
STYLE_IMAGE | Defines the key for the image style. |
STYLE_IMAGE_WIDTH | Defines the key for the imageWidth style. |
STYLE_IMAGE_HEIGHT | Defines the key for the imageHeight style. |
STYLE_IMAGE_BACKGROUND | Defines the key for the image background color. |
STYLE_IMAGE_BORDER | Defines the key for the image border color. |
STYLE_FLIPH | Defines the key for the horizontal image flip. |
STYLE_FLIPV | Defines the key for the vertical flip. |
STYLE_NOLABEL | Defines the key for the noLabel style. |
STYLE_NOEDGESTYLE | Defines the key for the noEdgeStyle style. |
STYLE_LABEL_BACKGROUNDCOLOR | Defines the key for the label background color. |
STYLE_LABEL_BORDERCOLOR | Defines the key for the label border color. |
STYLE_LABEL_PADDING | Defines the key for the label padding, ie. |
STYLE_INDICATOR_SHAPE | Defines the key for the indicator shape used within an mxLabel. |
STYLE_INDICATOR_IMAGE | Defines the key for the indicator image used within an mxLabel. |
STYLE_INDICATOR_COLOR | Defines the key for the indicatorColor style. |
STYLE_INDICATOR_STROKECOLOR | Defines the key for the indicator stroke color in mxLabel. |
STYLE_INDICATOR_GRADIENTCOLOR | Defines the key for the indicatorGradientColor style. |
STYLE_INDICATOR_SPACING | The defines the key for the spacing between the label and the indicator in mxLabel. |
STYLE_INDICATOR_WIDTH | Defines the key for the indicator width. |
STYLE_INDICATOR_HEIGHT | Defines the key for the indicator height. |
STYLE_INDICATOR_DIRECTION | Defines the key for the indicatorDirection style. |
STYLE_SHADOW | Defines the key for the shadow style. |
STYLE_SEGMENT | Defines the key for the segment style. |
STYLE_ENDARROW | Defines the key for the end arrow marker. |
STYLE_STARTARROW | Defines the key for the start arrow marker. |
STYLE_ENDSIZE | Defines the key for the endSize style. |
STYLE_STARTSIZE | Defines the key for the startSize style. |
STYLE_SWIMLANE_LINE | Defines the key for the swimlaneLine style. |
STYLE_ENDFILL | Defines the key for the endFill style. |
STYLE_STARTFILL | Defines the key for the startFill style. |
STYLE_DASHED | Defines the key for the dashed style. |
STYLE_FIX_DASH | Defines the key for the fixDash style. |
STYLE_ROUNDED | Defines the key for the rounded style. |
STYLE_CURVED | Defines the key for the curved style. |
STYLE_ARCSIZE | Defines the rounding factor for a rounded rectangle in percent (without the percent sign). |
STYLE_ABSOLUTE_ARCSIZE | Defines the key for the absolute arc size style. |
STYLE_SOURCE_PERIMETER_SPACING | Defines the key for the source perimeter spacing. |
STYLE_TARGET_PERIMETER_SPACING | Defines the key for the target perimeter spacing. |
STYLE_PERIMETER_SPACING | Defines the key for the perimeter spacing. |
STYLE_SPACING | Defines the key for the spacing. |
STYLE_SPACING_TOP | Defines the key for the spacingTop style. |
STYLE_SPACING_LEFT | Defines the key for the spacingLeft style. |
STYLE_SPACING_BOTTOM | Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only). |
STYLE_SPACING_RIGHT | Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only). |
STYLE_HORIZONTAL | Defines the key for the horizontal style. |
STYLE_DIRECTION | Defines the key for the direction style. |
STYLE_ANCHOR_POINT_DIRECTION | Defines the key for the anchorPointDirection style. |
STYLE_ELBOW | Defines the key for the elbow style. |
STYLE_FONTCOLOR | Defines the key for the fontColor style. |
STYLE_FONTFAMILY | Defines the key for the fontFamily style. |
STYLE_FONTSIZE | Defines the key for the fontSize style (in px). |
STYLE_FONTSTYLE | Defines the key for the fontStyle style. |
STYLE_ASPECT | Defines the key for the aspect style. |
STYLE_AUTOSIZE | Defines the key for the autosize style. |
STYLE_FOLDABLE | Defines the key for the foldable style. |
STYLE_EDITABLE | Defines the key for the editable style. |
STYLE_BACKGROUND_OUTLINE | Defines the key for the backgroundOutline style. |
STYLE_BENDABLE | Defines the key for the bendable style. |
STYLE_MOVABLE | Defines the key for the movable style. |
STYLE_RESIZABLE | Defines the key for the resizable style. |
STYLE_RESIZE_WIDTH | Defines the key for the resizeWidth style. |
STYLE_RESIZE_WIDTH | Defines the key for the resizeHeight style. |
STYLE_ROTATABLE | Defines the key for the rotatable style. |
STYLE_CLONEABLE | Defines the key for the cloneable style. |
STYLE_DELETABLE | Defines the key for the deletable style. |
STYLE_SHAPE | Defines the key for the shape. |
STYLE_EDGE | Defines the key for the edge style. |
STYLE_JETTY_SIZE | Defines the key for the jetty size in mxEdgeStyle.OrthConnector. |
STYLE_SOURCE_JETTY_SIZE | Defines the key for the jetty size in mxEdgeStyle.OrthConnector. |
targetJettySize | Defines the key for the jetty size in mxEdgeStyle.OrthConnector. |
STYLE_LOOP | Defines the key for the loop style. |
STYLE_ORTHOGONAL_LOOP | Defines the key for the orthogonal loop style. |
STYLE_ROUTING_CENTER_X | Defines the key for the horizontal routing center. |
STYLE_ROUTING_CENTER_Y | Defines the key for the vertical routing center. |
FONT_BOLD | Constant for bold fonts. |
FONT_ITALIC | Constant for italic fonts. |
FONT_UNDERLINE | Constant for underlined fonts. |
SHAPE_RECTANGLE | Name under which mxRectangleShape is registered in mxCellRenderer. |
SHAPE_ELLIPSE | Name under which mxEllipse is registered in mxCellRenderer. |
SHAPE_DOUBLE_ELLIPSE | Name under which mxDoubleEllipse is registered in mxCellRenderer. |
SHAPE_RHOMBUS | Name under which mxRhombus is registered in mxCellRenderer. |
SHAPE_LINE | Name under which mxLine is registered in mxCellRenderer. |
SHAPE_IMAGE | Name under which mxImageShape is registered in mxCellRenderer. |
SHAPE_ARROW | Name under which mxArrow is registered in mxCellRenderer. |
SHAPE_ARROW_CONNECTOR | Name under which mxArrowConnector is registered in mxCellRenderer. |
SHAPE_LABEL | Name under which mxLabel is registered in mxCellRenderer. |
SHAPE_CYLINDER | Name under which mxCylinder is registered in mxCellRenderer. |
SHAPE_SWIMLANE | Name under which mxSwimlane is registered in mxCellRenderer. |
SHAPE_CONNECTOR | Name under which mxConnector is registered in mxCellRenderer. |
SHAPE_ACTOR | Name under which mxActor is registered in mxCellRenderer. |
SHAPE_CLOUD | Name under which mxCloud is registered in mxCellRenderer. |
SHAPE_TRIANGLE | Name under which mxTriangle is registered in mxCellRenderer. |
SHAPE_HEXAGON | Name under which mxHexagon is registered in mxCellRenderer. |
ARROW_CLASSIC | Constant for classic arrow markers. |
ARROW_CLASSIC_THIN | Constant for thin classic arrow markers. |
ARROW_BLOCK | Constant for block arrow markers. |
ARROW_BLOCK_THIN | Constant for thin block arrow markers. |
ARROW_OPEN | Constant for open arrow markers. |
ARROW_OPEN_THIN | Constant for thin open arrow markers. |
ARROW_OVAL | Constant for oval arrow markers. |
ARROW_DIAMOND | Constant for diamond arrow markers. |
ARROW_DIAMOND_THIN | Constant for thin diamond arrow markers. |
ALIGN_LEFT | Constant for left horizontal alignment. |
ALIGN_CENTER | Constant for center horizontal alignment. |
ALIGN_RIGHT | Constant for right horizontal alignment. |
ALIGN_TOP | Constant for top vertical alignment. |
ALIGN_MIDDLE | Constant for middle vertical alignment. |
ALIGN_BOTTOM | Constant for bottom vertical alignment. |
DIRECTION_NORTH | Constant for direction north. |
DIRECTION_SOUTH | Constant for direction south. |
DIRECTION_EAST | Constant for direction east. |
DIRECTION_WEST | Constant for direction west. |
TEXT_DIRECTION_DEFAULT | Constant for text direction default. |
TEXT_DIRECTION_AUTO | Constant for text direction automatic. |
TEXT_DIRECTION_LTR | Constant for text direction left to right. |
TEXT_DIRECTION_RTL | Constant for text direction right to left. |
DIRECTION_MASK_NONE | Constant for no direction. |
DIRECTION_MASK_WEST | Bitwise mask for west direction. |
DIRECTION_MASK_NORTH | Bitwise mask for north direction. |
DIRECTION_MASK_SOUTH | Bitwise mask for south direction. |
DIRECTION_MASK_EAST | Bitwise mask for east direction. |
DIRECTION_MASK_ALL | Bitwise mask for all directions. |
ELBOW_VERTICAL | Constant for elbow vertical. |
ELBOW_HORIZONTAL | Constant for elbow horizontal. |
EDGESTYLE_ELBOW | Name of the elbow edge style. |
EDGESTYLE_ENTITY_RELATION | Name of the entity relation edge style. |
EDGESTYLE_LOOP | Name of the loop edge style. |
EDGESTYLE_SIDETOSIDE | Name of the side to side edge style. |
EDGESTYLE_TOPTOBOTTOM | Name of the top to bottom edge style. |
EDGESTYLE_ORTHOGONAL | Name of the generic orthogonal edge style. |
EDGESTYLE_SEGMENT | Name of the generic segment edge style. |
PERIMETER_ELLIPSE | Name of the ellipse perimeter. |
PERIMETER_RECTANGLE | Name of the rectangle perimeter. |
PERIMETER_RHOMBUS | Name of the rhombus perimeter. |
PERIMETER_HEXAGON | Name of the hexagon perimeter. |
PERIMETER_TRIANGLE | Name of the triangle perimeter. |
OUTLINE_HIGHLIGHT_COLOR: '#00FF00'
Specifies the default highlight color for shape outlines. Default is #0000FF. This is used in mxEdgeHandler.
OUTLINE_HIGHLIGHT_COLOR: '#00FF00'
Specifies the default highlight color for shape outlines. Default is #0000FF. This is used in mxEdgeHandler.
Defines the strokewidth to be used for shape outlines. Default is 5. This is used in mxEdgeHandler.
Defines the strokewidth to be used for shape outlines. Default is 5. This is used in mxEdgeHandler.
DEFAULT_TEXT_DIRECTION: ''
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style. Default value is an empty string which means the default system setting is used and no direction is set.
DEFAULT_TEXT_DIRECTION: ''
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style. Default value is an empty string which means the default system setting is used and no direction is set.
ENTITY_SEGMENT: 30
Defines the length of the horizontal segment of an Entity Relation. This can be overridden using mxConstants.STYLE_SEGMENT style. Default is 30.
ENTITY_SEGMENT: 30
Defines the length of the horizontal segment of an Entity Relation. This can be overridden using mxConstants.STYLE_SEGMENT style. Default is 30.
STYLE_PERIMETER: 'perimeter'
Defines the key for the perimeter style. This is a function that defines the perimeter around a particular shape. Possible values are the functions defined in mxPerimeter. Alternatively, the constants in this class that start with “PERIMETER_” may be used to access perimeter styles in mxStyleRegistry. Value is “perimeter”.
STYLE_PERIMETER: 'perimeter'
Defines the key for the perimeter style. This is a function that defines the perimeter around a particular shape. Possible values are the functions defined in mxPerimeter. Alternatively, the constants in this class that start with “PERIMETER_” may be used to access perimeter styles in mxStyleRegistry. Value is “perimeter”.
STYLE_TEXT_DIRECTION: 'textDirection'
Defines the key for the text direction style. Possible values are “TEXT_DIRECTION_DEFAULT, TEXT_DIRECTION_AUTO, TEXT_DIRECTION_LTR” and “TEXT_DIRECTION_RTL”. Value is “textDirection”. The default value for the style is defined in DEFAULT_TEXT_DIRECTION. It is used is no value is defined for this key in a given style. This is an experimental style that is currently ignored in the backends.
STYLE_TEXT_DIRECTION: 'textDirection'
Defines the key for the text direction style. Possible values are “TEXT_DIRECTION_DEFAULT, TEXT_DIRECTION_AUTO, TEXT_DIRECTION_LTR” and “TEXT_DIRECTION_RTL”. Value is “textDirection”. The default value for the style is defined in DEFAULT_TEXT_DIRECTION. It is used is no value is defined for this key in a given style. This is an experimental style that is currently ignored in the backends.
STYLE_OVERFLOW: 'overflow'
Defines the key for the overflow style. Possible values are ‘visible’, ‘hidden’, ‘fill’ and ‘width’. The default value is ‘visible’. This value specifies how overlapping vertex labels are handled. A value of ‘visible’ will show the complete label. A value of ‘hidden’ will clip the label so that it does not overlap the vertex bounds. A value of ‘fill’ will use the vertex bounds and a value of ‘width’ will use the the vertex width for the label. See mxGraph.isLabelClipped. Note that the vertical alignment is ignored for overflow fill and for horizontal alignment, left should be used to avoid pixel offsets in Internet Explorer 11 and earlier or if foreignObjects are disabled. Value is “overflow”.
STYLE_OVERFLOW: 'overflow'
Defines the key for the overflow style. Possible values are ‘visible’, ‘hidden’, ‘fill’ and ‘width’. The default value is ‘visible’. This value specifies how overlapping vertex labels are handled. A value of ‘visible’ will show the complete label. A value of ‘hidden’ will clip the label so that it does not overlap the vertex bounds. A value of ‘fill’ will use the vertex bounds and a value of ‘width’ will use the the vertex width for the label. See mxGraph.isLabelClipped. Note that the vertical alignment is ignored for overflow fill and for horizontal alignment, left should be used to avoid pixel offsets in Internet Explorer 11 and earlier or if foreignObjects are disabled. Value is “overflow”.
STYLE_ORTHOGONAL: 'orthogonal'
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location. Default is false. This is used in mxGraph.isOrthogonal, which also returns true if the edgeStyle of the edge is an elbow or entity. Value is “orthogonal”.
STYLE_ORTHOGONAL: 'orthogonal'
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location. Default is false. This is used in mxGraph.isOrthogonal, which also returns true if the edgeStyle of the edge is an elbow or entity. Value is “orthogonal”.
STYLE_WHITE_SPACE: 'whiteSpace'
Defines the key for the white-space style. Possible values are ‘nowrap’ and ‘wrap’. The default value is ‘nowrap’. This value specifies how white-space inside a HTML vertex label should be handled. A value of ‘nowrap’ means the text will never wrap to the next line until a linefeed is encountered. A value of ‘wrap’ means text will wrap when necessary. This style is only used for HTML labels. See mxGraph.isWrapping. Value is “whiteSpace”.
STYLE_WHITE_SPACE: 'whiteSpace'
Defines the key for the white-space style. Possible values are ‘nowrap’ and ‘wrap’. The default value is ‘nowrap’. This value specifies how white-space inside a HTML vertex label should be handled. A value of ‘nowrap’ means the text will never wrap to the next line until a linefeed is encountered. A value of ‘wrap’ means text will wrap when necessary. This style is only used for HTML labels. See mxGraph.isWrapping. Value is “whiteSpace”.
STYLE_POINTER_EVENTS: 'pointerEvents'
Specifies if pointer events should be fired on transparent backgrounds. This style is currently only supported in mxRectangleShape. Default is true. Value is “pointerEvents”. This is typically set to false in groups where the transparent part should allow any underlying cells to be clickable.
STYLE_POINTER_EVENTS: 'pointerEvents'
Specifies if pointer events should be fired on transparent backgrounds. This style is currently only supported in mxRectangleShape. Default is true. Value is “pointerEvents”. This is typically set to false in groups where the transparent part should allow any underlying cells to be clickable.
STYLE_GRADIENTCOLOR: 'gradientColor'
Defines the key for the gradient color. Possible values are all HTML color names or HEX codes, as well as special keywords such as ‘swimlane, ‘inherit’ or ‘indicated’ to use the color code of a related cell or the indicator shape. This is ignored if no fill color is defined. Value is “gradientColor”.
STYLE_GRADIENT_DIRECTION: 'gradientDirection'
Defines the key for the gradient direction. Possible values are DIRECTION_EAST, DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Default is DIRECTION_SOUTH. Generally, and by default in mxGraph, gradient painting is done from the value of STYLE_FILLCOLOR to the value of STYLE_GRADIENTCOLOR. Taking the example of DIRECTION_NORTH, this means STYLE_FILLCOLOR color at the bottom of paint pattern and STYLE_GRADIENTCOLOR at top, with a gradient in-between. Value is “gradientDirection”.
STYLE_GRADIENT_DIRECTION: 'gradientDirection'
Defines the key for the gradient direction. Possible values are DIRECTION_EAST, DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Default is DIRECTION_SOUTH. Generally, and by default in mxGraph, gradient painting is done from the value of STYLE_FILLCOLOR to the value of STYLE_GRADIENTCOLOR. Taking the example of DIRECTION_NORTH, this means STYLE_FILLCOLOR color at the bottom of paint pattern and STYLE_GRADIENTCOLOR at top, with a gradient in-between. Value is “gradientDirection”.
STYLE_STROKECOLOR: 'strokeColor'
Defines the key for the strokeColor style. Possible values are all HTML color names or HEX codes, as well as special keywords such as ‘swimlane, ‘inherit’, ‘indicated’ to use the color code of a related cell or the indicator shape or ‘none’ for no color. Value is “strokeColor”.
STYLE_SEPARATORCOLOR: 'separatorColor'
Defines the key for the separatorColor style. Possible values are all HTML color names or HEX codes. This style is only used for SHAPE_SWIMLANE shapes. Value is “separatorColor”.
STYLE_SEPARATORCOLOR: 'separatorColor'
Defines the key for the separatorColor style. Possible values are all HTML color names or HEX codes. This style is only used for SHAPE_SWIMLANE shapes. Value is “separatorColor”.
STYLE_STROKEWIDTH: 'strokeWidth'
Defines the key for the strokeWidth style. The type of the value is numeric and the possible range is any non-negative value larger or equal to 1. The value defines the stroke width in pixels. Note: To hide a stroke use strokeColor none. Value is “strokeWidth”.
STYLE_ALIGN: 'align'
Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. This value defines how the lines of the label are horizontally aligned. ALIGN_LEFT mean label text lines are aligned to left of the label bounds, ALIGN_RIGHT to the right of the label bounds and ALIGN_CENTER means the center of the text lines are aligned in the center of the label bounds. Note this value doesn’t affect the positioning of the overall label bounds relative to the vertex, to move the label bounds horizontally, use STYLE_LABEL_POSITION. Value is “align”.
STYLE_ALIGN: 'align'
Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. This value defines how the lines of the label are horizontally aligned. ALIGN_LEFT mean label text lines are aligned to left of the label bounds, ALIGN_RIGHT to the right of the label bounds and ALIGN_CENTER means the center of the text lines are aligned in the center of the label bounds. Note this value doesn’t affect the positioning of the overall label bounds relative to the vertex, to move the label bounds horizontally, use STYLE_LABEL_POSITION. Value is “align”.
STYLE_VERTICAL_ALIGN: 'verticalAlign'
Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. This value defines how the lines of the label are vertically aligned. ALIGN_TOP means the topmost label text line is aligned against the top of the label bounds, ALIGN_BOTTOM means the bottom-most label text line is aligned against the bottom of the label bounds and ALIGN_MIDDLE means there is equal spacing between the topmost text label line and the top of the label bounds and the bottom-most text label line and the bottom of the label bounds. Note this value doesn’t affect the positioning of the overall label bounds relative to the vertex, to move the label bounds vertically, use STYLE_VERTICAL_LABEL_POSITION. Value is “verticalAlign”.
STYLE_VERTICAL_ALIGN: 'verticalAlign'
Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. This value defines how the lines of the label are vertically aligned. ALIGN_TOP means the topmost label text line is aligned against the top of the label bounds, ALIGN_BOTTOM means the bottom-most label text line is aligned against the bottom of the label bounds and ALIGN_MIDDLE means there is equal spacing between the topmost text label line and the top of the label bounds and the bottom-most text label line and the bottom of the label bounds. Note this value doesn’t affect the positioning of the overall label bounds relative to the vertex, to move the label bounds vertically, use STYLE_VERTICAL_LABEL_POSITION. Value is “verticalAlign”.
STYLE_LABEL_POSITION: 'labelPosition'
Defines the key for the horizontal label position of vertices. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. Default is ALIGN_CENTER. The label align defines the position of the label relative to the cell. ALIGN_LEFT means the entire label bounds is placed completely just to the left of the vertex, ALIGN_RIGHT means adjust to the right and ALIGN_CENTER means the label bounds are vertically aligned with the bounds of the vertex. Note this value doesn’t affect the positioning of label within the label bounds, to move the label horizontally within the label bounds, use STYLE_ALIGN. Value is “labelPosition”.
STYLE_LABEL_POSITION: 'labelPosition'
Defines the key for the horizontal label position of vertices. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. Default is ALIGN_CENTER. The label align defines the position of the label relative to the cell. ALIGN_LEFT means the entire label bounds is placed completely just to the left of the vertex, ALIGN_RIGHT means adjust to the right and ALIGN_CENTER means the label bounds are vertically aligned with the bounds of the vertex. Note this value doesn’t affect the positioning of label within the label bounds, to move the label horizontally within the label bounds, use STYLE_ALIGN. Value is “labelPosition”.
STYLE_VERTICAL_LABEL_POSITION: 'verticalLabelPosition'
Defines the key for the vertical label position of vertices. Possible values are ALIGN_TOP, ALIGN_BOTTOM and ALIGN_MIDDLE. Default is ALIGN_MIDDLE. The label align defines the position of the label relative to the cell. ALIGN_TOP means the entire label bounds is placed completely just on the top of the vertex, ALIGN_BOTTOM means adjust on the bottom and ALIGN_MIDDLE means the label bounds are horizontally aligned with the bounds of the vertex. Note this value doesn’t affect the positioning of label within the label bounds, to move the label vertically within the label bounds, use STYLE_VERTICAL_ALIGN. Value is “verticalLabelPosition”.
STYLE_VERTICAL_LABEL_POSITION: 'verticalLabelPosition'
Defines the key for the vertical label position of vertices. Possible values are ALIGN_TOP, ALIGN_BOTTOM and ALIGN_MIDDLE. Default is ALIGN_MIDDLE. The label align defines the position of the label relative to the cell. ALIGN_TOP means the entire label bounds is placed completely just on the top of the vertex, ALIGN_BOTTOM means adjust on the bottom and ALIGN_MIDDLE means the label bounds are horizontally aligned with the bounds of the vertex. Note this value doesn’t affect the positioning of label within the label bounds, to move the label vertically within the label bounds, use STYLE_VERTICAL_ALIGN. Value is “verticalLabelPosition”.
STYLE_IMAGE_ASPECT: 'imageAspect'
Defines the key for the image aspect style. Possible values are 0 (do not preserve aspect) or 1 (keep aspect). This is only used in mxImageShape. Default is 1. Value is “imageAspect”.
STYLE_IMAGE_ASPECT: 'imageAspect'
Defines the key for the image aspect style. Possible values are 0 (do not preserve aspect) or 1 (keep aspect). This is only used in mxImageShape. Default is 1. Value is “imageAspect”.
STYLE_IMAGE_ALIGN: 'imageAlign'
Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. The value defines how any image in the vertex label is aligned horizontally within the label bounds of a SHAPE_LABEL shape. Value is “imageAlign”.
STYLE_IMAGE_ALIGN: 'imageAlign'
Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. The value defines how any image in the vertex label is aligned horizontally within the label bounds of a SHAPE_LABEL shape. Value is “imageAlign”.
STYLE_IMAGE_VERTICAL_ALIGN: 'imageVerticalAlign'
Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. The value defines how any image in the vertex label is aligned vertically within the label bounds of a SHAPE_LABEL shape. Value is “imageVerticalAlign”.
STYLE_IMAGE_VERTICAL_ALIGN: 'imageVerticalAlign'
Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. The value defines how any image in the vertex label is aligned vertically within the label bounds of a SHAPE_LABEL shape. Value is “imageVerticalAlign”.
STYLE_GLASS: 'glass'
Defines the key for the glass style. Possible values are 0 (disabled) and 1(enabled). The default value is 0. This is used in mxLabel. Value is “glass”.
STYLE_GLASS: 'glass'
Defines the key for the glass style. Possible values are 0 (disabled) and 1(enabled). The default value is 0. This is used in mxLabel. Value is “glass”.
STYLE_IMAGE: 'image'
Defines the key for the image style. Possible values are any image URL, the type of the value is String. This is the path to the image that is to be displayed within the label of a vertex. Data URLs should use the following format: data:image/png,xyz where xyz is the base64 encoded data (without the “base64”-prefix). Note that Data URLs are only supported in modern browsers. Value is “image”.
STYLE_IMAGE_BACKGROUND: 'imageBackground'
Defines the key for the image background color. This style is only used in mxImageShape. Possible values are all HTML color names or HEX codes. Value is “imageBackground”.
STYLE_IMAGE_BACKGROUND: 'imageBackground'
Defines the key for the image background color. This style is only used in mxImageShape. Possible values are all HTML color names or HEX codes. Value is “imageBackground”.
STYLE_IMAGE_BORDER: 'imageBorder'
Defines the key for the image border color. This style is only used in mxImageShape. Possible values are all HTML color names or HEX codes. Value is “imageBorder”.
STYLE_IMAGE_BORDER: 'imageBorder'
Defines the key for the image border color. This style is only used in mxImageShape. Possible values are all HTML color names or HEX codes. Value is “imageBorder”.
STYLE_FLIPH: 'flipH'
Defines the key for the horizontal image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0. Value is “flipH”.
STYLE_FLIPH: 'flipH'
Defines the key for the horizontal image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0. Value is “flipH”.
STYLE_INDICATOR_SHAPE: 'indicatorShape'
Defines the key for the indicator shape used within an mxLabel. Possible values are all SHAPE_* constants or the names of any new shapes. The indicatorShape has precedence over the indicatorImage. Value is “indicatorShape”.
STYLE_INDICATOR_SHAPE: 'indicatorShape'
Defines the key for the indicator shape used within an mxLabel. Possible values are all SHAPE_* constants or the names of any new shapes. The indicatorShape has precedence over the indicatorImage. Value is “indicatorShape”.
STYLE_INDICATOR_IMAGE: 'indicatorImage'
Defines the key for the indicator image used within an mxLabel. Possible values are all image URLs. The indicatorShape has precedence over the indicatorImage. Value is “indicatorImage”.
STYLE_INDICATOR_IMAGE: 'indicatorImage'
Defines the key for the indicator image used within an mxLabel. Possible values are all image URLs. The indicatorShape has precedence over the indicatorImage. Value is “indicatorImage”.
STYLE_INDICATOR_STROKECOLOR: 'indicatorStrokeColor'
Defines the key for the indicator stroke color in mxLabel. Possible values are all color codes. Value is “indicatorStrokeColor”.
STYLE_INDICATOR_STROKECOLOR: 'indicatorStrokeColor'
Defines the key for the indicator stroke color in mxLabel. Possible values are all color codes. Value is “indicatorStrokeColor”.
STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'
Defines the key for the indicatorGradientColor style. Possible values are all HTML color names or HEX codes. This style is only supported in SHAPE_LABEL shapes. Value is “indicatorGradientColor”.
STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'
Defines the key for the indicatorGradientColor style. Possible values are all HTML color names or HEX codes. This style is only supported in SHAPE_LABEL shapes. Value is “indicatorGradientColor”.
STYLE_INDICATOR_SPACING: 'indicatorSpacing'
The defines the key for the spacing between the label and the indicator in mxLabel. Possible values are in pixels. Value is “indicatorSpacing”.
STYLE_INDICATOR_SPACING: 'indicatorSpacing'
The defines the key for the spacing between the label and the indicator in mxLabel. Possible values are in pixels. Value is “indicatorSpacing”.
STYLE_INDICATOR_DIRECTION: 'indicatorDirection'
Defines the key for the indicatorDirection style. The direction style is used to specify the direction of certain shapes (eg. mxTriangle). Possible values are DIRECTION_EAST (default), DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Value is “indicatorDirection”.
STYLE_INDICATOR_DIRECTION: 'indicatorDirection'
Defines the key for the indicatorDirection style. The direction style is used to specify the direction of certain shapes (eg. mxTriangle). Possible values are DIRECTION_EAST (default), DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Value is “indicatorDirection”.
STYLE_ENDARROW: 'endArrow'
Defines the key for the end arrow marker. Possible values are all constants with an ARROW-prefix. This is only used in mxConnector. Value is “endArrow”.
style[mxConstants.STYLE_ENDARROW] = mxConstants.ARROW_CLASSIC;
STYLE_ENDARROW: 'endArrow'
Defines the key for the end arrow marker. Possible values are all constants with an ARROW-prefix. This is only used in mxConnector. Value is “endArrow”.
style[mxConstants.STYLE_ENDARROW] = mxConstants.ARROW_CLASSIC;
STYLE_STARTARROW: 'startArrow'
Defines the key for the start arrow marker. Possible values are all constants with an ARROW-prefix. This is only used in mxConnector. See STYLE_ENDARROW. Value is “startArrow”.
STYLE_STARTARROW: 'startArrow'
Defines the key for the start arrow marker. Possible values are all constants with an ARROW-prefix. This is only used in mxConnector. See STYLE_ENDARROW. Value is “startArrow”.
STYLE_ENDFILL: 'endFill'
Defines the key for the endFill style. Use 0 for no fill or 1 (default) for fill. (This style is only exported via mxImageExport.) Value is “endFill”.
STYLE_ENDFILL: 'endFill'
Defines the key for the endFill style. Use 0 for no fill or 1 (default) for fill. (This style is only exported via mxImageExport.) Value is “endFill”.
STYLE_STARTFILL: 'startFill'
Defines the key for the startFill style. Use 0 for no fill or 1 (default) for fill. (This style is only exported via mxImageExport.) Value is “startFill”.
STYLE_STARTFILL: 'startFill'
Defines the key for the startFill style. Use 0 for no fill or 1 (default) for fill. (This style is only exported via mxImageExport.) Value is “startFill”.
STYLE_ARCSIZE: 'arcSize'
Defines the rounding factor for a rounded rectangle in percent (without the percent sign). Possible values are between 0 and 100. If this value is not specified then RECTANGLE_ROUNDING_FACTOR * 100 is used. For edges, this defines the absolute size of rounded corners in pixels. If this values is not specified then LINE_ARCSIZE is used. (This style is only exported via mxImageExport.) Value is “arcSize”.
STYLE_ARCSIZE: 'arcSize'
Defines the rounding factor for a rounded rectangle in percent (without the percent sign). Possible values are between 0 and 100. If this value is not specified then RECTANGLE_ROUNDING_FACTOR * 100 is used. For edges, this defines the absolute size of rounded corners in pixels. If this values is not specified then LINE_ARCSIZE is used. (This style is only exported via mxImageExport.) Value is “arcSize”.
STYLE_HORIZONTAL: 'horizontal'
Defines the key for the horizontal style. Possible values are true or false. This value only applies to vertices. If the STYLE_SHAPE is “SHAPE_SWIMLANE” a value of false indicates that the swimlane should be drawn vertically, true indicates to draw it horizontally. If the shape style does not indicate that this vertex is a swimlane, this value affects only whether the label is drawn horizontally or vertically. Value is “horizontal”.
STYLE_HORIZONTAL: 'horizontal'
Defines the key for the horizontal style. Possible values are true or false. This value only applies to vertices. If the STYLE_SHAPE is “SHAPE_SWIMLANE” a value of false indicates that the swimlane should be drawn vertically, true indicates to draw it horizontally. If the shape style does not indicate that this vertex is a swimlane, this value affects only whether the label is drawn horizontally or vertically. Value is “horizontal”.
STYLE_DIRECTION: 'direction'
Defines the key for the direction style. The direction style is used to specify the direction of certain shapes (eg. mxTriangle). Possible values are DIRECTION_EAST (default), DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Value is “direction”.
STYLE_DIRECTION: 'direction'
Defines the key for the direction style. The direction style is used to specify the direction of certain shapes (eg. mxTriangle). Possible values are DIRECTION_EAST (default), DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Value is “direction”.
STYLE_ELBOW: 'elbow'
Defines the key for the elbow style. Possible values are ELBOW_HORIZONTAL and ELBOW_VERTICAL. Default is ELBOW_HORIZONTAL. This defines how the three segment orthogonal edge style leaves its terminal vertices. The vertical style leaves the terminal vertices at the top and bottom sides. Value is “elbow”.
STYLE_ANCHOR_POINT_DIRECTION: 'anchorPointDirection'
Defines the key for the anchorPointDirection style. The defines if the direction style should be taken into account when computing the fixed point location for connected edges. Default is 1 (yes). Set this to 0 to ignore the direction style for fixed connection points. Value is “anchorPointDirection”.
STYLE_ELBOW: 'elbow'
Defines the key for the elbow style. Possible values are ELBOW_HORIZONTAL and ELBOW_VERTICAL. Default is ELBOW_HORIZONTAL. This defines how the three segment orthogonal edge style leaves its terminal vertices. The vertical style leaves the terminal vertices at the top and bottom sides. Value is “elbow”.
STYLE_FONTSTYLE: 'fontStyle'
Defines the key for the fontStyle style. Values may be any logical AND (sum) of FONT_BOLD, FONT_ITALIC and FONT_UNDERLINE. The type of the value is int. Value is “fontStyle”.
STYLE_FONTSTYLE: 'fontStyle'
Defines the key for the fontStyle style. Values may be any logical AND (sum) of FONT_BOLD, FONT_ITALIC and FONT_UNDERLINE. The type of the value is int. Value is “fontStyle”.
STYLE_AUTOSIZE: 'autosize'
Defines the key for the autosize style. This specifies if a cell should be resized automatically if the value has changed. Possible values are 0 or 1. Default is 0. See mxGraph.isAutoSizeCell. This is normally combined with STYLE_RESIZABLE to disable manual sizing. Value is “autosize”.
STYLE_AUTOSIZE: 'autosize'
Defines the key for the autosize style. This specifies if a cell should be resized automatically if the value has changed. Possible values are 0 or 1. Default is 0. See mxGraph.isAutoSizeCell. This is normally combined with STYLE_RESIZABLE to disable manual sizing. Value is “autosize”.
STYLE_FOLDABLE: 'foldable'
Defines the key for the foldable style. This specifies if a cell is foldable using a folding icon. Possible values are 0 or 1. Default is 1. See mxGraph.isCellFoldable. Value is “foldable”.
STYLE_FOLDABLE: 'foldable'
Defines the key for the foldable style. This specifies if a cell is foldable using a folding icon. Possible values are 0 or 1. Default is 1. See mxGraph.isCellFoldable. Value is “foldable”.
STYLE_EDITABLE: 'editable'
Defines the key for the editable style. This specifies if the value of a cell can be edited using the in-place editor. Possible values are 0 or 1. Default is 1. See mxGraph.isCellEditable. Value is “editable”.
STYLE_EDITABLE: 'editable'
Defines the key for the editable style. This specifies if the value of a cell can be edited using the in-place editor. Possible values are 0 or 1. Default is 1. See mxGraph.isCellEditable. Value is “editable”.
STYLE_BENDABLE: 'bendable'
Defines the key for the bendable style. This specifies if the control points of an edge can be moved. Possible values are 0 or 1. Default is 1. See mxGraph.isCellBendable. Value is “bendable”.
STYLE_MOVABLE: 'movable'
Defines the key for the movable style. This specifies if a cell can be moved. Possible values are 0 or 1. Default is 1. See mxGraph.isCellMovable. Value is “movable”.
STYLE_BENDABLE: 'bendable'
Defines the key for the bendable style. This specifies if the control points of an edge can be moved. Possible values are 0 or 1. Default is 1. See mxGraph.isCellBendable. Value is “bendable”.
STYLE_RESIZABLE: 'resizable'
Defines the key for the resizable style. This specifies if a cell can be resized. Possible values are 0 or 1. Default is 1. See mxGraph.isCellResizable. Value is “resizable”.
STYLE_MOVABLE: 'movable'
Defines the key for the movable style. This specifies if a cell can be moved. Possible values are 0 or 1. Default is 1. See mxGraph.isCellMovable. Value is “movable”.
STYLE_RESIZABLE: 'resizable'
Defines the key for the resizable style. This specifies if a cell can be resized. Possible values are 0 or 1. Default is 1. See mxGraph.isCellResizable. Value is “resizable”.
STYLE_RESIZE_WIDTH: 'resizeWidth'
Defines the key for the resizeWidth style. This specifies if a cell’s width is resized if the parent is resized. If this is 1 then the width will be resized even if the cell’s geometry is relative. If this is 0 then the cell’s width will not be resized. Default is not defined. Value is “resizeWidth”.
Defines the key for the resizeHeight style. This specifies if a cell’s height if resize if the parent is resized. If this is 1 then the height will be resized even if the cell’s geometry is relative. If this is 0 then the cell’s height will not be resized. Default is not defined. Value is “resizeHeight”.
STYLE_ROTATABLE: 'rotatable'
Defines the key for the rotatable style. This specifies if a cell can be rotated. Possible values are 0 or 1. Default is 1. See mxGraph.isCellRotatable. Value is “rotatable”.
STYLE_ROTATABLE: 'rotatable'
Defines the key for the rotatable style. This specifies if a cell can be rotated. Possible values are 0 or 1. Default is 1. See mxGraph.isCellRotatable. Value is “rotatable”.
STYLE_CLONEABLE: 'cloneable'
Defines the key for the cloneable style. This specifies if a cell can be cloned. Possible values are 0 or 1. Default is 1. See mxGraph.isCellCloneable. Value is “cloneable”.
STYLE_CLONEABLE: 'cloneable'
Defines the key for the cloneable style. This specifies if a cell can be cloned. Possible values are 0 or 1. Default is 1. See mxGraph.isCellCloneable. Value is “cloneable”.
STYLE_DELETABLE: 'deletable'
Defines the key for the deletable style. This specifies if a cell can be deleted. Possible values are 0 or 1. Default is 1. See mxGraph.isCellDeletable. Value is “deletable”.
STYLE_DELETABLE: 'deletable'
Defines the key for the deletable style. This specifies if a cell can be deleted. Possible values are 0 or 1. Default is 1. See mxGraph.isCellDeletable. Value is “deletable”.
STYLE_EDGE: 'edgeStyle'
Defines the key for the edge style. Possible values are the functions defined in mxEdgeStyle. Value is “edgeStyle”.
STYLE_EDGE: 'edgeStyle'
Defines the key for the edge style. Possible values are the functions defined in mxEdgeStyle. Value is “edgeStyle”.
STYLE_JETTY_SIZE: 'jettySize'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector. Default is 10. Possible values are all numeric values or “auto”. Value is “jettySize”.
STYLE_JETTY_SIZE: 'jettySize'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector. Default is 10. Possible values are all numeric values or “auto”. Value is “jettySize”.
STYLE_SOURCE_JETTY_SIZE: 'sourceJettySize'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector. Default is 10. Possible values are numeric values or “auto”. This has precedence over STYLE_JETTY_SIZE. Value is “sourceJettySize”.
STYLE_SOURCE_JETTY_SIZE: 'sourceJettySize'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector. Default is 10. Possible values are numeric values or “auto”. This has precedence over STYLE_JETTY_SIZE. Value is “sourceJettySize”.
STYLE_TARGET_JETTY_SIZE: 'targetJettySize'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector. Default is 10. Possible values are numeric values or “auto”. This has precedence over STYLE_JETTY_SIZE. Value is “targetJettySize”.
STYLE_TARGET_JETTY_SIZE: 'targetJettySize'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector. Default is 10. Possible values are numeric values or “auto”. This has precedence over STYLE_JETTY_SIZE. Value is “targetJettySize”.
STYLE_LOOP: 'loopStyle'
Defines the key for the loop style. Possible values are the functions defined in mxEdgeStyle. Value is “loopStyle”.
STYLE_LOOP: 'loopStyle'
Defines the key for the loop style. Possible values are the functions defined in mxEdgeStyle. Value is “loopStyle”.
STYLE_ORTHOGONAL_LOOP: 'orthogonalLoop'
Defines the key for the orthogonal loop style. Possible values are 0 and 1. Default is 0. Value is “orthogonalLoop”. Use this style to specify if loops should be routed using an orthogonal router. Currently, this uses mxEdgeStyle.OrthConnector but will be replaced with a dedicated orthogonal loop router in later releases.
STYLE_ORTHOGONAL_LOOP: 'orthogonalLoop'
Defines the key for the orthogonal loop style. Possible values are 0 and 1. Default is 0. Value is “orthogonalLoop”. Use this style to specify if loops should be routed using an orthogonal router. Currently, this uses mxEdgeStyle.OrthConnector but will be replaced with a dedicated orthogonal loop router in later releases.
SHAPE_RECTANGLE: 'rectangle'
Name under which mxRectangleShape is registered in mxCellRenderer. Default is rectangle.
SHAPE_RECTANGLE: 'rectangle'
Name under which mxRectangleShape is registered in mxCellRenderer. Default is rectangle.
SHAPE_ELLIPSE: 'ellipse'
Name under which mxEllipse is registered in mxCellRenderer. Default is ellipse.
SHAPE_ELLIPSE: 'ellipse'
Name under which mxEllipse is registered in mxCellRenderer. Default is ellipse.
SHAPE_DOUBLE_ELLIPSE: 'doubleEllipse'
Name under which mxDoubleEllipse is registered in mxCellRenderer. Default is doubleEllipse.
SHAPE_DOUBLE_ELLIPSE: 'doubleEllipse'
Name under which mxDoubleEllipse is registered in mxCellRenderer. Default is doubleEllipse.
SHAPE_RHOMBUS: 'rhombus'
Name under which mxRhombus is registered in mxCellRenderer. Default is rhombus.
SHAPE_RHOMBUS: 'rhombus'
Name under which mxRhombus is registered in mxCellRenderer. Default is rhombus.
SHAPE_LINE: 'line'
Name under which mxLine is registered in mxCellRenderer. Default is line.
SHAPE_LINE: 'line'
Name under which mxLine is registered in mxCellRenderer. Default is line.
SHAPE_IMAGE: 'image'
Name under which mxImageShape is registered in mxCellRenderer. Default is image.
SHAPE_IMAGE: 'image'
Name under which mxImageShape is registered in mxCellRenderer. Default is image.
SHAPE_ARROW: 'arrow'
Name under which mxArrow is registered in mxCellRenderer. Default is arrow.
SHAPE_ARROW: 'arrow'
Name under which mxArrow is registered in mxCellRenderer. Default is arrow.
SHAPE_ARROW_CONNECTOR: 'arrowConnector'
Name under which mxArrowConnector is registered in mxCellRenderer. Default is arrowConnector.
SHAPE_ARROW_CONNECTOR: 'arrowConnector'
Name under which mxArrowConnector is registered in mxCellRenderer. Default is arrowConnector.
SHAPE_LABEL: 'label'
Name under which mxLabel is registered in mxCellRenderer. Default is label.
SHAPE_LABEL: 'label'
Name under which mxLabel is registered in mxCellRenderer. Default is label.
SHAPE_CYLINDER: 'cylinder'
Name under which mxCylinder is registered in mxCellRenderer. Default is cylinder.
SHAPE_CYLINDER: 'cylinder'
Name under which mxCylinder is registered in mxCellRenderer. Default is cylinder.
SHAPE_SWIMLANE: 'swimlane'
Name under which mxSwimlane is registered in mxCellRenderer. Default is swimlane.
SHAPE_SWIMLANE: 'swimlane'
Name under which mxSwimlane is registered in mxCellRenderer. Default is swimlane.
SHAPE_CONNECTOR: 'connector'
Name under which mxConnector is registered in mxCellRenderer. Default is connector.
SHAPE_CONNECTOR: 'connector'
Name under which mxConnector is registered in mxCellRenderer. Default is connector.
SHAPE_ACTOR: 'actor'
Name under which mxActor is registered in mxCellRenderer. Default is actor.
SHAPE_ACTOR: 'actor'
Name under which mxActor is registered in mxCellRenderer. Default is actor.
SHAPE_CLOUD: 'cloud'
Name under which mxCloud is registered in mxCellRenderer. Default is cloud.
SHAPE_CLOUD: 'cloud'
Name under which mxCloud is registered in mxCellRenderer. Default is cloud.
SHAPE_TRIANGLE: 'triangle'
Name under which mxTriangle is registered in mxCellRenderer. Default is triangle.
SHAPE_TRIANGLE: 'triangle'
Name under which mxTriangle is registered in mxCellRenderer. Default is triangle.
SHAPE_HEXAGON: 'hexagon'
Name under which mxHexagon is registered in mxCellRenderer. Default is hexagon.
SHAPE_HEXAGON: 'hexagon'
Name under which mxHexagon is registered in mxCellRenderer. Default is hexagon.
TEXT_DIRECTION_AUTO: 'auto'
Constant for text direction automatic. Default is auto. Use this value to find the direction for a given text with mxText.getAutoDirection.
TEXT_DIRECTION_AUTO: 'auto'
Constant for text direction automatic. Default is auto. Use this value to find the direction for a given text with mxText.getAutoDirection.
Defines the portion of the cell which is to be used as a connectable region.
DEFAULT_HOTSPOT: 0.3
Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region.
MIN_HOTSPOT_SIZE: 8
Defines the maximum size in pixels of the portion of the cell which is to be used as a connectable region.
MAX_HOTSPOT_SIZE: 0
Defines the exact rendering hint.
RENDERING_HINT_EXACT: 'exact'
Defines the faster rendering hint.
RENDERING_HINT_FASTER: 'faster'
Defines the fastest rendering hint.
RENDERING_HINT_FASTEST: 'fastest'
Defines the SVG display dialect name.
DIALECT_SVG: 'svg'
Defines the VML display dialect name.
DIALECT_VML: 'vml'
Defines the mixed HTML display dialect name.
DIALECT_MIXEDHTML: 'mixedHtml'
Defines the preferred HTML display dialect name.
DIALECT_PREFERHTML: 'preferHtml'
Defines the strict HTML display dialect.
DIALECT_STRICTHTML: 'strictHtml'
Defines the SVG namespace.
NS_SVG: 'http://www.w3.org/2000/svg'
Defines the XHTML namespace.
NS_XHTML: 'http://www.w3.org/1999/xhtml'
Defines the XLink namespace.
NS_XLINK: 'http://www.w3.org/1999/xlink'
Defines the color to be used to draw shadows in shapes and windows.
SHADOWCOLOR: 'gray'
Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
VML_SHADOWCOLOR: 'gray'
Specifies the x-offset of the shadow.
SHADOW_OFFSET_X: 2
Specifies the y-offset of the shadow.
SHADOW_OFFSET_Y: 3
Defines the opacity for shadows.
SHADOW_OPACITY: 1
DOM node of type ELEMENT.
NODETYPE_ELEMENT: 1
DOM node of type ATTRIBUTE.
NODETYPE_ATTRIBUTE: 2
DOM node of type TEXT.
NODETYPE_TEXT: 3
DOM node of type CDATA.
NODETYPE_CDATA: 4
DOM node of type ENTITY_REFERENCE.
NODETYPE_ENTITY_REFERENCE: 5
DOM node of type ENTITY.
NODETYPE_ENTITY: 6
DOM node of type PROCESSING_INSTRUCTION.
NODETYPE_PROCESSING_INSTRUCTION: 7
DOM node of type COMMENT.
NODETYPE_COMMENT: 8
DOM node of type DOCUMENT.
NODETYPE_DOCUMENT: 9
DOM node of type DOCUMENTTYPE.
NODETYPE_DOCUMENTTYPE: 10
DOM node of type DOCUMENT_FRAGMENT.
NODETYPE_DOCUMENT_FRAGMENT: 11
DOM node of type NOTATION.
NODETYPE_NOTATION: 12
Defines the vertical offset for the tooltip.
TOOLTIP_VERTICAL_OFFSET: 16
Specifies the default valid color.
DEFAULT_VALID_COLOR: '#00FF00'
Specifies the default invalid color.
DEFAULT_INVALID_COLOR: '#FF0000'
Specifies the default highlight color for shape outlines.
OUTLINE_HIGHLIGHT_COLOR: '#00FF00'
Defines the strokewidth to be used for the highlights.
HIGHLIGHT_STROKEWIDTH: 3
Opacity (in %) used for the highlights (including outline).
HIGHLIGHT_OPACITY: 100
Defines the cursor for a movable vertex.
CURSOR_MOVABLE_VERTEX: 'move'
Defines the cursor for a movable edge.
CURSOR_MOVABLE_EDGE: 'move'
Defines the cursor for a movable label.
CURSOR_LABEL_HANDLE: 'default'
Defines the cursor for a terminal handle.
CURSOR_TERMINAL_HANDLE: 'pointer'
Defines the cursor for a movable bend.
CURSOR_BEND_HANDLE: 'crosshair'
Defines the cursor for a movable bend.
CURSOR_VIRTUAL_BEND_HANDLE: 'crosshair'
Defines the cursor for a connectable state.
CURSOR_CONNECT: 'pointer'
Defines the color to be used for the cell highlighting.
HIGHLIGHT_COLOR: '#00FF00'
Defines the color to be used for highlighting a invalid target cells for a new or changed connections.
INVALID_CONNECT_TARGET_COLOR: '#FF0000'
Defines the color to be used for the highlighting target parent cells (for drag and drop).
DROP_TARGET_COLOR: '#0000FF'
Defines the color to be used for the coloring valid connection previews.
VALID_COLOR: '#00FF00'
Defines the color to be used for the coloring invalid connection previews.
INVALID_COLOR: '#FF0000'
Defines the color to be used for the selection border of edges.
EDGE_SELECTION_COLOR: '#00FF00'
Defines the color to be used for the selection border of vertices.
VERTEX_SELECTION_COLOR: '#00FF00'
Defines the strokewidth to be used for vertex selections.
VERTEX_SELECTION_STROKEWIDTH: 1
Defines the strokewidth to be used for edge selections.
EDGE_SELECTION_STROKEWIDTH: 1
Defines the dashed state to be used for the vertex selection border.
VERTEX_SELECTION_DASHED: true
Defines the color to be used for the guidelines in mxGraphHandler.
GUIDE_COLOR: '#FF0000'
Defines the strokewidth to be used for the guidelines in mxGraphHandler.
GUIDE_STROKEWIDTH: 1
Defines the color to be used for the outline rectangle border.
OUTLINE_COLOR: '#0099FF'
Defines the strokewidth to be used for the outline rectangle stroke width.
OUTLINE_STROKEWIDTH: ( mxClient.IS_IE ) ? 2 : 3
Defines the default size for handles.
HANDLE_SIZE: 6
Defines the default size for label handles.
LABEL_HANDLE_SIZE: 4
Defines the color to be used for the handle fill color.
HANDLE_FILLCOLOR: '#00FF00'
Defines the color to be used for the handle stroke color.
HANDLE_STROKECOLOR: 'black'
Defines the color to be used for the label handle fill color.
LABEL_HANDLE_FILLCOLOR: 'yellow'
Defines the color to be used for the connect handle fill color.
CONNECT_HANDLE_FILLCOLOR: '#0000FF'
Defines the color to be used for the locked handle fill color.
LOCKED_HANDLE_FILLCOLOR: '#FF0000'
Defines the color to be used for the outline sizer fill color.
OUTLINE_HANDLE_FILLCOLOR: '#00FFFF'
Defines the color to be used for the outline sizer stroke color.
OUTLINE_HANDLE_STROKECOLOR: '#0033FF'
Defines the default family for all fonts.
DEFAULT_FONTFAMILY: 'Arial
Defines the default size (in px).
DEFAULT_FONTSIZE: 11
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style.
DEFAULT_TEXT_DIRECTION: ''
Defines the key for the text direction style.
STYLE_TEXT_DIRECTION: 'textDirection'
Defines the default line height for text labels.
LINE_HEIGHT: 1.2
Defines the CSS value for the word-wrap property.
WORD_WRAP: 'normal'
Specifies if absolute line heights should be used (px) in CSS.
ABSOLUTE_LINE_HEIGHT: false
Defines the default style for all fonts.
DEFAULT_FONTSTYLE: 0
Defines the default start size for swimlanes.
DEFAULT_STARTSIZE: 40
Defines the default size for all markers.
DEFAULT_MARKERSIZE: 6
Defines the default width and height for images used in the label shape.
DEFAULT_IMAGESIZE: 24
Defines the length of the horizontal segment of an Entity Relation.
ENTITY_SEGMENT: 30
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
RECTANGLE_ROUNDING_FACTOR: 0.15
Defines the size of the arcs for rounded edges.
LINE_ARCSIZE: 20
Defines the spacing between the arrow shape and its terminals.
ARROW_SPACING: 0
Defines the width of the arrow shape.
ARROW_WIDTH: 30
Defines the size of the arrowhead in the arrow shape.
ARROW_SIZE: 30
Defines the rectangle for the A4 portrait page format.
PAGE_FORMAT_A4_PORTRAIT: new mxRectangle( 0, 0, 827, 1169 )
Defines the rectangle for the Letter portrait page format.
PAGE_FORMAT_LETTER_PORTRAIT: new mxRectangle( 0, 0, 850, 1100 )
Defines the value for none.
NONE: 'none'
Defines the key for the perimeter style.
STYLE_PERIMETER: 'perimeter'
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
STYLE_SOURCE_PORT: 'sourcePort'
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
STYLE_TARGET_PORT: 'targetPort'
Defines the direction(s) that edges are allowed to connect to cells in.
STYLE_PORT_CONSTRAINT: 'portConstraint'
Define whether port constraint directions are rotated with vertex rotation.
STYLE_PORT_CONSTRAINT_ROTATION: 'portConstraintRotation'
Defines the direction(s) that edges are allowed to connect to sources in.
STYLE_SOURCE_PORT_CONSTRAINT: 'sourcePortConstraint'
Defines the direction(s) that edges are allowed to connect to targets in.
STYLE_TARGET_PORT_CONSTRAINT: 'targetPortConstraint'
Defines the key for the opacity style.
STYLE_OPACITY: 'opacity'
Defines the key for the fill opacity style.
STYLE_FILL_OPACITY: 'fillOpacity'
Defines the key for the stroke opacity style.
STYLE_STROKE_OPACITY: 'strokeOpacity'
Defines the key for the text opacity style.
STYLE_TEXT_OPACITY: 'textOpacity'
Defines the key for the overflow style.
STYLE_OVERFLOW: 'overflow'
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
STYLE_ORTHOGONAL: 'orthogonal'
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_X: 'exitX'
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_Y: 'exitY'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
STYLE_EXIT_PERIMETER: 'exitPerimeter'
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_X: 'entryX'
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_Y: 'entryY'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
STYLE_ENTRY_PERIMETER: 'entryPerimeter'
Defines the key for the white-space style.
STYLE_WHITE_SPACE: 'whiteSpace'
Defines the key for the rotation style.
STYLE_ROTATION: 'rotation'
Defines the key for the fill color.
STYLE_FILLCOLOR: 'fillColor'
Specifies if pointer events should be fired on transparent backgrounds.
STYLE_POINTER_EVENTS: 'pointerEvents'
Defines the key for the fill color of the swimlane background.
STYLE_SWIMLANE_FILLCOLOR: 'swimlaneFillColor'
Defines the key for the margin between the ellipses in the double ellipse shape.
STYLE_MARGIN: 'margin'
Defines the key for the gradient color.
STYLE_GRADIENTCOLOR: 'gradientColor'
Defines the key for the gradient direction.
STYLE_GRADIENT_DIRECTION: 'gradientDirection'
Defines the key for the strokeColor style.
STYLE_STROKECOLOR: 'strokeColor'
Defines the key for the separatorColor style.
STYLE_SEPARATORCOLOR: 'separatorColor'
Defines the key for the strokeWidth style.
STYLE_STROKEWIDTH: 'strokeWidth'
Defines the key for the align style.
STYLE_ALIGN: 'align'
Defines the key for the verticalAlign style.
STYLE_VERTICAL_ALIGN: 'verticalAlign'
Defines the key for the width of the label if the label position is not center.
STYLE_LABEL_WIDTH: 'labelWidth'
Defines the key for the horizontal label position of vertices.
STYLE_LABEL_POSITION: 'labelPosition'
Defines the key for the vertical label position of vertices.
STYLE_VERTICAL_LABEL_POSITION: 'verticalLabelPosition'
Defines the key for the image aspect style.
STYLE_IMAGE_ASPECT: 'imageAspect'
Defines the key for the align style.
STYLE_IMAGE_ALIGN: 'imageAlign'
Defines the key for the verticalAlign style.
STYLE_IMAGE_VERTICAL_ALIGN: 'imageVerticalAlign'
Defines the key for the glass style.
STYLE_GLASS: 'glass'
Defines the key for the image style.
STYLE_IMAGE: 'image'
Defines the key for the imageWidth style.
STYLE_IMAGE_WIDTH: 'imageWidth'
Defines the key for the imageHeight style.
STYLE_IMAGE_HEIGHT: 'imageHeight'
Defines the key for the image background color.
STYLE_IMAGE_BACKGROUND: 'imageBackground'
Defines the key for the image border color.
STYLE_IMAGE_BORDER: 'imageBorder'
Defines the key for the horizontal image flip.
STYLE_FLIPH: 'flipH'
Defines the key for the vertical flip.
STYLE_FLIPV: 'flipV'
Defines the key for the noLabel style.
STYLE_NOLABEL: 'noLabel'
Defines the key for the noEdgeStyle style.
STYLE_NOEDGESTYLE: 'noEdgeStyle'
Defines the key for the label background color.
STYLE_LABEL_BACKGROUNDCOLOR: 'labelBackgroundColor'
Defines the key for the label border color.
STYLE_LABEL_BORDERCOLOR: 'labelBorderColor'
Defines the key for the label padding, ie.
STYLE_LABEL_PADDING: 'labelPadding'
Defines the key for the indicator shape used within an mxLabel.
STYLE_INDICATOR_SHAPE: 'indicatorShape'
Defines the key for the indicator image used within an mxLabel.
STYLE_INDICATOR_IMAGE: 'indicatorImage'
Defines the key for the indicatorColor style.
STYLE_INDICATOR_COLOR: 'indicatorColor'
Defines the key for the indicator stroke color in mxLabel.
STYLE_INDICATOR_STROKECOLOR: 'indicatorStrokeColor'
Defines the key for the indicatorGradientColor style.
STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'
The defines the key for the spacing between the label and the indicator in mxLabel.
STYLE_INDICATOR_SPACING: 'indicatorSpacing'
Defines the key for the indicator width.
STYLE_INDICATOR_WIDTH: 'indicatorWidth'
Defines the key for the indicator height.
STYLE_INDICATOR_HEIGHT: 'indicatorHeight'
Defines the key for the indicatorDirection style.
STYLE_INDICATOR_DIRECTION: 'indicatorDirection'
Defines the key for the shadow style.
STYLE_SHADOW: 'shadow'
Defines the key for the segment style.
STYLE_SEGMENT: 'segment'
Defines the key for the end arrow marker.
STYLE_ENDARROW: 'endArrow'
Defines the key for the start arrow marker.
STYLE_STARTARROW: 'startArrow'
Defines the key for the endSize style.
STYLE_ENDSIZE: 'endSize'
Defines the key for the startSize style.
STYLE_STARTSIZE: 'startSize'
Defines the key for the swimlaneLine style.
STYLE_SWIMLANE_LINE: 'swimlaneLine'
Defines the key for the endFill style.
STYLE_ENDFILL: 'endFill'
Defines the key for the startFill style.
STYLE_STARTFILL: 'startFill'
Defines the key for the dashed style.
STYLE_DASHED: 'dashed'
Defines the key for the fixDash style.
STYLE_FIX_DASH: 'fixDash'
Defines the key for the rounded style.
STYLE_ROUNDED: 'rounded'
Defines the key for the curved style.
STYLE_CURVED: 'curved'
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
STYLE_ARCSIZE: 'arcSize'
Defines the key for the absolute arc size style.
STYLE_ABSOLUTE_ARCSIZE: 'absoluteArcSize'
Defines the key for the source perimeter spacing.
STYLE_SOURCE_PERIMETER_SPACING: 'sourcePerimeterSpacing'
Defines the key for the target perimeter spacing.
STYLE_TARGET_PERIMETER_SPACING: 'targetPerimeterSpacing'
Defines the key for the perimeter spacing.
STYLE_PERIMETER_SPACING: 'perimeterSpacing'
Defines the key for the spacing.
STYLE_SPACING: 'spacing'
Defines the key for the spacingTop style.
STYLE_SPACING_TOP: 'spacingTop'
Defines the key for the spacingLeft style.
STYLE_SPACING_LEFT: 'spacingLeft'
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_BOTTOM: 'spacingBottom'
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_RIGHT: 'spacingRight'
Defines the key for the horizontal style.
STYLE_HORIZONTAL: 'horizontal'
Defines the key for the direction style.
STYLE_DIRECTION: 'direction'
Defines the key for the elbow style.
STYLE_ELBOW: 'elbow'
Defines the key for the fontColor style.
STYLE_FONTCOLOR: 'fontColor'
Defines the key for the fontFamily style.
STYLE_FONTFAMILY: 'fontFamily'
Defines the key for the fontSize style (in px).
STYLE_FONTSIZE: 'fontSize'
Defines the key for the fontStyle style.
STYLE_FONTSTYLE: 'fontStyle'
Defines the key for the aspect style.
STYLE_ASPECT: 'aspect'
Defines the key for the autosize style.
STYLE_AUTOSIZE: 'autosize'
Defines the key for the foldable style.
STYLE_FOLDABLE: 'foldable'
Defines the key for the editable style.
STYLE_EDITABLE: 'editable'
Defines the key for the bendable style.
STYLE_BENDABLE: 'bendable'
Defines the key for the movable style.
STYLE_MOVABLE: 'movable'
Defines the key for the resizable style.
STYLE_RESIZABLE: 'resizable'
Defines the key for the resizeWidth style.
STYLE_RESIZE_WIDTH: 'resizeWidth'
Defines the key for the rotatable style.
STYLE_ROTATABLE: 'rotatable'
Defines the key for the cloneable style.
STYLE_CLONEABLE: 'cloneable'
Defines the key for the deletable style.
STYLE_DELETABLE: 'deletable'
Defines the key for the shape.
STYLE_SHAPE: 'shape'
Defines the key for the edge style.
STYLE_EDGE: 'edgeStyle'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_JETTY_SIZE: 'jettySize'
Implements a local orthogonal router between the given cells.
OrthConnector: function( state, source, target, points, result )
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_SOURCE_JETTY_SIZE: 'sourceJettySize'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_TARGET_JETTY_SIZE: 'targetJettySize'
Defines the key for the loop style.
STYLE_LOOP: 'loopStyle'
Defines the key for the orthogonal loop style.
STYLE_ORTHOGONAL_LOOP: 'orthogonalLoop'
Defines the key for the horizontal routing center.
STYLE_ROUTING_CENTER_X: 'routingCenterX'
Defines the key for the vertical routing center.
STYLE_ROUTING_CENTER_Y: 'routingCenterY'
Constant for bold fonts.
FONT_BOLD: 1
Constant for italic fonts.
FONT_ITALIC: 2
Constant for underlined fonts.
FONT_UNDERLINE: 4
Name under which mxRectangleShape is registered in mxCellRenderer.
SHAPE_RECTANGLE: 'rectangle'
Name under which mxEllipse is registered in mxCellRenderer.
SHAPE_ELLIPSE: 'ellipse'
Name under which mxDoubleEllipse is registered in mxCellRenderer.
SHAPE_DOUBLE_ELLIPSE: 'doubleEllipse'
Name under which mxRhombus is registered in mxCellRenderer.
SHAPE_RHOMBUS: 'rhombus'
Name under which mxLine is registered in mxCellRenderer.
SHAPE_LINE: 'line'
Name under which mxImageShape is registered in mxCellRenderer.
SHAPE_IMAGE: 'image'
Name under which mxArrow is registered in mxCellRenderer.
SHAPE_ARROW: 'arrow'
Name under which mxArrowConnector is registered in mxCellRenderer.
SHAPE_ARROW_CONNECTOR: 'arrowConnector'
Name under which mxLabel is registered in mxCellRenderer.
SHAPE_LABEL: 'label'
Name under which mxCylinder is registered in mxCellRenderer.
SHAPE_CYLINDER: 'cylinder'
Name under which mxSwimlane is registered in mxCellRenderer.
SHAPE_SWIMLANE: 'swimlane'
Name under which mxConnector is registered in mxCellRenderer.
SHAPE_CONNECTOR: 'connector'
Name under which mxActor is registered in mxCellRenderer.
SHAPE_ACTOR: 'actor'
Name under which mxCloud is registered in mxCellRenderer.
SHAPE_CLOUD: 'cloud'
Name under which mxTriangle is registered in mxCellRenderer.
SHAPE_TRIANGLE: 'triangle'
Name under which mxHexagon is registered in mxCellRenderer.
SHAPE_HEXAGON: 'hexagon'
Constant for classic arrow markers.
ARROW_CLASSIC: 'classic'
Constant for thin classic arrow markers.
ARROW_CLASSIC_THIN: 'classicThin'
Constant for block arrow markers.
ARROW_BLOCK: 'block'
Constant for thin block arrow markers.
ARROW_BLOCK_THIN: 'blockThin'
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'
Constant for diamond arrow markers.
ARROW_DIAMOND: 'diamond'
Constant for thin diamond arrow markers.
ARROW_DIAMOND_THIN: 'diamondThin'
Constant for left horizontal alignment.
ALIGN_LEFT: 'left'
Constant for center horizontal alignment.
ALIGN_CENTER: 'center'
Constant for right horizontal alignment.
ALIGN_RIGHT: 'right'
Constant for top vertical alignment.
ALIGN_TOP: 'top'
Constant for middle vertical alignment.
ALIGN_MIDDLE: 'middle'
Constant for bottom vertical alignment.
ALIGN_BOTTOM: 'bottom'
Constant for direction north.
DIRECTION_NORTH: 'north'
Constant for direction south.
DIRECTION_SOUTH: 'south'
Constant for direction east.
DIRECTION_EAST: 'east'
Constant for direction west.
DIRECTION_WEST: 'west'
Constant for text direction default.
TEXT_DIRECTION_DEFAULT: ''
Constant for text direction automatic.
TEXT_DIRECTION_AUTO: 'auto'
Constant for text direction left to right.
TEXT_DIRECTION_LTR: 'ltr'
Constant for text direction right to left.
TEXT_DIRECTION_RTL: 'rtl'
Constant for no direction.
DIRECTION_MASK_NONE: 0
Bitwise mask for west direction.
DIRECTION_MASK_WEST: 1
Bitwise mask for north direction.
DIRECTION_MASK_NORTH: 2
Bitwise mask for south direction.
DIRECTION_MASK_SOUTH: 4
Bitwise mask for east direction.
DIRECTION_MASK_EAST: 8
Bitwise mask for all directions.
DIRECTION_MASK_ALL: 15
Constant for elbow vertical.
ELBOW_VERTICAL: 'vertical'
Constant for elbow horizontal.
ELBOW_HORIZONTAL: 'horizontal'
Name of the elbow edge style.
EDGESTYLE_ELBOW: 'elbowEdgeStyle'
Name of the entity relation edge style.
EDGESTYLE_ENTITY_RELATION: 'entityRelationEdgeStyle'
Name of the loop edge style.
EDGESTYLE_LOOP: 'loopEdgeStyle'
Name of the side to side edge style.
EDGESTYLE_SIDETOSIDE: 'sideToSideEdgeStyle'
Name of the top to bottom edge style.
EDGESTYLE_TOPTOBOTTOM: 'topToBottomEdgeStyle'
Name of the generic orthogonal edge style.
EDGESTYLE_ORTHOGONAL: 'orthogonalEdgeStyle'
Name of the generic segment edge style.
EDGESTYLE_SEGMENT: 'segmentEdgeStyle'
Name of the ellipse perimeter.
PERIMETER_ELLIPSE: 'ellipsePerimeter'
Name of the rectangle perimeter.
PERIMETER_RECTANGLE: 'rectanglePerimeter'
Name of the rhombus perimeter.
PERIMETER_RHOMBUS: 'rhombusPerimeter'
Name of the hexagon perimeter.
PERIMETER_HEXAGON: 'hexagonPerimeter'
Name of the triangle perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter'
Returns true if the overflow portion of labels should be hidden.
mxGraph.prototype.isLabelClipped = function( cell )
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxGraph.prototype.isOrthogonal = function( edge )
This enables wrapping for HTML labels.
mxGraph.prototype.isWrapping = function( cell )
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCell = function( cell )
Returns true if the given cell is foldable.
mxGraph.prototype.isCellFoldable = function( cell, collapse )
Returns true if the given cell is editable.
mxGraph.prototype.isCellEditable = function( cell )
Returns true if the given cell is bendable.
mxGraph.prototype.isCellBendable = function( cell )
Returns true if the given cell is moveable.
mxGraph.prototype.isCellMovable = function( cell )
Returns true if the given cell is resizable.
mxGraph.prototype.isCellResizable = function( cell )
Returns true if the given cell is rotatable.
mxGraph.prototype.isCellRotatable = function( cell )
Returns true if the given cell is cloneable.
mxGraph.prototype.isCellCloneable = function( cell )
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDeletable = function( cell )
Used to determine the automatic text direction.
mxText.prototype.getAutoDirection = function()
Defines the portion of the cell which is to be used as a connectable region.
DEFAULT_HOTSPOT: 0.3
Defines the minimum size in pixels of the portion of the cell which is to be used as a connectable region.
MIN_HOTSPOT_SIZE: 8
Defines the maximum size in pixels of the portion of the cell which is to be used as a connectable region.
MAX_HOTSPOT_SIZE: 0
Defines the exact rendering hint.
RENDERING_HINT_EXACT: 'exact'
Defines the faster rendering hint.
RENDERING_HINT_FASTER: 'faster'
Defines the fastest rendering hint.
RENDERING_HINT_FASTEST: 'fastest'
Defines the SVG display dialect name.
DIALECT_SVG: 'svg'
Defines the VML display dialect name.
DIALECT_VML: 'vml'
Defines the mixed HTML display dialect name.
DIALECT_MIXEDHTML: 'mixedHtml'
Defines the preferred HTML display dialect name.
DIALECT_PREFERHTML: 'preferHtml'
Defines the strict HTML display dialect.
DIALECT_STRICTHTML: 'strictHtml'
Defines the SVG namespace.
NS_SVG: 'http://www.w3.org/2000/svg'
Defines the XHTML namespace.
NS_XHTML: 'http://www.w3.org/1999/xhtml'
Defines the XLink namespace.
NS_XLINK: 'http://www.w3.org/1999/xlink'
Defines the color to be used to draw shadows in shapes and windows.
SHADOWCOLOR: 'gray'
Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
VML_SHADOWCOLOR: 'gray'
Specifies the x-offset of the shadow.
SHADOW_OFFSET_X: 2
Specifies the y-offset of the shadow.
SHADOW_OFFSET_Y: 3
Defines the opacity for shadows.
SHADOW_OPACITY: 1
DOM node of type ELEMENT.
NODETYPE_ELEMENT: 1
DOM node of type ATTRIBUTE.
NODETYPE_ATTRIBUTE: 2
DOM node of type TEXT.
NODETYPE_TEXT: 3
DOM node of type CDATA.
NODETYPE_CDATA: 4
DOM node of type ENTITY_REFERENCE.
NODETYPE_ENTITY_REFERENCE: 5
DOM node of type ENTITY.
NODETYPE_ENTITY: 6
DOM node of type PROCESSING_INSTRUCTION.
NODETYPE_PROCESSING_INSTRUCTION: 7
DOM node of type COMMENT.
NODETYPE_COMMENT: 8
DOM node of type DOCUMENT.
NODETYPE_DOCUMENT: 9
DOM node of type DOCUMENTTYPE.
NODETYPE_DOCUMENTTYPE: 10
DOM node of type DOCUMENT_FRAGMENT.
NODETYPE_DOCUMENT_FRAGMENT: 11
DOM node of type NOTATION.
NODETYPE_NOTATION: 12
Defines the vertical offset for the tooltip.
TOOLTIP_VERTICAL_OFFSET: 16
Specifies the default valid color.
DEFAULT_VALID_COLOR: '#00FF00'
Specifies the default invalid color.
DEFAULT_INVALID_COLOR: '#FF0000'
Specifies the default highlight color for shape outlines.
OUTLINE_HIGHLIGHT_COLOR: '#00FF00'
Defines the strokewidth to be used for the highlights.
HIGHLIGHT_STROKEWIDTH: 3
Opacity (in %) used for the highlights (including outline).
HIGHLIGHT_OPACITY: 100
Defines the cursor for a movable vertex.
CURSOR_MOVABLE_VERTEX: 'move'
Defines the cursor for a movable edge.
CURSOR_MOVABLE_EDGE: 'move'
Defines the cursor for a movable label.
CURSOR_LABEL_HANDLE: 'default'
Defines the cursor for a terminal handle.
CURSOR_TERMINAL_HANDLE: 'pointer'
Defines the cursor for a movable bend.
CURSOR_BEND_HANDLE: 'crosshair'
Defines the cursor for a movable bend.
CURSOR_VIRTUAL_BEND_HANDLE: 'crosshair'
Defines the cursor for a connectable state.
CURSOR_CONNECT: 'pointer'
Defines the color to be used for the cell highlighting.
HIGHLIGHT_COLOR: '#00FF00'
Defines the color to be used for highlighting a invalid target cells for a new or changed connections.
INVALID_CONNECT_TARGET_COLOR: '#FF0000'
Defines the color to be used for the highlighting target parent cells (for drag and drop).
DROP_TARGET_COLOR: '#0000FF'
Defines the color to be used for the coloring valid connection previews.
VALID_COLOR: '#00FF00'
Defines the color to be used for the coloring invalid connection previews.
INVALID_COLOR: '#FF0000'
Defines the color to be used for the selection border of edges.
EDGE_SELECTION_COLOR: '#00FF00'
Defines the color to be used for the selection border of vertices.
VERTEX_SELECTION_COLOR: '#00FF00'
Defines the strokewidth to be used for vertex selections.
VERTEX_SELECTION_STROKEWIDTH: 1
Defines the strokewidth to be used for edge selections.
EDGE_SELECTION_STROKEWIDTH: 1
Defines the dashed state to be used for the vertex selection border.
VERTEX_SELECTION_DASHED: true
Defines the color to be used for the guidelines in mxGraphHandler.
GUIDE_COLOR: '#FF0000'
Defines the strokewidth to be used for the guidelines in mxGraphHandler.
GUIDE_STROKEWIDTH: 1
Defines the color to be used for the outline rectangle border.
OUTLINE_COLOR: '#0099FF'
Defines the strokewidth to be used for the outline rectangle stroke width.
OUTLINE_STROKEWIDTH: ( mxClient.IS_IE ) ? 2 : 3
Defines the default size for handles.
HANDLE_SIZE: 6
Defines the default size for label handles.
LABEL_HANDLE_SIZE: 4
Defines the color to be used for the handle fill color.
HANDLE_FILLCOLOR: '#00FF00'
Defines the color to be used for the handle stroke color.
HANDLE_STROKECOLOR: 'black'
Defines the color to be used for the label handle fill color.
LABEL_HANDLE_FILLCOLOR: 'yellow'
Defines the color to be used for the connect handle fill color.
CONNECT_HANDLE_FILLCOLOR: '#0000FF'
Defines the color to be used for the locked handle fill color.
LOCKED_HANDLE_FILLCOLOR: '#FF0000'
Defines the color to be used for the outline sizer fill color.
OUTLINE_HANDLE_FILLCOLOR: '#00FFFF'
Defines the color to be used for the outline sizer stroke color.
OUTLINE_HANDLE_STROKECOLOR: '#0033FF'
Defines the default family for all fonts.
DEFAULT_FONTFAMILY: 'Arial
Defines the default size (in px).
DEFAULT_FONTSIZE: 11
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style.
DEFAULT_TEXT_DIRECTION: ''
Defines the key for the text direction style.
STYLE_TEXT_DIRECTION: 'textDirection'
Defines the default line height for text labels.
LINE_HEIGHT: 1.2
Defines the CSS value for the word-wrap property.
WORD_WRAP: 'normal'
Specifies if absolute line heights should be used (px) in CSS.
ABSOLUTE_LINE_HEIGHT: false
Defines the default style for all fonts.
DEFAULT_FONTSTYLE: 0
Defines the default start size for swimlanes.
DEFAULT_STARTSIZE: 40
Defines the default size for all markers.
DEFAULT_MARKERSIZE: 6
Defines the default width and height for images used in the label shape.
DEFAULT_IMAGESIZE: 24
Defines the length of the horizontal segment of an Entity Relation.
ENTITY_SEGMENT: 30
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
RECTANGLE_ROUNDING_FACTOR: 0.15
Defines the size of the arcs for rounded edges.
LINE_ARCSIZE: 20
Defines the spacing between the arrow shape and its terminals.
ARROW_SPACING: 0
Defines the width of the arrow shape.
ARROW_WIDTH: 30
Defines the size of the arrowhead in the arrow shape.
ARROW_SIZE: 30
Defines the rectangle for the A4 portrait page format.
PAGE_FORMAT_A4_PORTRAIT: new mxRectangle( 0, 0, 827, 1169 )
Defines the rectangle for the Letter portrait page format.
PAGE_FORMAT_LETTER_PORTRAIT: new mxRectangle( 0, 0, 850, 1100 )
Defines the value for none.
NONE: 'none'
Defines the key for the perimeter style.
STYLE_PERIMETER: 'perimeter'
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
STYLE_SOURCE_PORT: 'sourcePort'
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
STYLE_TARGET_PORT: 'targetPort'
Defines the direction(s) that edges are allowed to connect to cells in.
STYLE_PORT_CONSTRAINT: 'portConstraint'
Define whether port constraint directions are rotated with vertex rotation.
STYLE_PORT_CONSTRAINT_ROTATION: 'portConstraintRotation'
Defines the direction(s) that edges are allowed to connect to sources in.
STYLE_SOURCE_PORT_CONSTRAINT: 'sourcePortConstraint'
Defines the direction(s) that edges are allowed to connect to targets in.
STYLE_TARGET_PORT_CONSTRAINT: 'targetPortConstraint'
Defines the key for the opacity style.
STYLE_OPACITY: 'opacity'
Defines the key for the fill opacity style.
STYLE_FILL_OPACITY: 'fillOpacity'
Defines the key for the stroke opacity style.
STYLE_STROKE_OPACITY: 'strokeOpacity'
Defines the key for the text opacity style.
STYLE_TEXT_OPACITY: 'textOpacity'
Defines the key for the overflow style.
STYLE_OVERFLOW: 'overflow'
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
STYLE_ORTHOGONAL: 'orthogonal'
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_X: 'exitX'
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_Y: 'exitY'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
STYLE_EXIT_PERIMETER: 'exitPerimeter'
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_X: 'entryX'
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_Y: 'entryY'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
STYLE_ENTRY_PERIMETER: 'entryPerimeter'
Defines the key for the white-space style.
STYLE_WHITE_SPACE: 'whiteSpace'
Defines the key for the rotation style.
STYLE_ROTATION: 'rotation'
Defines the key for the fill color.
STYLE_FILLCOLOR: 'fillColor'
Specifies if pointer events should be fired on transparent backgrounds.
STYLE_POINTER_EVENTS: 'pointerEvents'
Defines the key for the fill color of the swimlane background.
STYLE_SWIMLANE_FILLCOLOR: 'swimlaneFillColor'
Defines the key for the margin between the ellipses in the double ellipse shape.
STYLE_MARGIN: 'margin'
Defines the key for the gradient color.
STYLE_GRADIENTCOLOR: 'gradientColor'
Defines the key for the gradient direction.
STYLE_GRADIENT_DIRECTION: 'gradientDirection'
Defines the key for the strokeColor style.
STYLE_STROKECOLOR: 'strokeColor'
Defines the key for the separatorColor style.
STYLE_SEPARATORCOLOR: 'separatorColor'
Defines the key for the strokeWidth style.
STYLE_STROKEWIDTH: 'strokeWidth'
Defines the key for the align style.
STYLE_ALIGN: 'align'
Defines the key for the verticalAlign style.
STYLE_VERTICAL_ALIGN: 'verticalAlign'
Defines the key for the width of the label if the label position is not center.
STYLE_LABEL_WIDTH: 'labelWidth'
Defines the key for the horizontal label position of vertices.
STYLE_LABEL_POSITION: 'labelPosition'
Defines the key for the vertical label position of vertices.
STYLE_VERTICAL_LABEL_POSITION: 'verticalLabelPosition'
Defines the key for the image aspect style.
STYLE_IMAGE_ASPECT: 'imageAspect'
Defines the key for the align style.
STYLE_IMAGE_ALIGN: 'imageAlign'
Defines the key for the verticalAlign style.
STYLE_IMAGE_VERTICAL_ALIGN: 'imageVerticalAlign'
Defines the key for the glass style.
STYLE_GLASS: 'glass'
Defines the key for the image style.
STYLE_IMAGE: 'image'
Defines the key for the imageWidth style.
STYLE_IMAGE_WIDTH: 'imageWidth'
Defines the key for the imageHeight style.
STYLE_IMAGE_HEIGHT: 'imageHeight'
Defines the key for the image background color.
STYLE_IMAGE_BACKGROUND: 'imageBackground'
Defines the key for the image border color.
STYLE_IMAGE_BORDER: 'imageBorder'
Defines the key for the horizontal image flip.
STYLE_FLIPH: 'flipH'
Defines the key for the vertical flip.
STYLE_FLIPV: 'flipV'
Defines the key for the noLabel style.
STYLE_NOLABEL: 'noLabel'
Defines the key for the noEdgeStyle style.
STYLE_NOEDGESTYLE: 'noEdgeStyle'
Defines the key for the label background color.
STYLE_LABEL_BACKGROUNDCOLOR: 'labelBackgroundColor'
Defines the key for the label border color.
STYLE_LABEL_BORDERCOLOR: 'labelBorderColor'
Defines the key for the label padding, ie.
STYLE_LABEL_PADDING: 'labelPadding'
Defines the key for the indicator shape used within an mxLabel.
STYLE_INDICATOR_SHAPE: 'indicatorShape'
Defines the key for the indicator image used within an mxLabel.
STYLE_INDICATOR_IMAGE: 'indicatorImage'
Defines the key for the indicatorColor style.
STYLE_INDICATOR_COLOR: 'indicatorColor'
Defines the key for the indicator stroke color in mxLabel.
STYLE_INDICATOR_STROKECOLOR: 'indicatorStrokeColor'
Defines the key for the indicatorGradientColor style.
STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'
The defines the key for the spacing between the label and the indicator in mxLabel.
STYLE_INDICATOR_SPACING: 'indicatorSpacing'
Defines the key for the indicator width.
STYLE_INDICATOR_WIDTH: 'indicatorWidth'
Defines the key for the indicator height.
STYLE_INDICATOR_HEIGHT: 'indicatorHeight'
Defines the key for the indicatorDirection style.
STYLE_INDICATOR_DIRECTION: 'indicatorDirection'
Defines the key for the shadow style.
STYLE_SHADOW: 'shadow'
Defines the key for the segment style.
STYLE_SEGMENT: 'segment'
Defines the key for the end arrow marker.
STYLE_ENDARROW: 'endArrow'
Defines the key for the start arrow marker.
STYLE_STARTARROW: 'startArrow'
Defines the key for the endSize style.
STYLE_ENDSIZE: 'endSize'
Defines the key for the startSize style.
STYLE_STARTSIZE: 'startSize'
Defines the key for the swimlaneLine style.
STYLE_SWIMLANE_LINE: 'swimlaneLine'
Defines the key for the endFill style.
STYLE_ENDFILL: 'endFill'
Defines the key for the startFill style.
STYLE_STARTFILL: 'startFill'
Defines the key for the dashed style.
STYLE_DASHED: 'dashed'
Defines the key for the fixDash style.
STYLE_FIX_DASH: 'fixDash'
Defines the key for the rounded style.
STYLE_ROUNDED: 'rounded'
Defines the key for the curved style.
STYLE_CURVED: 'curved'
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
STYLE_ARCSIZE: 'arcSize'
Defines the key for the absolute arc size style.
STYLE_ABSOLUTE_ARCSIZE: 'absoluteArcSize'
Defines the key for the source perimeter spacing.
STYLE_SOURCE_PERIMETER_SPACING: 'sourcePerimeterSpacing'
Defines the key for the target perimeter spacing.
STYLE_TARGET_PERIMETER_SPACING: 'targetPerimeterSpacing'
Defines the key for the perimeter spacing.
STYLE_PERIMETER_SPACING: 'perimeterSpacing'
Defines the key for the spacing.
STYLE_SPACING: 'spacing'
Defines the key for the spacingTop style.
STYLE_SPACING_TOP: 'spacingTop'
Defines the key for the spacingLeft style.
STYLE_SPACING_LEFT: 'spacingLeft'
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_BOTTOM: 'spacingBottom'
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_RIGHT: 'spacingRight'
Defines the key for the horizontal style.
STYLE_HORIZONTAL: 'horizontal'
Defines the key for the direction style.
STYLE_DIRECTION: 'direction'
Defines the key for the anchorPointDirection style.
STYLE_ANCHOR_POINT_DIRECTION: 'anchorPointDirection'
Defines the key for the elbow style.
STYLE_ELBOW: 'elbow'
Defines the key for the fontColor style.
STYLE_FONTCOLOR: 'fontColor'
Defines the key for the fontFamily style.
STYLE_FONTFAMILY: 'fontFamily'
Defines the key for the fontSize style (in px).
STYLE_FONTSIZE: 'fontSize'
Defines the key for the fontStyle style.
STYLE_FONTSTYLE: 'fontStyle'
Defines the key for the aspect style.
STYLE_ASPECT: 'aspect'
Defines the key for the autosize style.
STYLE_AUTOSIZE: 'autosize'
Defines the key for the foldable style.
STYLE_FOLDABLE: 'foldable'
Defines the key for the editable style.
STYLE_EDITABLE: 'editable'
Defines the key for the backgroundOutline style.
STYLE_BACKGROUND_OUTLINE: 'backgroundOutline'
Defines the key for the bendable style.
STYLE_BENDABLE: 'bendable'
Defines the key for the movable style.
STYLE_MOVABLE: 'movable'
Defines the key for the resizable style.
STYLE_RESIZABLE: 'resizable'
Defines the key for the resizeWidth style.
STYLE_RESIZE_WIDTH: 'resizeWidth'
Defines the key for the rotatable style.
STYLE_ROTATABLE: 'rotatable'
Defines the key for the cloneable style.
STYLE_CLONEABLE: 'cloneable'
Defines the key for the deletable style.
STYLE_DELETABLE: 'deletable'
Defines the key for the shape.
STYLE_SHAPE: 'shape'
Defines the key for the edge style.
STYLE_EDGE: 'edgeStyle'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_JETTY_SIZE: 'jettySize'
Implements a local orthogonal router between the given cells.
OrthConnector: function( state, source, target, points, result )
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_SOURCE_JETTY_SIZE: 'sourceJettySize'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_TARGET_JETTY_SIZE: 'targetJettySize'
Defines the key for the loop style.
STYLE_LOOP: 'loopStyle'
Defines the key for the orthogonal loop style.
STYLE_ORTHOGONAL_LOOP: 'orthogonalLoop'
Defines the key for the horizontal routing center.
STYLE_ROUTING_CENTER_X: 'routingCenterX'
Defines the key for the vertical routing center.
STYLE_ROUTING_CENTER_Y: 'routingCenterY'
Constant for bold fonts.
FONT_BOLD: 1
Constant for italic fonts.
FONT_ITALIC: 2
Constant for underlined fonts.
FONT_UNDERLINE: 4
Name under which mxRectangleShape is registered in mxCellRenderer.
SHAPE_RECTANGLE: 'rectangle'
Name under which mxEllipse is registered in mxCellRenderer.
SHAPE_ELLIPSE: 'ellipse'
Name under which mxDoubleEllipse is registered in mxCellRenderer.
SHAPE_DOUBLE_ELLIPSE: 'doubleEllipse'
Name under which mxRhombus is registered in mxCellRenderer.
SHAPE_RHOMBUS: 'rhombus'
Name under which mxLine is registered in mxCellRenderer.
SHAPE_LINE: 'line'
Name under which mxImageShape is registered in mxCellRenderer.
SHAPE_IMAGE: 'image'
Name under which mxArrow is registered in mxCellRenderer.
SHAPE_ARROW: 'arrow'
Name under which mxArrowConnector is registered in mxCellRenderer.
SHAPE_ARROW_CONNECTOR: 'arrowConnector'
Name under which mxLabel is registered in mxCellRenderer.
SHAPE_LABEL: 'label'
Name under which mxCylinder is registered in mxCellRenderer.
SHAPE_CYLINDER: 'cylinder'
Name under which mxSwimlane is registered in mxCellRenderer.
SHAPE_SWIMLANE: 'swimlane'
Name under which mxConnector is registered in mxCellRenderer.
SHAPE_CONNECTOR: 'connector'
Name under which mxActor is registered in mxCellRenderer.
SHAPE_ACTOR: 'actor'
Name under which mxCloud is registered in mxCellRenderer.
SHAPE_CLOUD: 'cloud'
Name under which mxTriangle is registered in mxCellRenderer.
SHAPE_TRIANGLE: 'triangle'
Name under which mxHexagon is registered in mxCellRenderer.
SHAPE_HEXAGON: 'hexagon'
Constant for classic arrow markers.
ARROW_CLASSIC: 'classic'
Constant for thin classic arrow markers.
ARROW_CLASSIC_THIN: 'classicThin'
Constant for block arrow markers.
ARROW_BLOCK: 'block'
Constant for thin block arrow markers.
ARROW_BLOCK_THIN: 'blockThin'
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'
Constant for diamond arrow markers.
ARROW_DIAMOND: 'diamond'
Constant for thin diamond arrow markers.
ARROW_DIAMOND_THIN: 'diamondThin'
Constant for left horizontal alignment.
ALIGN_LEFT: 'left'
Constant for center horizontal alignment.
ALIGN_CENTER: 'center'
Constant for right horizontal alignment.
ALIGN_RIGHT: 'right'
Constant for top vertical alignment.
ALIGN_TOP: 'top'
Constant for middle vertical alignment.
ALIGN_MIDDLE: 'middle'
Constant for bottom vertical alignment.
ALIGN_BOTTOM: 'bottom'
Constant for direction north.
DIRECTION_NORTH: 'north'
Constant for direction south.
DIRECTION_SOUTH: 'south'
Constant for direction east.
DIRECTION_EAST: 'east'
Constant for direction west.
DIRECTION_WEST: 'west'
Constant for text direction default.
TEXT_DIRECTION_DEFAULT: ''
Constant for text direction automatic.
TEXT_DIRECTION_AUTO: 'auto'
Constant for text direction left to right.
TEXT_DIRECTION_LTR: 'ltr'
Constant for text direction right to left.
TEXT_DIRECTION_RTL: 'rtl'
Constant for no direction.
DIRECTION_MASK_NONE: 0
Bitwise mask for west direction.
DIRECTION_MASK_WEST: 1
Bitwise mask for north direction.
DIRECTION_MASK_NORTH: 2
Bitwise mask for south direction.
DIRECTION_MASK_SOUTH: 4
Bitwise mask for east direction.
DIRECTION_MASK_EAST: 8
Bitwise mask for all directions.
DIRECTION_MASK_ALL: 15
Constant for elbow vertical.
ELBOW_VERTICAL: 'vertical'
Constant for elbow horizontal.
ELBOW_HORIZONTAL: 'horizontal'
Name of the elbow edge style.
EDGESTYLE_ELBOW: 'elbowEdgeStyle'
Name of the entity relation edge style.
EDGESTYLE_ENTITY_RELATION: 'entityRelationEdgeStyle'
Name of the loop edge style.
EDGESTYLE_LOOP: 'loopEdgeStyle'
Name of the side to side edge style.
EDGESTYLE_SIDETOSIDE: 'sideToSideEdgeStyle'
Name of the top to bottom edge style.
EDGESTYLE_TOPTOBOTTOM: 'topToBottomEdgeStyle'
Name of the generic orthogonal edge style.
EDGESTYLE_ORTHOGONAL: 'orthogonalEdgeStyle'
Name of the generic segment edge style.
EDGESTYLE_SEGMENT: 'segmentEdgeStyle'
Name of the ellipse perimeter.
PERIMETER_ELLIPSE: 'ellipsePerimeter'
Name of the rectangle perimeter.
PERIMETER_RECTANGLE: 'rectanglePerimeter'
Name of the rhombus perimeter.
PERIMETER_RHOMBUS: 'rhombusPerimeter'
Name of the hexagon perimeter.
PERIMETER_HEXAGON: 'hexagonPerimeter'
Name of the triangle perimeter.
PERIMETER_TRIANGLE: 'trianglePerimeter'
Returns true if the overflow portion of labels should be hidden.
mxGraph.prototype.isLabelClipped = function( cell )
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxGraph.prototype.isOrthogonal = function( edge )
This enables wrapping for HTML labels.
mxGraph.prototype.isWrapping = function( cell )
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCell = function( cell )
Returns true if the given cell is foldable.
mxGraph.prototype.isCellFoldable = function( cell, collapse )
Returns true if the given cell is editable.
mxGraph.prototype.isCellEditable = function( cell )
Returns true if the given cell is bendable.
mxGraph.prototype.isCellBendable = function( cell )
Returns true if the given cell is moveable.
mxGraph.prototype.isCellMovable = function( cell )
Returns true if the given cell is resizable.
mxGraph.prototype.isCellResizable = function( cell )
Returns true if the given cell is rotatable.
mxGraph.prototype.isCellRotatable = function( cell )
Returns true if the given cell is cloneable.
mxGraph.prototype.isCellCloneable = function( cell )
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDeletable = function( cell )
Used to determine the automatic text direction.
mxText.prototype.getAutoDirection = function()
Extends mxEventSource to implement a graph component for the browser. This is the main class of the package. To activate panning and connections use setPanning and setConnectable. For rubberband selection you must create a new instance of mxRubberband. The following listeners are added to mouseListeners by default:
These listeners will be called in the above order if they are enabled.
To display a background image, set the image, image width and image height using setBackgroundImage. If one of the above values has changed then the view’s mxGraphView.validate should be invoked.
To use images in cells, a shape must be specified in the default vertex style (or any named style). Possible shapes are mxConstants.SHAPE_IMAGE and mxConstants.SHAPE_LABEL. The code to change the shape used in the default vertex style, the following code is used:
var style = graph.getStylesheet().getDefaultVertexStyle(); -style[mxConstants.STYLE_SHAPE] = mxConstants.SHAPE_IMAGE;
For the default vertex style, the image to be displayed can be specified in a cell’s style using the mxConstants.STYLE_IMAGE key and the image URL as a value, for example:
image=http://www.example.com/image.gif
For a named style, the the stylename must be the first element of the cell style:
stylename;image=http://www.example.com/image.gif
A cell style can have any number of key=value pairs added, divided by a semicolon as follows:
[stylename;|key=value;]
The cell labels are defined by getLabel which uses convertValueToString if labelsVisible is true. If a label must be rendered as HTML markup, then isHtmlLabel should return true for the respective cell. If all labels contain HTML markup, htmlLabels can be set to true. NOTE: Enabling HTML labels carries a possible security risk (see the section on security in the manual).
If wrapping is needed for a label, then isHtmlLabel and isWrapping must return true for the cell whose label should be wrapped. See isWrapping for an example.
If clipping is needed to keep the rendering of a HTML label inside the bounds of its vertex, then <isClipping> should return true for the respective cell.
By default, edge labels are movable and vertex labels are fixed. This can be changed by setting edgeLabelsMovable and vertexLabelsMovable, or by overriding isLabelMovable.
In-place editing is started with a doubleclick or by typing F2. Programmatically, <edit> is used to check if the cell is editable (isCellEditable) and call startEditingAtCell, which invokes mxCellEditor.startEditing. The editor uses the value returned by getEditingValue as the editing value.
After in-place editing, labelChanged is called, which invokes mxGraphModel.setValue, which in turn calls mxGraphModel.valueForCellChanged via mxValueChange.
The event that triggers in-place editing is passed through to the cellEditor, which may take special actions depending on the type of the event or mouse location, and is also passed to getEditingValue. The event is then passed back to the event processing functions which can perform specific actions based on the trigger event.
Tooltips are implemented by getTooltip, which calls getTooltipForCell if a cell is under the mousepointer. The default implementation checks if the cell has a getTooltip function and calls it if it exists. Hence, in order to provide custom tooltips, the cell must provide a getTooltip function, or one of the two above functions must be overridden.
Typically, for custom cell tooltips, the latter function is overridden as follows:
graph.getTooltipForCell = function(cell) ++dec.decode(node, graph.getModel());mxGraph
Extends mxEventSource to implement a graph component for the browser. This is the main class of the package. To activate panning and connections use setPanning and setConnectable. For rubberband selection you must create a new instance of mxRubberband. The following listeners are added to mouseListeners by default:
- <tooltipHandler>: mxTooltipHandler that displays tooltips
- <panningHandler>: mxPanningHandler for panning and popup menus
- <connectionHandler>: mxConnectionHandler for creating connections
- <graphHandler>: mxGraphHandler for moving and cloning cells
These listeners will be called in the above order if they are enabled.
Background Images
To display a background image, set the image, image width and image height using setBackgroundImage. If one of the above values has changed then the view’s mxGraphView.validate should be invoked.
Cell Images
To use images in cells, a shape must be specified in the default vertex style (or any named style). Possible shapes are mxConstants.SHAPE_IMAGE and mxConstants.SHAPE_LABEL. The code to change the shape used in the default vertex style, the following code is used:
var style = graph.getStylesheet().getDefaultVertexStyle(); +style[mxConstants.STYLE_SHAPE] = mxConstants.SHAPE_IMAGE;For the default vertex style, the image to be displayed can be specified in a cell’s style using the mxConstants.STYLE_IMAGE key and the image URL as a value, for example:
image=http://www.example.com/image.gifFor a named style, the the stylename must be the first element of the cell style:
stylename;image=http://www.example.com/image.gifA cell style can have any number of key=value pairs added, divided by a semicolon as follows:
[stylename;|key=value;]Labels
The cell labels are defined by getLabel which uses convertValueToString if labelsVisible is true. If a label must be rendered as HTML markup, then isHtmlLabel should return true for the respective cell. If all labels contain HTML markup, htmlLabels can be set to true. NOTE: Enabling HTML labels carries a possible security risk (see the section on security in the manual).
If wrapping is needed for a label, then isHtmlLabel and isWrapping must return true for the cell whose label should be wrapped. See isWrapping for an example.
If clipping is needed to keep the rendering of a HTML label inside the bounds of its vertex, then <isClipping> should return true for the respective cell.
By default, edge labels are movable and vertex labels are fixed. This can be changed by setting edgeLabelsMovable and vertexLabelsMovable, or by overriding isLabelMovable.
In-place Editing
In-place editing is started with a doubleclick or by typing F2. Programmatically, <edit> is used to check if the cell is editable (isCellEditable) and call startEditingAtCell, which invokes mxCellEditor.startEditing. The editor uses the value returned by getEditingValue as the editing value.
After in-place editing, labelChanged is called, which invokes mxGraphModel.setValue, which in turn calls mxGraphModel.valueForCellChanged via mxValueChange.
The event that triggers in-place editing is passed through to the cellEditor, which may take special actions depending on the type of the event or mouse location, and is also passed to getEditingValue. The event is then passed back to the event processing functions which can perform specific actions based on the trigger event.
Tooltips
Tooltips are implemented by getTooltip, which calls getTooltipForCell if a cell is under the mousepointer. The default implementation checks if the cell has a getTooltip function and calls it if it exists. Hence, in order to provide custom tooltips, the cell must provide a getTooltip function, or one of the two above functions must be overridden.
Typically, for custom cell tooltips, the latter function is overridden as follows:
graph.getTooltipForCell = function(cell) { var label = this.convertValueToString(cell); return 'Tooltip for '+label; @@ -22,21 +22,21 @@ style[mxConstants.STYLE_SHAPE] = mxConstants.SHAPE_IMAGE;F var label = this.convertValueToString(cell); return 'Tooltip for '+label; } -]]></add>
”this” refers to the graph in the implementation, so for example to check if a cell is an edge, you use this.getModel().isEdge(cell)
For replacing the default implementation of getTooltipForCell (rather than replacing the function on a specific instance), the following code should be used after loading the JavaScript files, but before creating a new mxGraph instance using mxGraph:
mxGraph.prototype.getTooltipForCell = function(cell) +]]></add>”this” refers to the graph in the implementation, so for example to check if a cell is an edge, you use this.getModel().isEdge(cell)
For replacing the default implementation of getTooltipForCell (rather than replacing the function on a specific instance), the following code should be used after loading the JavaScript files, but before creating a new mxGraph instance using mxGraph:
mxGraph.prototype.getTooltipForCell = function(cell) { var label = this.convertValueToString(cell); return 'Tooltip for '+label; -}Shapes & Styles
The implementation of new shapes is demonstrated in the examples. We’ll assume that we have implemented a custom shape with the name BoxShape which we want to use for drawing vertices. To use this shape, it must first be registered in the cell renderer as follows:
mxCellRenderer.registerShape('box', BoxShape);The code registers the BoxShape constructor under the name box in the cell renderer of the graph. The shape can now be referenced using the shape-key in a style definition. (The cell renderer contains a set of additional shapes, namely one for each constant with a SHAPE-prefix in mxConstants.)
Styles are a collection of key, value pairs and a stylesheet is a collection of named styles. The names are referenced by the cellstyle, which is stored in mxCell.style with the following format: [stylename;|key=value;]. The string is resolved to a collection of key, value pairs, where the keys are overridden with the values in the string.
When introducing a new shape, the name under which the shape is registered must be used in the stylesheet. There are three ways of doing this:
- By changing the default style, so that all vertices will use the new shape
- By defining a new style, so that only vertices with the respective cellstyle will use the new shape
- By using shape=box in the cellstyle’s optional list of key, value pairs to be overridden
In the first case, the code to fetch and modify the default style for vertices is as follows:
var style = graph.getStylesheet().getDefaultVertexStyle(); +}Shapes & Styles
The implementation of new shapes is demonstrated in the examples. We’ll assume that we have implemented a custom shape with the name BoxShape which we want to use for drawing vertices. To use this shape, it must first be registered in the cell renderer as follows:
mxCellRenderer.registerShape('box', BoxShape);The code registers the BoxShape constructor under the name box in the cell renderer of the graph. The shape can now be referenced using the shape-key in a style definition. (The cell renderer contains a set of additional shapes, namely one for each constant with a SHAPE-prefix in mxConstants.)
Styles are a collection of key, value pairs and a stylesheet is a collection of named styles. The names are referenced by the cellstyle, which is stored in mxCell.style with the following format: [stylename;|key=value;]. The string is resolved to a collection of key, value pairs, where the keys are overridden with the values in the string.
When introducing a new shape, the name under which the shape is registered must be used in the stylesheet. There are three ways of doing this:
- By changing the default style, so that all vertices will use the new shape
- By defining a new style, so that only vertices with the respective cellstyle will use the new shape
- By using shape=box in the cellstyle’s optional list of key, value pairs to be overridden
In the first case, the code to fetch and modify the default style for vertices is as follows:
var style = graph.getStylesheet().getDefaultVertexStyle(); style[mxConstants.STYLE_SHAPE] = 'box';The code takes the default vertex style, which is used for all vertices that do not have a specific cellstyle, and modifies the value for the shape-key in-place to use the new BoxShape for drawing vertices. This is done by assigning the box value in the second line, which refers to the name of the BoxShape in the cell renderer.
In the second case, a collection of key, value pairs is created and then added to the stylesheet under a new name. In order to distinguish the shapename and the stylename we’ll use boxstyle for the stylename:
var style = new Object(); style[mxConstants.STYLE_SHAPE] = 'box'; style[mxConstants.STYLE_STROKECOLOR] = '#000000'; style[mxConstants.STYLE_FONTCOLOR] = '#000000'; graph.getStylesheet().putCellStyle('boxstyle', style);The code adds a new style with the name boxstyle to the stylesheet. To use this style with a cell, it must be referenced from the cellstyle as follows:
var vertex = graph.insertVertex(parent, null, 'Hello, World!', 20, 20, 80, 20, - 'boxstyle');To summarize, each new shape must be registered in the mxCellRenderer with a unique name. That name is then used as the value of the shape-key in a default or custom style. If there are multiple custom shapes, then there should be a separate style for each shape.
Inheriting Styles
For fill-, stroke-, gradient- and indicatorColors special keywords can be used. The inherit keyword for one of these colors will inherit the color for the same key from the parent cell. The swimlane keyword does the same, but inherits from the nearest swimlane in the ancestor hierarchy. Finally, the indicated keyword will use the color of the indicator as the color for the given key.
Scrollbars
The <containers> overflow CSS property defines if scrollbars are used to display the graph. For values of ‘auto’ or ‘scroll’, the scrollbars will be shown. Note that the resizeContainer flag is normally not used together with scrollbars, as it will resize the container to match the size of the graph after each change.
Multiplicities and Validation
To control the possible connections in mxGraph, getEdgeValidationError is used. The default implementation of the function uses multiplicities, which is an array of mxMultiplicity. Using this class allows to establish simple multiplicities, which are enforced by the graph.
The mxMultiplicity uses <mxCell.is> to determine for which terminals it applies. The default implementation of <mxCell.is> works with DOM nodes (XML nodes) and checks if the given type parameter matches the nodeName of the node (case insensitive). Optionally, an attributename and value can be specified which are also checked.
getEdgeValidationError is called whenever the connectivity of an edge changes. It returns an empty string or an error message if the edge is invalid or null if the edge is valid. If the returned string is not empty then it is displayed as an error message.
mxMultiplicity allows to specify the multiplicity between a terminal and its possible neighbors. For example, if any rectangle may only be connected to, say, a maximum of two circles you can add the following rule to multiplicities:
graph.multiplicities.push(new mxMultiplicity( + 'boxstyle');To summarize, each new shape must be registered in the mxCellRenderer with a unique name. That name is then used as the value of the shape-key in a default or custom style. If there are multiple custom shapes, then there should be a separate style for each shape.
Inheriting Styles
For fill-, stroke-, gradient- and indicatorColors special keywords can be used. The inherit keyword for one of these colors will inherit the color for the same key from the parent cell. The swimlane keyword does the same, but inherits from the nearest swimlane in the ancestor hierarchy. Finally, the indicated keyword will use the color of the indicator as the color for the given key.
Scrollbars
The <containers> overflow CSS property defines if scrollbars are used to display the graph. For values of ‘auto’ or ‘scroll’, the scrollbars will be shown. Note that the resizeContainer flag is normally not used together with scrollbars, as it will resize the container to match the size of the graph after each change.
Multiplicities and Validation
To control the possible connections in mxGraph, getEdgeValidationError is used. The default implementation of the function uses multiplicities, which is an array of mxMultiplicity. Using this class allows to establish simple multiplicities, which are enforced by the graph.
The mxMultiplicity uses <mxCell.is> to determine for which terminals it applies. The default implementation of <mxCell.is> works with DOM nodes (XML nodes) and checks if the given type parameter matches the nodeName of the node (case insensitive). Optionally, an attributename and value can be specified which are also checked.
getEdgeValidationError is called whenever the connectivity of an edge changes. It returns an empty string or an error message if the edge is invalid or null if the edge is valid. If the returned string is not empty then it is displayed as an error message.
mxMultiplicity allows to specify the multiplicity between a terminal and its possible neighbors. For example, if any rectangle may only be connected to, say, a maximum of two circles you can add the following rule to multiplicities:
graph.multiplicities.push(new mxMultiplicity( true, 'rectangle', null, null, 0, 2, ['circle'], 'Only 2 targets allowed', 'Only shape targets allowed'));This will display the first error message whenever a rectangle is connected to more than two circles and the second error message if a rectangle is connected to anything but a circle.
For certain multiplicities, such as a minimum of 1 connection, which cannot be enforced at cell creation time (unless the cell is created together with the connection), mxGraph offers <validate> which checks all multiplicities for all cells and displays the respective error messages in an overlay icon on the cells.
If a cell is collapsed and contains validation errors, a respective warning icon is attached to the collapsed cell.
Auto-Layout
For automatic layout, the <getLayout> hook is provided in mxLayoutManager. It can be overridden to return a layout algorithm for the children of a given cell.
Unconnected edges
The default values for all switches are designed to meet the requirements of general diagram drawing applications. A very typical set of settings to avoid edges that are not connected is the following:
graph.setAllowDanglingEdges(false); -graph.setDisconnectOnMove(false);Setting the cloneInvalidEdges switch to true is optional. This switch controls if edges are inserted after a copy, paste or clone-drag if they are invalid. For example, edges are invalid if copied or control-dragged without having selected the corresponding terminals and allowDanglingEdges is false, in which case the edges will not be cloned if the switch is false.
Output
To produce an XML representation for a diagram, the following code can be used.
var enc = new mxCodec(mxUtils.createXmlDocument()); +graph.setDisconnectOnMove(false);Setting the cloneInvalidEdges switch to true is optional. This switch controls if edges are inserted after a copy, paste or clone-drag if they are invalid. For example, edges are invalid if copied or control-dragged without having selected the corresponding terminals and allowDanglingEdges is false, in which case the edges will not be cloned if the switch is false.
Output
To produce an XML representation for a diagram, the following code can be used.
var enc = new mxCodec(mxUtils.createXmlDocument()); var node = enc.encode(graph.getModel());This will produce an XML node than can be handled using the DOM API or turned into a string representation using the following code:
var xml = mxUtils.getXml(node);To obtain a formatted string, mxUtils.getPrettyXml can be used instead.
This string can now be stored in a local persistent storage (for example using Google Gears) or it can be passed to a backend using mxUtils.post as follows. The url variable is the URL of the Java servlet, PHP page or HTTP handler, depending on the server.
var xmlString = encodeURIComponent(mxUtils.getXml(node)); mxUtils.post(url, 'xml='+xmlString, function(req) { @@ -44,119 +44,119 @@ mxUtils.post(url, 'xml='+xmlString, function(req) });Input
To load an XML representation of a diagram into an existing graph object mxUtils.load can be used as follows. The url variable is the URL of the Java servlet, PHP page or HTTP handler that produces the XML string.
var xmlDoc = mxUtils.load(url).getXml(); var node = xmlDoc.documentElement; var dec = new mxCodec(node.ownerDocument); -dec.decode(node, graph.getModel());For creating a page that loads the client and a diagram using a single request please refer to the deployment examples in the backends.
Functional dependencies
Resources
resources/graph Language resources for mxGraph Summary
mxGraph Extends mxEventSource to implement a graph component for the browser. Events mxEvent.ROOT Fires if the root in the model has changed. mxEvent. ALIGN_CELLS Fires between begin- and endUpdate in alignCells. mxEvent. FLIP_EDGE Fires between begin- and endUpdate in flipEdge. mxEvent. ORDER_CELLS Fires between begin- and endUpdate in orderCells. mxEvent. CELLS_ORDERED Fires between begin- and endUpdate in cellsOrdered. mxEvent. GROUP_CELLS Fires between begin- and endUpdate in groupCells. mxEvent. UNGROUP_CELLS Fires between begin- and endUpdate in ungroupCells. mxEvent. REMOVE_CELLS_FROM_PARENT Fires between begin- and endUpdate in removeCellsFromParent. mxEvent. ADD_CELLS Fires between begin- and endUpdate in addCells. mxEvent. CELLS_ADDED Fires between begin- and endUpdate in cellsAdded. mxEvent. REMOVE_CELLS Fires between begin- and endUpdate in removeCells. mxEvent. CELLS_REMOVED Fires between begin- and endUpdate in cellsRemoved. mxEvent. SPLIT_EDGE Fires between begin- and endUpdate in splitEdge. mxEvent. TOGGLE_CELLS Fires between begin- and endUpdate in toggleCells. mxEvent. FOLD_CELLS Fires between begin- and endUpdate in foldCells. mxEvent. CELLS_FOLDED Fires between begin- and endUpdate in cellsFolded. mxEvent. UPDATE_CELL_SIZE Fires between begin- and endUpdate in updateCellSize. mxEvent. RESIZE_CELLS Fires between begin- and endUpdate in resizeCells. mxEvent. CELLS_RESIZED Fires between begin- and endUpdate in cellsResized. mxEvent. MOVE_CELLS Fires between begin- and endUpdate in moveCells. mxEvent. CELLS_MOVED Fires between begin- and endUpdate in cellsMoved. mxEvent. CONNECT_CELL Fires between begin- and endUpdate in connectCell. mxEvent. CELL_CONNECTED Fires between begin- and endUpdate in cellConnected. mxEvent. REFRESH Fires after refresh was executed. mxEvent. CLICK Fires in click after a click event. mxEvent. DOUBLE_CLICK Fires in dblClick after a double click. mxEvent. GESTURE Fires in fireGestureEvent after a touch gesture. mxEvent. TAP_AND_HOLD Fires in tapAndHold if a tap and hold event was detected. mxEvent. FIRE_MOUSE_EVENT Fires in fireMouseEvent before the mouse listeners are invoked. mxEvent.SIZE Fires after sizeDidChange was executed. mxEvent. START_EDITING Fires before the in-place editor starts in startEditingAtCell. mxEvent. EDITING_STARTED Fires after the in-place editor starts in startEditingAtCell. mxEvent. EDITING_STOPPED Fires after the in-place editor stops in stopEditing. mxEvent. LABEL_CHANGED Fires between begin- and endUpdate in cellLabelChanged. mxEvent. ADD_OVERLAY Fires after an overlay is added in addCellOverlay. mxEvent. REMOVE_OVERLAY Fires after an overlay is removed in removeCellOverlay and removeCellOverlays. mxGraph Constructs a new mxGraph in the specified container. EMPTY_ARRAY Immutable empty array instance. Variables mouseListeners Holds the mouse event listeners. isMouseDown Holds the state of the mouse button. model Holds the mxGraphModel that contains the cells to be displayed. view Holds the mxGraphView that caches the mxCellStates for the cells. stylesheet Holds the mxStylesheet that defines the appearance of the cells. selectionModel Holds the mxGraphSelectionModel that models the current selection. cellEditor Holds the mxCellEditor that is used as the in-place editing. cellRenderer Holds the mxCellRenderer for rendering the cells in the graph. multiplicities An array of mxMultiplicities describing the allowed connections in a graph. renderHint RenderHint as it was passed to the constructor. dialect Dialect to be used for drawing the graph. gridSize Specifies the grid size. gridEnabled Specifies if the grid is enabled. portsEnabled Specifies if ports are enabled. nativeDoubleClickEnabled Specifies if native double click events should be detected. doubleTapEnabled Specifies if double taps on touch-based devices should be handled as a double click. doubleTapTimeout Specifies the timeout for double taps and non-native double clicks. doubleTapTolerance Specifies the tolerance for double taps and double clicks in quirks mode. lastTouchX Holds the x-coordinate of the last touch event for double tap detection. lastTouchX Holds the y-coordinate of the last touch event for double tap detection. lastTouchTime Holds the time of the last touch event for double click detection. tapAndHoldEnabled Specifies if tap and hold should be used for starting connections on touch-based devices. tapAndHoldDelay Specifies the time for a tap and hold. tapAndHoldInProgress True if the timer for tap and hold events is running. tapAndHoldValid True as long as the timer is running and the touch events stay within the given <tapAndHoldTolerance>. initialTouchX Holds the x-coordinate of the intial touch event for tap and hold. initialTouchY Holds the y-coordinate of the intial touch event for tap and hold. tolerance Tolerance for a move to be handled as a single click. defaultOverlap Value returned by getOverlap if isAllowOverlapParent returns true for the given cell. defaultParent Specifies the default parent to be used to insert new cells. alternateEdgeStyle Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked. backgroundImage Specifies the mxImage to be returned by getBackgroundImage. pageVisible Specifies if the background page should be visible. pageBreaksVisible Specifies if a dashed line should be drawn between multiple pages. pageBreakColor Specifies the color for page breaks. pageBreakDashed Specifies the page breaks should be dashed. minPageBreakDist Specifies the minimum distance for page breaks to be visible. preferPageSize Specifies if the graph size should be rounded to the next page number in sizeDidChange. pageFormat Specifies the page format for the background page. pageScale Specifies the scale of the background page. enabled Specifies the return value for isEnabled. escapeEnabled Specifies if mxKeyHandler should invoke escape when the escape key is pressed. invokesStopCellEditing If true, when editing is to be stopped by way of selection changing, data in diagram changing or other means stopCellEditing is invoked, and changes are saved. enterStopsCellEditing If true, pressing the enter key without pressing control or shift will stop editing and accept the new value. useScrollbarsForPanning Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available. exportEnabled Specifies the return value for canExportCell. importEnabled Specifies the return value for canImportCell. cellsLocked Specifies the return value for isCellLocked. cellsCloneable Specifies the return value for isCellCloneable. foldingEnabled Specifies if folding (collapse and expand via an image icon in the graph should be enabled). cellsEditable Specifies the return value for isCellEditable. cellsDeletable Specifies the return value for isCellDeletable. cellsMovable Specifies the return value for isCellMovable. edgeLabelsMovable Specifies the return value for edges in isLabelMovable. vertexLabelsMovable Specifies the return value for vertices in isLabelMovable. dropEnabled Specifies the return value for isDropEnabled. splitEnabled Specifies if dropping onto edges should be enabled. cellsResizable Specifies the return value for isCellResizable. cellsBendable Specifies the return value for isCellsBendable. cellsSelectable Specifies the return value for isCellSelectable. cellsDisconnectable Specifies the return value for <isCellDisconntable>. autoSizeCells Specifies if the graph should automatically update the cell size after an edit. autoSizeCellsOnAdd Specifies if autoSize style should be applied when cells are added. autoScroll Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging. ignoreScrollbars Specifies if the graph should automatically scroll regardless of the scrollbars. translateToScrollPosition Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received. timerAutoScroll Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars. allowAutoPanning Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible. autoExtend Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging. maximumGraphBounds mxRectangle that specifies the area in which all cells in the diagram should be placed. minimumGraphSize mxRectangle that specifies the minimum size of the graph. minimumContainerSize mxRectangle that specifies the minimum size of the <container> if resizeContainer is true. maximumContainerSize mxRectangle that specifies the maximum size of the container if resizeContainer is true. resizeContainer Specifies if the container should be resized to the graph size when the graph size has changed. border Border to be added to the bottom and right side when the container is being resized after the graph has been changed. keepEdgesInForeground Specifies if edges should appear in the foreground regardless of their order in the model. keepEdgesInBackground Specifies if edges should appear in the background regardless of their order in the model. allowNegativeCoordinates Specifies if negative coordinates for vertices are allowed. constrainChildren Specifies if a child should be constrained inside the parent bounds after a move or resize of the child. constrainRelativeChildren Specifies if child cells with relative geometries should be constrained inside the parent bounds, if constrainChildren is true, and/or the maximumGraphBounds. extendParents Specifies if a parent should contain the child bounds after a resize of the child. extendParentsOnAdd Specifies if parents should be extended according to the extendParents switch if cells are added. extendParentsOnAdd Specifies if parents should be extended according to the extendParents switch if cells are added. recursiveResize Specifies the return value for isRecursiveResize. collapseToPreferredSize Specifies if the cell size should be changed to the preferred size when a cell is first collapsed. zoomFactor Specifies the factor used for zoomIn and zoomOut. keepSelectionVisibleOnZoom Specifies if the viewport should automatically contain the selection cells after a zoom operation. centerZoom Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left. resetViewOnRootChange Specifies if the scale and translate should be reset if the root changes in the model. resetEdgesOnResize Specifies if edge control points should be reset after the resize of a connected cell. resetEdgesOnMove Specifies if edge control points should be reset after the move of a connected cell. resetEdgesOnConnect Specifies if edge control points should be reset after the the edge has been reconnected. allowLoops Specifies if loops (aka self-references) are allowed. defaultLoopStyle mxEdgeStyle to be used for loops. multigraph Specifies if multiple edges in the same direction between the same pair of vertices are allowed. connectableEdges Specifies if edges are connectable. allowDanglingEdges Specifies if edges with disconnected terminals are allowed in the graph. cloneInvalidEdges Specifies if edges that are cloned should be validated and only inserted if they are valid. disconnectOnMove Specifies if edges should be disconnected from their terminals when they are moved. labelsVisible Specifies if labels should be visible. htmlLabels Specifies the return value for isHtmlLabel. swimlaneSelectionEnabled Specifies if swimlanes should be selectable via the content if the mouse is released. swimlaneNesting Specifies if nesting of swimlanes is allowed. swimlaneIndicatorColorAttribute The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’. imageBundles Holds the list of image bundles. minFitScale Specifies the minimum scale to be applied in fit. maxFitScale Specifies the maximum scale to be applied in fit. panDx Current horizontal panning value. panDy Current vertical panning value. collapsedImage Specifies the mxImage to indicate a collapsed state. expandedImage Specifies the mxImage to indicate a expanded state. warningImage Specifies the mxImage for the image to be used to display a warning overlay. alreadyConnectedResource Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected. containsValidationErrorsResource Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors. collapseExpandResource Specifies the resource key for the tooltip on the collapse/expand icon. init Initializes the <container> and creates the respective datastructures. createHandlers Creates the tooltip-, panning-, connection- and graph-handler (in this order). createTooltipHandler Creates and returns a new mxTooltipHandler to be used in this graph. createSelectionCellsHandler Creates and returns a new mxTooltipHandler to be used in this graph. createConnectionHandler Creates and returns a new mxConnectionHandler to be used in this graph. createGraphHandler Creates and returns a new mxGraphHandler to be used in this graph. createPanningHandler Creates and returns a new mxPanningHandler to be used in this graph. createPopupMenuHandler Creates and returns a new mxPopupMenuHandler to be used in this graph. createSelectionModel Creates a new mxGraphSelectionModel to be used in this graph. createStylesheet Creates a new mxGraphSelectionModel to be used in this graph. createGraphView Creates a new mxGraphView to be used in this graph. createCellRenderer Creates a new mxCellRenderer to be used in this graph. createCellEditor Creates a new mxCellEditor to be used in this graph. getModel Returns the mxGraphModel that contains the cells. getView Returns the mxGraphView that contains the mxCellStates. getStylesheet Returns the mxStylesheet that defines the style. setStylesheet Sets the mxStylesheet that defines the style. getSelectionModel Returns the mxGraphSelectionModel that contains the selection. setSelectionModel Sets the <mxSelectionModel> that contains the selection. getSelectionCellsForChanges Returns the cells to be selected for the given array of changes. graphModelChanged Called when the graph model changes. getRemovedCellsForChanges Returns the cells that have been removed from the model. processChange Processes the given change and invalidates the respective cached data in view. removeStateForCell Removes all cached information for the given cell and its descendants. Overlays addCellOverlay Adds an mxCellOverlay for the specified cell. getCellOverlays Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined. removeCellOverlay Removes and returns the given mxCellOverlay from the given cell. removeCellOverlays Removes all mxCellOverlays from the given cell. clearCellOverlays Removes all mxCellOverlays in the graph for the given cell and all its descendants. setCellWarning Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay. In-place editing startEditing Calls startEditingAtCell using the given cell or the first selection cell. startEditingAtCell Fires a startEditing event and invokes mxCellEditor.startEditing on <editor>. getEditingValue Returns the initial value for in-place editing. stopEditing Stops the current editing and fires a <editingStopped> event. labelChanged Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress. cellLabelChanged Sets the new label for a cell. Event processing escape Processes an escape keystroke. click Processes a singleclick on an optional cell and fires a click event. dblClick Processes a doubleclick on an optional cell and fires a <dblclick> event. tapAndHold Handles the mxMouseEvent by highlighting the mxCellState. scrollPointToVisible Scrolls the graph to the given point, extending the graph container if specified. createPanningManager Creates and returns an mxPanningManager. getBorderSizes Returns the size of the border and padding on all four sides of the container. getPreferredPageSize Returns the preferred size of the background page if preferPageSize is true. fit Scales the graph such that the complete diagram fits into <container> and returns the current scale in the view. sizeDidChange Called when the size of the graph has changed. doResizeContainer Resizes the container for the given graph width and height. updatePageBreaks Invokes from sizeDidChange to redraw the page breaks. Cell styles getCellStyle Returns an array of key, value pairs representing the cell style for the given cell. postProcessCellStyle Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF. setCellStyle Sets the style of the specified cells. toggleCellStyle Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1. toggleCellStyles Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1. setCellStyles Sets the key to value in the styles of the given cells. toggleCellStyleFlags Toggles the given bit for the given key in the styles of the specified cells. setCellStyleFlags Sets or toggles the given bit for the given key in the styles of the specified cells. Cell alignment and orientation alignCells Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate. flipEdge Toggles the style of the given edge between null (or empty) and alternateEdgeStyle. addImageBundle Adds the specified mxImageBundle. removeImageBundle Removes the specified mxImageBundle. getImageFromBundles Searches all imageBundles for the specified key and returns the value for the first match or null if the key is not found. Order orderCells Moves the given cells to the front or back. cellsOrdered Moves the given cells to the front or back. Grouping groupCells Adds the cells into the given group. getCellsForGroup Returns the cells with the same parent as the first cell in the given array. getBoundsForGroup Returns the bounds to be used for the given group and children. createGroupCell Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the <group> function. ungroupCells Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups. removeCellsAfterUngroup Hook to remove the groups after ungroupCells. removeCellsFromParent Removes the specified cells from their parents and adds them to the default parent. updateGroupBounds Updates the bounds of the given groups to include all children and returns the passed-in cells. getBoundingBox Returns the bounding box for the given array of mxCells. Cell cloning, insertion and removal cloneCells Returns the clones for the given cells. insertVertex Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex. createVertex Hook method that creates the new vertex for insertVertex. insertEdge Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge. createEdge Hook method that creates the new edge for insertEdge. addEdge Adds the edge to the parent and connects it to the given source and target terminals. addCell Adds the cell to the parent and connects it to the given source and target terminals. addCells Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal. cellsAdded Adds the specified cells to the given parent. autoSizeCell Resizes the specified cell to just fit around the its label and/or children removeCells Removes the given cells from the graph including all connected edges if includeEdges is true. cellsRemoved Removes the given cells from the model. splitEdge Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell. Cell visibility toggleCells Sets the visible state of the specified cells and all connected edges if includeEdges is true. cellsToggled Sets the visible state of the specified cells. Folding foldCells Sets the collapsed state of the specified cells and all descendants if recurse is true. cellsFolded Sets the collapsed state of the specified cells. swapBounds Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap. updateAlternateBounds Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed. addAllEdges Returns an array with the given cells and all edges that are connected to a cell or one of its descendants. getAllEdges Returns all edges connected to the given cells or its descendants. Cell sizing updateCellSize Updates the size of the given cell in the model using cellSizeUpdated. cellSizeUpdated Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size. getPreferredSizeForCell Returns the preferred width and height of the given mxCell as an mxRectangle. resizeCell Sets the bounds of the given cell using resizeCells. resizeCells Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress. cellsResized Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event. cellResized Resizes the parents recursively so that they contain the complete area of the resized child cell. resizeChildCells Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell. constrainChildCells Constrains the children of the given cell using constrainChild. scaleCell Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors. extendParent Resizes the parents recursively so that they contain the complete area of the resized child cell. Cell moving importCells Clones and inserts the given cells into the graph using the move method and returns the inserted cells. moveCells Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell. cellsMoved Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true. translateCell Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change. getCellContainmentArea Returns the mxRectangle inside which a cell is to be kept. getMaximumGraphBounds Returns the bounds inside which the diagram should be kept as an mxRectangle. constrainChild Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild. resetEdges 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. resetEdge Resets the control points of the given edge. Cell connecting and connection constraints getOutlineConstraint Returns the constraint used to connect to the outline of the given state. getAllConnectionConstraints Returns an array of all mxConnectionConstraints for the given terminal. getConnectionConstraint Returns an mxConnectionConstraint that describes the given connection point. setConnectionConstraint Sets the mxConnectionConstraint that describes the given connection point. getConnectionPoint Returns the nearest point in the list of absolute points or the center of the opposite terminal. connectCell Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress. cellConnected Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true. disconnectGraph Disconnects the given edges from the terminals which are not in the given array. Drilldown getCurrentRoot Returns the current root of the displayed cell hierarchy. getTranslateForRoot Returns the translation to be used if the given cell is the root cell as an mxPoint. isPort Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT. getTerminalForPort Returns the terminal to be used for a given port. getChildOffsetForCell Returns the offset to be used for the cells inside the given cell. enterGroup Uses the given cell as the root of the displayed cell hierarchy. exitGroup Changes the current root to the next valid root in the displayed cell hierarchy. home Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root. isValidRoot Returns true if the given cell is a valid root for the cell display hierarchy. Graph display getGraphBounds Returns the bounds of the visible graph. getCellBounds Returns the scaled, translated bounds for the given cell. getBoundingBoxFromGeometry Returns the bounding box for the geometries of the vertices in the given array of cells. refresh Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph. snap Snaps the given numeric value to the grid if gridEnabled is true. panGraph Shifts the graph display by the given amount. zoomIn Zooms into the graph by zoomFactor. zoomOut Zooms out of the graph by zoomFactor. zoomActual Resets the zoom and panning in the view. zoomTo Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom. center Centers the graph in the container. zoom Zooms the graph using the given factor. zoomToRect Zooms the graph to the specified rectangle. scrollCellToVisible Pans the graph so that it shows the given cell. scrollRectToVisible Pans the graph so that it shows the given rectangle. getCellGeometry Returns the mxGeometry for the given cell. isCellVisible Returns true if the given cell is visible in this graph. isCellCollapsed Returns true if the given cell is collapsed in this graph. isCellConnectable Returns true if the given cell is connectable in this graph. isOrthogonal Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments. isLoop Returns true if the given cell state is a loop. isCloneEvent Returns true if the given event is a clone event. isTransparentClickEvent Hook for implementing click-through behaviour on selected cells. isToggleEvent Returns true if the given event is a toggle event. isGridEnabledEvent Returns true if the given mouse event should be aligned to the grid. isConstrainedEvent Returns true if the given mouse event should be aligned to the grid. isIgnoreTerminalEvent Returns true if the given mouse event should not allow any connections to be made. Validation validationAlert Displays the given validation error in a dialog. isEdgeValid Checks if the return value of getEdgeValidationError for the given arguments is null. getEdgeValidationError Returns the validation error message to be displayed when inserting or changing an edges’ connectivity. validateEdge Hook method for subclassers to return an error message for the given edge and terminals. validateGraph Validates the graph by validating each descendant of the given cell or the root of the model. getCellValidationError Checks all multiplicities that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge. validateCell Hook method for subclassers to return an error message for the given cell and validation context. Graph appearance getBackgroundImage Returns the backgroundImage as an mxImage. setBackgroundImage Sets the new backgroundImage. getFoldingImage Returns the mxImage used to display the collapsed state of the specified cell state. convertValueToString Returns the textual representation for the given cell. getLabel Returns a string or DOM node that represents the label for the given cell. isHtmlLabel Returns true if the label must be rendered as HTML markup. isHtmlLabels Returns htmlLabels. setHtmlLabels Sets htmlLabels. isWrapping This enables wrapping for HTML labels. isLabelClipped Returns true if the overflow portion of labels should be hidden. getTooltip Returns the string or DOM node that represents the tooltip for the given state, node and coordinate pair. getTooltipForCell Returns the string or DOM node to be used as the tooltip for the given cell. getLinkForCell Returns the string to be used as the link for the given cell. getCursorForMouseEvent Returns the cursor value to be used for the CSS of the shape for the given event. getCursorForCell Returns the cursor value to be used for the CSS of the shape for the given cell. getStartSize Returns the start size of the given swimlane, that is, the width or height of the part that contains the title, depending on the horizontal style. getImage Returns the image URL for the given cell state. getVerticalAlign Returns the vertical alignment for the given cell state. getIndicatorColor Returns the indicator color for the given cell state. getIndicatorGradientColor Returns the indicator gradient color for the given cell state. getIndicatorShape Returns the indicator shape for the given cell state. getIndicatorImage Returns the indicator image for the given cell state. getBorder Returns the value of border. setBorder Sets the value of border. isSwimlane Returns true if the given cell is a swimlane in the graph. Graph behaviour isResizeContainer Returns resizeContainer. setResizeContainer Sets resizeContainer. isEnabled Returns true if the graph is enabled. setEnabled Specifies if the graph should allow any interactions. isEscapeEnabled Returns escapeEnabled. setEscapeEnabled Sets escapeEnabled. isInvokesStopCellEditing Returns invokesStopCellEditing. setInvokesStopCellEditing Sets invokesStopCellEditing. isEnterStopsCellEditing Returns enterStopsCellEditing. setEnterStopsCellEditing Sets enterStopsCellEditing. isCellLocked Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected. isCellsLocked Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected. setLocked Sets if any cell may be moved, sized, bended, disconnected, edited or selected. getCloneableCells Returns the cells which may be exported in the given array of cells. isCellCloneable Returns true if the given cell is cloneable. isCellsCloneable Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag. setCellsCloneable Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved. getExportableCells Returns the cells which may be exported in the given array of cells. canExportCell Returns true if the given cell may be exported to the clipboard. getImportableCells Returns the cells which may be imported in the given array of cells. canImportCell Returns true if the given cell may be imported from the clipboard. isCellSelectable Returns true if the given cell is selectable. isCellsSelectable Returns cellsSelectable. setCellsSelectable Sets cellsSelectable. getDeletableCells Returns the cells which may be exported in the given array of cells. isCellDeletable Returns true if the given cell is moveable. isCellsDeletable Returns cellsDeletable. setCellsDeletable Sets cellsDeletable. isLabelMovable Returns true if the given edges’s label is moveable. isCellRotatable Returns true if the given cell is rotatable. getMovableCells Returns the cells which are movable in the given array of cells. isCellMovable Returns true if the given cell is moveable. isCellsMovable Returns cellsMovable. setCellsMovable Specifies if the graph should allow moving of cells. isGridEnabled Returns gridEnabled as a boolean. setGridEnabled Specifies if the grid should be enabled. isPortsEnabled Returns portsEnabled as a boolean. setPortsEnabled Specifies if the ports should be enabled. getGridSize Returns gridSize. setGridSize Sets gridSize. getTolerance Returns tolerance. setTolerance Sets tolerance. isVertexLabelsMovable Returns vertexLabelsMovable. setVertexLabelsMovable Sets vertexLabelsMovable. isEdgeLabelsMovable Returns edgeLabelsMovable. isEdgeLabelsMovable Sets edgeLabelsMovable. isSwimlaneNesting Returns swimlaneNesting as a boolean. setSwimlaneNesting Specifies if swimlanes can be nested by drag and drop. isSwimlaneSelectionEnabled Returns swimlaneSelectionEnabled as a boolean. setSwimlaneSelectionEnabled Specifies if swimlanes should be selected if the mouse is released over their content area. isMultigraph Returns multigraph as a boolean. setMultigraph Specifies if the graph should allow multiple connections between the same pair of vertices. isAllowLoops Returns allowLoops as a boolean. setAllowDanglingEdges Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined. isAllowDanglingEdges Returns allowDanglingEdges as a boolean. setConnectableEdges Specifies if edges should be connectable. isConnectableEdges Returns connectableEdges as a boolean. setCloneInvalidEdges Specifies if edges should be inserted when cloned but not valid wrt. isCloneInvalidEdges Returns cloneInvalidEdges as a boolean. setAllowLoops Specifies if loops are allowed. isDisconnectOnMove Returns disconnectOnMove as a boolean. setDisconnectOnMove Specifies if edges should be disconnected when moved. isDropEnabled Returns dropEnabled as a boolean. setDropEnabled Specifies if the graph should allow dropping of cells onto or into other cells. isSplitEnabled Returns splitEnabled as a boolean. setSplitEnabled Specifies if the graph should allow dropping of cells onto or into other cells. isCellResizable Returns true if the given cell is resizable. isCellsResizable Returns cellsResizable. setCellsResizable Specifies if the graph should allow resizing of cells. isTerminalPointMovable Returns true if the given terminal point is movable. isCellBendable Returns true if the given cell is bendable. isCellsBendable Returns <cellsBenadable>. setCellsBendable Specifies if the graph should allow bending of edges. isCellEditable Returns true if the given cell is editable. isCellsEditable Returns cellsEditable. setCellsEditable Specifies if the graph should allow in-place editing for cell labels. isCellDisconnectable Returns true if the given cell is disconnectable from the source or target terminal. isCellsDisconnectable Returns cellsDisconnectable. setCellsDisconnectable Sets cellsDisconnectable. isValidSource Returns true if the given cell is a valid source for new connections. isValidTarget Returns isValidSource for the given cell. isValidConnection Returns true if the given target cell is a valid target for source. setConnectable Specifies if the graph should allow new connections. isConnectable Returns true if the <connectionHandler> is enabled. setTooltips Specifies if tooltips should be enabled. setPanning Specifies if panning should be enabled. isEditing Returns true if the given cell is currently being edited. isAutoSizeCell Returns true if the size of the given cell should automatically be updated after a change of the label. isAutoSizeCells Returns autoSizeCells. setAutoSizeCells Specifies if cell sizes should be automatically updated after a label change. isExtendParent Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent. isExtendParents Returns extendParents. setExtendParents Sets extendParents. isExtendParentsOnAdd Returns extendParentsOnAdd. setExtendParentsOnAdd Sets extendParentsOnAdd. isExtendParentsOnMove Returns <extendParentsOnMove>. setExtendParentsOnMove Sets <extendParentsOnMove>. isRecursiveResize Returns recursiveResize. setRecursiveResize Sets recursiveResize. isConstrainChild Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent. isConstrainChildren Returns constrainChildren. setConstrainChildren Sets constrainChildren. isConstrainRelativeChildren Returns constrainRelativeChildren. setConstrainRelativeChildren Sets constrainRelativeChildren. isConstrainChildren Returns allowNegativeCoordinates. setConstrainChildren Sets allowNegativeCoordinates. getOverlap Returns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent. isAllowOverlapParent Returns true if the given cell is allowed to be placed outside of the parents area. getFoldableCells Returns the cells which are movable in the given array of cells. isCellFoldable Returns true if the given cell is foldable. isValidDropTarget Returns true if the given cell is a valid drop target for the specified cells. isSplitTarget Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two. getDropTarget Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells. Cell retrieval getDefaultParent Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null. setDefaultParent Sets the defaultParent to the given cell. getSwimlane Returns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane. getSwimlaneAt Returns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent. getCellAt Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent. intersects Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent. hitsSwimlaneContent Returns true if the given coordinate pair is inside the content are of the given swimlane. getChildVertices Returns the visible child vertices of the given parent. getChildEdges Returns the visible child edges of the given parent. getChildCells Returns the visible child vertices or edges in the given parent. getConnections Returns all visible edges connected to the given cell without loops. getIncomingEdges Returns the visible incoming edges for the given cell. getOutgoingEdges Returns the visible outgoing edges for the given cell. getEdges Returns the incoming and/or outgoing edges for the given cell. isValidAncestor Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled. getOpposites Returns all distinct visible opposite cells for the specified terminal on the given edges. getEdgesBetween Returns the edges between the given source and target. getPointForEvent Returns an mxPoint representing the given event in the unscaled, non-translated coordinate space of <container> and applies the grid. getCells Returns the child vertices and edges of the given parent that are contained in the given rectangle. getCellsBeyond Returns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards or downwards depending on rightHalfpane and bottomHalfpane. findTreeRoots Returns all children in the given parent which do not have incoming edges. traverse Traverses the (directed) graph invoking the given function for each visited vertex and edge. Selection isCellSelected Returns true if the given cell is selected. isSelectionEmpty Returns true if the selection is empty. clearSelection Clears the selection using mxGraphSelectionModel.clear. getSelectionCount Returns the number of selected cells. getSelectionCell Returns the first cell from the array of selected mxCells. getSelectionCells Returns the array of selected mxCells. setSelectionCell Sets the selection cell. setSelectionCells Sets the selection cell. addSelectionCell Adds the given cell to the selection. addSelectionCells Adds the given cells to the selection. removeSelectionCell Removes the given cell from the selection. removeSelectionCells Removes the given cells from the selection. selectRegion Selects and returns the cells inside the given rectangle for the specified event. selectNextCell Selects the next cell. selectPreviousCell Selects the previous cell. selectParentCell Selects the parent cell. selectChildCell Selects the first child cell. selectCell Selects the next, parent, first child or previous cell, if all arguments are false. selectAll Selects all children of the given parent cell or the children of the default parent if no parent is specified. selectVertices Select all vertices inside the given parent or the default parent. selectVertices Select all vertices inside the given parent or the default parent. selectCells Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified. selectCellForEvent Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event. selectCellsForEvent Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event. Selection state createHandler Creates a new handler for the given cell state. createVertexHandler Hooks to create a new mxVertexHandler for the given mxCellState. createEdgeHandler Hooks to create a new mxEdgeHandler for the given mxCellState. createEdgeSegmentHandler Hooks to create a new <mxEdgeSegmentHandler> for the given mxCellState. createElbowEdgeHandler Hooks to create a new mxElbowEdgeHandler for the given mxCellState. Graph events addMouseListener Adds a listener to the graph event dispatch loop. removeMouseListener Removes the specified graph listener. updateMouseEvent Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event. getStateForEvent Returns the state for the given touch event. isEventIgnored Returns true if the event should be ignored in fireMouseEvent. isSyntheticEventIgnored Hook for ignoring synthetic mouse events after touchend in Firefox. isEventSourceIgnored Returns true if the event should be ignored in fireMouseEvent. getEventState Returns the mxCellState to be used when firing the mouse event for the given state. fireMouseEvent Dispatches the given event in the graph event dispatch loop. consumeMouseEvent Consumes the given mxMouseEvent if it’s a touchStart event. fireGestureEvent Dispatches a mxEvent.GESTURE event. destroy Destroys the graph and all its resources. For creating a page that loads the client and a diagram using a single request please refer to the deployment examples in the backends.
Functional dependencies
Resources
resources/graph Language resources for mxGraph Summary
mxGraph Extends mxEventSource to implement a graph component for the browser. Events mxEvent.ROOT Fires if the root in the model has changed. mxEvent. ALIGN_CELLS Fires between begin- and endUpdate in alignCells. mxEvent. FLIP_EDGE Fires between begin- and endUpdate in flipEdge. mxEvent. ORDER_CELLS Fires between begin- and endUpdate in orderCells. mxEvent. CELLS_ORDERED Fires between begin- and endUpdate in cellsOrdered. mxEvent. GROUP_CELLS Fires between begin- and endUpdate in groupCells. mxEvent. UNGROUP_CELLS Fires between begin- and endUpdate in ungroupCells. mxEvent. REMOVE_CELLS_FROM_PARENT Fires between begin- and endUpdate in removeCellsFromParent. mxEvent. ADD_CELLS Fires between begin- and endUpdate in addCells. mxEvent. CELLS_ADDED Fires between begin- and endUpdate in cellsAdded. mxEvent. REMOVE_CELLS Fires between begin- and endUpdate in removeCells. mxEvent. CELLS_REMOVED Fires between begin- and endUpdate in cellsRemoved. mxEvent. SPLIT_EDGE Fires between begin- and endUpdate in splitEdge. mxEvent. TOGGLE_CELLS Fires between begin- and endUpdate in toggleCells. mxEvent. FOLD_CELLS Fires between begin- and endUpdate in foldCells. mxEvent. CELLS_FOLDED Fires between begin- and endUpdate in cellsFolded. mxEvent. UPDATE_CELL_SIZE Fires between begin- and endUpdate in updateCellSize. mxEvent. RESIZE_CELLS Fires between begin- and endUpdate in resizeCells. mxEvent. CELLS_RESIZED Fires between begin- and endUpdate in cellsResized. mxEvent. MOVE_CELLS Fires between begin- and endUpdate in moveCells. mxEvent. CELLS_MOVED Fires between begin- and endUpdate in cellsMoved. mxEvent. CONNECT_CELL Fires between begin- and endUpdate in connectCell. mxEvent. CELL_CONNECTED Fires between begin- and endUpdate in cellConnected. mxEvent. REFRESH Fires after refresh was executed. mxEvent. CLICK Fires in click after a click event. mxEvent. DOUBLE_CLICK Fires in dblClick after a double click. mxEvent. GESTURE Fires in fireGestureEvent after a touch gesture. mxEvent. TAP_AND_HOLD Fires in tapAndHold if a tap and hold event was detected. mxEvent. FIRE_MOUSE_EVENT Fires in fireMouseEvent before the mouse listeners are invoked. mxEvent.SIZE Fires after sizeDidChange was executed. mxEvent. START_EDITING Fires before the in-place editor starts in startEditingAtCell. mxEvent. EDITING_STARTED Fires after the in-place editor starts in startEditingAtCell. mxEvent. EDITING_STOPPED Fires after the in-place editor stops in stopEditing. mxEvent. LABEL_CHANGED Fires between begin- and endUpdate in cellLabelChanged. mxEvent. ADD_OVERLAY Fires after an overlay is added in addCellOverlay. mxEvent. REMOVE_OVERLAY Fires after an overlay is removed in removeCellOverlay and removeCellOverlays. mxGraph Constructs a new mxGraph in the specified container. EMPTY_ARRAY Immutable empty array instance. Variables mouseListeners Holds the mouse event listeners. isMouseDown Holds the state of the mouse button. model Holds the mxGraphModel that contains the cells to be displayed. view Holds the mxGraphView that caches the mxCellStates for the cells. stylesheet Holds the mxStylesheet that defines the appearance of the cells. selectionModel Holds the mxGraphSelectionModel that models the current selection. cellEditor Holds the mxCellEditor that is used as the in-place editing. cellRenderer Holds the mxCellRenderer for rendering the cells in the graph. multiplicities An array of mxMultiplicities describing the allowed connections in a graph. renderHint RenderHint as it was passed to the constructor. dialect Dialect to be used for drawing the graph. gridSize Specifies the grid size. gridEnabled Specifies if the grid is enabled. portsEnabled Specifies if ports are enabled. nativeDoubleClickEnabled Specifies if native double click events should be detected. doubleTapEnabled Specifies if double taps on touch-based devices should be handled as a double click. doubleTapTimeout Specifies the timeout for double taps and non-native double clicks. doubleTapTolerance Specifies the tolerance for double taps and double clicks in quirks mode. lastTouchX Holds the x-coordinate of the last touch event for double tap detection. lastTouchX Holds the y-coordinate of the last touch event for double tap detection. lastTouchTime Holds the time of the last touch event for double click detection. tapAndHoldEnabled Specifies if tap and hold should be used for starting connections on touch-based devices. tapAndHoldDelay Specifies the time for a tap and hold. tapAndHoldInProgress True if the timer for tap and hold events is running. tapAndHoldValid True as long as the timer is running and the touch events stay within the given <tapAndHoldTolerance>. initialTouchX Holds the x-coordinate of the intial touch event for tap and hold. initialTouchY Holds the y-coordinate of the intial touch event for tap and hold. tolerance Tolerance for a move to be handled as a single click. defaultOverlap Value returned by getOverlap if isAllowOverlapParent returns true for the given cell. defaultParent Specifies the default parent to be used to insert new cells. alternateEdgeStyle Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked. backgroundImage Specifies the mxImage to be returned by getBackgroundImage. pageVisible Specifies if the background page should be visible. pageBreaksVisible Specifies if a dashed line should be drawn between multiple pages. pageBreakColor Specifies the color for page breaks. pageBreakDashed Specifies the page breaks should be dashed. minPageBreakDist Specifies the minimum distance for page breaks to be visible. preferPageSize Specifies if the graph size should be rounded to the next page number in sizeDidChange. pageFormat Specifies the page format for the background page. pageScale Specifies the scale of the background page. enabled Specifies the return value for isEnabled. escapeEnabled Specifies if mxKeyHandler should invoke escape when the escape key is pressed. invokesStopCellEditing If true, when editing is to be stopped by way of selection changing, data in diagram changing or other means stopCellEditing is invoked, and changes are saved. enterStopsCellEditing If true, pressing the enter key without pressing control or shift will stop editing and accept the new value. useScrollbarsForPanning Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available. exportEnabled Specifies the return value for canExportCell. importEnabled Specifies the return value for canImportCell. cellsLocked Specifies the return value for isCellLocked. cellsCloneable Specifies the return value for isCellCloneable. foldingEnabled Specifies if folding (collapse and expand via an image icon in the graph should be enabled). cellsEditable Specifies the return value for isCellEditable. cellsDeletable Specifies the return value for isCellDeletable. cellsMovable Specifies the return value for isCellMovable. edgeLabelsMovable Specifies the return value for edges in isLabelMovable. vertexLabelsMovable Specifies the return value for vertices in isLabelMovable. dropEnabled Specifies the return value for isDropEnabled. splitEnabled Specifies if dropping onto edges should be enabled. cellsResizable Specifies the return value for isCellResizable. cellsBendable Specifies the return value for isCellsBendable. cellsSelectable Specifies the return value for isCellSelectable. cellsDisconnectable Specifies the return value for <isCellDisconntable>. autoSizeCells Specifies if the graph should automatically update the cell size after an edit. autoSizeCellsOnAdd Specifies if autoSize style should be applied when cells are added. autoScroll Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging. ignoreScrollbars Specifies if the graph should automatically scroll regardless of the scrollbars. translateToScrollPosition Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received. timerAutoScroll Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars. allowAutoPanning Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible. autoExtend Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging. maximumGraphBounds mxRectangle that specifies the area in which all cells in the diagram should be placed. minimumGraphSize mxRectangle that specifies the minimum size of the graph. minimumContainerSize mxRectangle that specifies the minimum size of the <container> if resizeContainer is true. maximumContainerSize mxRectangle that specifies the maximum size of the container if resizeContainer is true. resizeContainer Specifies if the container should be resized to the graph size when the graph size has changed. border Border to be added to the bottom and right side when the container is being resized after the graph has been changed. keepEdgesInForeground Specifies if edges should appear in the foreground regardless of their order in the model. keepEdgesInBackground Specifies if edges should appear in the background regardless of their order in the model. allowNegativeCoordinates Specifies if negative coordinates for vertices are allowed. constrainChildren Specifies if a child should be constrained inside the parent bounds after a move or resize of the child. constrainRelativeChildren Specifies if child cells with relative geometries should be constrained inside the parent bounds, if constrainChildren is true, and/or the maximumGraphBounds. extendParents Specifies if a parent should contain the child bounds after a resize of the child. extendParentsOnAdd Specifies if parents should be extended according to the extendParents switch if cells are added. extendParentsOnAdd Specifies if parents should be extended according to the extendParents switch if cells are added. recursiveResize Specifies the return value for isRecursiveResize. collapseToPreferredSize Specifies if the cell size should be changed to the preferred size when a cell is first collapsed. zoomFactor Specifies the factor used for zoomIn and zoomOut. keepSelectionVisibleOnZoom Specifies if the viewport should automatically contain the selection cells after a zoom operation. centerZoom Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left. resetViewOnRootChange Specifies if the scale and translate should be reset if the root changes in the model. resetEdgesOnResize Specifies if edge control points should be reset after the resize of a connected cell. resetEdgesOnMove Specifies if edge control points should be reset after the move of a connected cell. resetEdgesOnConnect Specifies if edge control points should be reset after the the edge has been reconnected. allowLoops Specifies if loops (aka self-references) are allowed. defaultLoopStyle mxEdgeStyle to be used for loops. multigraph Specifies if multiple edges in the same direction between the same pair of vertices are allowed. connectableEdges Specifies if edges are connectable. allowDanglingEdges Specifies if edges with disconnected terminals are allowed in the graph. cloneInvalidEdges Specifies if edges that are cloned should be validated and only inserted if they are valid. disconnectOnMove Specifies if edges should be disconnected from their terminals when they are moved. labelsVisible Specifies if labels should be visible. htmlLabels Specifies the return value for isHtmlLabel. swimlaneSelectionEnabled Specifies if swimlanes should be selectable via the content if the mouse is released. swimlaneNesting Specifies if nesting of swimlanes is allowed. swimlaneIndicatorColorAttribute The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’. imageBundles Holds the list of image bundles. minFitScale Specifies the minimum scale to be applied in fit. maxFitScale Specifies the maximum scale to be applied in fit. panDx Current horizontal panning value. panDy Current vertical panning value. collapsedImage Specifies the mxImage to indicate a collapsed state. expandedImage Specifies the mxImage to indicate a expanded state. warningImage Specifies the mxImage for the image to be used to display a warning overlay. alreadyConnectedResource Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected. containsValidationErrorsResource Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors. collapseExpandResource Specifies the resource key for the tooltip on the collapse/expand icon. init Initializes the <container> and creates the respective datastructures. createHandlers Creates the tooltip-, panning-, connection- and graph-handler (in this order). createTooltipHandler Creates and returns a new mxTooltipHandler to be used in this graph. createSelectionCellsHandler Creates and returns a new mxTooltipHandler to be used in this graph. createConnectionHandler Creates and returns a new mxConnectionHandler to be used in this graph. createGraphHandler Creates and returns a new mxGraphHandler to be used in this graph. createPanningHandler Creates and returns a new mxPanningHandler to be used in this graph. createPopupMenuHandler Creates and returns a new mxPopupMenuHandler to be used in this graph. createSelectionModel Creates a new mxGraphSelectionModel to be used in this graph. createStylesheet Creates a new mxGraphSelectionModel to be used in this graph. createGraphView Creates a new mxGraphView to be used in this graph. createCellRenderer Creates a new mxCellRenderer to be used in this graph. createCellEditor Creates a new mxCellEditor to be used in this graph. getModel Returns the mxGraphModel that contains the cells. getView Returns the mxGraphView that contains the mxCellStates. getStylesheet Returns the mxStylesheet that defines the style. setStylesheet Sets the mxStylesheet that defines the style. getSelectionModel Returns the mxGraphSelectionModel that contains the selection. setSelectionModel Sets the <mxSelectionModel> that contains the selection. getSelectionCellsForChanges Returns the cells to be selected for the given array of changes. graphModelChanged Called when the graph model changes. getRemovedCellsForChanges Returns the cells that have been removed from the model. processChange Processes the given change and invalidates the respective cached data in view. removeStateForCell Removes all cached information for the given cell and its descendants. Overlays addCellOverlay Adds an mxCellOverlay for the specified cell. getCellOverlays Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined. removeCellOverlay Removes and returns the given mxCellOverlay from the given cell. removeCellOverlays Removes all mxCellOverlays from the given cell. clearCellOverlays Removes all mxCellOverlays in the graph for the given cell and all its descendants. setCellWarning Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay. In-place editing startEditing Calls startEditingAtCell using the given cell or the first selection cell. startEditingAtCell Fires a startEditing event and invokes mxCellEditor.startEditing on <editor>. getEditingValue Returns the initial value for in-place editing. stopEditing Stops the current editing and fires a <editingStopped> event. labelChanged Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress. cellLabelChanged Sets the new label for a cell. Event processing escape Processes an escape keystroke. click Processes a singleclick on an optional cell and fires a click event. dblClick Processes a doubleclick on an optional cell and fires a <dblclick> event. tapAndHold Handles the mxMouseEvent by highlighting the mxCellState. scrollPointToVisible Scrolls the graph to the given point, extending the graph container if specified. createPanningManager Creates and returns an mxPanningManager. getBorderSizes Returns the size of the border and padding on all four sides of the container. getPreferredPageSize Returns the preferred size of the background page if preferPageSize is true. fit Scales the graph such that the complete diagram fits into <container> and returns the current scale in the view. sizeDidChange Called when the size of the graph has changed. doResizeContainer Resizes the container for the given graph width and height. updatePageBreaks Invokes from sizeDidChange to redraw the page breaks. Cell styles getCellStyle Returns an array of key, value pairs representing the cell style for the given cell. postProcessCellStyle Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF. setCellStyle Sets the style of the specified cells. toggleCellStyle Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1. toggleCellStyles Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1. setCellStyles Sets the key to value in the styles of the given cells. toggleCellStyleFlags Toggles the given bit for the given key in the styles of the specified cells. setCellStyleFlags Sets or toggles the given bit for the given key in the styles of the specified cells. Cell alignment and orientation alignCells Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate. flipEdge Toggles the style of the given edge between null (or empty) and alternateEdgeStyle. addImageBundle Adds the specified mxImageBundle. removeImageBundle Removes the specified mxImageBundle. getImageFromBundles Searches all imageBundles for the specified key and returns the value for the first match or null if the key is not found. Order orderCells Moves the given cells to the front or back. cellsOrdered Moves the given cells to the front or back. Grouping groupCells Adds the cells into the given group. getCellsForGroup Returns the cells with the same parent as the first cell in the given array. getBoundsForGroup Returns the bounds to be used for the given group and children. createGroupCell Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the <group> function. ungroupCells Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups. removeCellsAfterUngroup Hook to remove the groups after ungroupCells. removeCellsFromParent Removes the specified cells from their parents and adds them to the default parent. updateGroupBounds Updates the bounds of the given groups to include all children and returns the passed-in cells. getBoundingBox Returns the bounding box for the given array of mxCells. Cell cloning, insertion and removal cloneCells Returns the clones for the given cells. insertVertex Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex. createVertex Hook method that creates the new vertex for insertVertex. insertEdge Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge. createEdge Hook method that creates the new edge for insertEdge. addEdge Adds the edge to the parent and connects it to the given source and target terminals. addCell Adds the cell to the parent and connects it to the given source and target terminals. addCells Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal. cellsAdded Adds the specified cells to the given parent. autoSizeCell Resizes the specified cell to just fit around the its label and/or children removeCells Removes the given cells from the graph including all connected edges if includeEdges is true. cellsRemoved Removes the given cells from the model. splitEdge Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell. Cell visibility toggleCells Sets the visible state of the specified cells and all connected edges if includeEdges is true. cellsToggled Sets the visible state of the specified cells. Folding foldCells Sets the collapsed state of the specified cells and all descendants if recurse is true. cellsFolded Sets the collapsed state of the specified cells. swapBounds Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap. updateAlternateBounds Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed. addAllEdges Returns an array with the given cells and all edges that are connected to a cell or one of its descendants. getAllEdges Returns all edges connected to the given cells or its descendants. Cell sizing updateCellSize Updates the size of the given cell in the model using cellSizeUpdated. cellSizeUpdated Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size. getPreferredSizeForCell Returns the preferred width and height of the given mxCell as an mxRectangle. resizeCell Sets the bounds of the given cell using resizeCells. resizeCells Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress. cellsResized Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event. cellResized Resizes the parents recursively so that they contain the complete area of the resized child cell. resizeChildCells Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell. constrainChildCells Constrains the children of the given cell using constrainChild. scaleCell Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors. extendParent Resizes the parents recursively so that they contain the complete area of the resized child cell. Cell moving importCells Clones and inserts the given cells into the graph using the move method and returns the inserted cells. moveCells Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell. cellsMoved Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true. translateCell Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change. getCellContainmentArea Returns the mxRectangle inside which a cell is to be kept. getMaximumGraphBounds Returns the bounds inside which the diagram should be kept as an mxRectangle. constrainChild Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild. resetEdges 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. resetEdge Resets the control points of the given edge. Cell connecting and connection constraints getOutlineConstraint Returns the constraint used to connect to the outline of the given state. getAllConnectionConstraints Returns an array of all mxConnectionConstraints for the given terminal. getConnectionConstraint Returns an mxConnectionConstraint that describes the given connection point. setConnectionConstraint Sets the mxConnectionConstraint that describes the given connection point. getConnectionPoint Returns the nearest point in the list of absolute points or the center of the opposite terminal. connectCell Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress. cellConnected Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true. disconnectGraph Disconnects the given edges from the terminals which are not in the given array. Drilldown getCurrentRoot Returns the current root of the displayed cell hierarchy. getTranslateForRoot Returns the translation to be used if the given cell is the root cell as an mxPoint. isPort Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT. getTerminalForPort Returns the terminal to be used for a given port. getChildOffsetForCell Returns the offset to be used for the cells inside the given cell. enterGroup Uses the given cell as the root of the displayed cell hierarchy. exitGroup Changes the current root to the next valid root in the displayed cell hierarchy. home Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root. isValidRoot Returns true if the given cell is a valid root for the cell display hierarchy. Graph display getGraphBounds Returns the bounds of the visible graph. getCellBounds Returns the scaled, translated bounds for the given cell. getBoundingBoxFromGeometry Returns the bounding box for the geometries of the vertices in the given array of cells. refresh Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph. snap Snaps the given numeric value to the grid if gridEnabled is true. panGraph Shifts the graph display by the given amount. zoomIn Zooms into the graph by zoomFactor. zoomOut Zooms out of the graph by zoomFactor. zoomActual Resets the zoom and panning in the view. zoomTo Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom. center Centers the graph in the container. zoom Zooms the graph using the given factor. zoomToRect Zooms the graph to the specified rectangle. scrollCellToVisible Pans the graph so that it shows the given cell. scrollRectToVisible Pans the graph so that it shows the given rectangle. getCellGeometry Returns the mxGeometry for the given cell. isCellVisible Returns true if the given cell is visible in this graph. isCellCollapsed Returns true if the given cell is collapsed in this graph. isCellConnectable Returns true if the given cell is connectable in this graph. isOrthogonal Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments. isLoop Returns true if the given cell state is a loop. isCloneEvent Returns true if the given event is a clone event. isTransparentClickEvent Hook for implementing click-through behaviour on selected cells. isToggleEvent Returns true if the given event is a toggle event. isGridEnabledEvent Returns true if the given mouse event should be aligned to the grid. isConstrainedEvent Returns true if the given mouse event should be aligned to the grid. isIgnoreTerminalEvent Returns true if the given mouse event should not allow any connections to be made. Validation validationAlert Displays the given validation error in a dialog. isEdgeValid Checks if the return value of getEdgeValidationError for the given arguments is null. getEdgeValidationError Returns the validation error message to be displayed when inserting or changing an edges’ connectivity. validateEdge Hook method for subclassers to return an error message for the given edge and terminals. validateGraph Validates the graph by validating each descendant of the given cell or the root of the model. getCellValidationError Checks all multiplicities that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge. validateCell Hook method for subclassers to return an error message for the given cell and validation context. Graph appearance getBackgroundImage Returns the backgroundImage as an mxImage. setBackgroundImage Sets the new backgroundImage. getFoldingImage Returns the mxImage used to display the collapsed state of the specified cell state. convertValueToString Returns the textual representation for the given cell. getLabel Returns a string or DOM node that represents the label for the given cell. isHtmlLabel Returns true if the label must be rendered as HTML markup. isHtmlLabels Returns htmlLabels. setHtmlLabels Sets htmlLabels. isWrapping This enables wrapping for HTML labels. isLabelClipped Returns true if the overflow portion of labels should be hidden. getTooltip Returns the string or DOM node that represents the tooltip for the given state, node and coordinate pair. getTooltipForCell Returns the string or DOM node to be used as the tooltip for the given cell. getLinkForCell Returns the string to be used as the link for the given cell. getCursorForMouseEvent Returns the cursor value to be used for the CSS of the shape for the given event. getCursorForCell Returns the cursor value to be used for the CSS of the shape for the given cell. getStartSize Returns the start size of the given swimlane, that is, the width or height of the part that contains the title, depending on the horizontal style. getImage Returns the image URL for the given cell state. getVerticalAlign Returns the vertical alignment for the given cell state. getIndicatorColor Returns the indicator color for the given cell state. getIndicatorGradientColor Returns the indicator gradient color for the given cell state. getIndicatorShape Returns the indicator shape for the given cell state. getIndicatorImage Returns the indicator image for the given cell state. getBorder Returns the value of border. setBorder Sets the value of border. isSwimlane Returns true if the given cell is a swimlane in the graph. Graph behaviour isResizeContainer Returns resizeContainer. setResizeContainer Sets resizeContainer. isEnabled Returns true if the graph is enabled. setEnabled Specifies if the graph should allow any interactions. isEscapeEnabled Returns escapeEnabled. setEscapeEnabled Sets escapeEnabled. isInvokesStopCellEditing Returns invokesStopCellEditing. setInvokesStopCellEditing Sets invokesStopCellEditing. isEnterStopsCellEditing Returns enterStopsCellEditing. setEnterStopsCellEditing Sets enterStopsCellEditing. isCellLocked Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected. isCellsLocked Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected. setCellsLocked Sets if any cell may be moved, sized, bended, disconnected, edited or selected. getCloneableCells Returns the cells which may be exported in the given array of cells. isCellCloneable Returns true if the given cell is cloneable. isCellsCloneable Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag. setCellsCloneable Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved. getExportableCells Returns the cells which may be exported in the given array of cells. canExportCell Returns true if the given cell may be exported to the clipboard. getImportableCells Returns the cells which may be imported in the given array of cells. canImportCell Returns true if the given cell may be imported from the clipboard. isCellSelectable Returns true if the given cell is selectable. isCellsSelectable Returns cellsSelectable. setCellsSelectable Sets cellsSelectable. getDeletableCells Returns the cells which may be exported in the given array of cells. isCellDeletable Returns true if the given cell is moveable. isCellsDeletable Returns cellsDeletable. setCellsDeletable Sets cellsDeletable. isLabelMovable Returns true if the given edges’s label is moveable. isCellRotatable Returns true if the given cell is rotatable. getMovableCells Returns the cells which are movable in the given array of cells. isCellMovable Returns true if the given cell is moveable. isCellsMovable Returns cellsMovable. setCellsMovable Specifies if the graph should allow moving of cells. isGridEnabled Returns gridEnabled as a boolean. setGridEnabled Specifies if the grid should be enabled. isPortsEnabled Returns portsEnabled as a boolean. setPortsEnabled Specifies if the ports should be enabled. getGridSize Returns gridSize. setGridSize Sets gridSize. getTolerance Returns tolerance. setTolerance Sets tolerance. isVertexLabelsMovable Returns vertexLabelsMovable. setVertexLabelsMovable Sets vertexLabelsMovable. isEdgeLabelsMovable Returns edgeLabelsMovable. isEdgeLabelsMovable Sets edgeLabelsMovable. isSwimlaneNesting Returns swimlaneNesting as a boolean. setSwimlaneNesting Specifies if swimlanes can be nested by drag and drop. isSwimlaneSelectionEnabled Returns swimlaneSelectionEnabled as a boolean. setSwimlaneSelectionEnabled Specifies if swimlanes should be selected if the mouse is released over their content area. isMultigraph Returns multigraph as a boolean. setMultigraph Specifies if the graph should allow multiple connections between the same pair of vertices. isAllowLoops Returns allowLoops as a boolean. setAllowDanglingEdges Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined. isAllowDanglingEdges Returns allowDanglingEdges as a boolean. setConnectableEdges Specifies if edges should be connectable. isConnectableEdges Returns connectableEdges as a boolean. setCloneInvalidEdges Specifies if edges should be inserted when cloned but not valid wrt. isCloneInvalidEdges Returns cloneInvalidEdges as a boolean. setAllowLoops Specifies if loops are allowed. isDisconnectOnMove Returns disconnectOnMove as a boolean. setDisconnectOnMove Specifies if edges should be disconnected when moved. isDropEnabled Returns dropEnabled as a boolean. setDropEnabled Specifies if the graph should allow dropping of cells onto or into other cells. isSplitEnabled Returns splitEnabled as a boolean. setSplitEnabled Specifies if the graph should allow dropping of cells onto or into other cells. isCellResizable Returns true if the given cell is resizable. isCellsResizable Returns cellsResizable. setCellsResizable Specifies if the graph should allow resizing of cells. isTerminalPointMovable Returns true if the given terminal point is movable. isCellBendable Returns true if the given cell is bendable. isCellsBendable Returns <cellsBenadable>. setCellsBendable Specifies if the graph should allow bending of edges. isCellEditable Returns true if the given cell is editable. isCellsEditable Returns cellsEditable. setCellsEditable Specifies if the graph should allow in-place editing for cell labels. isCellDisconnectable Returns true if the given cell is disconnectable from the source or target terminal. isCellsDisconnectable Returns cellsDisconnectable. setCellsDisconnectable Sets cellsDisconnectable. isValidSource Returns true if the given cell is a valid source for new connections. isValidTarget Returns isValidSource for the given cell. isValidConnection Returns true if the given target cell is a valid target for source. setConnectable Specifies if the graph should allow new connections. isConnectable Returns true if the <connectionHandler> is enabled. setTooltips Specifies if tooltips should be enabled. setPanning Specifies if panning should be enabled. isEditing Returns true if the given cell is currently being edited. isAutoSizeCell Returns true if the size of the given cell should automatically be updated after a change of the label. isAutoSizeCells Returns autoSizeCells. setAutoSizeCells Specifies if cell sizes should be automatically updated after a label change. isExtendParent Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent. isExtendParents Returns extendParents. setExtendParents Sets extendParents. isExtendParentsOnAdd Returns extendParentsOnAdd. setExtendParentsOnAdd Sets extendParentsOnAdd. isExtendParentsOnMove Returns <extendParentsOnMove>. setExtendParentsOnMove Sets <extendParentsOnMove>. isRecursiveResize Returns recursiveResize. setRecursiveResize Sets recursiveResize. isConstrainChild Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent. isConstrainChildren Returns constrainChildren. setConstrainChildren Sets constrainChildren. isConstrainRelativeChildren Returns constrainRelativeChildren. setConstrainRelativeChildren Sets constrainRelativeChildren. isConstrainChildren Returns allowNegativeCoordinates. setConstrainChildren Sets allowNegativeCoordinates. getOverlap Returns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent. isAllowOverlapParent Returns true if the given cell is allowed to be placed outside of the parents area. getFoldableCells Returns the cells which are movable in the given array of cells. isCellFoldable Returns true if the given cell is foldable. isValidDropTarget Returns true if the given cell is a valid drop target for the specified cells. isSplitTarget Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two. getDropTarget Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells. Cell retrieval getDefaultParent Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null. setDefaultParent Sets the defaultParent to the given cell. getSwimlane Returns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane. getSwimlaneAt Returns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent. getCellAt Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent. intersects Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent. hitsSwimlaneContent Returns true if the given coordinate pair is inside the content are of the given swimlane. getChildVertices Returns the visible child vertices of the given parent. getChildEdges Returns the visible child edges of the given parent. getChildCells Returns the visible child vertices or edges in the given parent. getConnections Returns all visible edges connected to the given cell without loops. getIncomingEdges Returns the visible incoming edges for the given cell. getOutgoingEdges Returns the visible outgoing edges for the given cell. getEdges Returns the incoming and/or outgoing edges for the given cell. isValidAncestor Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled. getOpposites Returns all distinct visible opposite cells for the specified terminal on the given edges. getEdgesBetween Returns the edges between the given source and target. getPointForEvent Returns an mxPoint representing the given event in the unscaled, non-translated coordinate space of <container> and applies the grid. getCells Returns the child vertices and edges of the given parent that are contained in the given rectangle. getCellsBeyond Returns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards or downwards depending on rightHalfpane and bottomHalfpane. findTreeRoots Returns all children in the given parent which do not have incoming edges. traverse Traverses the (directed) graph invoking the given function for each visited vertex and edge. Selection isCellSelected Returns true if the given cell is selected. isSelectionEmpty Returns true if the selection is empty. clearSelection Clears the selection using mxGraphSelectionModel.clear. getSelectionCount Returns the number of selected cells. getSelectionCell Returns the first cell from the array of selected mxCells. getSelectionCells Returns the array of selected mxCells. setSelectionCell Sets the selection cell. setSelectionCells Sets the selection cell. addSelectionCell Adds the given cell to the selection. addSelectionCells Adds the given cells to the selection. removeSelectionCell Removes the given cell from the selection. removeSelectionCells Removes the given cells from the selection. selectRegion Selects and returns the cells inside the given rectangle for the specified event. selectNextCell Selects the next cell. selectPreviousCell Selects the previous cell. selectParentCell Selects the parent cell. selectChildCell Selects the first child cell. selectCell Selects the next, parent, first child or previous cell, if all arguments are false. selectAll Selects all children of the given parent cell or the children of the default parent if no parent is specified. selectVertices Select all vertices inside the given parent or the default parent. selectVertices Select all vertices inside the given parent or the default parent. selectCells Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified. selectCellForEvent Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event. selectCellsForEvent Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event. Selection state createHandler Creates a new handler for the given cell state. createVertexHandler Hooks to create a new mxVertexHandler for the given mxCellState. createEdgeHandler Hooks to create a new mxEdgeHandler for the given mxCellState. createEdgeSegmentHandler Hooks to create a new <mxEdgeSegmentHandler> for the given mxCellState. createElbowEdgeHandler Hooks to create a new mxElbowEdgeHandler for the given mxCellState. Graph events addMouseListener Adds a listener to the graph event dispatch loop. removeMouseListener Removes the specified graph listener. updateMouseEvent Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event. getStateForEvent Returns the state for the given touch event. isEventIgnored Returns true if the event should be ignored in fireMouseEvent. isSyntheticEventIgnored Hook for ignoring synthetic mouse events after touchend in Firefox. isEventSourceIgnored Returns true if the event should be ignored in fireMouseEvent. getEventState Returns the mxCellState to be used when firing the mouse event for the given state. fireMouseEvent Dispatches the given event in the graph event dispatch loop. consumeMouseEvent Consumes the given mxMouseEvent if it’s a touchStart event. fireGestureEvent Dispatches a mxEvent.GESTURE event. destroy Destroys the graph and all its resources.
Fires between begin- and endUpdate in alignCells. The <code>cells</code> and <code>align</code> properties contain the respective arguments that were passed to alignCells.
Fires between begin- and endUpdate in alignCells. The <code>cells</code> and <code>align</code> properties contain the respective arguments that were passed to alignCells.
Fires between begin- and endUpdate in orderCells. The <code>cells</code> and <code>back</code> properties contain the respective arguments that were passed to orderCells.
Fires between begin- and endUpdate in orderCells. The <code>cells</code> and <code>back</code> properties contain the respective arguments that were passed to orderCells.
Fires between begin- and endUpdate in cellsOrdered. The <code>cells</code> and <code>back</code> arguments contain the respective arguments that were passed to cellsOrdered.
Fires between begin- and endUpdate in cellsOrdered. The <code>cells</code> and <code>back</code> arguments contain the respective arguments that were passed to cellsOrdered.
Fires between begin- and endUpdate in groupCells. The <code>group</code>, <code>cells</code> and <code>border</code> arguments contain the respective arguments that were passed to groupCells.
Fires between begin- and endUpdate in groupCells. The <code>group</code>, <code>cells</code> and <code>border</code> arguments contain the respective arguments that were passed to groupCells.
Fires between begin- and endUpdate in ungroupCells. The <code>cells</code> property contains the array of cells that was passed to ungroupCells.
Fires between begin- and endUpdate in ungroupCells. The <code>cells</code> property contains the array of cells that was passed to ungroupCells.
Fires between begin- and endUpdate in removeCellsFromParent. The <code>cells</code> property contains the array of cells that was passed to removeCellsFromParent.
Fires between begin- and endUpdate in removeCellsFromParent. The <code>cells</code> property contains the array of cells that was passed to removeCellsFromParent.
Fires between begin- and endUpdate in cellsAdded. The <code>cells</code>, <code>parent</code>, <code>index</code>, <code>source</code>, <code>target</code> and <code>absolute</code> properties contain the respective arguments that were passed to cellsAdded.
Fires between begin- and endUpdate in cellsAdded. The <code>cells</code>, <code>parent</code>, <code>index</code>, <code>source</code>, <code>target</code> and <code>absolute</code> properties contain the respective arguments that were passed to cellsAdded.
Fires between begin- and endUpdate in removeCells. The <code>cells</code> and <code>includeEdges</code> arguments contain the respective arguments that were passed to removeCells.
Fires between begin- and endUpdate in removeCells. The <code>cells</code> and <code>includeEdges</code> arguments contain the respective arguments that were passed to removeCells.
Fires between begin- and endUpdate in cellsRemoved. The <code>cells</code> argument contains the array of cells that was removed.
Fires between begin- and endUpdate in cellsRemoved. The <code>cells</code> argument contains the array of cells that was removed.
Fires between begin- and endUpdate in toggleCells. The <code>show</code>, <code>cells</code> and <code>includeEdges</code> properties contain the respective arguments that were passed to toggleCells.
Fires between begin- and endUpdate in toggleCells. The <code>show</code>, <code>cells</code> and <code>includeEdges</code> properties contain the respective arguments that were passed to toggleCells.
Fires between begin- and endUpdate in cellsFolded. The <code>collapse</code>, <code>cells</code> and <code>recurse</code> properties contain the respective arguments that were passed to cellsFolded.
Fires between begin- and endUpdate in cellsFolded. The <code>collapse</code>, <code>cells</code> and <code>recurse</code> properties contain the respective arguments that were passed to cellsFolded.
Fires between begin- and endUpdate in updateCellSize. The <code>cell</code> and <code>ignoreChildren</code> properties contain the respective arguments that were passed to updateCellSize.
Fires between begin- and endUpdate in updateCellSize. The <code>cell</code> and <code>ignoreChildren</code> properties contain the respective arguments that were passed to updateCellSize.
Fires between begin- and endUpdate in resizeCells. The <code>cells</code> and <code>bounds</code> properties contain the respective arguments that were passed to resizeCells.
Fires between begin- and endUpdate in resizeCells. The <code>cells</code> and <code>bounds</code> properties contain the respective arguments that were passed to resizeCells.
Fires between begin- and endUpdate in cellsResized. The <code>cells</code> and <code>bounds</code> properties contain the respective arguments that were passed to cellsResized.
Fires between begin- and endUpdate in cellsResized. The <code>cells</code> and <code>bounds</code> properties contain the respective arguments that were passed to cellsResized.
Fires between begin- and endUpdate in cellsMoved. The <code>cells</code>, <code>dx</code>, <code>dy</code> and <code>disconnect</code> properties contain the respective arguments that were passed to cellsMoved.
Fires between begin- and endUpdate in cellsMoved. The <code>cells</code>, <code>dx</code>, <code>dy</code> and <code>disconnect</code> properties contain the respective arguments that were passed to cellsMoved.
Fires between begin- and endUpdate in connectCell. The <code>edge</code>, <code>terminal</code> and <code>source</code> properties contain the respective arguments that were passed to connectCell.
Fires between begin- and endUpdate in connectCell. The <code>edge</code>, <code>terminal</code> and <code>source</code> properties contain the respective arguments that were passed to connectCell.
Fires between begin- and endUpdate in cellConnected. The <code>edge</code>, <code>terminal</code> and <code>source</code> properties contain the respective arguments that were passed to cellConnected.
Fires between begin- and endUpdate in cellConnected. The <code>edge</code>, <code>terminal</code> and <code>source</code> properties contain the respective arguments that were passed to cellConnected.
Fires after refresh was executed. This event has no properties.
Fires after refresh was executed. This event has no properties.
Fires in click after a click event. The <code>event</code> property contains the original mouse event and <code>cell</code> property contains the cell under the mouse or null if the background was clicked.
Fires in click after a click event. The <code>event</code> property contains the original mouse event and <code>cell</code> property contains the cell under the mouse or null if the background was clicked.
Fires in dblClick after a double click. The <code>event</code> property contains the original mouse event and the <code>cell</code> property contains the cell under the mouse or null if the background was clicked.
Fires in dblClick after a double click. The <code>event</code> property contains the original mouse event and the <code>cell</code> property contains the cell under the mouse or null if the background was clicked.
Fires in fireGestureEvent after a touch gesture. The <code>event</code> property contains the original gesture end event and the <code>cell</code> property contains the optional cell associated with the gesture.
Fires in fireGestureEvent after a touch gesture. The <code>event</code> property contains the original gesture end event and the <code>cell</code> property contains the optional cell associated with the gesture.
Fires in tapAndHold if a tap and hold event was detected. The <code>event</code> property contains the initial touch event and the <code>cell</code> property contains the cell under the mouse or null if the background was clicked.
Fires in tapAndHold if a tap and hold event was detected. The <code>event</code> property contains the initial touch event and the <code>cell</code> property contains the cell under the mouse or null if the background was clicked.
Fires in fireMouseEvent before the mouse listeners are invoked. The <code>eventName</code> property contains the event name and the <code>event</code> property contains the mxMouseEvent.
Fires in fireMouseEvent before the mouse listeners are invoked. The <code>eventName</code> property contains the event name and the <code>event</code> property contains the mxMouseEvent.
Fires after sizeDidChange was executed. The <code>bounds</code> property contains the new graph bounds.
Fires after sizeDidChange was executed. The <code>bounds</code> property contains the new graph bounds.
Fires before the in-place editor starts in startEditingAtCell. The <code>cell</code> property contains the cell that is being edited and the <code>event</code> property contains the optional event argument that was passed to startEditingAtCell.
Fires before the in-place editor starts in startEditingAtCell. The <code>cell</code> property contains the cell that is being edited and the <code>event</code> property contains the optional event argument that was passed to startEditingAtCell.
Fires after the in-place editor starts in startEditingAtCell. The <code>cell</code> property contains the cell that is being edited and the <code>event</code> property contains the optional event argument that was passed to startEditingAtCell.
Fires after the in-place editor starts in startEditingAtCell. The <code>cell</code> property contains the cell that is being edited and the <code>event</code> property contains the optional event argument that was passed to startEditingAtCell.
Fires after the in-place editor stops in stopEditing.
Fires after the in-place editor stops in stopEditing.
Fires between begin- and endUpdate in cellLabelChanged. The <code>cell</code> property contains the cell, the <code>value</code> property contains the new value for the cell, the <code>old</code> property contains the old value and the optional <code>event</code> property contains the mouse event that started the edit.
Fires between begin- and endUpdate in cellLabelChanged. The <code>cell</code> property contains the cell, the <code>value</code> property contains the new value for the cell, the <code>old</code> property contains the old value and the optional <code>event</code> property contains the mouse event that started the edit.
Fires after an overlay is added in addCellOverlay. The <code>cell</code> property contains the cell and the <code>overlay</code> property contains the mxCellOverlay that was added.
Fires after an overlay is added in addCellOverlay. The <code>cell</code> property contains the cell and the <code>overlay</code> property contains the mxCellOverlay that was added.
Fires after an overlay is removed in removeCellOverlay and removeCellOverlays. The <code>cell</code> property contains the cell and the <code>overlay</code> property contains the mxCellOverlay that was removed.
Fires after an overlay is removed in removeCellOverlay and removeCellOverlays. The <code>cell</code> property contains the cell and the <code>overlay</code> property contains the mxCellOverlay that was removed.
function mxGraph( container, model, renderHint, stylesheet )
Constructs a new mxGraph in the specified container. Model is an optional mxGraphModel. If no model is provided, a new mxGraphModel instance is used as the model. The container must have a valid owner document prior to calling this function in Internet Explorer. RenderHint is a string to affect the display performance and rendering in IE, but not in SVG-based browsers. The parameter is mapped to dialect, which may be one of mxConstants.DIALECT_SVG for SVG-based browsers, mxConstants.DIALECT_STRICTHTML for fastest display mode, mxConstants.DIALECT_PREFERHTML for faster display mode, mxConstants.DIALECT_MIXEDHTML for fast and mxConstants.DIALECT_VML for exact display mode (slowest). The dialects are defined in mxConstants. The default values are DIALECT_SVG for SVG-based browsers and DIALECT_MIXED for IE.
fast | The parameter is based on the fact that the display performance is highly improved in IE if the VML is not contained within a VML group element. The lack of a group element only slightly affects the display while panning, but improves the performance by almost a factor of 2, while keeping the display sufficiently accurate. This also allows to render certain shapes as HTML if the display accuracy is not affected, which is implemented by <mxShape.isMixedModeHtml>. This is the default setting and is mapped to DIALECT_MIXEDHTML. |
faster | Same as fast, but more expensive shapes are avoided. This is controlled by <mxShape.preferModeHtml>. The default implementation will avoid gradients and rounded rectangles, but more significant shapes, such as rhombus, ellipse, actor and cylinder will be rendered accurately. This setting is mapped to DIALECT_PREFERHTML. |
fastest | Almost anything will be rendered in Html. This allows for rectangles, labels and images. This setting is mapped to DIALECT_STRICTHTML. |
exact | If accurate panning is required and if the diagram is small (up to 100 cells), then this value should be used. In this mode, a group is created that contains the VML. This allows for accurate panning and is mapped to DIALECT_VML. |
var container = document.getElementById('graph'); -var graph = new mxGraph(container);
container | Optional DOM node that acts as a container for the graph. If this is null then the container can be initialized later using init. |
model | Optional mxGraphModel that constitutes the graph data. |
renderHint | Optional string that specifies the display accuracy and performance. Default is mxConstants.DIALECT_MIXEDHTML (for IE). |
stylesheet | Optional mxStylesheet to be used in the graph. |
function mxGraph( container, model, renderHint, stylesheet )
Constructs a new mxGraph in the specified container. Model is an optional mxGraphModel. If no model is provided, a new mxGraphModel instance is used as the model. The container must have a valid owner document prior to calling this function in Internet Explorer. RenderHint is a string to affect the display performance and rendering in IE, but not in SVG-based browsers. The parameter is mapped to dialect, which may be one of mxConstants.DIALECT_SVG for SVG-based browsers, mxConstants.DIALECT_STRICTHTML for fastest display mode, mxConstants.DIALECT_PREFERHTML for faster display mode, mxConstants.DIALECT_MIXEDHTML for fast and mxConstants.DIALECT_VML for exact display mode (slowest). The dialects are defined in mxConstants. The default values are DIALECT_SVG for SVG-based browsers and DIALECT_MIXED for IE.
fast | The parameter is based on the fact that the display performance is highly improved in IE if the VML is not contained within a VML group element. The lack of a group element only slightly affects the display while panning, but improves the performance by almost a factor of 2, while keeping the display sufficiently accurate. This also allows to render certain shapes as HTML if the display accuracy is not affected, which is implemented by <mxShape.isMixedModeHtml>. This is the default setting and is mapped to DIALECT_MIXEDHTML. |
faster | Same as fast, but more expensive shapes are avoided. This is controlled by <mxShape.preferModeHtml>. The default implementation will avoid gradients and rounded rectangles, but more significant shapes, such as rhombus, ellipse, actor and cylinder will be rendered accurately. This setting is mapped to DIALECT_PREFERHTML. |
fastest | Almost anything will be rendered in Html. This allows for rectangles, labels and images. This setting is mapped to DIALECT_STRICTHTML. |
exact | If accurate panning is required and if the diagram is small (up to 100 cells), then this value should be used. In this mode, a group is created that contains the VML. This allows for accurate panning and is mapped to DIALECT_VML. |
var container = document.getElementById('graph'); +var graph = new mxGraph(container);
container | Optional DOM node that acts as a container for the graph. If this is null then the container can be initialized later using init. |
model | Optional mxGraphModel that constitutes the graph data. |
renderHint | Optional string that specifies the display accuracy and performance. Default is mxConstants.DIALECT_MIXEDHTML (for IE). |
stylesheet | Optional mxStylesheet to be used in the graph. |
mxGraph.prototype.mouseListeners
Holds the mouse event listeners. See fireMouseEvent.
mxGraph.prototype.mouseListeners
Holds the mouse event listeners. See fireMouseEvent.
mxGraph.prototype.model
Holds the mxGraphModel that contains the cells to be displayed.
mxGraph.prototype.model
Holds the mxGraphModel that contains the cells to be displayed.
mxGraph.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxGraph.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxGraph.prototype.stylesheet
Holds the mxStylesheet that defines the appearance of the cells.
Use the following code to read a stylesheet into an existing graph.
var req = mxUtils.load('stylesheet.xml'); +-stylesheet
mxGraph.prototype.stylesheet Holds the mxStylesheet that defines the appearance of the cells.
Example
Use the following code to read a stylesheet into an existing graph.
var req = mxUtils.load('stylesheet.xml'); var root = req.getDocumentElement(); var dec = new mxCodec(root.ownerDocument); dec.decode(root, graph.stylesheet);+selectionModel
mxGraph.prototype.selectionModel Holds the mxGraphSelectionModel that models the current selection.
-selectionModel
mxGraph.prototype.selectionModel Holds the mxGraphSelectionModel that models the current selection.
+cellEditor
mxGraph.prototype.cellEditor Holds the mxCellEditor that is used as the in-place editing.
-cellEditor
mxGraph.prototype.cellEditor Holds the mxCellEditor that is used as the in-place editing.
+cellRenderer
mxGraph.prototype.cellRenderer Holds the mxCellRenderer for rendering the cells in the graph.
-cellRenderer
mxGraph.prototype.cellRenderer Holds the mxCellRenderer for rendering the cells in the graph.
+multiplicities
mxGraph.prototype.multiplicities An array of mxMultiplicities describing the allowed connections in a graph.
-multiplicities
mxGraph.prototype.multiplicities An array of mxMultiplicities describing the allowed connections in a graph.
+dialect
mxGraph.prototype.dialect Dialect to be used for drawing the graph. Possible values are all constants in mxConstants with a DIALECT-prefix.
-dialect
mxGraph.prototype.dialect Dialect to be used for drawing the graph. Possible values are all constants in mxConstants with a DIALECT-prefix.
+gridEnabled
mxGraph.prototype.gridEnabled Specifies if the grid is enabled. This is used in snap. Default is true.
-gridEnabled
mxGraph.prototype.gridEnabled Specifies if the grid is enabled. This is used in snap. Default is true.
+portsEnabled
mxGraph.prototype.portsEnabled Specifies if ports are enabled. This is used in cellConnected to update the respective style. Default is true.
@@ -186,19 +186,19 @@ dec.decode(root, graph.stylesheet);portsEnabled
mxGraph.prototype.portsEnabled Specifies if ports are enabled. This is used in cellConnected to update the respective style. Default is true.
mxGraph.prototype.defaultOverlap
Value returned by getOverlap if isAllowOverlapParent returns true for the given cell. getOverlap is used in constrainChild if isConstrainChild returns true. The value specifies the portion of the child which is allowed to overlap the parent.
mxGraph.prototype.defaultOverlap
Value returned by getOverlap if isAllowOverlapParent returns true for the given cell. getOverlap is used in constrainChild if isConstrainChild returns true. The value specifies the portion of the child which is allowed to overlap the parent.
mxGraph.prototype.defaultParent
Specifies the default parent to be used to insert new cells. This is used in getDefaultParent. Default is null.
mxGraph.prototype.defaultParent
Specifies the default parent to be used to insert new cells. This is used in getDefaultParent. Default is null.
mxGraph.prototype.backgroundImage
Specifies the mxImage to be returned by getBackgroundImage. Default is null.
var img = new mxImage('http://www.example.com/maps/examplemap.jpg', 1024, 768); +backgroundImage
mxGraph.prototype.backgroundImage Specifies the mxImage to be returned by getBackgroundImage. Default is null.
Example
var img = new mxImage('http://www.example.com/maps/examplemap.jpg', 1024, 768); graph.setBackgroundImage(img); graph.view.validate();-+pageBreaksVisible
mxGraph.prototype.pageBreaksVisible Specifies if a dashed line should be drawn between multiple pages. Default is false. If you change this value while a graph is being displayed then you should call sizeDidChange to force an update of the display.
@@ -206,103 +206,103 @@ graph.view.validate();pageBreaksVisible
mxGraph.prototype.pageBreaksVisible Specifies if a dashed line should be drawn between multiple pages. Default is false. If you change this value while a graph is being displayed then you should call sizeDidChange to force an update of the display.
mxGraph.prototype.preferPageSize
Specifies if the graph size should be rounded to the next page number in sizeDidChange. This is only used if the graph container has scrollbars. Default is false.
mxGraph.prototype.preferPageSize
Specifies if the graph size should be rounded to the next page number in sizeDidChange. This is only used if the graph container has scrollbars. Default is false.
mxGraph.prototype.pageFormat
Specifies the page format for the background page. Default is mxConstants.PAGE_FORMAT_A4_PORTRAIT. This is used as the default in mxPrintPreview and for painting the background page if pageVisible is true and the pagebreaks if pageBreaksVisible is true.
mxGraph.prototype.pageFormat
Specifies the page format for the background page. Default is mxConstants.PAGE_FORMAT_A4_PORTRAIT. This is used as the default in mxPrintPreview and for painting the background page if pageVisible is true and the pagebreaks if pageBreaksVisible is true.
mxGraph.prototype.enabled
Specifies the return value for isEnabled. Default is true.
mxGraph.prototype.enabled
Specifies the return value for isEnabled. Default is true.
mxGraph.prototype.escapeEnabled
Specifies if mxKeyHandler should invoke escape when the escape key is pressed. Default is true.
mxGraph.prototype.escapeEnabled
Specifies if mxKeyHandler should invoke escape when the escape key is pressed. Default is true.
mxGraph.prototype.invokesStopCellEditing
If true, when editing is to be stopped by way of selection changing, data in diagram changing or other means stopCellEditing is invoked, and changes are saved. This is implemented in a focus handler in mxCellEditor. Default is true.
mxGraph.prototype.invokesStopCellEditing
If true, when editing is to be stopped by way of selection changing, data in diagram changing or other means stopCellEditing is invoked, and changes are saved. This is implemented in a focus handler in mxCellEditor. Default is true.
mxGraph.prototype.enterStopsCellEditing
If true, pressing the enter key without pressing control or shift will stop editing and accept the new value. This is used in mxCellEditor to stop cell editing. Note: You can always use F2 and escape to stop editing. Default is false.
mxGraph.prototype.enterStopsCellEditing
If true, pressing the enter key without pressing control or shift will stop editing and accept the new value. This is used in mxCellEditor to stop cell editing. Note: You can always use F2 and escape to stop editing. Default is false.
mxGraph.prototype.useScrollbarsForPanning
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available. If scrollbars are enabled in CSS, but no scrollbars appear because the graph is smaller than the container size, then no panning occurs if this is true. Default is true.
mxGraph.prototype.useScrollbarsForPanning
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available. If scrollbars are enabled in CSS, but no scrollbars appear because the graph is smaller than the container size, then no panning occurs if this is true. Default is true.
mxGraph.prototype.exportEnabled
Specifies the return value for canExportCell. Default is true.
mxGraph.prototype.exportEnabled
Specifies the return value for canExportCell. Default is true.
mxGraph.prototype.importEnabled
Specifies the return value for canImportCell. Default is true.
mxGraph.prototype.importEnabled
Specifies the return value for canImportCell. Default is true.
mxGraph.prototype.cellsLocked
Specifies the return value for isCellLocked. Default is false.
mxGraph.prototype.cellsLocked
Specifies the return value for isCellLocked. Default is false.
mxGraph.prototype.cellsCloneable
Specifies the return value for isCellCloneable. Default is true.
mxGraph.prototype.cellsCloneable
Specifies the return value for isCellCloneable. Default is true.
mxGraph.prototype.cellsEditable
Specifies the return value for isCellEditable. Default is true.
mxGraph.prototype.cellsEditable
Specifies the return value for isCellEditable. Default is true.
mxGraph.prototype.cellsDeletable
Specifies the return value for isCellDeletable. Default is true.
mxGraph.prototype.cellsDeletable
Specifies the return value for isCellDeletable. Default is true.
mxGraph.prototype.cellsMovable
Specifies the return value for isCellMovable. Default is true.
mxGraph.prototype.cellsMovable
Specifies the return value for isCellMovable. Default is true.
mxGraph.prototype.edgeLabelsMovable
Specifies the return value for edges in isLabelMovable. Default is true.
mxGraph.prototype.edgeLabelsMovable
Specifies the return value for edges in isLabelMovable. Default is true.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for vertices in isLabelMovable. Default is false.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for vertices in isLabelMovable. Default is false.
mxGraph.prototype.dropEnabled
Specifies the return value for isDropEnabled. Default is false.
mxGraph.prototype.dropEnabled
Specifies the return value for isDropEnabled. Default is false.
mxGraph.prototype.splitEnabled
Specifies if dropping onto edges should be enabled. This is ignored if dropEnabled is false. If enabled, it will call splitEdge to carry out the drop operation. Default is true.
mxGraph.prototype.splitEnabled
Specifies if dropping onto edges should be enabled. This is ignored if dropEnabled is false. If enabled, it will call splitEdge to carry out the drop operation. Default is true.
mxGraph.prototype.cellsResizable
Specifies the return value for isCellResizable. Default is true.
mxGraph.prototype.cellsResizable
Specifies the return value for isCellResizable. Default is true.
mxGraph.prototype.cellsBendable
Specifies the return value for isCellsBendable. Default is true.
mxGraph.prototype.cellsBendable
Specifies the return value for isCellsBendable. Default is true.
mxGraph.prototype.cellsSelectable
Specifies the return value for isCellSelectable. Default is true.
mxGraph.prototype.cellsSelectable
Specifies the return value for isCellSelectable. Default is true.
mxGraph.prototype.autoSizeCells
Specifies if the graph should automatically update the cell size after an edit. This is used in isAutoSizeCell. Default is false.
mxGraph.prototype.autoSizeCells
Specifies if the graph should automatically update the cell size after an edit. This is used in isAutoSizeCell. Default is false.
mxGraph.prototype.autoScroll
Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging. This is only taken into account if the container has scrollbars. Default is true.
If you need this to work without scrollbars then set ignoreScrollbars to true. Please consult the ignoreScrollbars for details. In general, with no scrollbars, the use of allowAutoPanning is recommended.
mxGraph.prototype.autoScroll
Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging. This is only taken into account if the container has scrollbars. Default is true.
If you need this to work without scrollbars then set ignoreScrollbars to true. Please consult the ignoreScrollbars for details. In general, with no scrollbars, the use of allowAutoPanning is recommended.
mxGraph.prototype.ignoreScrollbars
Specifies if the graph should automatically scroll regardless of the scrollbars. This will scroll the container using positive values for scroll positions (ie usually only rightwards and downwards). To avoid possible conflicts with panning, set translateToScrollPosition to true.
mxGraph.prototype.ignoreScrollbars
Specifies if the graph should automatically scroll regardless of the scrollbars. This will scroll the container using positive values for scroll positions (ie usually only rightwards and downwards). To avoid possible conflicts with panning, set translateToScrollPosition to true.
mxGraph.prototype.translateToScrollPosition
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received. This can be used to avoid conflicts when using autoScroll and ignoreScrollbars with no scrollbars in the container.
mxGraph.prototype.translateToScrollPosition
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received. This can be used to avoid conflicts when using autoScroll and ignoreScrollbars with no scrollbars in the container.
mxGraph.prototype.timerAutoScroll
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars. This disables scrollPointToVisible and uses mxPanningManager instead. If this is true then autoExtend is disabled. It should only be used with a scroll buffer or when scollbars are visible and scrollable in all directions. Default is false.
mxGraph.prototype.timerAutoScroll
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars. This disables scrollPointToVisible and uses mxPanningManager instead. If this is true then autoExtend is disabled. It should only be used with a scroll buffer or when scollbars are visible and scrollable in all directions. Default is false.
mxGraph.prototype.allowAutoPanning
Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible. To enable panning inside the container, near the edge, set mxPanningManager.border to a positive value. Default is false.
mxGraph.prototype.allowAutoPanning
Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible. To enable panning inside the container, near the edge, set mxPanningManager.border to a positive value. Default is false.
mxGraph.prototype.autoExtend
Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging. This is only taken into account if the container has scrollbars. Default is true. See autoScroll.
mxGraph.prototype.autoExtend
Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging. This is only taken into account if the container has scrollbars. Default is true. See autoScroll.
mxGraph.prototype.maximumGraphBounds
mxRectangle that specifies the area in which all cells in the diagram should be placed. Uses in getMaximumGraphBounds. Use a width or height of 0 if you only want to give a upper, left corner.
mxGraph.prototype.maximumGraphBounds
mxRectangle that specifies the area in which all cells in the diagram should be placed. Uses in getMaximumGraphBounds. Use a width or height of 0 if you only want to give a upper, left corner.
mxGraph.prototype.minimumGraphSize
mxRectangle that specifies the minimum size of the graph. This is ignored if the graph container has no scrollbars. Default is null.
mxGraph.prototype.minimumGraphSize
mxRectangle that specifies the minimum size of the graph. This is ignored if the graph container has no scrollbars. Default is null.
mxGraph.prototype.minimumContainerSize
mxRectangle that specifies the minimum size of the <container> if resizeContainer is true.
mxGraph.prototype.minimumContainerSize
mxRectangle that specifies the minimum size of the <container> if resizeContainer is true.
mxGraph.prototype.maximumContainerSize
mxRectangle that specifies the maximum size of the container if resizeContainer is true.
mxGraph.prototype.maximumContainerSize
mxRectangle that specifies the maximum size of the container if resizeContainer is true.
mxGraph.prototype.keepEdgesInForeground
Specifies if edges should appear in the foreground regardless of their order in the model. If keepEdgesInForeground and keepEdgesInBackground are both true then the normal order is applied. Default is false.
mxGraph.prototype.keepEdgesInForeground
Specifies if edges should appear in the foreground regardless of their order in the model. If keepEdgesInForeground and keepEdgesInBackground are both true then the normal order is applied. Default is false.
mxGraph.prototype.keepEdgesInBackground
Specifies if edges should appear in the background regardless of their order in the model. If keepEdgesInForeground and keepEdgesInBackground are both true then the normal order is applied. Default is false.
mxGraph.prototype.keepEdgesInBackground
Specifies if edges should appear in the background regardless of their order in the model. If keepEdgesInForeground and keepEdgesInBackground are both true then the normal order is applied. Default is false.
mxGraph.prototype.constrainRelativeChildren
Specifies if child cells with relative geometries should be constrained inside the parent bounds, if constrainChildren is true, and/or the maximumGraphBounds. Default is false.
mxGraph.prototype.constrainRelativeChildren
Specifies if child cells with relative geometries should be constrained inside the parent bounds, if constrainChildren is true, and/or the maximumGraphBounds. Default is false.
mxGraph.prototype.extendParents
Specifies if a parent should contain the child bounds after a resize of the child. Default is true. This has precedence over constrainChildren.
mxGraph.prototype.extendParents
Specifies if a parent should contain the child bounds after a resize of the child. Default is true. This has precedence over constrainChildren.
mxGraph.prototype.extendParentsOnAdd
Specifies if parents should be extended according to the extendParents switch if cells are added. Default is true.
mxGraph.prototype.extendParentsOnAdd
Specifies if parents should be extended according to the extendParents switch if cells are added. Default is true.
Specifies if parents should be extended according to the extendParents switch if cells are added. Default is false for backwards compatiblity.
Specifies if parents should be extended according to the extendParents switch if cells are added. Default is false for backwards compatiblity.
mxGraph.prototype.recursiveResize
Specifies the return value for isRecursiveResize. Default is false for backwards compatiblity.
mxGraph.prototype.recursiveResize
Specifies the return value for isRecursiveResize. Default is false for backwards compatiblity.
mxGraph.prototype.defaultLoopStyle
mxEdgeStyle to be used for loops. This is a fallback for loops if the mxConstants.STYLE_LOOP is undefined. Default is mxEdgeStyle.Loop.
mxGraph.prototype.defaultLoopStyle
mxEdgeStyle to be used for loops. This is a fallback for loops if the mxConstants.STYLE_LOOP is undefined. Default is mxEdgeStyle.Loop.
mxGraph.prototype.labelsVisible
Specifies if labels should be visible. This is used in getLabel. Default is true.
mxGraph.prototype.labelsVisible
Specifies if labels should be visible. This is used in getLabel. Default is true.
mxGraph.prototype.htmlLabels
Specifies the return value for isHtmlLabel. Default is false.
mxGraph.prototype.htmlLabels
Specifies the return value for isHtmlLabel. Default is false.
mxGraph.prototype.swimlaneIndicatorColorAttribute
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’. Default is mxConstants.STYLE_FILLCOLOR.
mxGraph.prototype.swimlaneIndicatorColorAttribute
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’. Default is mxConstants.STYLE_FILLCOLOR.
mxGraph.prototype.minFitScale
Specifies the minimum scale to be applied in fit. Default is 0.1. Set this to null to allow any value.
mxGraph.prototype.minFitScale
Specifies the minimum scale to be applied in fit. Default is 0.1. Set this to null to allow any value.
mxGraph.prototype.maxFitScale
Specifies the maximum scale to be applied in fit. Default is 8. Set this to null to allow any value.
mxGraph.prototype.maxFitScale
Specifies the maximum scale to be applied in fit. Default is 8. Set this to null to allow any value.
mxGraph.prototype.collapsedImage
Specifies the mxImage to indicate a collapsed state. Default value is mxClient.imageBasePath + ‘/collapsed.gif’
mxGraph.prototype.collapsedImage
Specifies the mxImage to indicate a collapsed state. Default value is mxClient.imageBasePath + ‘/collapsed.gif’
mxGraph.prototype.expandedImage
Specifies the mxImage to indicate a expanded state. Default value is mxClient.imageBasePath + ‘/expanded.gif’
mxGraph.prototype.expandedImage
Specifies the mxImage to indicate a expanded state. Default value is mxClient.imageBasePath + ‘/expanded.gif’
mxGraph.prototype.warningImage
Specifies the mxImage for the image to be used to display a warning overlay. See setCellWarning. Default value is mxClient.imageBasePath + ‘/warning’. The extension for the image depends on the platform. It is ‘.png’ on the Mac and ‘.gif’ on all other platforms.
mxGraph.prototype.warningImage
Specifies the mxImage for the image to be used to display a warning overlay. See setCellWarning. Default value is mxClient.imageBasePath + ‘/warning’. The extension for the image depends on the platform. It is ‘.png’ on the Mac and ‘.gif’ on all other platforms.
mxGraph.prototype.alreadyConnectedResource
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected. If the resource for this key does not exist then the value is used as the error message. Default is ‘alreadyConnected’.
mxGraph.prototype.createHandlers = function()
Creates the tooltip-, panning-, connection- and graph-handler (in this order). This is called in the constructor before init is called.
mxGraph.prototype.createHandlers = function()
Creates the tooltip-, panning-, connection- and graph-handler (in this order). This is called in the constructor before init is called.
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
mxGraph.prototype.createPopupMenuHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
mxGraph.prototype.createPopupMenuHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxGraphView to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxGraphView to be used in this graph.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellRenderer to be used in this graph.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellRenderer to be used in this graph.
mxGraph.prototype.createCellEditor = function()
Creates a new mxCellEditor to be used in this graph.
mxGraph.prototype.createCellEditor = function()
Creates a new mxCellEditor to be used in this graph.
mxGraph.prototype.getModel = function()
Returns the mxGraphModel that contains the cells.
mxGraph.prototype.getModel = function()
Returns the mxGraphModel that contains the cells.
mxGraph.prototype.getView = function()
Returns the mxGraphView that contains the mxCellStates.
mxGraph.prototype.getView = function()
Returns the mxGraphView that contains the mxCellStates.
mxGraph.prototype.getStylesheet = function()
Returns the mxStylesheet that defines the style.
mxGraph.prototype.getStylesheet = function()
Returns the mxStylesheet that defines the style.
mxGraph.prototype.setStylesheet = function( stylesheet )
Sets the mxStylesheet that defines the style.
mxGraph.prototype.setStylesheet = function( stylesheet )
Sets the mxStylesheet that defines the style.
mxGraph.prototype.getSelectionModel = function()
Returns the mxGraphSelectionModel that contains the selection.
mxGraph.prototype.getSelectionModel = function()
Returns the mxGraphSelectionModel that contains the selection.
mxGraph.prototype.graphModelChanged = function( changes )
Called when the graph model changes. Invokes processChange on each item of the given array to update the view accordingly.
changes | Array that contains the individual changes. |
mxGraph.prototype.graphModelChanged = function( changes )
Called when the graph model changes. Invokes processChange on each item of the given array to update the view accordingly.
changes | Array that contains the individual changes. |
mxGraph.prototype.processChange = function( change )
Processes the given change and invalidates the respective cached data in view. This fires a <root> event if the root has changed in the model.
change | Object that represents the change on the model. |
mxGraph.prototype.processChange = function( change )
Processes the given change and invalidates the respective cached data in view. This fires a <root> event if the root has changed in the model.
change | Object that represents the change on the model. |
mxGraph.prototype.removeStateForCell = function( cell )
Removes all cached information for the given cell and its descendants. This is called when a cell was removed from the model.
cell | mxCell that was removed from the model. |
mxGraph.prototype.removeStateForCell = function( cell )
Removes all cached information for the given cell and its descendants. This is called when a cell was removed from the model.
cell | mxCell that was removed from the model. |
mxGraph.prototype.addCellOverlay = function( cell, overlay )
Adds an mxCellOverlay for the specified cell. This method fires an <addoverlay> event and returns the new mxCellOverlay.
cell | mxCell to add the overlay for. |
overlay | mxCellOverlay to be added for the cell. |
mxGraph.prototype.addCellOverlay = function( cell, overlay )
Adds an mxCellOverlay for the specified cell. This method fires an <addoverlay> event and returns the new mxCellOverlay.
cell | mxCell to add the overlay for. |
overlay | mxCellOverlay to be added for the cell. |
mxGraph.prototype.getCellOverlays = function( cell )
Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.
cell | mxCell whose overlays should be returned. |
mxGraph.prototype.getCellOverlays = function( cell )
Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.
cell | mxCell whose overlays should be returned. |
mxGraph.prototype.removeCellOverlay = function( cell, overlay )
Removes and returns the given mxCellOverlay from the given cell. This method fires a <removeoverlay> event. If no overlay is given, then all overlays are removed using <removeOverlays>.
cell | mxCell whose overlay should be removed. |
overlay | Optional mxCellOverlay to be removed. |
mxGraph.prototype.removeCellOverlay = function( cell, overlay )
Removes and returns the given mxCellOverlay from the given cell. This method fires a <removeoverlay> event. If no overlay is given, then all overlays are removed using <removeOverlays>.
cell | mxCell whose overlay should be removed. |
overlay | Optional mxCellOverlay to be removed. |
mxGraph.prototype.removeCellOverlays = function( cell )
Removes all mxCellOverlays from the given cell. This method fires a <removeoverlay> event for each mxCellOverlay and returns the array of mxCellOverlays that was removed from the cell.
cell | mxCell whose overlays should be removed |
mxGraph.prototype.removeCellOverlays = function( cell )
Removes all mxCellOverlays from the given cell. This method fires a <removeoverlay> event for each mxCellOverlay and returns the array of mxCellOverlays that was removed from the cell.
cell | mxCell whose overlays should be removed |
mxGraph.prototype.clearCellOverlays = function( cell )
Removes all mxCellOverlays in the graph for the given cell and all its descendants. If no cell is specified then all overlays are removed from the graph. This implementation uses removeCellOverlays to remove the overlays from the individual cells.
cell | Optional mxCell that represents the root of the subtree to remove the overlays from. Default is the root in the model. |
mxGraph.prototype.clearCellOverlays = function( cell )
Removes all mxCellOverlays in the graph for the given cell and all its descendants. If no cell is specified then all overlays are removed from the graph. This implementation uses removeCellOverlays to remove the overlays from the individual cells.
cell | Optional mxCell that represents the root of the subtree to remove the overlays from. Default is the root in the model. |
mxGraph.prototype.setCellWarning = function( cell, warning, img, isSelect )
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay. The warning is displayed as a tooltip in a red font and may contain HTML markup. If the warning is null or a zero length string, then all overlays are removed from the cell.
graph.setCellWarning(cell, '<b>Warning:</b>: Hello, World!');
cell | mxCell whose warning should be set. |
warning | String that represents the warning to be displayed. |
img | Optional mxImage to be used for the overlay. Default is warningImage. |
isSelect | Optional boolean indicating if a click on the overlay should select the corresponding cell. Default is false. |
mxGraph.prototype.setCellWarning = function( cell, warning, img, isSelect )
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay. The warning is displayed as a tooltip in a red font and may contain HTML markup. If the warning is null or a zero length string, then all overlays are removed from the cell.
graph.setCellWarning(cell, '<b>Warning:</b>: Hello, World!');
cell | mxCell whose warning should be set. |
warning | String that represents the warning to be displayed. |
img | Optional mxImage to be used for the overlay. Default is warningImage. |
isSelect | Optional boolean indicating if a click on the overlay should select the corresponding cell. Default is false. |
mxGraph.prototype.startEditing = function( evt )
Calls startEditingAtCell using the given cell or the first selection cell.
evt | Optional mouse event that triggered the editing. |
mxGraph.prototype.startEditing = function( evt )
Calls startEditingAtCell using the given cell or the first selection cell.
evt | Optional mouse event that triggered the editing. |
mxGraph.prototype.startEditingAtCell = function( cell, evt )
Fires a startEditing event and invokes mxCellEditor.startEditing on <editor>. After editing was started, a <editingStarted> event is fired.
cell | mxCell to start the in-place editor for. |
evt | Optional mouse event that triggered the editing. |
mxGraph.prototype.startEditingAtCell = function( cell, evt )
Fires a startEditing event and invokes mxCellEditor.startEditing on <editor>. After editing was started, a <editingStarted> event is fired.
cell | mxCell to start the in-place editor for. |
evt | Optional mouse event that triggered the editing. |
mxGraph.prototype.getEditingValue = function( cell, evt )
Returns the initial value for in-place editing. This implementation returns convertValueToString for the given cell. If this function is overridden, then mxGraphModel.valueForCellChanged should take care of correctly storing the actual new value inside the user object.
cell | mxCell for which the initial editing value should be returned. |
evt | Optional mouse event that triggered the editor. |
mxGraph.prototype.getEditingValue = function( cell, evt )
Returns the initial value for in-place editing. This implementation returns convertValueToString for the given cell. If this function is overridden, then mxGraphModel.valueForCellChanged should take care of correctly storing the actual new value inside the user object.
cell | mxCell for which the initial editing value should be returned. |
evt | Optional mouse event that triggered the editor. |
mxGraph.prototype.labelChanged = function( cell, value, evt )
Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress. Returns the cell whose label was changed.
cell | mxCell whose label should be changed. |
value | New label to be assigned. |
evt | Optional event that triggered the change. |
mxGraph.prototype.labelChanged = function( cell, value, evt )
Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress. Returns the cell whose label was changed.
cell | mxCell whose label should be changed. |
value | New label to be assigned. |
evt | Optional event that triggered the change. |
mxGraph.prototype.cellLabelChanged = function( cell, value, autoSize )
Sets the new label for a cell. If autoSize is true then cellSizeUpdated will be called.
In the following example, the function is extended to map changes to attributes in an XML node, as shown in convertValueToString. Alternatively, the handling of this can be implemented as shown in mxGraphModel.valueForCellChanged without the need to clone the user object.
var graphCellLabelChanged = graph.cellLabelChanged; ++};cellLabelChanged
mxGraph.prototype.cellLabelChanged = function( cell, value, autoSize ) Sets the new label for a cell. If autoSize is true then cellSizeUpdated will be called.
In the following example, the function is extended to map changes to attributes in an XML node, as shown in convertValueToString. Alternatively, the handling of this can be implemented as shown in mxGraphModel.valueForCellChanged without the need to clone the user object.
var graphCellLabelChanged = graph.cellLabelChanged; graph.cellLabelChanged = function(cell, newValue, autoSize) { // Cloned for correct undo/redo @@ -445,13 +445,13 @@ graph.cellLabelChanged = function(cell, newValue, autoSize) newValue = elt; graphCellLabelChanged.apply(this, arguments); -};Parameters
cell mxCell whose label should be changed. value New label to be assigned. autoSize Boolean that specifies if cellSizeUpdated should be called.
cell | mxCell whose label should be changed. |
value | New label to be assigned. |
autoSize | Boolean that specifies if cellSizeUpdated should be called. |
mxGraph.prototype.click = function( me )
Processes a singleclick on an optional cell and fires a click event. The click event is fired initially. If the graph is enabled and the event has not been consumed, then the cell is selected using selectCellForEvent or the selection is cleared using clearSelection. The events consumed state is set to true if the corresponding mxMouseEvent has been consumed.
To handle a click event, use the following code.
graph.addListener(mxEvent.CLICK, function(sender, evt) ++});click
mxGraph.prototype.click = function( me ) Processes a singleclick on an optional cell and fires a click event. The click event is fired initially. If the graph is enabled and the event has not been consumed, then the cell is selected using selectCellForEvent or the selection is cleared using clearSelection. The events consumed state is set to true if the corresponding mxMouseEvent has been consumed.
To handle a click event, use the following code.
graph.addListener(mxEvent.CLICK, function(sender, evt) { var e = evt.getProperty('event'); // mouse event var cell = evt.getProperty('cell'); // cell may be null @@ -461,7 +461,7 @@ graph.cellLabelChanged = function(cell, newValue, autoSize) // Do something useful with cell and consume the event evt.consume(); } -});Parameters
me mxMouseEvent that represents the single click.
me | mxMouseEvent that represents the single click. |
mxGraph.prototype.dblClick = function( evt, cell )
Processes a doubleclick on an optional cell and fires a <dblclick> event. The event is fired initially. If the graph is enabled and the event has not been consumed, then <edit> is called with the given cell. The event is ignored if no cell was specified.
Example for overriding this method.
graph.dblClick = function(evt, cell) { @@ -478,19 +478,19 @@ graph.cellLabelChanged = function(cell, newValue, autoSize) var cell = evt.getProperty('cell'); // do something with the cell and consume the // event to prevent in-place editing from start -});
evt | Mouseevent that represents the doubleclick. |
cell | Optional mxCell under the mousepointer. |
evt | Mouseevent that represents the doubleclick. |
cell | Optional mxCell under the mousepointer. |
mxGraph.prototype.tapAndHold = function( me )
Handles the mxMouseEvent by highlighting the mxCellState.
me | mxMouseEvent that represents the touch event. |
state | Optional mxCellState that is associated with the event. |
mxGraph.prototype.tapAndHold = function( me )
Handles the mxMouseEvent by highlighting the mxCellState.
me | mxMouseEvent that represents the touch event. |
state | Optional mxCellState that is associated with the event. |
mxGraph.prototype.createPanningManager = function()
Creates and returns an mxPanningManager.
mxGraph.prototype.createPanningManager = function()
Creates and returns an mxPanningManager.
mxGraph.prototype.getBorderSizes = function()
Returns the size of the border and padding on all four sides of the container. The left, top, right and bottom borders are stored in the x, y, width and height of the returned mxRectangle, respectively.
mxGraph.prototype.getBorderSizes = function()
Returns the size of the border and padding on all four sides of the container. The left, top, right and bottom borders are stored in the x, y, width and height of the returned mxRectangle, respectively.
mxGraph.prototype.getPreferredPageSize = function( bounds, width, height )
Returns the preferred size of the background page if preferPageSize is true.
mxGraph.prototype.getPreferredPageSize = function( bounds, width, height )
Returns the preferred size of the background page if preferPageSize is true.
mxGraph.prototype.fit = function( border, keepOrigin, margin, enabled, ignoreWidth, ignoreHeight, maxHeight )
Scales the graph such that the complete diagram fits into <container> and returns the current scale in the view. To fit an initial graph prior to rendering, set mxGraphView.rendering to false prior to changing the model and execute the following after changing the model.
graph.fit(); ++ (margin + ch - h * s) / (2 * s) - bounds.y / graph.view.scale);fit
mxGraph.prototype.fit = function( border, keepOrigin, margin, enabled, ignoreWidth, ignoreHeight, maxHeight ) Scales the graph such that the complete diagram fits into <container> and returns the current scale in the view. To fit an initial graph prior to rendering, set mxGraphView.rendering to false prior to changing the model and execute the following after changing the model.
graph.fit(); graph.view.rendering = true; graph.refresh();To fit and center the graph, the following code can be used.
var margin = 2; var max = 3; @@ -504,37 +504,37 @@ var s = Math.min(max, Math.min(cw / w, ch / h)); graph.view.scaleAndTranslate(s, (margin + cw - w * s) / (2 * s) - bounds.x / graph.view.scale, - (margin + ch - h * s) / (2 * s) - bounds.y / graph.view.scale);Parameters
border Optional number that specifies the border. Default is border. keepOrigin Optional boolean that specifies if the translate should be changed. Default is false. margin Optional margin in pixels. Default is 0. enabled Optional boolean that specifies if the scale should be set or just returned. Default is true. ignoreWidth Optional boolean that specifies if the width should be ignored. Default is false. ignoreHeight Optional boolean that specifies if the height should be ignored. Default is false. maxHeight Optional maximum height.
border | Optional number that specifies the border. Default is border. |
keepOrigin | Optional boolean that specifies if the translate should be changed. Default is false. |
margin | Optional margin in pixels. Default is 0. |
enabled | Optional boolean that specifies if the scale should be set or just returned. Default is true. |
ignoreWidth | Optional boolean that specifies if the width should be ignored. Default is false. |
ignoreHeight | Optional boolean that specifies if the height should be ignored. Default is false. |
maxHeight | Optional maximum height. |
mxGraph.prototype.updatePageBreaks = function( visible, width, height )
Invokes from sizeDidChange to redraw the page breaks.
visible | Boolean that specifies if page breaks should be shown. |
width | Specifies the width of the container in pixels. |
height | Specifies the height of the container in pixels. |
mxGraph.prototype.updatePageBreaks = function( visible, width, height )
Invokes from sizeDidChange to redraw the page breaks.
visible | Boolean that specifies if page breaks should be shown. |
width | Specifies the width of the container in pixels. |
height | Specifies the height of the container in pixels. |
mxGraph.prototype.getCellStyle = function( cell )
Returns an array of key, value pairs representing the cell style for the given cell. If no string is defined in the model that specifies the style, then the default style for the cell is returned or EMPTY_ARRAY, if not style can be found. Note: You should try and get the cell state for the given cell and use the cached style in the state before using this method.
cell | mxCell whose style should be returned as an array. |
mxGraph.prototype.getCellStyle = function( cell )
Returns an array of key, value pairs representing the cell style for the given cell. If no string is defined in the model that specifies the style, then the default style for the cell is returned or EMPTY_ARRAY, if not style can be found. Note: You should try and get the cell state for the given cell and use the cached style in the state before using this method.
cell | mxCell whose style should be returned as an array. |
mxGraph.prototype.setCellStyle = function( style, cells )
Sets the style of the specified cells. If no cells are given, then the selection cells are changed.
style | String representing the new style of the cells. |
cells | Optional array of mxCells to set the style for. Default is the selection cells. |
mxGraph.prototype.setCellStyle = function( style, cells )
Sets the style of the specified cells. If no cells are given, then the selection cells are changed.
style | String representing the new style of the cells. |
cells | Optional array of mxCells to set the style for. Default is the selection cells. |
mxGraph.prototype.toggleCellStyle = function( key, defaultValue, cell )
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1. If no cell is specified then the selection cell is used.
key | String representing the key for the boolean value to be toggled. |
defaultValue | Optional boolean default value if no value is defined. Default is false. |
cell | Optional mxCell whose style should be modified. Default is the selection cell. |
mxGraph.prototype.toggleCellStyle = function( key, defaultValue, cell )
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1. If no cell is specified then the selection cell is used.
key | String representing the key for the boolean value to be toggled. |
defaultValue | Optional boolean default value if no value is defined. Default is false. |
cell | Optional mxCell whose style should be modified. Default is the selection cell. |
mxGraph.prototype.toggleCellStyles = function( key, defaultValue, cells )
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1. If no cells are specified, then the selection cells are used. For example, this can be used to toggle mxConstants.STYLE_ROUNDED or any other style with a boolean value.
key | String representing the key for the boolean value to be toggled. |
defaultValue | Optional boolean default value if no value is defined. Default is false. |
cells | Optional array of mxCells whose styles should be modified. Default is the selection cells. |
mxGraph.prototype.toggleCellStyles = function( key, defaultValue, cells )
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1. If no cells are specified, then the selection cells are used. For example, this can be used to toggle mxConstants.STYLE_ROUNDED or any other style with a boolean value.
key | String representing the key for the boolean value to be toggled. |
defaultValue | Optional boolean default value if no value is defined. Default is false. |
cells | Optional array of mxCells whose styles should be modified. Default is the selection cells. |
mxGraph.prototype.setCellStyles = function( key, value, cells )
Sets the key to value in the styles of the given cells. This will modify the existing cell styles in-place and override any existing assignment for the given key. If no cells are specified, then the selection cells are changed. If no value is specified, then the respective key is removed from the styles.
key | String representing the key to be assigned. |
value | String representing the new value for the key. |
cells | Optional array of mxCells to change the style for. Default is the selection cells. |
mxGraph.prototype.setCellStyles = function( key, value, cells )
Sets the key to value in the styles of the given cells. This will modify the existing cell styles in-place and override any existing assignment for the given key. If no cells are specified, then the selection cells are changed. If no value is specified, then the respective key is removed from the styles.
key | String representing the key to be assigned. |
value | String representing the new value for the key. |
cells | Optional array of mxCells to change the style for. Default is the selection cells. |
mxGraph.prototype.toggleCellStyleFlags = function( key, flag, cells )
Toggles the given bit for the given key in the styles of the specified cells.
key | String representing the key to toggle the flag in. |
flag | Integer that represents the bit to be toggled. |
cells | Optional array of mxCells to change the style for. Default is the selection cells. |
mxGraph.prototype.toggleCellStyleFlags = function( key, flag, cells )
Toggles the given bit for the given key in the styles of the specified cells.
key | String representing the key to toggle the flag in. |
flag | Integer that represents the bit to be toggled. |
cells | Optional array of mxCells to change the style for. Default is the selection cells. |
mxGraph.prototype.setCellStyleFlags = function( key, flag, value, cells )
Sets or toggles the given bit for the given key in the styles of the specified cells.
key | String representing the key to toggle the flag in. |
flag | Integer that represents the bit to be toggled. |
value | Boolean value to be used or null if the value should be toggled. |
cells | Optional array of mxCells to change the style for. Default is the selection cells. |
mxGraph.prototype.setCellStyleFlags = function( key, flag, value, cells )
Sets or toggles the given bit for the given key in the styles of the specified cells.
key | String representing the key to toggle the flag in. |
flag | Integer that represents the bit to be toggled. |
value | Boolean value to be used or null if the value should be toggled. |
cells | Optional array of mxCells to change the style for. Default is the selection cells. |
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.
align | Specifies the alignment. Possible values are all constants in mxConstants with an ALIGN prefix. |
cells | Array of mxCells to be aligned. |
param | Optional coordinate for the 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.
align | Specifies the alignment. Possible values are all constants in mxConstants with an ALIGN prefix. |
cells | Array of mxCells to be aligned. |
param | Optional coordinate for the alignment. |
mxGraph.prototype.flipEdge = function( edge )
Toggles the style of the given edge between null (or empty) and alternateEdgeStyle. This method fires mxEvent.FLIP_EDGE while the transaction is in progress. Returns the edge that was flipped.
Here is an example that overrides this implementation to invert the value of mxConstants.STYLE_ELBOW without removing any existing styles.
graph.flipEdge = function(edge) ++};flipEdge
mxGraph.prototype.flipEdge = function( edge ) Toggles the style of the given edge between null (or empty) and alternateEdgeStyle. This method fires mxEvent.FLIP_EDGE while the transaction is in progress. Returns the edge that was flipped.
Here is an example that overrides this implementation to invert the value of mxConstants.STYLE_ELBOW without removing any existing styles.
graph.flipEdge = function(edge) { if (edge != null) { @@ -550,29 +550,29 @@ graph.view.scaleAndTranslate(s, this.setCellStyles(mxConstants.STYLE_ELBOW, value, [edge]); } } -};Parameters
edge mxCell whose style should be changed.
edge | mxCell whose style should be changed. |
mxGraph.prototype.addImageBundle = function( bundle )
Adds the specified mxImageBundle.
mxGraph.prototype.addImageBundle = function( bundle )
Adds the specified mxImageBundle.
mxGraph.prototype.removeImageBundle = function( bundle )
Removes the specified mxImageBundle.
mxGraph.prototype.removeImageBundle = function( bundle )
Removes the specified mxImageBundle.
mxGraph.prototype.getImageFromBundles = function( key )
Searches all imageBundles for the specified key and returns the value for the first match or null if the key is not found.
mxGraph.prototype.getImageFromBundles = function( key )
Searches all imageBundles for the specified key and returns the value for the first match or null if the key is not found.
mxGraph.prototype.orderCells = function( back, cells )
Moves the given cells to the front or back. The change is carried out using cellsOrdered. This method fires mxEvent.ORDER_CELLS while the transaction is in progress.
back | Boolean that specifies if the cells should be moved to back. |
cells | Array of mxCells to move to the background. If null is specified then the selection cells are used. |
mxGraph.prototype.orderCells = function( back, cells )
Moves the given cells to the front or back. The change is carried out using cellsOrdered. This method fires mxEvent.ORDER_CELLS while the transaction is in progress.
back | Boolean that specifies if the cells should be moved to back. |
cells | Array of mxCells to move to the background. If null is specified then the selection cells are used. |
mxGraph.prototype.cellsOrdered = function( cells, back )
Moves the given cells to the front or back. This method fires mxEvent.CELLS_ORDERED while the transaction is in progress.
cells | Array of mxCells whose order should be changed. |
back | Boolean that specifies if the cells should be moved to back. |
mxGraph.prototype.cellsOrdered = function( cells, back )
Moves the given cells to the front or back. This method fires mxEvent.CELLS_ORDERED while the transaction is in progress.
cells | Array of mxCells whose order should be changed. |
back | Boolean that specifies if the cells should be moved to back. |
mxGraph.prototype.groupCells = function( group, border, cells )
Adds the cells into the given group. The change is carried out using cellsAdded, cellsMoved and cellsResized. This method fires mxEvent.GROUP_CELLS while the transaction is in progress. Returns the new group. A group is only created if there is at least one entry in the given array of cells.
group | mxCell that represents the target group. If null is specified then a new group is created using createGroupCell. |
border | Optional integer that specifies the border between the child area and the group bounds. Default is 0. |
cells | Optional array of mxCells to be grouped. If null is specified then the selection cells are used. |
mxGraph.prototype.groupCells = function( group, border, cells )
Adds the cells into the given group. The change is carried out using cellsAdded, cellsMoved and cellsResized. This method fires mxEvent.GROUP_CELLS while the transaction is in progress. Returns the new group. A group is only created if there is at least one entry in the given array of cells.
group | mxCell that represents the target group. If null is specified then a new group is created using createGroupCell. |
border | Optional integer that specifies the border between the child area and the group bounds. Default is 0. |
cells | Optional array of mxCells to be grouped. If null is specified then the selection cells are used. |
mxGraph.prototype.createGroupCell = function( cells )
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the <group> function.
The following code can be used to set the style of new group cells.
var graphCreateGroupCell = graph.createGroupCell; +-createGroupCell
mxGraph.prototype.createGroupCell = function( cells ) Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the <group> function.
The following code can be used to set the style of new group cells.
var graphCreateGroupCell = graph.createGroupCell; graph.createGroupCell = function(cells) { var group = graphCreateGroupCell.apply(this, arguments); @@ -583,60 +583,60 @@ graph.createGroupCell = function(cells)-ungroupCells
mxGraph.prototype.ungroupCells = function( cells ) Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups. Returns the children that have been removed from the groups.
Parameters
cells Array of cells to be ungrouped. If null is specified then the selection cells are used. +removeCellsAfterUngroup
mxGraph.prototype.removeCellsAfterUngroup = function( cells ) Hook to remove the groups after ungroupCells.
Parameters
cells Array of mxCells that were ungrouped. -removeCellsAfterUngroup
mxGraph.prototype.removeCellsAfterUngroup = function( cells ) Hook to remove the groups after ungroupCells.
Parameters
cells Array of mxCells that were ungrouped. +removeCellsFromParent
mxGraph.prototype.removeCellsFromParent = function( cells ) Removes the specified cells from their parents and adds them to the default parent. Returns the cells that were removed from their parents.
Parameters
cells Array of mxCells to be removed from their parents. removeCellsFromParent
mxGraph.prototype.removeCellsFromParent = function( cells ) Removes the specified cells from their parents and adds them to the default parent. Returns the cells that were removed from their parents.
Parameters
cells Array of mxCells to be removed from their parents. -updateGroupBounds
mxGraph.prototype.updateGroupBounds = function( cells, border, moveGroup, topBorder, rightBorder, bottomBorder, leftBorder ) Updates the bounds of the given groups to include all children and returns the passed-in cells. Call this with the groups in parent to child order, top-most group first, the cells are processed in reverse order and cells with no children are ignored.
Parameters
cells The groups whose bounds should be updated. If this is null, then the selection cells are used. border Optional border to be added in the group. Default is 0. moveGroup Optional boolean that allows the group to be moved. Default is false. topBorder Optional top border to be added in the group. Default is 0. rightBorder Optional top border to be added in the group. Default is 0. bottomBorder Optional top border to be added in the group. Default is 0. leftBorder Optional top border to be added in the group. Default is 0. +getBoundingBox
mxGraph.prototype.getBoundingBox = function( cells ) Returns the bounding box for the given array of mxCells. The bounding box for each cell and its descendants is computed using mxGraphView.getBoundingBox.
Parameters
cells Array of mxCells whose bounding box should be returned. -getBoundingBox
mxGraph.prototype.getBoundingBox = function( cells ) Returns the bounding box for the given array of mxCells. The bounding box for each cell and its descendants is computed using mxGraphView.getBoundingBox.
Parameters
cells Array of mxCells whose bounding box should be returned. +cloneCells
mxGraph.prototype.cloneCells = function( cells, allowInvalidEdges, mapping ) Returns the clones for the given cells. The clones are created recursively using mxGraphModel.cloneCells. If the terminal of an edge is not in the given array, then the respective end is assigned a terminal point and the terminal is removed.
Parameters
cells Array of mxCells to be cloned. allowInvalidEdges Optional boolean that specifies if invalid edges should be cloned. Default is true. mapping Optional mapping for existing clones. -cloneCells
mxGraph.prototype.cloneCells = function( cells, allowInvalidEdges, mapping ) Returns the clones for the given cells. The clones are created recursively using mxGraphModel.cloneCells. If the terminal of an edge is not in the given array, then the respective end is assigned a terminal point and the terminal is removed.
Parameters
cells Array of mxCells to be cloned. allowInvalidEdges Optional boolean that specifies if invalid edges should be cloned. Default is true. mapping Optional mapping for existing clones. -insertVertex
mxGraph.prototype.insertVertex = function( parent, id, value, x, y, width, height, style, relative ) Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex. The id and style are used for the respective properties of the new mxCell, which is returned.
When adding new vertices from a mouse event, one should take into account the offset of the graph container and the scale and translation of the view in order to find the correct unscaled, untranslated coordinates using mxGraph.getPointForEvent as follows:
var pt = graph.getPointForEvent(evt); ++ 'Hello, World!', x, y, 220, 30);insertVertex
mxGraph.prototype.insertVertex = function( parent, id, value, x, y, width, height, style, relative ) Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex. The id and style are used for the respective properties of the new mxCell, which is returned.
When adding new vertices from a mouse event, one should take into account the offset of the graph container and the scale and translation of the view in order to find the correct unscaled, untranslated coordinates using mxGraph.getPointForEvent as follows:
var pt = graph.getPointForEvent(evt); var parent = graph.getDefaultParent(); graph.insertVertex(parent, null, - 'Hello, World!', x, y, 220, 30);For adding image cells, the style parameter can be assigned as
stylename;image=imageUrlSee mxGraph for more information on using images.
Parameters
parent mxCell that specifies the parent of the new vertex. id Optional string that defines the Id of the new vertex. value Object to be used as the user object. x Integer that defines the x coordinate of the vertex. y Integer that defines the y coordinate of the vertex. width Integer that defines the width of the vertex. height Integer that defines the height of the vertex. style Optional string that defines the cell style. relative Optional boolean that specifies if the geometry is relative. Default is false. For adding image cells, the style parameter can be assigned as
stylename;image=imageUrlSee mxGraph for more information on using images.
Parameters
parent mxCell that specifies the parent of the new vertex. id Optional string that defines the Id of the new vertex. value Object to be used as the user object. x Integer that defines the x coordinate of the vertex. y Integer that defines the y coordinate of the vertex. width Integer that defines the width of the vertex. height Integer that defines the height of the vertex. style Optional string that defines the cell style. relative Optional boolean that specifies if the geometry is relative. Default is false. +createVertex
mxGraph.prototype.createVertex = function( parent, id, value, x, y, width, height, style, relative ) Hook method that creates the new vertex for insertVertex.
-createVertex
mxGraph.prototype.createVertex = function( parent, id, value, x, y, width, height, style, relative ) Hook method that creates the new vertex for insertVertex.
+insertEdge
mxGraph.prototype.insertEdge = function( parent, id, value, source, target, style ) Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge. The id and style are used for the respective properties of the new mxCell, which is returned.
Parameters
parent mxCell that specifies the parent of the new edge. id Optional string that defines the Id of the new edge. value JavaScript object to be used as the user object. source mxCell that defines the source of the edge. target mxCell that defines the target of the edge. style Optional string that defines the cell style. -insertEdge
mxGraph.prototype.insertEdge = function( parent, id, value, source, target, style ) Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge. The id and style are used for the respective properties of the new mxCell, which is returned.
Parameters
parent mxCell that specifies the parent of the new edge. id Optional string that defines the Id of the new edge. value JavaScript object to be used as the user object. source mxCell that defines the source of the edge. target mxCell that defines the target of the edge. style Optional string that defines the cell style. +createEdge
mxGraph.prototype.createEdge = function( parent, id, value, source, target, style ) Hook method that creates the new edge for insertEdge. This implementation does not set the source and target of the edge, these are set when the edge is added to the model.
-createEdge
mxGraph.prototype.createEdge = function( parent, id, value, source, target, style ) Hook method that creates the new edge for insertEdge. This implementation does not set the source and target of the edge, these are set when the edge is added to the model.
+addEdge
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. This is a shortcut method. Returns the edge that was added.
Parameters
edge mxCell to be inserted into the given parent. parent mxCell that represents the new parent. If no parent is given then the default parent is used. source Optional mxCell that represents the source terminal. target Optional mxCell that represents the target terminal. index Optional index to insert the cells at. Default is to append. -addEdge
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. This is a shortcut method. Returns the edge that was added.
Parameters
edge mxCell to be inserted into the given parent. parent mxCell that represents the new parent. If no parent is given then the default parent is used. source Optional mxCell that represents the source terminal. target Optional mxCell that represents the target terminal. index Optional index to insert the cells at. Default is to append. +addCell
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. This is a shortcut method. Returns the cell that was added.
Parameters
cell mxCell to be inserted into the given parent. parent mxCell that represents the new parent. If no parent is given then the default parent is used. index Optional index to insert the cells at. Default is to append. source Optional mxCell that represents the source terminal. target Optional mxCell that represents the target terminal. -addCell
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. This is a shortcut method. Returns the cell that was added.
Parameters
cell mxCell to be inserted into the given parent. parent mxCell that represents the new parent. If no parent is given then the default parent is used. index Optional index to insert the cells at. Default is to append. source Optional mxCell that represents the source terminal. target Optional mxCell that represents the target terminal. +addCells
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. The change is carried out using cellsAdded. This method fires mxEvent.ADD_CELLS while the transaction is in progress. Returns the cells that were added.
Parameters
cells Array of mxCells to be inserted. parent mxCell that represents the new parent. If no parent is given then the default parent is used. index Optional index to insert the cells at. Default is to append. source Optional source mxCell for all inserted cells. target Optional target mxCell for all inserted cells. -addCells
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. The change is carried out using cellsAdded. This method fires mxEvent.ADD_CELLS while the transaction is in progress. Returns the cells that were added.
Parameters
cells Array of mxCells to be inserted. parent mxCell that represents the new parent. If no parent is given then the default parent is used. index Optional index to insert the cells at. Default is to append. source Optional source mxCell for all inserted cells. target Optional target mxCell for all inserted cells. +cellsAdded
mxGraph.prototype.cellsAdded = function( cells, parent, index, source, target, absolute, constrain, extend ) Adds the specified cells to the given parent. This method fires mxEvent.CELLS_ADDED while the transaction is in progress.
-cellsAdded
mxGraph.prototype.cellsAdded = function( cells, parent, index, source, target, absolute, constrain, extend ) Adds the specified cells to the given parent. This method fires mxEvent.CELLS_ADDED while the transaction is in progress.
+autoSizeCell
mxGraph.prototype.autoSizeCell = function( cell, recurse ) Resizes the specified cell to just fit around the its label and/or children
Parameters
cell mxCells to be resized. recurse Optional boolean which specifies if all descendants should be autosized. Default is true. -autoSizeCell
mxGraph.prototype.autoSizeCell = function( cell, recurse ) Resizes the specified cell to just fit around the its label and/or children
Parameters
cell mxCells to be resized. recurse Optional boolean which specifies if all descendants should be autosized. Default is true. +removeCells
mxGraph.prototype.removeCells = function( cells, includeEdges ) Removes the given cells from the graph including all connected edges if includeEdges is true. The change is carried out using cellsRemoved. This method fires mxEvent.REMOVE_CELLS while the transaction is in progress. The removed cells are returned as an array.
Parameters
cells Array of mxCells to remove. If null is specified then the selection cells which are deletable are used. includeEdges Optional boolean which specifies if all connected edges should be removed as well. Default is true. -removeCells
mxGraph.prototype.removeCells = function( cells, includeEdges ) Removes the given cells from the graph including all connected edges if includeEdges is true. The change is carried out using cellsRemoved. This method fires mxEvent.REMOVE_CELLS while the transaction is in progress. The removed cells are returned as an array.
Parameters
cells Array of mxCells to remove. If null is specified then the selection cells which are deletable are used. includeEdges Optional boolean which specifies if all connected edges should be removed as well. Default is true. +cellsRemoved
mxGraph.prototype.cellsRemoved = function( cells ) Removes the given cells from the model. This method fires mxEvent.CELLS_REMOVED while the transaction is in progress.
Parameters
cells Array of mxCells to remove. -cellsRemoved
mxGraph.prototype.cellsRemoved = function( cells ) Removes the given cells from the model. This method fires mxEvent.CELLS_REMOVED while the transaction is in progress.
Parameters
cells Array of mxCells to remove. +splitEdge
mxGraph.prototype.splitEdge = function( edge, cells, newEdge, dx, dy ) Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell. This method fires mxEvent.SPLIT_EDGE while the transaction is in progress. Returns the new edge that was inserted.
Parameters
edge mxCell that represents the edge to be splitted. cells mxCells that represents the cells to insert into the edge. newEdge mxCell that represents the edge to be inserted. dx Optional integer that specifies the vector to move the cells. dy Optional integer that specifies the vector to move the cells. -splitEdge
mxGraph.prototype.splitEdge = function( edge, cells, newEdge, dx, dy ) Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell. This method fires mxEvent.SPLIT_EDGE while the transaction is in progress. Returns the new edge that was inserted.
Parameters
edge mxCell that represents the edge to be splitted. cells mxCells that represents the cells to insert into the edge. newEdge mxCell that represents the edge to be inserted. dx Optional integer that specifies the vector to move the cells. dy Optional integer that specifies the vector to move the cells. +toggleCells
mxGraph.prototype.toggleCells = function( show, cells, includeEdges ) Sets the visible state of the specified cells and all connected edges if includeEdges is true. The change is carried out using cellsToggled. This method fires mxEvent.TOGGLE_CELLS while the transaction is in progress. Returns the cells whose visible state was changed.
Parameters
show Boolean that specifies the visible state to be assigned. cells Array of mxCells whose visible state should be changed. If null is specified then the selection cells are used. includeEdges Optional boolean indicating if the visible state of all connected edges should be changed as well. Default is true. -toggleCells
mxGraph.prototype.toggleCells = function( show, cells, includeEdges ) Sets the visible state of the specified cells and all connected edges if includeEdges is true. The change is carried out using cellsToggled. This method fires mxEvent.TOGGLE_CELLS while the transaction is in progress. Returns the cells whose visible state was changed.
Parameters
show Boolean that specifies the visible state to be assigned. cells Array of mxCells whose visible state should be changed. If null is specified then the selection cells are used. includeEdges Optional boolean indicating if the visible state of all connected edges should be changed as well. Default is true. +cellsToggled
mxGraph.prototype.cellsToggled = function( cells, show ) Sets the visible state of the specified cells.
Parameters
cells Array of mxCells whose visible state should be changed. show Boolean that specifies the visible state to be assigned. -cellsToggled
mxGraph.prototype.cellsToggled = function( cells, show ) Sets the visible state of the specified cells.
Parameters
cells Array of mxCells whose visible state should be changed. show Boolean that specifies the visible state to be assigned. +foldCells
mxGraph.prototype.foldCells = function( collapse, recurse, cells, checkFoldable, evt ) Sets the collapsed state of the specified cells and all descendants if recurse is true. The change is carried out using cellsFolded. This method fires mxEvent.FOLD_CELLS while the transaction is in progress. Returns the cells whose collapsed state was changed.
Parameters
collapsed Boolean indicating the collapsed state to be assigned. recurse Optional boolean indicating if the collapsed state of all descendants should be set. Default is false. cells Array of mxCells whose collapsed state should be set. If null is specified then the foldable selection cells are used. checkFoldable Optional boolean indicating of isCellFoldable should be checked. Default is false. evt Optional native event that triggered the invocation. -foldCells
mxGraph.prototype.foldCells = function( collapse, recurse, cells, checkFoldable, evt ) Sets the collapsed state of the specified cells and all descendants if recurse is true. The change is carried out using cellsFolded. This method fires mxEvent.FOLD_CELLS while the transaction is in progress. Returns the cells whose collapsed state was changed.
Parameters
collapsed Boolean indicating the collapsed state to be assigned. recurse Optional boolean indicating if the collapsed state of all descendants should be set. Default is false. cells Array of mxCells whose collapsed state should be set. If null is specified then the foldable selection cells are used. checkFoldable Optional boolean indicating of isCellFoldable should be checked. Default is false. evt Optional native event that triggered the invocation. +cellsFolded
mxGraph.prototype.cellsFolded = function( cells, collapse, recurse, checkFoldable ) Sets the collapsed state of the specified cells. This method fires mxEvent.CELLS_FOLDED while the transaction is in progress. Returns the cells whose collapsed state was changed.
Parameters
cells Array of mxCells whose collapsed state should be set. collapsed Boolean indicating the collapsed state to be assigned. recurse Boolean indicating if the collapsed state of all descendants should be set. checkFoldable Optional boolean indicating of isCellFoldable should be checked. Default is false. -cellsFolded
mxGraph.prototype.cellsFolded = function( cells, collapse, recurse, checkFoldable ) Sets the collapsed state of the specified cells. This method fires mxEvent.CELLS_FOLDED while the transaction is in progress. Returns the cells whose collapsed state was changed.
Parameters
cells Array of mxCells whose collapsed state should be set. collapsed Boolean indicating the collapsed state to be assigned. recurse Boolean indicating if the collapsed state of all descendants should be set. checkFoldable Optional boolean indicating of isCellFoldable should be checked. Default is false. +swapBounds
mxGraph.prototype.swapBounds = function( cell, willCollapse ) Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
Parameters
cell mxCell for which the bounds should be swapped. willCollapse Boolean indicating if the cell is going to be collapsed. -swapBounds
mxGraph.prototype.swapBounds = function( cell, willCollapse ) Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
Parameters
cell mxCell for which the bounds should be swapped. willCollapse Boolean indicating if the cell is going to be collapsed. +updateAlternateBounds
mxGraph.prototype.updateAlternateBounds = function( cell, geo, willCollapse ) Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed. If no alternate bounds are defined in the geometry and collapseToPreferredSize is true, then the preferred size is used for the alternate bounds. The top, left corner is always kept at the same location.
Parameters
cell mxCell for which the geometry is being udpated. g mxGeometry for which the alternate bounds should be updated. willCollapse Boolean indicating if the cell is going to be collapsed. updateAlternateBounds
mxGraph.prototype.updateAlternateBounds = function( cell, geo, willCollapse ) Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed. If no alternate bounds are defined in the geometry and collapseToPreferredSize is true, then the preferred size is used for the alternate bounds. The top, left corner is always kept at the same location.
Parameters
cell mxCell for which the geometry is being udpated. g mxGeometry for which the alternate bounds should be updated. willCollapse Boolean indicating if the cell is going to be collapsed. @@ -644,11 +644,11 @@ graph.insertVertex(parent, null, -+updateCellSize
mxGraph.prototype.updateCellSize = function( cell, ignoreChildren ) Updates the size of the given cell in the model using cellSizeUpdated. This method fires mxEvent.UPDATE_CELL_SIZE while the transaction is in progress. Returns the cell whose size was updated.
Parameters
cell mxCell whose size should be updated. -updateCellSize
mxGraph.prototype.updateCellSize = function( cell, ignoreChildren ) Updates the size of the given cell in the model using cellSizeUpdated. This method fires mxEvent.UPDATE_CELL_SIZE while the transaction is in progress. Returns the cell whose size was updated.
Parameters
cell mxCell whose size should be updated. +cellSizeUpdated
mxGraph.prototype.cellSizeUpdated = function( cell, ignoreChildren ) Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
Parameters
cell mxCell for which the size should be changed. -cellSizeUpdated
mxGraph.prototype.cellSizeUpdated = function( cell, ignoreChildren ) Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
Parameters
cell mxCell for which the size should be changed. -getPreferredSizeForCell
mxGraph.prototype.getPreferredSizeForCell = function( cell ) Returns the preferred width and height of the given mxCell as an mxRectangle. To implement a minimum width, add a new style eg. minWidth in the vertex and override this method as follows.
var graphGetPreferredSizeForCell = graph.getPreferredSizeForCell; ++};getPreferredSizeForCell
mxGraph.prototype.getPreferredSizeForCell = function( cell ) Returns the preferred width and height of the given mxCell as an mxRectangle. To implement a minimum width, add a new style eg. minWidth in the vertex and override this method as follows.
var graphGetPreferredSizeForCell = graph.getPreferredSizeForCell; graph.getPreferredSizeForCell = function(cell) { var result = graphGetPreferredSizeForCell.apply(this, arguments); @@ -660,13 +660,13 @@ graph.getPreferredSizeForCell = function(cell) } return result; -};Parameters
cell mxCell for which the preferred size should be returned. Parameters
cell mxCell for which the preferred size should be returned. +resizeCell
mxGraph.prototype.resizeCell = function( cell, bounds, recurse ) Sets the bounds of the given cell using resizeCells. Returns the cell which was passed to the function.
Parameters
cell mxCell whose bounds should be changed. bounds mxRectangle that represents the new bounds. -resizeCell
mxGraph.prototype.resizeCell = function( cell, bounds, recurse ) Sets the bounds of the given cell using resizeCells. Returns the cell which was passed to the function.
Parameters
cell mxCell whose bounds should be changed. bounds mxRectangle that represents the new bounds. +resizeCells
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. Returns the cells which have been passed to the function.
Parameters
cells Array of mxCells whose bounds should be changed. bounds Array of mxRectangles that represent the new bounds. -resizeCells
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. Returns the cells which have been passed to the function.
Parameters
cells Array of mxCells whose bounds should be changed. bounds Array of mxRectangles that represent the new bounds. -cellsResized
mxGraph.prototype.cellsResized = function( cells, bounds, recurse ) Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event. If extendParents is true, then the parent is extended if a child size is changed so that it overlaps with the parent.
The following example shows how to control group resizes to make sure that all child cells stay within the group.
graph.addListener(mxEvent.CELLS_RESIZED, function(sender, evt) ++});cellsResized
mxGraph.prototype.cellsResized = function( cells, bounds, recurse ) Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event. If extendParents is true, then the parent is extended if a child size is changed so that it overlaps with the parent.
The following example shows how to control group resizes to make sure that all child cells stay within the group.
graph.addListener(mxEvent.CELLS_RESIZED, function(sender, evt) { var cells = evt.getProperty('cells'); @@ -692,61 +692,61 @@ graph.getPreferredSizeForCell = function(cell) } } } -});Parameters
cells Array of mxCells whose bounds should be changed. bounds Array of mxRectangles that represent the new bounds. recurse Optional boolean that specifies if the children should be resized. Parameters
cells Array of mxCells whose bounds should be changed. bounds Array of mxRectangles that represent the new bounds. recurse Optional boolean that specifies if the children should be resized. +cellResized
mxGraph.prototype.cellResized = function( cell, bounds, ignoreRelative, recurse ) Resizes the parents recursively so that they contain the complete area of the resized child cell.
Parameters
cell mxCell whose bounds should be changed. bounds mxRectangles that represent the new bounds. ignoreRelative Boolean that indicates if relative cells should be ignored. recurse Optional boolean that specifies if the children should be resized. -cellResized
mxGraph.prototype.cellResized = function( cell, bounds, ignoreRelative, recurse ) Resizes the parents recursively so that they contain the complete area of the resized child cell.
Parameters
cell mxCell whose bounds should be changed. bounds mxRectangles that represent the new bounds. ignoreRelative Boolean that indicates if relative cells should be ignored. recurse Optional boolean that specifies if the children should be resized. +resizeChildCells
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.
Parameters
cell mxCell that has been resized. newGeo mxGeometry that represents the new bounds. -resizeChildCells
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.
Parameters
cell mxCell that has been resized. newGeo mxGeometry that represents the new bounds. +constrainChildCells
mxGraph.prototype.constrainChildCells = function( cell ) Constrains the children of the given cell using constrainChild.
Parameters
cell mxCell that has been resized. -constrainChildCells
mxGraph.prototype.constrainChildCells = function( cell ) Constrains the children of the given cell using constrainChild.
Parameters
cell mxCell that has been resized. +scaleCell
mxGraph.prototype.scaleCell = function( cell, dx, dy, recurse ) Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
Parameters
cell mxCell whose geometry should be scaled. dx Horizontal scaling factor. dy Vertical scaling factor. recurse Boolean indicating if the child cells should be scaled. -scaleCell
mxGraph.prototype.scaleCell = function( cell, dx, dy, recurse ) Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
Parameters
cell mxCell whose geometry should be scaled. dx Horizontal scaling factor. dy Vertical scaling factor. recurse Boolean indicating if the child cells should be scaled. +extendParent
mxGraph.prototype.extendParent = function( cell ) Resizes the parents recursively so that they contain the complete area of the resized child cell.
Parameters
cell mxCell that has been resized. -extendParent
mxGraph.prototype.extendParent = function( cell ) Resizes the parents recursively so that they contain the complete area of the resized child cell.
Parameters
cell mxCell that has been resized. +importCells
mxGraph.prototype.importCells = function( cells, dx, dy, target, evt, mapping ) Clones and inserts the given cells into the graph using the move method and returns the inserted cells. This shortcut is used if cells are inserted via datatransfer.
Parameters
cells Array of mxCells to be imported. dx Integer that specifies the x-coordinate of the vector. Default is 0. dy Integer that specifies the y-coordinate of the vector. Default is 0. target mxCell that represents the new parent of the cells. evt Mouseevent that triggered the invocation. mapping Optional mapping for existing clones. -importCells
mxGraph.prototype.importCells = function( cells, dx, dy, target, evt, mapping ) Clones and inserts the given cells into the graph using the move method and returns the inserted cells. This shortcut is used if cells are inserted via datatransfer.
Parameters
cells Array of mxCells to be imported. dx Integer that specifies the x-coordinate of the vector. Default is 0. dy Integer that specifies the y-coordinate of the vector. Default is 0. target mxCell that represents the new parent of the cells. evt Mouseevent that triggered the invocation. mapping Optional mapping for existing clones. +moveCells
mxGraph.prototype.moveCells = function( cells, dx, dy, clone, target, evt, mapping ) Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell. The evt is the mouse event as the mouse was released. The change is carried out using cellsMoved. This method fires mxEvent.MOVE_CELLS while the transaction is in progress. Returns the cells that were moved.
Use the following code to move all cells in the graph.
graph.moveCells(graph.getChildCells(null, true, true), 10, 10);Parameters
cells Array of mxCells to be moved, cloned or added to the target. dx Integer that specifies the x-coordinate of the vector. Default is 0. dy Integer that specifies the y-coordinate of the vector. Default is 0. clone Boolean indicating if the cells should be cloned. Default is false. target mxCell that represents the new parent of the cells. evt Mouseevent that triggered the invocation. mapping Optional mapping for existing clones. -moveCells
mxGraph.prototype.moveCells = function( cells, dx, dy, clone, target, evt, mapping ) Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell. The evt is the mouse event as the mouse was released. The change is carried out using cellsMoved. This method fires mxEvent.MOVE_CELLS while the transaction is in progress. Returns the cells that were moved.
Use the following code to move all cells in the graph.
graph.moveCells(graph.getChildCells(null, true, true), 10, 10);Parameters
cells Array of mxCells to be moved, cloned or added to the target. dx Integer that specifies the x-coordinate of the vector. Default is 0. dy Integer that specifies the y-coordinate of the vector. Default is 0. clone Boolean indicating if the cells should be cloned. Default is false. target mxCell that represents the new parent of the cells. evt Mouseevent that triggered the invocation. mapping Optional mapping for existing clones. +cellsMoved
mxGraph.prototype.cellsMoved = function( cells, dx, dy, disconnect, constrain, extend ) Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true. This method fires mxEvent.CELLS_MOVED while the transaction is in progress.
cellsMoved
mxGraph.prototype.cellsMoved = function( cells, dx, dy, disconnect, constrain, extend ) Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true. This method fires mxEvent.CELLS_MOVED while the transaction is in progress.
-+getCellContainmentArea
mxGraph.prototype.getCellContainmentArea = function( cell ) Returns the mxRectangle inside which a cell is to be kept.
Parameters
cell mxCell for which the area should be returned. -getCellContainmentArea
mxGraph.prototype.getCellContainmentArea = function( cell ) Returns the mxRectangle inside which a cell is to be kept.
Parameters
cell mxCell for which the area should be returned. +getMaximumGraphBounds
mxGraph.prototype.getMaximumGraphBounds = function() Returns the bounds inside which the diagram should be kept as an mxRectangle.
-getMaximumGraphBounds
mxGraph.prototype.getMaximumGraphBounds = function() Returns the bounds inside which the diagram should be kept as an mxRectangle.
+constrainChild
mxGraph.prototype.constrainChild = function( cell, sizeFirst ) Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild. This modifies the cell’s geometry in-place and does not clone it.
Parameters
cells mxCell which should be constrained. sizeFirst Specifies if the size should be changed first. Default is true. -constrainChild
mxGraph.prototype.constrainChild = function( cell, sizeFirst ) Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild. This modifies the cell’s geometry in-place and does not clone it.
Parameters
cells mxCell which should be constrained. sizeFirst Specifies if the size should be changed first. Default is true. +resetEdges
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.
Parameters
cells Array of mxCells for which the connected edges should be reset. -resetEdges
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.
Parameters
cells Array of mxCells for which the connected edges should be reset. +resetEdge
mxGraph.prototype.resetEdge = function( edge ) Resets the control points of the given edge.
Parameters
edge mxCell whose points should be reset. resetEdge
mxGraph.prototype.resetEdge = function( edge ) Resets the control points of the given edge.
Parameters
edge mxCell whose points should be reset. -+getAllConnectionConstraints
mxGraph.prototype.getAllConnectionConstraints = function( terminal, source ) Returns an array of all mxConnectionConstraints for the given terminal. If the shape of the given terminal is a <mxStencilShape> then the constraints of the corresponding mxStencil are returned.
Parameters
terminal mxCellState that represents the terminal. source Boolean that specifies if the terminal is the source or target. -getAllConnectionConstraints
mxGraph.prototype.getAllConnectionConstraints = function( terminal, source ) Returns an array of all mxConnectionConstraints for the given terminal. If the shape of the given terminal is a <mxStencilShape> then the constraints of the corresponding mxStencil are returned.
Parameters
terminal mxCellState that represents the terminal. source Boolean that specifies if the terminal is the source or target. +getConnectionConstraint
mxGraph.prototype.getConnectionConstraint = function( edge, terminal, source ) Returns an mxConnectionConstraint that describes the given connection point. This result can then be passed to getConnectionPoint.
Parameters
edge mxCellState that represents the edge. terminal mxCellState that represents the terminal. source Boolean indicating if the terminal is the source or target. -getConnectionConstraint
mxGraph.prototype.getConnectionConstraint = function( edge, terminal, source ) Returns an mxConnectionConstraint that describes the given connection point. This result can then be passed to getConnectionPoint.
Parameters
edge mxCellState that represents the edge. terminal mxCellState that represents the terminal. source Boolean indicating if the terminal is the source or target. +setConnectionConstraint
mxGraph.prototype.setConnectionConstraint = function( edge, terminal, source, constraint ) Sets the mxConnectionConstraint that describes the given connection point. If no constraint is given then nothing is changed. To remove an existing constraint from the given edge, use an empty constraint instead.
Parameters
edge mxCell that represents the edge. terminal mxCell that represents the terminal. source Boolean indicating if the terminal is the source or target. constraint Optional mxConnectionConstraint to be used for this connection. -setConnectionConstraint
mxGraph.prototype.setConnectionConstraint = function( edge, terminal, source, constraint ) Sets the mxConnectionConstraint that describes the given connection point. If no constraint is given then nothing is changed. To remove an existing constraint from the given edge, use an empty constraint instead.
Parameters
edge mxCell that represents the edge. terminal mxCell that represents the terminal. source Boolean indicating if the terminal is the source or target. constraint Optional mxConnectionConstraint to be used for this connection. +getConnectionPoint
mxGraph.prototype.getConnectionPoint = function( vertex, constraint ) Returns the nearest point in the list of absolute points or the center of the opposite terminal.
Parameters
vertex mxCellState that represents the vertex. constraint mxConnectionConstraint that represents the connection point constraint as returned by getConnectionConstraint. -getConnectionPoint
mxGraph.prototype.getConnectionPoint = function( vertex, constraint ) Returns the nearest point in the list of absolute points or the center of the opposite terminal.
Parameters
vertex mxCellState that represents the vertex. constraint mxConnectionConstraint that represents the connection point constraint as returned by getConnectionConstraint. +connectCell
mxGraph.prototype.connectCell = function( edge, terminal, source, constraint ) Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress. Returns the updated edge.
Parameters
edge mxCell whose terminal should be updated. terminal mxCell that represents the new terminal to be used. source Boolean indicating if the new terminal is the source or target. constraint Optional mxConnectionConstraint to be used for this connection. -connectCell
mxGraph.prototype.connectCell = function( edge, terminal, source, constraint ) Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress. Returns the updated edge.
Parameters
edge mxCell whose terminal should be updated. terminal mxCell that represents the new terminal to be used. source Boolean indicating if the new terminal is the source or target. constraint Optional mxConnectionConstraint to be used for this connection. +cellConnected
mxGraph.prototype.cellConnected = function( edge, terminal, source, constraint ) Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true. This method fires mxEvent.CELL_CONNECTED while the transaction is in progress.
Parameters
edge mxCell whose terminal should be updated. terminal mxCell that represents the new terminal to be used. source Boolean indicating if the new terminal is the source or target. constraint mxConnectionConstraint to be used for this connection. -cellConnected
mxGraph.prototype.cellConnected = function( edge, terminal, source, constraint ) Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true. This method fires mxEvent.CELL_CONNECTED while the transaction is in progress.
Parameters
edge mxCell whose terminal should be updated. terminal mxCell that represents the new terminal to be used. source Boolean indicating if the new terminal is the source or target. constraint mxConnectionConstraint to be used for this connection. +disconnectGraph
mxGraph.prototype.disconnectGraph = function( cells ) Disconnects the given edges from the terminals which are not in the given array.
Parameters
cells Array of mxCells to be disconnected. -disconnectGraph
mxGraph.prototype.disconnectGraph = function( cells ) Disconnects the given edges from the terminals which are not in the given array.
Parameters
cells Array of mxCells to be disconnected. +getCurrentRoot
mxGraph.prototype.getCurrentRoot = function() Returns the current root of the displayed cell hierarchy. This is a shortcut to mxGraphView.currentRoot in view.
-getCurrentRoot
mxGraph.prototype.getCurrentRoot = function() Returns the current root of the displayed cell hierarchy. This is a shortcut to mxGraphView.currentRoot in view.
getTranslateForRoot
mxGraph.prototype.getTranslateForRoot = function( cell ) Returns the translation to be used if the given cell is the root cell as an mxPoint. This implementation returns null.
Example
To keep the children at their absolute position while stepping into groups, this function can be overridden as follows.
var offset = new mxPoint(0, 0); ++return offset;getTranslateForRoot
mxGraph.prototype.getTranslateForRoot = function( cell ) Returns the translation to be used if the given cell is the root cell as an mxPoint. This implementation returns null.
Example
To keep the children at their absolute position while stepping into groups, this function can be overridden as follows.
var offset = new mxPoint(0, 0); while (cell != null) { @@ -761,32 +761,32 @@ while (cell != null) cell = this.model.getParent(cell); } -return offset;Parameters
cell mxCell that represents the root. Parameters
cell mxCell that represents the root. +};isPort
mxGraph.prototype.isPort = function( cell ) Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT. Note that a port should not be movable. This implementation always returns false.
A typical implementation is the following
graph.isPort = function(cell) { var geo = this.getCellGeometry(cell); return (geo != null) ? geo.relative : false; -};Parameters
cell mxCell that represents the port. Parameters
cell mxCell that represents the port. +getTerminalForPort
mxGraph.prototype.getTerminalForPort = function( cell, source ) Returns the terminal to be used for a given port. This implementation always returns the parent cell.
Parameters
cell mxCell that represents the port. source If the cell is the source or target port. -getTerminalForPort
mxGraph.prototype.getTerminalForPort = function( cell, source ) Returns the terminal to be used for a given port. This implementation always returns the parent cell.
Parameters
cell mxCell that represents the port. source If the cell is the source or target port. +getChildOffsetForCell
mxGraph.prototype.getChildOffsetForCell = function( cell ) Returns the offset to be used for the cells inside the given cell. The root and layer cells may be identified using mxGraphModel.isRoot and mxGraphModel.isLayer. For all other current roots, the mxGraphView.currentRoot field points to the respective cell, so that the following holds: cell == this.view.currentRoot. This implementation returns null.
Parameters
cell mxCell whose offset should be returned. -getChildOffsetForCell
mxGraph.prototype.getChildOffsetForCell = function( cell ) Returns the offset to be used for the cells inside the given cell. The root and layer cells may be identified using mxGraphModel.isRoot and mxGraphModel.isLayer. For all other current roots, the mxGraphView.currentRoot field points to the respective cell, so that the following holds: cell == this.view.currentRoot. This implementation returns null.
Parameters
cell mxCell whose offset should be returned. +enterGroup
mxGraph.prototype.enterGroup = function( cell ) Uses the given cell as the root of the displayed cell hierarchy. If no cell is specified then the selection cell is used. The cell is only used if isValidRoot returns true.
Parameters
cell Optional mxCell to be used as the new root. Default is the selection cell. enterGroup
mxGraph.prototype.enterGroup = function( cell ) Uses the given cell as the root of the displayed cell hierarchy. If no cell is specified then the selection cell is used. The cell is only used if isValidRoot returns true.
Parameters
cell Optional mxCell to be used as the new root. Default is the selection cell. -+isValidRoot
mxGraph.prototype.isValidRoot = function( cell ) Returns true if the given cell is a valid root for the cell display hierarchy. This implementation returns true for all non-null values.
Parameters
cell mxCell which should be checked as a possible root. -isValidRoot
mxGraph.prototype.isValidRoot = function( cell ) Returns true if the given cell is a valid root for the cell display hierarchy. This implementation returns true for all non-null values.
Parameters
cell mxCell which should be checked as a possible root. +getGraphBounds
mxGraph.prototype.getGraphBounds = function() Returns the bounds of the visible graph. Shortcut to mxGraphView.getGraphBounds. See also: getBoundingBoxFromGeometry.
-getGraphBounds
mxGraph.prototype.getGraphBounds = function() Returns the bounds of the visible graph. Shortcut to mxGraphView.getGraphBounds. See also: getBoundingBoxFromGeometry.
+getCellBounds
mxGraph.prototype.getCellBounds = function( cell, includeEdges, includeDescendants ) Returns the scaled, translated bounds for the given cell. See mxGraphView.getBounds for arrays.
Parameters
cell mxCell whose bounds should be returned. includeEdge Optional boolean that specifies if the bounds of the connected edges should be included. Default is false. includeDescendants Optional boolean that specifies if the bounds of all descendants should be included. Default is false. getCellBounds
mxGraph.prototype.getCellBounds = function( cell, includeEdges, includeDescendants ) Returns the scaled, translated bounds for the given cell. See mxGraphView.getBounds for arrays.
Parameters
cell mxCell whose bounds should be returned. includeEdge Optional boolean that specifies if the bounds of the connected edges should be included. Default is false. includeDescendants Optional boolean that specifies if the bounds of all descendants should be included. Default is false. +}getBoundingBoxFromGeometry
mxGraph.prototype.getBoundingBoxFromGeometry = function( cells, includeEdges ) Returns the bounding box for the geometries of the vertices in the given array of cells. This can be used to find the graph bounds during a layout operation (ie. before the last endUpdate) as follows:
var cells = graph.getChildCells(graph.getDefaultParent(), true, true); var bounds = graph.getBoundingBoxFromGeometry(cells, true);This can then be used to move cells to the origin
if (bounds.x < 0 || bounds.y < 0) @@ -795,43 +795,43 @@ var bounds = graph.getBoundingBoxFromGeometry(cells, true);Or to translate the graph view
if (bounds.x < 0 || bounds.y < 0) { graph.view.setTranslate(-Math.min(bounds.x, 0), -Math.min(bounds.y, 0)); -}Parameters
cells Array of mxCells whose bounds should be returned. includeEdges Specifies if edge bounds should be included by computing the bounding box for all points in geometry. Default is false.
cells | Array of mxCells whose bounds should be returned. |
includeEdges | Specifies if edge bounds should be included by computing the bounding box for all points in geometry. Default is false. |
mxGraph.prototype.refresh = function( cell )
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph. This fires a refresh event as the last step.
cell | Optional mxCell for which the cell states should be cleared. |
mxGraph.prototype.refresh = function( cell )
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph. This fires a refresh event as the last step.
cell | Optional mxCell for which the cell states should be cleared. |
mxGraph.prototype.snap = function( value )
Snaps the given numeric value to the grid if gridEnabled is true.
value | Numeric value to be snapped to the grid. |
mxGraph.prototype.snap = function( value )
Snaps the given numeric value to the grid if gridEnabled is true.
value | Numeric value to be snapped to the grid. |
mxGraph.prototype.panGraph = function( dx, dy )
Shifts the graph display by the given amount. This is used to preview panning operations, use mxGraphView.setTranslate to set a persistent translation of the view. Fires mxEvent.PAN.
dx | Amount to shift the graph along the x-axis. |
dy | Amount to shift the graph along the y-axis. |
mxGraph.prototype.panGraph = function( dx, dy )
Shifts the graph display by the given amount. This is used to preview panning operations, use mxGraphView.setTranslate to set a persistent translation of the view. Fires mxEvent.PAN.
dx | Amount to shift the graph along the x-axis. |
dy | Amount to shift the graph along the y-axis. |
mxGraph.prototype.zoomIn = function()
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomIn = function()
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.zoomTo = function( scale, center )
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoomTo = function( scale, center )
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.center = function( horizontal, vertical, cx, cy )
Centers the graph in the container.
horizontal | Optional boolean that specifies if the graph should be centered horizontally. Default is true. |
vertical | Optional boolean that specifies if the graph should be centered vertically. Default is true. |
cx | Optional float that specifies the horizontal center. Default is 0.5. |
cy | Optional float that specifies the vertical center. Default is 0.5. |
mxGraph.prototype.zoom = function( factor, center )
Zooms the graph using the given factor. Center is an optional boolean argument that keeps the graph scrolled to the center. If the center argument is omitted, then centerZoom will be used as its value.
mxGraph.prototype.zoom = function( factor, center )
Zooms the graph using the given factor. Center is an optional boolean argument that keeps the graph scrolled to the center. If the center argument is omitted, then centerZoom will be used as its value.
mxGraph.prototype.zoomToRect = function( rect )
Zooms the graph to the specified rectangle. If the rectangle does not have same aspect ratio as the display container, it is increased in the smaller relative dimension only until the aspect match. The original rectangle is centralised within this expanded one.
Note that the input rectangular must be un-scaled and un-translated.
rect | The un-scaled and un-translated rectangluar region that should be just visible after the operation |
mxGraph.prototype.scrollCellToVisible = function( cell, center )
Pans the graph so that it shows the given cell. Optionally the cell may be centered in the container.
To center a given graph if the <container> has no scrollbars, use the following code.
[code] var bounds = graph.getGraphBounds(); graph.view.setTranslate(-bounds.x - (bounds.width - container.clientWidth) / 2, -bounds.y - (bounds.height - container.clientHeight) / 2); [/code]
cell | mxCell to be made visible. |
center | Optional boolean flag. Default is false. |
mxGraph.prototype.scrollCellToVisible = function( cell, center )
Pans the graph so that it shows the given cell. Optionally the cell may be centered in the container.
To center a given graph if the <container> has no scrollbars, use the following code.
[code] var bounds = graph.getGraphBounds(); graph.view.setTranslate(-bounds.x - (bounds.width - container.clientWidth) / 2, -bounds.y - (bounds.height - container.clientHeight) / 2); [/code]
cell | mxCell to be made visible. |
center | Optional boolean flag. Default is false. |
mxGraph.prototype.scrollRectToVisible = function( rect )
Pans the graph so that it shows the given rectangle.
rect | mxRectangle to be made visible. |
mxGraph.prototype.scrollRectToVisible = function( rect )
Pans the graph so that it shows the given rectangle.
rect | mxRectangle to be made visible. |
mxGraph.prototype.getCellGeometry = function( cell )
Returns the mxGeometry for the given cell. This implementation uses mxGraphModel.getGeometry. Subclasses can override this to implement specific geometries for cells in only one graph, that is, it can return geometries that depend on the current state of the view.
cell | mxCell whose geometry should be returned. |
mxGraph.prototype.getCellGeometry = function( cell )
Returns the mxGeometry for the given cell. This implementation uses mxGraphModel.getGeometry. Subclasses can override this to implement specific geometries for cells in only one graph, that is, it can return geometries that depend on the current state of the view.
cell | mxCell whose geometry should be returned. |
mxGraph.prototype.isCellVisible = function( cell )
Returns true if the given cell is visible in this graph. This implementation uses mxGraphModel.isVisible. Subclassers can override this to implement specific visibility for cells in only one graph, that is, without affecting the visible state of the cell.
When using dynamic filter expressions for cell visibility, then the graph should be revalidated after the filter expression has changed.
cell | mxCell whose visible state should be returned. |
mxGraph.prototype.isCellVisible = function( cell )
Returns true if the given cell is visible in this graph. This implementation uses mxGraphModel.isVisible. Subclassers can override this to implement specific visibility for cells in only one graph, that is, without affecting the visible state of the cell.
When using dynamic filter expressions for cell visibility, then the graph should be revalidated after the filter expression has changed.
cell | mxCell whose visible state should be returned. |
mxGraph.prototype.isCellCollapsed = function( cell )
Returns true if the given cell is collapsed in this graph. This implementation uses mxGraphModel.isCollapsed. Subclassers can override this to implement specific collapsed states for cells in only one graph, that is, without affecting the collapsed state of the cell.
When using dynamic filter expressions for the collapsed state, then the graph should be revalidated after the filter expression has changed.
cell | mxCell whose collapsed state should be returned. |
mxGraph.prototype.isCellCollapsed = function( cell )
Returns true if the given cell is collapsed in this graph. This implementation uses mxGraphModel.isCollapsed. Subclassers can override this to implement specific collapsed states for cells in only one graph, that is, without affecting the collapsed state of the cell.
When using dynamic filter expressions for the collapsed state, then the graph should be revalidated after the filter expression has changed.
cell | mxCell whose collapsed state should be returned. |
mxGraph.prototype.isCellConnectable = function( cell )
Returns true if the given cell is connectable in this graph. This implementation uses mxGraphModel.isConnectable. Subclassers can override this to implement specific connectable states for cells in only one graph, that is, without affecting the connectable state of the cell in the model.
cell | mxCell whose connectable state should be returned. |
mxGraph.prototype.isCellConnectable = function( cell )
Returns true if the given cell is connectable in this graph. This implementation uses mxGraphModel.isConnectable. Subclassers can override this to implement specific connectable states for cells in only one graph, that is, without affecting the connectable state of the cell in the model.
cell | mxCell whose connectable state should be returned. |
mxGraph.prototype.isOrthogonal = function( edge )
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
edge | mxCellState that represents the edge. |
mxGraph.prototype.isOrthogonal = function( edge )
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
edge | mxCellState that represents the edge. |
mxGraph.prototype.isLoop = function( state )
Returns true if the given cell state is a loop.
state | mxCellState that represents a potential loop. |
mxGraph.prototype.isLoop = function( state )
Returns true if the given cell state is a loop.
state | mxCellState that represents a potential loop. |
mxGraph.prototype.isEdgeValid = function( edge, source, target )
Checks if the return value of getEdgeValidationError for the given arguments is null.
edge | mxCell that represents the edge to validate. |
source | mxCell that represents the source terminal. |
target | mxCell that represents the target terminal. |
mxGraph.prototype.isEdgeValid = function( edge, source, target )
Checks if the return value of getEdgeValidationError for the given arguments is null.
edge | mxCell that represents the edge to validate. |
source | mxCell that represents the source terminal. |
target | mxCell that represents the target terminal. |
mxGraph.prototype.getEdgeValidationError = function( edge, source, target )
Returns the validation error message to be displayed when inserting or changing an edges’ connectivity. A return value of null means the edge is valid, a return value of ‘’ means it’s not valid, but do not display an error message. Any other (non-empty) string returned from this method is displayed as an error message when trying to connect an edge to a source and target. This implementation uses the multiplicities, and checks multigraph, allowDanglingEdges and allowLoops to generate validation errors.
For extending this method with specific checks for source/target cells, the method can be extended as follows. Returning an empty string means the edge is invalid with no error message, a non-null string specifies the error message, and null means the edge is valid.
graph.getEdgeValidationError = function(edge, source, target) ++}getEdgeValidationError
mxGraph.prototype.getEdgeValidationError = function( edge, source, target ) Returns the validation error message to be displayed when inserting or changing an edges’ connectivity. A return value of null means the edge is valid, a return value of ‘’ means it’s not valid, but do not display an error message. Any other (non-empty) string returned from this method is displayed as an error message when trying to connect an edge to a source and target. This implementation uses the multiplicities, and checks multigraph, allowDanglingEdges and allowLoops to generate validation errors.
For extending this method with specific checks for source/target cells, the method can be extended as follows. Returning an empty string means the edge is invalid with no error message, a non-null string specifies the error message, and null means the edge is valid.
graph.getEdgeValidationError = function(edge, source, target) { if (source != null && target != null && this.model.getValue(source) != null && @@ -865,30 +865,30 @@ var bounds = graph.getBoundingBoxFromGeometry(cells, true);Parameters
edge mxCell that represents the edge to validate. source mxCell that represents the source terminal. target mxCell that represents the target terminal.
edge | mxCell that represents the edge to validate. |
source | mxCell that represents the source terminal. |
target | mxCell that represents the target terminal. |
mxGraph.prototype.validateEdge = function( edge, source, target )
Hook method for subclassers to return an error message for the given edge and terminals. This implementation returns null.
edge | mxCell that represents the edge to validate. |
source | mxCell that represents the source terminal. |
target | mxCell that represents the target terminal. |
mxGraph.prototype.validateEdge = function( edge, source, target )
Hook method for subclassers to return an error message for the given edge and terminals. This implementation returns null.
edge | mxCell that represents the edge to validate. |
source | mxCell that represents the source terminal. |
target | mxCell that represents the target terminal. |
mxGraph.prototype.validateGraph = function( cell, context )
Validates the graph by validating each descendant of the given cell or the root of the model. Context is an object that contains the validation state for the complete validation run. The validation errors are attached to their cells using setCellWarning. Returns null in the case of successful validation or an array of strings (warnings) in the case of failed validations.
cell | Optional mxCell to start the validation recursion. Default is the graph root. |
context | Object that represents the global validation state. |
mxGraph.prototype.validateGraph = function( cell, context )
Validates the graph by validating each descendant of the given cell or the root of the model. Context is an object that contains the validation state for the complete validation run. The validation errors are attached to their cells using setCellWarning. Returns null in the case of successful validation or an array of strings (warnings) in the case of failed validations.
cell | Optional mxCell to start the validation recursion. Default is the graph root. |
context | Object that represents the global validation state. |
mxGraph.prototype.getCellValidationError = function( cell )
Checks all multiplicities that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge.
cell | mxCell for which the multiplicities should be checked. |
mxGraph.prototype.getCellValidationError = function( cell )
Checks all multiplicities that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge.
cell | mxCell for which the multiplicities should be checked. |
mxGraph.prototype.validateCell = function( cell, context )
Hook method for subclassers to return an error message for the given cell and validation context. This implementation returns null. Any HTML breaks will be converted to linefeeds in the calling method.
cell | mxCell that represents the cell to validate. |
context | Object that represents the global validation state. |
mxGraph.prototype.validateCell = function( cell, context )
Hook method for subclassers to return an error message for the given cell and validation context. This implementation returns null. Any HTML breaks will be converted to linefeeds in the calling method.
cell | mxCell that represents the cell to validate. |
context | Object that represents the global validation state. |
mxGraph.prototype.getBackgroundImage = function()
Returns the backgroundImage as an mxImage.
mxGraph.prototype.getBackgroundImage = function()
Returns the backgroundImage as an mxImage.
mxGraph.prototype.setBackgroundImage = function( image )
Sets the new backgroundImage.
image | New mxImage to be used for the background. |
mxGraph.prototype.setBackgroundImage = function( image )
Sets the new backgroundImage.
image | New mxImage to be used for the background. |
mxGraph.prototype.getFoldingImage = function( state )
Returns the mxImage used to display the collapsed state of the specified cell state. This returns null for all edges.
mxGraph.prototype.getFoldingImage = function( state )
Returns the mxImage used to display the collapsed state of the specified cell state. This returns null for all edges.
mxGraph.prototype.convertValueToString = function( cell )
Returns the textual representation for the given cell. This implementation returns the nodename or string-representation of the user object.
The following returns the label attribute from the cells user object if it is an XML node.
graph.convertValueToString = function(cell) { return cell.getAttribute('label'); -}
See also: cellLabelChanged.
cell | mxCell whose textual representation should be returned. |
See also: cellLabelChanged.
cell | mxCell whose textual representation should be returned. |
mxGraph.prototype.getLabel = function( cell )
Returns a string or DOM node that represents the label for the given cell. This implementation uses convertValueToString if labelsVisible is true. Otherwise it returns an empty string.
To truncate a label to match the size of the cell, the following code can be used.
graph.getLabel = function(cell) ++});getLabel
mxGraph.prototype.getLabel = function( cell ) Returns a string or DOM node that represents the label for the given cell. This implementation uses convertValueToString if labelsVisible is true. Otherwise it returns an empty string.
To truncate a label to match the size of the cell, the following code can be used.
graph.getLabel = function(cell) { var label = mxGraph.prototype.getLabel.apply(this, arguments); @@ -915,15 +915,15 @@ var bounds = graph.getBoundingBoxFromGeometry(cells, true);Parameters
cell mxCell whose label should be returned.
cell | mxCell whose label should be returned. |
mxGraph.prototype.isHtmlLabel = function( cell )
Returns true if the label must be rendered as HTML markup. The default implementation returns htmlLabels.
cell | mxCell whose label should be displayed as HTML markup. |
mxGraph.prototype.isHtmlLabel = function( cell )
Returns true if the label must be rendered as HTML markup. The default implementation returns htmlLabels.
cell | mxCell whose label should be displayed as HTML markup. |
mxGraph.prototype.isHtmlLabels = function()
Returns htmlLabels.
mxGraph.prototype.isHtmlLabels = function()
Returns htmlLabels.
mxGraph.prototype.setHtmlLabels = function( value )
Sets htmlLabels.
mxGraph.prototype.setHtmlLabels = function( value )
Sets htmlLabels.
mxGraph.prototype.isWrapping = function( cell )
This enables wrapping for HTML labels.
Returns true if no white-space CSS style directive should be used for displaying the given cells label. This implementation returns true if mxConstants.STYLE_WHITE_SPACE in the style of the given cell is ‘wrap’.
This is used as a workaround for IE ignoring the white-space directive of child elements if the directive appears in a parent element. It should be overridden to return true if a white-space directive is used in the HTML markup that represents the given cells label. In order for HTML markup to work in labels, isHtmlLabel must also return true for the given cell.
graph.getLabel = function(cell) ++}isWrapping
mxGraph.prototype.isWrapping = function( cell ) This enables wrapping for HTML labels.
Returns true if no white-space CSS style directive should be used for displaying the given cells label. This implementation returns true if mxConstants.STYLE_WHITE_SPACE in the style of the given cell is ‘wrap’.
This is used as a workaround for IE ignoring the white-space directive of child elements if the directive appears in a parent element. It should be overridden to return true if a white-space directive is used in the HTML markup that represents the given cells label. In order for HTML markup to work in labels, isHtmlLabel must also return true for the given cell.
Example
graph.getLabel = function(cell) { var tmp = mxGraph.prototype.getLabel.apply(this, arguments); // "supercall" @@ -938,355 +938,355 @@ var bounds = graph.getBoundingBoxFromGeometry(cells, true);Makes sure no edge label is wider than 150 pixels, otherwise the content is wrapped. Note: No width must be specified for wrapped vertex labels as the vertex defines the width in its geometry.
Parameters
state mxCell whose label should be wrapped.
Makes sure no edge label is wider than 150 pixels, otherwise the content is wrapped. Note: No width must be specified for wrapped vertex labels as the vertex defines the width in its geometry.
state | mxCell whose label should be wrapped. |
mxGraph.prototype.isLabelClipped = function( cell )
Returns true if the overflow portion of labels should be hidden. If this returns true then vertex labels will be clipped to the size of the vertices. This implementation returns true if mxConstants.STYLE_OVERFLOW in the style of the given cell is ‘hidden’.
state | mxCell whose label should be clipped. |
mxGraph.prototype.isLabelClipped = function( cell )
Returns true if the overflow portion of labels should be hidden. If this returns true then vertex labels will be clipped to the size of the vertices. This implementation returns true if mxConstants.STYLE_OVERFLOW in the style of the given cell is ‘hidden’.
state | mxCell whose label should be clipped. |
mxGraph.prototype.getTooltip = function( state, node, x, y )
Returns the string or DOM node that represents the tooltip for the given state, node and coordinate pair. This implementation checks if the given node is a folding icon or overlay and returns the respective tooltip. If this does not result in a tooltip, the handler for the cell is retrieved from <selectionCellsHandler> and the optional getTooltipForNode method is called. If no special tooltip exists here then getTooltipForCell is used with the cell in the given state as the argument to return a tooltip for the given state.
state | mxCellState whose tooltip should be returned. |
node | DOM node that is currently under the mouse. |
x | X-coordinate of the mouse. |
y | Y-coordinate of the mouse. |
mxGraph.prototype.getTooltip = function( state, node, x, y )
Returns the string or DOM node that represents the tooltip for the given state, node and coordinate pair. This implementation checks if the given node is a folding icon or overlay and returns the respective tooltip. If this does not result in a tooltip, the handler for the cell is retrieved from <selectionCellsHandler> and the optional getTooltipForNode method is called. If no special tooltip exists here then getTooltipForCell is used with the cell in the given state as the argument to return a tooltip for the given state.
state | mxCellState whose tooltip should be returned. |
node | DOM node that is currently under the mouse. |
x | X-coordinate of the mouse. |
y | Y-coordinate of the mouse. |
mxGraph.prototype.getTooltipForCell = function( cell )
Returns the string or DOM node to be used as the tooltip for the given cell. This implementation uses the cells getTooltip function if it exists, or else it returns convertValueToString for the cell.
graph.getTooltipForCell = function(cell) ++}getTooltipForCell
mxGraph.prototype.getTooltipForCell = function( cell ) Returns the string or DOM node to be used as the tooltip for the given cell. This implementation uses the cells getTooltip function if it exists, or else it returns convertValueToString for the cell.
Example
graph.getTooltipForCell = function(cell) { return 'Hello, World!'; -}Replaces all tooltips with the string Hello, World!
Parameters
cell mxCell whose tooltip should be returned.
Replaces all tooltips with the string Hello, World!
cell | mxCell whose tooltip should be returned. |
mxGraph.prototype.getLinkForCell = function( cell )
Returns the string to be used as the link for the given cell. This implementation returns null.
cell | mxCell whose tooltip should be returned. |
mxGraph.prototype.getLinkForCell = function( cell )
Returns the string to be used as the link for the given cell. This implementation returns null.
cell | mxCell whose tooltip should be returned. |
mxGraph.prototype.getCursorForMouseEvent = function( me )
Returns the cursor value to be used for the CSS of the shape for the given event. This implementation calls getCursorForCell.
me | mxMouseEvent whose cursor should be returned. |
mxGraph.prototype.getCursorForMouseEvent = function( me )
Returns the cursor value to be used for the CSS of the shape for the given event. This implementation calls getCursorForCell.
me | mxMouseEvent whose cursor should be returned. |
mxGraph.prototype.getCursorForCell = function( cell )
Returns the cursor value to be used for the CSS of the shape for the given cell. This implementation returns null.
cell | mxCell whose cursor should be returned. |
mxGraph.prototype.getCursorForCell = function( cell )
Returns the cursor value to be used for the CSS of the shape for the given cell. This implementation returns null.
cell | mxCell whose cursor should be returned. |
mxGraph.prototype.getStartSize = function( swimlane )
Returns the start size of the given swimlane, that is, the width or height of the part that contains the title, depending on the horizontal style. The return value is an mxRectangle with either width or height set as appropriate.
swimlane | mxCell whose start size should be returned. |
mxGraph.prototype.getStartSize = function( swimlane )
Returns the start size of the given swimlane, that is, the width or height of the part that contains the title, depending on the horizontal style. The return value is an mxRectangle with either width or height set as appropriate.
swimlane | mxCell whose start size should be returned. |
mxGraph.prototype.getImage = function( state )
Returns the image URL for the given cell state. This implementation returns the value stored under mxConstants.STYLE_IMAGE in the cell style.
state | mxCellState whose image URL should be returned. |
mxGraph.prototype.getImage = function( state )
Returns the image URL for the given cell state. This implementation returns the value stored under mxConstants.STYLE_IMAGE in the cell style.
state | mxCellState whose image URL should be returned. |
mxGraph.prototype.getVerticalAlign = function( state )
Returns the vertical alignment for the given cell state. This implementation returns the value stored under mxConstants.STYLE_VERTICAL_ALIGN in the cell style.
state | mxCellState whose vertical alignment should be returned. |
mxGraph.prototype.getVerticalAlign = function( state )
Returns the vertical alignment for the given cell state. This implementation returns the value stored under mxConstants.STYLE_VERTICAL_ALIGN in the cell style.
state | mxCellState whose vertical alignment should be returned. |
mxGraph.prototype.getIndicatorColor = function( state )
Returns the indicator color for the given cell state. This implementation returns the value stored under mxConstants.STYLE_INDICATOR_COLOR in the cell style.
state | mxCellState whose indicator color should be returned. |
mxGraph.prototype.getIndicatorColor = function( state )
Returns the indicator color for the given cell state. This implementation returns the value stored under mxConstants.STYLE_INDICATOR_COLOR in the cell style.
state | mxCellState whose indicator color should be returned. |
mxGraph.prototype.getIndicatorGradientColor = function( state )
Returns the indicator gradient color for the given cell state. This implementation returns the value stored under mxConstants.STYLE_INDICATOR_GRADIENTCOLOR in the cell style.
state | mxCellState whose indicator gradient color should be returned. |
mxGraph.prototype.getIndicatorGradientColor = function( state )
Returns the indicator gradient color for the given cell state. This implementation returns the value stored under mxConstants.STYLE_INDICATOR_GRADIENTCOLOR in the cell style.
state | mxCellState whose indicator gradient color should be returned. |
mxGraph.prototype.getIndicatorShape = function( state )
Returns the indicator shape for the given cell state. This implementation returns the value stored under mxConstants.STYLE_INDICATOR_SHAPE in the cell style.
state | mxCellState whose indicator shape should be returned. |
mxGraph.prototype.getIndicatorShape = function( state )
Returns the indicator shape for the given cell state. This implementation returns the value stored under mxConstants.STYLE_INDICATOR_SHAPE in the cell style.
state | mxCellState whose indicator shape should be returned. |
mxGraph.prototype.getIndicatorImage = function( state )
Returns the indicator image for the given cell state. This implementation returns the value stored under mxConstants.STYLE_INDICATOR_IMAGE in the cell style.
state | mxCellState whose indicator image should be returned. |
mxGraph.prototype.getIndicatorImage = function( state )
Returns the indicator image for the given cell state. This implementation returns the value stored under mxConstants.STYLE_INDICATOR_IMAGE in the cell style.
state | mxCellState whose indicator image should be returned. |
mxGraph.prototype.getBorder = function()
Returns the value of border.
mxGraph.prototype.getBorder = function()
Returns the value of border.
mxGraph.prototype.setBorder = function( value )
Sets the value of border.
value | Positive integer that represents the border to be used. |
mxGraph.prototype.setBorder = function( value )
Sets the value of border.
value | Positive integer that represents the border to be used. |
mxGraph.prototype.isSwimlane = function ( cell )
Returns true if the given cell is a swimlane in the graph. A swimlane is a container cell with some specific behaviour. This implementation checks if the shape associated with the given cell is a mxSwimlane.
cell | mxCell to be checked. |
mxGraph.prototype.isSwimlane = function ( cell )
Returns true if the given cell is a swimlane in the graph. A swimlane is a container cell with some specific behaviour. This implementation checks if the shape associated with the given cell is a mxSwimlane.
cell | mxCell to be checked. |
mxGraph.prototype.isResizeContainer = function()
Returns resizeContainer.
mxGraph.prototype.isResizeContainer = function()
Returns resizeContainer.
mxGraph.prototype.setResizeContainer = function( value )
Sets resizeContainer.
value | Boolean indicating if the container should be resized. |
mxGraph.prototype.setResizeContainer = function( value )
Sets resizeContainer.
value | Boolean indicating if the container should be resized. |
mxGraph.prototype.isEnabled = function()
Returns true if the graph is enabled.
mxGraph.prototype.isEnabled = function()
Returns true if the graph is enabled.
mxGraph.prototype.setEnabled = function( value )
Specifies if the graph should allow any interactions. This implementation updates enabled.
value | Boolean indicating if the graph should be enabled. |
mxGraph.prototype.setEnabled = function( value )
Specifies if the graph should allow any interactions. This implementation updates enabled.
value | Boolean indicating if the graph should be enabled. |
mxGraph.prototype.isEscapeEnabled = function()
Returns escapeEnabled.
mxGraph.prototype.isEscapeEnabled = function()
Returns escapeEnabled.
mxGraph.prototype.setEscapeEnabled = function( value )
Sets escapeEnabled.
enabled | Boolean indicating if escape should be enabled. |
mxGraph.prototype.setEscapeEnabled = function( value )
Sets escapeEnabled.
enabled | Boolean indicating if escape should be enabled. |
mxGraph.prototype.isInvokesStopCellEditing = function()
Returns invokesStopCellEditing.
mxGraph.prototype.isInvokesStopCellEditing = function()
Returns invokesStopCellEditing.
mxGraph.prototype.setInvokesStopCellEditing = function( value )
Sets invokesStopCellEditing.
mxGraph.prototype.setInvokesStopCellEditing = function( value )
Sets invokesStopCellEditing.
mxGraph.prototype.isEnterStopsCellEditing = function()
Returns enterStopsCellEditing.
mxGraph.prototype.isEnterStopsCellEditing = function()
Returns enterStopsCellEditing.
mxGraph.prototype.setEnterStopsCellEditing = function( value )
Sets enterStopsCellEditing.
mxGraph.prototype.setEnterStopsCellEditing = function( value )
Sets enterStopsCellEditing.
mxGraph.prototype.isCellLocked = function( cell )
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected. This implementation returns true for all vertices with a relative geometry if <locked> is false.
cell | mxCell whose locked state should be returned. |
mxGraph.prototype.isCellLocked = function( cell )
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected. This implementation returns true for all vertices with a relative geometry if <locked> is false.
cell | mxCell whose locked state should be returned. |
mxGraph.prototype.isCellsLocked = function()
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected. This implementation returns true for all vertices with a relative geometry if <locked> is false.
cell | mxCell whose locked state should be returned. |
mxGraph.prototype.isCellsLocked = function()
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected. This implementation returns true for all vertices with a relative geometry if <locked> is false.
cell | mxCell whose locked state should be returned. |
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
value | Boolean that defines the new value for cellsLocked. |
mxGraph.prototype.setCellsLocked = function( value )
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
value | Boolean that defines the new value for cellsLocked. |
mxGraph.prototype.isCellCloneable = function( cell )
Returns true if the given cell is cloneable. This implementation returns isCellsCloneable for all cells unless a cell style specifies mxConstants.STYLE_CLONEABLE to be 0.
cell | Optional mxCell whose cloneable state should be returned. |
mxGraph.prototype.isCellCloneable = function( cell )
Returns true if the given cell is cloneable. This implementation returns isCellsCloneable for all cells unless a cell style specifies mxConstants.STYLE_CLONEABLE to be 0.
cell | Optional mxCell whose cloneable state should be returned. |
mxGraph.prototype.isCellsCloneable = function()
Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
mxGraph.prototype.isCellsCloneable = function()
Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
mxGraph.prototype.setCellsCloneable = function( value )
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved. This implementation updates cellsCloneable.
value | Boolean indicating if the graph should be cloneable. |
mxGraph.prototype.setCellsCloneable = function( value )
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved. This implementation updates cellsCloneable.
value | Boolean indicating if the graph should be cloneable. |
mxGraph.prototype.canExportCell = function( cell )
Returns true if the given cell may be exported to the clipboard. This implementation returns exportEnabled for all cells.
cell | mxCell that represents the cell to be exported. |
mxGraph.prototype.canExportCell = function( cell )
Returns true if the given cell may be exported to the clipboard. This implementation returns exportEnabled for all cells.
cell | mxCell that represents the cell to be exported. |
mxGraph.prototype.canImportCell = function( cell )
Returns true if the given cell may be imported from the clipboard. This implementation returns importEnabled for all cells.
cell | mxCell that represents the cell to be imported. |
mxGraph.prototype.canImportCell = function( cell )
Returns true if the given cell may be imported from the clipboard. This implementation returns importEnabled for all cells.
cell | mxCell that represents the cell to be imported. |
mxGraph.prototype.isCellSelectable = function( cell )
Returns true if the given cell is selectable. This implementation returns cellsSelectable.
To add a new style for making cells (un)selectable, use the following code.
mxGraph.prototype.isCellSelectable = function(cell) ++};isCellSelectable
mxGraph.prototype.isCellSelectable = function( cell ) Returns true if the given cell is selectable. This implementation returns cellsSelectable.
To add a new style for making cells (un)selectable, use the following code.
mxGraph.prototype.isCellSelectable = function(cell) { var state = this.view.getState(cell); var style = (state != null) ? state.style : this.getCellStyle(cell); return this.isCellsSelectable() && !this.isCellLocked(cell) && style['selectable'] != 0; -};You can then use the new style as shown in this example.
graph.insertVertex(parent, null, 'Hello,', 20, 20, 80, 30, 'selectable=0');Parameters
cell mxCell whose selectable state should be returned.
You can then use the new style as shown in this example.
graph.insertVertex(parent, null, 'Hello,', 20, 20, 80, 30, 'selectable=0');
cell | mxCell whose selectable state should be returned. |
mxGraph.prototype.isCellsSelectable = function()
Returns cellsSelectable.
mxGraph.prototype.isCellsSelectable = function()
Returns cellsSelectable.
mxGraph.prototype.setCellsSelectable = function( value )
Sets cellsSelectable.
mxGraph.prototype.setCellsSelectable = function( value )
Sets cellsSelectable.
mxGraph.prototype.isCellDeletable = function( cell )
Returns true if the given cell is moveable. This returns cellsDeletable for all given cells if a cells style does not specify mxConstants.STYLE_DELETABLE to be 0.
cell | mxCell whose deletable state should be returned. |
mxGraph.prototype.isCellDeletable = function( cell )
Returns true if the given cell is moveable. This returns cellsDeletable for all given cells if a cells style does not specify mxConstants.STYLE_DELETABLE to be 0.
cell | mxCell whose deletable state should be returned. |
mxGraph.prototype.isCellsDeletable = function()
Returns cellsDeletable.
mxGraph.prototype.isCellsDeletable = function()
Returns cellsDeletable.
mxGraph.prototype.setCellsDeletable = function( value )
Sets cellsDeletable.
value | Boolean indicating if the graph should allow deletion of cells. |
mxGraph.prototype.setCellsDeletable = function( value )
Sets cellsDeletable.
value | Boolean indicating if the graph should allow deletion of cells. |
mxGraph.prototype.isLabelMovable = function( cell )
Returns true if the given edges’s label is moveable. This returns <movable> for all given cells if <isLocked> does not return true for the given cell.
cell | mxCell whose label should be moved. |
mxGraph.prototype.isLabelMovable = function( cell )
Returns true if the given edges’s label is moveable. This returns <movable> for all given cells if <isLocked> does not return true for the given cell.
cell | mxCell whose label should be moved. |
mxGraph.prototype.isCellRotatable = function( cell )
Returns true if the given cell is rotatable. This returns true for the given cell if its style does not specify mxConstants.STYLE_ROTATABLE to be 0.
cell | mxCell whose rotatable state should be returned. |
mxGraph.prototype.isCellRotatable = function( cell )
Returns true if the given cell is rotatable. This returns true for the given cell if its style does not specify mxConstants.STYLE_ROTATABLE to be 0.
cell | mxCell whose rotatable state should be returned. |
mxGraph.prototype.isCellMovable = function( cell )
Returns true if the given cell is moveable. This returns cellsMovable for all given cells if isCellLocked does not return true for the given cell and its style does not specify mxConstants.STYLE_MOVABLE to be 0.
cell | mxCell whose movable state should be returned. |
mxGraph.prototype.isCellMovable = function( cell )
Returns true if the given cell is moveable. This returns cellsMovable for all given cells if isCellLocked does not return true for the given cell and its style does not specify mxConstants.STYLE_MOVABLE to be 0.
cell | mxCell whose movable state should be returned. |
mxGraph.prototype.isCellsMovable = function()
Returns cellsMovable.
mxGraph.prototype.isCellsMovable = function()
Returns cellsMovable.
mxGraph.prototype.isGridEnabled = function()
Returns gridEnabled as a boolean.
mxGraph.prototype.isGridEnabled = function()
Returns gridEnabled as a boolean.
mxGraph.prototype.isPortsEnabled = function()
Returns portsEnabled as a boolean.
mxGraph.prototype.isPortsEnabled = function()
Returns portsEnabled as a boolean.
mxGraph.prototype.getGridSize = function()
Returns gridSize.
mxGraph.prototype.getGridSize = function()
Returns gridSize.
mxGraph.prototype.setGridSize = function( value )
Sets gridSize.
mxGraph.prototype.setGridSize = function( value )
Sets gridSize.
mxGraph.prototype.getTolerance = function()
Returns tolerance.
mxGraph.prototype.getTolerance = function()
Returns tolerance.
mxGraph.prototype.setTolerance = function( value )
Sets tolerance.
mxGraph.prototype.setTolerance = function( value )
Sets tolerance.
mxGraph.prototype.isVertexLabelsMovable = function()
Returns vertexLabelsMovable.
mxGraph.prototype.isVertexLabelsMovable = function()
Returns vertexLabelsMovable.
mxGraph.prototype.setVertexLabelsMovable = function( value )
Sets vertexLabelsMovable.
mxGraph.prototype.setVertexLabelsMovable = function( value )
Sets vertexLabelsMovable.
mxGraph.prototype.isEdgeLabelsMovable = function()
Returns edgeLabelsMovable.
mxGraph.prototype.isEdgeLabelsMovable = function()
Returns edgeLabelsMovable.
Sets edgeLabelsMovable.
Sets edgeLabelsMovable.
mxGraph.prototype.isSwimlaneNesting = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.isSwimlaneNesting = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.isMultigraph = function()
Returns multigraph as a boolean.
mxGraph.prototype.isMultigraph = function()
Returns multigraph as a boolean.
mxGraph.prototype.isAllowLoops = function()
Returns allowLoops as a boolean.
mxGraph.prototype.isAllowLoops = function()
Returns allowLoops as a boolean.
mxGraph.prototype.isAllowDanglingEdges = function()
Returns allowDanglingEdges as a boolean.
mxGraph.prototype.isAllowDanglingEdges = function()
Returns allowDanglingEdges as a boolean.
mxGraph.prototype.isConnectableEdges = function()
Returns connectableEdges as a boolean.
mxGraph.prototype.isConnectableEdges = function()
Returns connectableEdges as a boolean.
mxGraph.prototype.setCloneInvalidEdges = function( value )
Specifies if edges should be inserted when cloned but not valid wrt. getEdgeValidationError. If false such edges will be silently ignored.
value | Boolean indicating if cloned invalid edges should be inserted into the graph or ignored. |
mxGraph.prototype.setCloneInvalidEdges = function( value )
Specifies if edges should be inserted when cloned but not valid wrt. getEdgeValidationError. If false such edges will be silently ignored.
value | Boolean indicating if cloned invalid edges should be inserted into the graph or ignored. |
mxGraph.prototype.isCloneInvalidEdges = function()
Returns cloneInvalidEdges as a boolean.
mxGraph.prototype.isCloneInvalidEdges = function()
Returns cloneInvalidEdges as a boolean.
mxGraph.prototype.isDisconnectOnMove = function()
Returns disconnectOnMove as a boolean.
mxGraph.prototype.isDisconnectOnMove = function()
Returns disconnectOnMove as a boolean.
mxGraph.prototype.isDropEnabled = function()
Returns dropEnabled as a boolean.
mxGraph.prototype.isDropEnabled = function()
Returns dropEnabled as a boolean.
mxGraph.prototype.isSplitEnabled = function()
Returns splitEnabled as a boolean.
mxGraph.prototype.isSplitEnabled = function()
Returns splitEnabled as a boolean.
mxGraph.prototype.isCellResizable = function( cell )
Returns true if the given cell is resizable. This returns cellsResizable for all given cells if isCellLocked does not return true for the given cell and its style does not specify mxConstants.STYLE_RESIZABLE to be 0.
cell | mxCell whose resizable state should be returned. |
mxGraph.prototype.isCellResizable = function( cell )
Returns true if the given cell is resizable. This returns cellsResizable for all given cells if isCellLocked does not return true for the given cell and its style does not specify mxConstants.STYLE_RESIZABLE to be 0.
cell | mxCell whose resizable state should be returned. |
mxGraph.prototype.isCellsResizable = function()
Returns cellsResizable.
mxGraph.prototype.isCellsResizable = function()
Returns cellsResizable.
mxGraph.prototype.setCellsResizable = function( value )
Specifies if the graph should allow resizing of cells. This implementation updates cellsResizable.
value | Boolean indicating if the graph should allow resizing of cells. |
mxGraph.prototype.setCellsResizable = function( value )
Specifies if the graph should allow resizing of cells. This implementation updates cellsResizable.
value | Boolean indicating if the graph should allow resizing of cells. |
mxGraph.prototype.isTerminalPointMovable = function( cell, source )
Returns true if the given terminal point is movable. This is independent from isCellConnectable and isCellDisconnectable and controls if terminal points can be moved in the graph if the edge is not connected. Note that it is required for this to return true to connect unconnected edges. This implementation returns true.
cell | mxCell whose terminal point should be moved. |
source | Boolean indicating if the source or target terminal should be moved. |
mxGraph.prototype.isTerminalPointMovable = function( cell, source )
Returns true if the given terminal point is movable. This is independent from isCellConnectable and isCellDisconnectable and controls if terminal points can be moved in the graph if the edge is not connected. Note that it is required for this to return true to connect unconnected edges. This implementation returns true.
cell | mxCell whose terminal point should be moved. |
source | Boolean indicating if the source or target terminal should be moved. |
mxGraph.prototype.isCellBendable = function( cell )
Returns true if the given cell is bendable. This returns cellsBendable for all given cells if <isLocked> does not return true for the given cell and its style does not specify mxConstants.STYLE_BENDABLE to be 0.
cell | mxCell whose bendable state should be returned. |
mxGraph.prototype.isCellBendable = function( cell )
Returns true if the given cell is bendable. This returns cellsBendable for all given cells if <isLocked> does not return true for the given cell and its style does not specify mxConstants.STYLE_BENDABLE to be 0.
cell | mxCell whose bendable state should be returned. |
mxGraph.prototype.isCellEditable = function( cell )
Returns true if the given cell is editable. This returns cellsEditable for all given cells if isCellLocked does not return true for the given cell and its style does not specify mxConstants.STYLE_EDITABLE to be 0.
cell | mxCell whose editable state should be returned. |
mxGraph.prototype.isCellEditable = function( cell )
Returns true if the given cell is editable. This returns cellsEditable for all given cells if isCellLocked does not return true for the given cell and its style does not specify mxConstants.STYLE_EDITABLE to be 0.
cell | mxCell whose editable state should be returned. |
mxGraph.prototype.isCellsEditable = function()
Returns cellsEditable.
mxGraph.prototype.isCellsEditable = function()
Returns cellsEditable.
mxGraph.prototype.setCellsEditable = function( value )
Specifies if the graph should allow in-place editing for cell labels. This implementation updates cellsEditable.
value | Boolean indicating if the graph should allow in-place editing. |
mxGraph.prototype.setCellsEditable = function( value )
Specifies if the graph should allow in-place editing for cell labels. This implementation updates cellsEditable.
value | Boolean indicating if the graph should allow in-place editing. |
mxGraph.prototype.isCellDisconnectable = function( cell, terminal, source )
Returns true if the given cell is disconnectable from the source or target terminal. This returns isCellsDisconnectable for all given cells if isCellLocked does not return true for the given cell.
cell | mxCell whose disconnectable state should be returned. |
terminal | mxCell that represents the source or target terminal. |
source | Boolean indicating if the source or target terminal is to be disconnected. |
mxGraph.prototype.isCellDisconnectable = function( cell, terminal, source )
Returns true if the given cell is disconnectable from the source or target terminal. This returns isCellsDisconnectable for all given cells if isCellLocked does not return true for the given cell.
cell | mxCell whose disconnectable state should be returned. |
terminal | mxCell that represents the source or target terminal. |
source | Boolean indicating if the source or target terminal is to be disconnected. |
mxGraph.prototype.isCellsDisconnectable = function()
Returns cellsDisconnectable.
mxGraph.prototype.isCellsDisconnectable = function()
Returns cellsDisconnectable.
mxGraph.prototype.setCellsDisconnectable = function( value )
Sets cellsDisconnectable.
mxGraph.prototype.setCellsDisconnectable = function( value )
Sets cellsDisconnectable.
mxGraph.prototype.isValidSource = function( cell )
Returns true if the given cell is a valid source for new connections. This implementation returns true for all non-null values and is called by is called by isValidConnection.
cell | mxCell that represents a possible source or null. |
mxGraph.prototype.isValidSource = function( cell )
Returns true if the given cell is a valid source for new connections. This implementation returns true for all non-null values and is called by is called by isValidConnection.
cell | mxCell that represents a possible source or null. |
mxGraph.prototype.isValidTarget = function( cell )
Returns isValidSource for the given cell. This is called by isValidConnection.
cell | mxCell that represents a possible target or null. |
mxGraph.prototype.isValidTarget = function( cell )
Returns isValidSource for the given cell. This is called by isValidConnection.
cell | mxCell that represents a possible target or null. |
mxGraph.prototype.isValidConnection = function( source, target )
Returns true if the given target cell is a valid target for source. This is a boolean implementation for not allowing connections between certain pairs of vertices and is called by getEdgeValidationError. This implementation returns true if isValidSource returns true for the source and isValidTarget returns true for the target.
source | mxCell that represents the source cell. |
target | mxCell that represents the target cell. |
mxGraph.prototype.isValidConnection = function( source, target )
Returns true if the given target cell is a valid target for source. This is a boolean implementation for not allowing connections between certain pairs of vertices and is called by getEdgeValidationError. This implementation returns true if isValidSource returns true for the source and isValidTarget returns true for the target.
source | mxCell that represents the source cell. |
target | mxCell that represents the target cell. |
mxGraph.prototype.setConnectable = function( connectable )
Specifies if the graph should allow new connections. This implementation updates mxConnectionHandler.enabled in <connectionHandler>.
connectable | Boolean indicating if new connections should be allowed. |
mxGraph.prototype.setConnectable = function( connectable )
Specifies if the graph should allow new connections. This implementation updates mxConnectionHandler.enabled in <connectionHandler>.
connectable | Boolean indicating if new connections should be allowed. |
mxGraph.prototype.setTooltips = function ( enabled )
Specifies if tooltips should be enabled. This implementation updates mxTooltipHandler.enabled in <tooltipHandler>.
enabled | Boolean indicating if tooltips should be enabled. |
mxGraph.prototype.setTooltips = function ( enabled )
Specifies if tooltips should be enabled. This implementation updates mxTooltipHandler.enabled in <tooltipHandler>.
enabled | Boolean indicating if tooltips should be enabled. |
mxGraph.prototype.setPanning = function( enabled )
Specifies if panning should be enabled. This implementation updates mxPanningHandler.panningEnabled in <panningHandler>.
enabled | Boolean indicating if panning should be enabled. |
mxGraph.prototype.setPanning = function( enabled )
Specifies if panning should be enabled. This implementation updates mxPanningHandler.panningEnabled in <panningHandler>.
enabled | Boolean indicating if panning should be enabled. |
mxGraph.prototype.isEditing = function( cell )
Returns true if the given cell is currently being edited. If no cell is specified then this returns true if any cell is currently being edited.
cell | mxCell that should be checked. |
mxGraph.prototype.isEditing = function( cell )
Returns true if the given cell is currently being edited. If no cell is specified then this returns true if any cell is currently being edited.
cell | mxCell that should be checked. |
mxGraph.prototype.isAutoSizeCell = function( cell )
Returns true if the size of the given cell should automatically be updated after a change of the label. This implementation returns autoSizeCells or checks if the cell style does specify mxConstants.STYLE_AUTOSIZE to be 1.
cell | mxCell that should be resized. |
mxGraph.prototype.isAutoSizeCell = function( cell )
Returns true if the size of the given cell should automatically be updated after a change of the label. This implementation returns autoSizeCells or checks if the cell style does specify mxConstants.STYLE_AUTOSIZE to be 1.
cell | mxCell that should be resized. |
mxGraph.prototype.isAutoSizeCells = function()
Returns autoSizeCells.
mxGraph.prototype.isAutoSizeCells = function()
Returns autoSizeCells.
mxGraph.prototype.setAutoSizeCells = function( value )
Specifies if cell sizes should be automatically updated after a label change. This implementation sets autoSizeCells to the given parameter. To update the size of cells when the cells are added, set autoSizeCellsOnAdd to true.
value | Boolean indicating if cells should be resized automatically. |
mxGraph.prototype.setAutoSizeCells = function( value )
Specifies if cell sizes should be automatically updated after a label change. This implementation sets autoSizeCells to the given parameter. To update the size of cells when the cells are added, set autoSizeCellsOnAdd to true.
value | Boolean indicating if cells should be resized automatically. |
mxGraph.prototype.isExtendParent = function( cell )
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent. This implementation returns isExtendParents if the cell is not an edge.
cell | mxCell that has been resized. |
mxGraph.prototype.isExtendParent = function( cell )
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent. This implementation returns isExtendParents if the cell is not an edge.
cell | mxCell that has been resized. |
mxGraph.prototype.isExtendParents = function()
Returns extendParents.
mxGraph.prototype.isExtendParents = function()
Returns extendParents.
mxGraph.prototype.setExtendParents = function( value )
Sets extendParents.
value | New boolean value for extendParents. |
mxGraph.prototype.setExtendParents = function( value )
Sets extendParents.
value | New boolean value for extendParents. |
mxGraph.prototype.isExtendParentsOnAdd = function( cell )
Returns extendParentsOnAdd.
mxGraph.prototype.isExtendParentsOnAdd = function( cell )
Returns extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnAdd = function( value )
Sets extendParentsOnAdd.
value | New boolean value for extendParentsOnAdd. |
mxGraph.prototype.setExtendParentsOnAdd = function( value )
Sets extendParentsOnAdd.
value | New boolean value for extendParentsOnAdd. |
mxGraph.prototype.setExtendParentsOnMove = function( value )
Sets <extendParentsOnMove>.
value | New boolean value for extendParentsOnAdd. |
mxGraph.prototype.setExtendParentsOnMove = function( value )
Sets <extendParentsOnMove>.
value | New boolean value for extendParentsOnAdd. |
mxGraph.prototype.isRecursiveResize = function( state )
Returns recursiveResize.
state | mxCellState that is being resized. |
mxGraph.prototype.isRecursiveResize = function( state )
Returns recursiveResize.
state | mxCellState that is being resized. |
mxGraph.prototype.setRecursiveResize = function( value )
Sets recursiveResize.
value | New boolean value for recursiveResize. |
mxGraph.prototype.setRecursiveResize = function( value )
Sets recursiveResize.
value | New boolean value for recursiveResize. |
mxGraph.prototype.isConstrainChild = function( cell )
Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent. This implementation returns false for all children of edges and isConstrainChildren otherwise.
cell | mxCell that should be constrained. |
mxGraph.prototype.isConstrainChild = function( cell )
Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent. This implementation returns false for all children of edges and isConstrainChildren otherwise.
cell | mxCell that should be constrained. |
mxGraph.prototype.isConstrainChildren = function()
Returns constrainChildren.
mxGraph.prototype.isConstrainChildren = function()
Returns constrainChildren.
mxGraph.prototype.setConstrainChildren = function( value )
Sets constrainChildren.
mxGraph.prototype.setConstrainChildren = function( value )
Sets constrainChildren.
mxGraph.prototype.isConstrainRelativeChildren = function()
Returns constrainRelativeChildren.
mxGraph.prototype.isConstrainRelativeChildren = function()
Returns constrainRelativeChildren.
Returns allowNegativeCoordinates.
Returns allowNegativeCoordinates.
Sets allowNegativeCoordinates.
Sets allowNegativeCoordinates.
mxGraph.prototype.getOverlap = function( cell )
Returns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent. A value of 0 means all children must stay inside the parent, 1 means the child is allowed to be placed outside of the parent such that it touches one of the parents sides. If isAllowOverlapParent returns false for the given cell, then this method returns 0.
cell | mxCell for which the overlap ratio should be returned. |
mxGraph.prototype.getOverlap = function( cell )
Returns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent. A value of 0 means all children must stay inside the parent, 1 means the child is allowed to be placed outside of the parent such that it touches one of the parents sides. If isAllowOverlapParent returns false for the given cell, then this method returns 0.
cell | mxCell for which the overlap ratio should be returned. |
mxGraph.prototype.isAllowOverlapParent = function( cell )
Returns true if the given cell is allowed to be placed outside of the parents area.
cell | mxCell that represents the child to be checked. |
mxGraph.prototype.isAllowOverlapParent = function( cell )
Returns true if the given cell is allowed to be placed outside of the parents area.
cell | mxCell that represents the child to be checked. |
mxGraph.prototype.isCellFoldable = function( cell, collapse )
Returns true if the given cell is foldable. This implementation returns true if the cell has at least one child and its style does not specify mxConstants.STYLE_FOLDABLE to be 0.
cell | mxCell whose foldable state should be returned. |
mxGraph.prototype.isCellFoldable = function( cell, collapse )
Returns true if the given cell is foldable. This implementation returns true if the cell has at least one child and its style does not specify mxConstants.STYLE_FOLDABLE to be 0.
cell | mxCell whose foldable state should be returned. |
mxGraph.prototype.isValidDropTarget = function( cell, cells, evt )
Returns true if the given cell is a valid drop target for the specified cells. If splitEnabled is true then this returns isSplitTarget for the given arguments else it returns true if the cell is not collapsed and its child count is greater than 0.
cell | mxCell that represents the possible drop target. |
cells | mxCells that should be dropped into the target. |
evt | Mouseevent that triggered the invocation. |
mxGraph.prototype.isValidDropTarget = function( cell, cells, evt )
Returns true if the given cell is a valid drop target for the specified cells. If splitEnabled is true then this returns isSplitTarget for the given arguments else it returns true if the cell is not collapsed and its child count is greater than 0.
cell | mxCell that represents the possible drop target. |
cells | mxCells that should be dropped into the target. |
evt | Mouseevent that triggered the invocation. |
mxGraph.prototype.isSplitTarget = function( target, cells, evt )
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
target | mxCell that represents the edge to be splitted. |
cells | mxCells that should split the edge. |
evt | Mouseevent that triggered the invocation. |
mxGraph.prototype.isSplitTarget = function( target, cells, evt )
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
target | mxCell that represents the edge to be splitted. |
cells | mxCells that should split the edge. |
evt | Mouseevent that triggered the invocation. |
mxGraph.prototype.getDropTarget = function( cells, evt, cell, clone )
Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells. If the given array contains a swimlane and swimlaneNesting is false then this always returns null. If no cell is given, then the bottommost swimlane at the location of the given event is returned.
This function should only be used if isDropEnabled returns true.
cells | Array of mxCells which are to be dropped onto the target. |
evt | Mouseevent for the drag and drop. |
cell | mxCell that is under the mousepointer. |
clone | Optional boolean to indicate of cells will be cloned. |
mxGraph.prototype.getDropTarget = function( cells, evt, cell, clone )
Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells. If the given array contains a swimlane and swimlaneNesting is false then this always returns null. If no cell is given, then the bottommost swimlane at the location of the given event is returned.
This function should only be used if isDropEnabled returns true.
cells | Array of mxCells which are to be dropped onto the target. |
evt | Mouseevent for the drag and drop. |
cell | mxCell that is under the mousepointer. |
clone | Optional boolean to indicate of cells will be cloned. |
mxGraph.prototype.getDefaultParent = function()
Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null. The value returned by this function should be used as the parent for new cells (aka default layer).
mxGraph.prototype.getDefaultParent = function()
Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null. The value returned by this function should be used as the parent for new cells (aka default layer).
mxGraph.prototype.setDefaultParent = function( cell )
Sets the defaultParent to the given cell. Set this to null to return the first child of the root in getDefaultParent.
mxGraph.prototype.setDefaultParent = function( cell )
Sets the defaultParent to the given cell. Set this to null to return the first child of the root in getDefaultParent.
mxGraph.prototype.getSwimlane = function( cell )
Returns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane.
cell | mxCell for which the ancestor swimlane should be returned. |
mxGraph.prototype.getSwimlane = function( cell )
Returns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane.
cell | mxCell for which the ancestor swimlane should be returned. |
mxGraph.prototype.getSwimlaneAt = function ( x, y, parent )
Returns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
x | X-coordinate of the location to be checked. |
y | Y-coordinate of the location to be checked. |
parent | mxCell that should be used as the root of the recursion. Default is defaultParent. |
mxGraph.prototype.getSwimlaneAt = function ( x, y, parent )
Returns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
x | X-coordinate of the location to be checked. |
y | Y-coordinate of the location to be checked. |
parent | mxCell that should be used as the root of the recursion. Default is defaultParent. |
mxGraph.prototype.getCellAt = function( x, y, parent, vertices, edges, ignoreFn )
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent. This will also return swimlanes if the given location intersects the content area of the swimlane. If this is not desired, then the hitsSwimlaneContent may be used if the returned cell is a swimlane to determine if the location is inside the content area or on the actual title of the swimlane.
x | X-coordinate of the location to be checked. |
y | Y-coordinate of the location to be checked. |
parent | mxCell that should be used as the root of the recursion. Default is current root of the view or the root of the model. |
vertices | Optional boolean indicating if vertices should be returned. Default is true. |
edges | Optional boolean indicating if edges should be returned. Default is true. |
ignoreFn | Optional function that returns true if cell should be ignored. The function is passed the cell state and the x and y parameter. |
mxGraph.prototype.getCellAt = function( x, y, parent, vertices, edges, ignoreFn )
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent. This will also return swimlanes if the given location intersects the content area of the swimlane. If this is not desired, then the hitsSwimlaneContent may be used if the returned cell is a swimlane to determine if the location is inside the content area or on the actual title of the swimlane.
x | X-coordinate of the location to be checked. |
y | Y-coordinate of the location to be checked. |
parent | mxCell that should be used as the root of the recursion. Default is current root of the view or the root of the model. |
vertices | Optional boolean indicating if vertices should be returned. Default is true. |
edges | Optional boolean indicating if edges should be returned. Default is true. |
ignoreFn | Optional function that returns true if cell should be ignored. The function is passed the cell state and the x and y parameter. |
mxGraph.prototype.intersects = function( state, x, y )
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
state | mxCellState that represents the cell state. |
x | X-coordinate of the location to be checked. |
y | Y-coordinate of the location to be checked. |
mxGraph.prototype.intersects = function( state, x, y )
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
state | mxCellState that represents the cell state. |
x | X-coordinate of the location to be checked. |
y | Y-coordinate of the location to be checked. |
mxGraph.prototype.hitsSwimlaneContent = function( swimlane, x, y )
Returns true if the given coordinate pair is inside the content are of the given swimlane.
swimlane | mxCell that specifies the swimlane. |
x | X-coordinate of the mouse event. |
y | Y-coordinate of the mouse event. |
mxGraph.prototype.hitsSwimlaneContent = function( swimlane, x, y )
Returns true if the given coordinate pair is inside the content are of the given swimlane.
swimlane | mxCell that specifies the swimlane. |
x | X-coordinate of the mouse event. |
y | Y-coordinate of the mouse event. |
mxGraph.prototype.getChildVertices = function( parent )
Returns the visible child vertices of the given parent.
parent | mxCell whose children should be returned. |
mxGraph.prototype.getChildVertices = function( parent )
Returns the visible child vertices of the given parent.
parent | mxCell whose children should be returned. |
mxGraph.prototype.getChildEdges = function( parent )
Returns the visible child edges of the given parent.
parent | mxCell whose child vertices should be returned. |
mxGraph.prototype.getChildEdges = function( parent )
Returns the visible child edges of the given parent.
parent | mxCell whose child vertices should be returned. |
mxGraph.prototype.getChildCells = function( parent, vertices, edges )
Returns the visible child vertices or edges in the given parent. If vertices and edges is false, then all children are returned.
parent | mxCell whose children should be returned. |
vertices | Optional boolean that specifies if child vertices should be returned. Default is false. |
edges | Optional boolean that specifies if child edges should be returned. Default is false. |
mxGraph.prototype.getChildCells = function( parent, vertices, edges )
Returns the visible child vertices or edges in the given parent. If vertices and edges is false, then all children are returned.
parent | mxCell whose children should be returned. |
vertices | Optional boolean that specifies if child vertices should be returned. Default is false. |
edges | Optional boolean that specifies if child edges should be returned. Default is false. |
mxGraph.prototype.getConnections = function( cell, parent )
Returns all visible edges connected to the given cell without loops.
cell | mxCell whose connections should be returned. |
parent | Optional parent of the opposite end for a connection to be returned. |
mxGraph.prototype.getConnections = function( cell, parent )
Returns all visible edges connected to the given cell without loops.
cell | mxCell whose connections should be returned. |
parent | Optional parent of the opposite end for a connection to be returned. |
mxGraph.prototype.getIncomingEdges = function( cell, parent )
Returns the visible incoming edges for the given cell. If the optional parent argument is specified, then only child edges of the given parent are returned.
cell | mxCell whose incoming edges should be returned. |
parent | Optional parent of the opposite end for an edge to be returned. |
mxGraph.prototype.getIncomingEdges = function( cell, parent )
Returns the visible incoming edges for the given cell. If the optional parent argument is specified, then only child edges of the given parent are returned.
cell | mxCell whose incoming edges should be returned. |
parent | Optional parent of the opposite end for an edge to be returned. |
mxGraph.prototype.getOutgoingEdges = function( cell, parent )
Returns the visible outgoing edges for the given cell. If the optional parent argument is specified, then only child edges of the given parent are returned.
cell | mxCell whose outgoing edges should be returned. |
parent | Optional parent of the opposite end for an edge to be returned. |
mxGraph.prototype.getOutgoingEdges = function( cell, parent )
Returns the visible outgoing edges for the given cell. If the optional parent argument is specified, then only child edges of the given parent are returned.
cell | mxCell whose outgoing edges should be returned. |
parent | Optional parent of the opposite end for an edge to be returned. |
mxGraph.prototype.getEdges = function( cell, parent, incoming, outgoing, includeLoops, recurse )
Returns the incoming and/or outgoing edges for the given cell. If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell. If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops.
cell | mxCell whose edges should be returned. |
parent | Optional parent of the opposite end for an edge to be returned. |
incoming | Optional boolean that specifies if incoming edges should be included in the result. Default is true. |
outgoing | Optional boolean that specifies if outgoing edges should be included in the result. Default is true. |
includeLoops | Optional boolean that specifies if loops should be included in the result. Default is true. |
recurse | Optional boolean the specifies if the parent specified only need be an ancestral parent, true, or the direct parent, false. Default is false |
mxGraph.prototype.getEdges = function( cell, parent, incoming, outgoing, includeLoops, recurse )
Returns the incoming and/or outgoing edges for the given cell. If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell. If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops.
cell | mxCell whose edges should be returned. |
parent | Optional parent of the opposite end for an edge to be returned. |
incoming | Optional boolean that specifies if incoming edges should be included in the result. Default is true. |
outgoing | Optional boolean that specifies if outgoing edges should be included in the result. Default is true. |
includeLoops | Optional boolean that specifies if loops should be included in the result. Default is true. |
recurse | Optional boolean the specifies if the parent specified only need be an ancestral parent, true, or the direct parent, false. Default is false |
mxGraph.prototype.isValidAncestor = function( cell, parent, recurse )
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
cell | mxCell the possible child cell |
parent | mxCell the possible parent cell |
recurse | boolean whether or not to recurse the child ancestors |
mxGraph.prototype.isValidAncestor = function( cell, parent, recurse )
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
cell | mxCell the possible child cell |
parent | mxCell the possible parent cell |
recurse | boolean whether or not to recurse the child ancestors |
mxGraph.prototype.getOpposites = function( edges, terminal, sources, targets )
Returns all distinct visible opposite cells for the specified terminal on the given edges.
edges | Array of mxCells that contains the edges whose opposite terminals should be returned. |
terminal | Terminal that specifies the end whose opposite should be returned. |
source | Optional boolean that specifies if source terminals should be included in the result. Default is true. |
targets | Optional boolean that specifies if targer terminals should be included in the result. Default is true. |
mxGraph.prototype.getOpposites = function( edges, terminal, sources, targets )
Returns all distinct visible opposite cells for the specified terminal on the given edges.
edges | Array of mxCells that contains the edges whose opposite terminals should be returned. |
terminal | Terminal that specifies the end whose opposite should be returned. |
source | Optional boolean that specifies if source terminals should be included in the result. Default is true. |
targets | Optional boolean that specifies if targer terminals should be included in the result. Default is true. |
mxGraph.prototype.getPointForEvent = function( evt, addOffset )
Returns an mxPoint representing the given event in the unscaled, non-translated coordinate space of <container> and applies the grid.
evt | Mousevent that contains the mouse pointer location. |
addOffset | Optional boolean that specifies if the position should be offset by half of the gridSize. Default is true. |
mxGraph.prototype.getPointForEvent = function( evt, addOffset )
Returns an mxPoint representing the given event in the unscaled, non-translated coordinate space of <container> and applies the grid.
evt | Mousevent that contains the mouse pointer location. |
addOffset | Optional boolean that specifies if the position should be offset by half of the gridSize. Default is true. |
mxGraph.prototype.getCells = function( x, y, width, height, parent, result )
Returns the child vertices and edges of the given parent that are contained in the given rectangle. The result is added to the optional result array, which is returned. If no result array is specified then a new array is created and returned.
x | X-coordinate of the rectangle. |
y | Y-coordinate of the rectangle. |
width | Width of the rectangle. |
height | Height of the rectangle. |
parent | mxCell that should be used as the root of the recursion. Default is current root of the view or the root of the model. |
result | Optional array to store the result in. |
mxGraph.prototype.getCells = function( x, y, width, height, parent, result )
Returns the child vertices and edges of the given parent that are contained in the given rectangle. The result is added to the optional result array, which is returned. If no result array is specified then a new array is created and returned.
x | X-coordinate of the rectangle. |
y | Y-coordinate of the rectangle. |
width | Width of the rectangle. |
height | Height of the rectangle. |
parent | mxCell that should be used as the root of the recursion. Default is current root of the view or the root of the model. |
result | Optional array to store the result in. |
mxGraph.prototype.getCellsBeyond = function( x0, y0, parent, rightHalfpane, bottomHalfpane )
Returns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards or downwards depending on rightHalfpane and bottomHalfpane.
x0 | X-coordinate of the origin. |
y0 | Y-coordinate of the origin. |
parent | Optional mxCell whose children should be checked. Default is defaultParent. |
rightHalfpane | Boolean indicating if the cells in the right halfpane from the origin should be returned. |
bottomHalfpane | Boolean indicating if the cells in the bottom halfpane from the origin should be returned. |
mxGraph.prototype.getCellsBeyond = function( x0, y0, parent, rightHalfpane, bottomHalfpane )
Returns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards or downwards depending on rightHalfpane and bottomHalfpane.
x0 | X-coordinate of the origin. |
y0 | Y-coordinate of the origin. |
parent | Optional mxCell whose children should be checked. Default is defaultParent. |
rightHalfpane | Boolean indicating if the cells in the right halfpane from the origin should be returned. |
bottomHalfpane | Boolean indicating if the cells in the bottom halfpane from the origin should be returned. |
mxGraph.prototype.findTreeRoots = function( parent, isolate, invert )
Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.
parent | mxCell whose children should be checked. |
isolate | Optional boolean that specifies if edges should be ignored if the opposite end is not a child of the given parent cell. Default is false. |
invert | Optional boolean that specifies if outgoing or incoming edges should be counted for a tree root. If false then outgoing edges will be counted. Default is false. |
mxGraph.prototype.findTreeRoots = function( parent, isolate, invert )
Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.
parent | mxCell whose children should be checked. |
isolate | Optional boolean that specifies if edges should be ignored if the opposite end is not a child of the given parent cell. Default is false. |
invert | Optional boolean that specifies if outgoing or incoming edges should be counted for a tree root. If false then outgoing edges will be counted. Default is false. |
mxGraph.prototype.traverse = function( vertex, directed, func, edge, visited, inverse )
Traverses the (directed) graph invoking the given function for each visited vertex and edge. The function is invoked with the current vertex and the incoming edge as a parameter. This implementation makes sure each vertex is only visited once. The function may return false if the traversal should stop at the given vertex.
mxLog.show(); var cell = graph.getSelectionCell(); graph.traverse(cell, false, function(vertex, edge) { mxLog.debug(graph.getLabel(vertex)); -});
vertex | mxCell that represents the vertex where the traversal starts. |
directed | Optional boolean indicating if edges should only be traversed from source to target. Default is true. |
func | Visitor function that takes the current vertex and the incoming edge as arguments. The traversal stops if the function returns false. |
edge | Optional mxCell that represents the incoming edge. This is null for the first step of the traversal. |
visited | Optional mxDictionary from cells to true for the visited cells. |
inverse | Optional boolean to traverse in inverse direction. Default is false. This is ignored if directed is false. |
vertex | mxCell that represents the vertex where the traversal starts. |
directed | Optional boolean indicating if edges should only be traversed from source to target. Default is true. |
func | Visitor function that takes the current vertex and the incoming edge as arguments. The traversal stops if the function returns false. |
edge | Optional mxCell that represents the incoming edge. This is null for the first step of the traversal. |
visited | Optional mxDictionary from cells to true for the visited cells. |
inverse | Optional boolean to traverse in inverse direction. Default is false. This is ignored if directed is false. |
mxGraph.prototype.isCellSelected = function( cell )
Returns true if the given cell is selected.
cell | mxCell for which the selection state should be returned. |
mxGraph.prototype.isCellSelected = function( cell )
Returns true if the given cell is selected.
cell | mxCell for which the selection state should be returned. |
mxGraph.prototype.clearSelection = function()
Clears the selection using mxGraphSelectionModel.clear.
mxGraph.prototype.clearSelection = function()
Clears the selection using mxGraphSelectionModel.clear.
mxGraph.prototype.getSelectionCell = function()
Returns the first cell from the array of selected mxCells.
mxGraph.prototype.getSelectionCell = function()
Returns the first cell from the array of selected mxCells.
mxGraph.prototype.getSelectionCells = function()
Returns the array of selected mxCells.
mxGraph.prototype.getSelectionCells = function()
Returns the array of selected mxCells.
mxGraph.prototype.setSelectionCell = function( cell )
Sets the selection cell.
cell | mxCell to be selected. |
mxGraph.prototype.setSelectionCell = function( cell )
Sets the selection cell.
cell | mxCell to be selected. |
mxGraph.prototype.setSelectionCells = function( cells )
Sets the selection cell.
cells | Array of mxCells to be selected. |
mxGraph.prototype.setSelectionCells = function( cells )
Sets the selection cell.
cells | Array of mxCells to be selected. |
mxGraph.prototype.addSelectionCell = function( cell )
Adds the given cell to the selection.
cell | mxCell to be add to the selection. |
mxGraph.prototype.addSelectionCell = function( cell )
Adds the given cell to the selection.
cell | mxCell to be add to the selection. |
mxGraph.prototype.addSelectionCells = function( cells )
Adds the given cells to the selection.
cells | Array of mxCells to be added to the selection. |
mxGraph.prototype.addSelectionCells = function( cells )
Adds the given cells to the selection.
cells | Array of mxCells to be added to the selection. |
mxGraph.prototype.removeSelectionCell = function( cell )
Removes the given cell from the selection.
cell | mxCell to be removed from the selection. |
mxGraph.prototype.removeSelectionCell = function( cell )
Removes the given cell from the selection.
cell | mxCell to be removed from the selection. |
mxGraph.prototype.removeSelectionCells = function( cells )
Removes the given cells from the selection.
cells | Array of mxCells to be removed from the selection. |
mxGraph.prototype.removeSelectionCells = function( cells )
Removes the given cells from the selection.
cells | Array of mxCells to be removed from the selection. |
mxGraph.prototype.selectRegion = function( rect, evt )
Selects and returns the cells inside the given rectangle for the specified event.
rect | mxRectangle that represents the region to be selected. |
evt | Mouseevent that triggered the selection. |
mxGraph.prototype.selectRegion = function( rect, evt )
Selects and returns the cells inside the given rectangle for the specified event.
rect | mxRectangle that represents the region to be selected. |
evt | Mouseevent that triggered the selection. |
mxGraph.prototype.selectCell = function( isNext, isParent, isChild )
Selects the next, parent, first child or previous cell, if all arguments are false.
isNext | Boolean indicating if the next cell should be selected. |
isParent | Boolean indicating if the parent cell should be selected. |
isChild | Boolean indicating if the first child cell should be selected. |
mxGraph.prototype.selectAll = function( parent, descendants )
Selects all children of the given parent cell or the children of the default parent if no parent is specified. To select leaf vertices and/or edges use selectCells.
parent | Optional mxCell whose children should be selected. Default is defaultParent. |
descendants | Optional boolean specifying whether all descendants should be selected. Default is false. |
mxGraph.prototype.selectAll = function( parent, descendants )
Selects all children of the given parent cell or the children of the default parent if no parent is specified. To select leaf vertices and/or edges use selectCells.
parent | Optional mxCell whose children should be selected. Default is defaultParent. |
descendants | Optional boolean specifying whether all descendants should be selected. Default is false. |
mxGraph.prototype.selectCells = function( vertices, edges, parent )
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified. Use selectAll to select all cells. For vertices, only cells with no children are selected.
vertices | Boolean indicating if vertices should be selected. |
edges | Boolean indicating if edges should be selected. |
parent | Optional mxCell that acts as the root of the recursion. Default is defaultParent. |
mxGraph.prototype.selectCells = function( vertices, edges, parent )
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified. Use selectAll to select all cells. For vertices, only cells with no children are selected.
vertices | Boolean indicating if vertices should be selected. |
edges | Boolean indicating if edges should be selected. |
parent | Optional mxCell that acts as the root of the recursion. Default is defaultParent. |
mxGraph.prototype.selectCellForEvent = function( cell, evt )
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
cell | mxCell to be selected. |
evt | Optional mouseevent that triggered the selection. |
mxGraph.prototype.selectCellForEvent = function( cell, evt )
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
cell | mxCell to be selected. |
evt | Optional mouseevent that triggered the selection. |
mxGraph.prototype.selectCellsForEvent = function( cells, evt )
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
cells | Array of mxCells to be selected. |
evt | Optional mouseevent that triggered the selection. |
mxGraph.prototype.selectCellsForEvent = function( cells, evt )
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
cells | Array of mxCells to be selected. |
evt | Optional mouseevent that triggered the selection. |
mxGraph.prototype.createHandler = function( state )
Creates a new handler for the given cell state. This implementation returns a new mxEdgeHandler of the corresponding cell is an edge, otherwise it returns an mxVertexHandler.
state | mxCellState whose handler should be created. |
mxGraph.prototype.createHandler = function( state )
Creates a new handler for the given cell state. This implementation returns a new mxEdgeHandler of the corresponding cell is an edge, otherwise it returns an mxVertexHandler.
state | mxCellState whose handler should be created. |
mxGraph.prototype.createVertexHandler = function( state )
Hooks to create a new mxVertexHandler for the given mxCellState.
state | mxCellState to create the handler for. |
mxGraph.prototype.createVertexHandler = function( state )
Hooks to create a new mxVertexHandler for the given mxCellState.
state | mxCellState to create the handler for. |
mxGraph.prototype.createEdgeHandler = function( state, edgeStyle )
Hooks to create a new mxEdgeHandler for the given mxCellState.
state | mxCellState to create the handler for. |
mxGraph.prototype.createEdgeHandler = function( state, edgeStyle )
Hooks to create a new mxEdgeHandler for the given mxCellState.
state | mxCellState to create the handler for. |
mxGraph.prototype.createEdgeSegmentHandler = function( state )
Hooks to create a new <mxEdgeSegmentHandler> for the given mxCellState.
state | mxCellState to create the handler for. |
mxGraph.prototype.createEdgeSegmentHandler = function( state )
Hooks to create a new <mxEdgeSegmentHandler> for the given mxCellState.
state | mxCellState to create the handler for. |
mxGraph.prototype.createElbowEdgeHandler = function( state )
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
state | mxCellState to create the handler for. |
mxGraph.prototype.createElbowEdgeHandler = function( state )
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
state | mxCellState to create the handler for. |
mxGraph.prototype.addMouseListener = function( listener )
Adds a listener to the graph event dispatch loop. The listener must implement the mouseDown, mouseMove and mouseUp methods as shown in the mxMouseEvent class.
listener | Listener to be added to the graph event listeners. |
mxGraph.prototype.addMouseListener = function( listener )
Adds a listener to the graph event dispatch loop. The listener must implement the mouseDown, mouseMove and mouseUp methods as shown in the mxMouseEvent class.
listener | Listener to be added to the graph event listeners. |
mxGraph.prototype.updateMouseEvent = function( me, evtName )
Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
me | mxMouseEvent to be updated. |
evtName | Name of the mouse event. |
mxGraph.prototype.updateMouseEvent = function( me, evtName )
Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
me | mxMouseEvent to be updated. |
evtName | Name of the mouse event. |
mxGraph.prototype.isEventIgnored = function( evtName, me, sender )
Returns true if the event should be ignored in fireMouseEvent.
mxGraph.prototype.isEventIgnored = function( evtName, me, sender )
Returns true if the event should be ignored in fireMouseEvent.
mxGraph.prototype.isEventSourceIgnored = function( evtName, me )
Returns true if the event should be ignored in fireMouseEvent. This implementation returns true for select, option and input (if not of type checkbox, radio, button, submit or file) event sources if the event is not a mouse event or a left mouse button press event.
evtName | The name of the event. |
me | mxMouseEvent that should be ignored. |
mxGraph.prototype.isEventSourceIgnored = function( evtName, me )
Returns true if the event should be ignored in fireMouseEvent. This implementation returns true for select, option and input (if not of type checkbox, radio, button, submit or file) event sources if the event is not a mouse event or a left mouse button press event.
evtName | The name of the event. |
me | mxMouseEvent that should be ignored. |
mxGraph.prototype.getEventState = function( state )
Returns the mxCellState to be used when firing the mouse event for the given state. This implementation returns the given state.
<mxCellState> | State whose event source should be returned. |
mxGraph.prototype.getEventState = function( state )
Returns the mxCellState to be used when firing the mouse event for the given state. This implementation returns the given state.
<mxCellState> | State whose event source should be returned. |
mxGraph.prototype.fireMouseEvent = function( evtName, me, sender )
Dispatches the given event in the graph event dispatch loop. Possible event names are mxEvent.MOUSE_DOWN, mxEvent.MOUSE_MOVE and mxEvent.MOUSE_UP. All listeners are invoked for all events regardless of the consumed state of the event.
evtName | String that specifies the type of event to be dispatched. |
me | mxMouseEvent to be fired. |
sender | Optional sender argument. Default is this. |
mxGraph.prototype.fireMouseEvent = function( evtName, me, sender )
Dispatches the given event in the graph event dispatch loop. Possible event names are mxEvent.MOUSE_DOWN, mxEvent.MOUSE_MOVE and mxEvent.MOUSE_UP. All listeners are invoked for all events regardless of the consumed state of the event.
evtName | String that specifies the type of event to be dispatched. |
me | mxMouseEvent to be fired. |
sender | Optional sender argument. Default is this. |
mxGraph.prototype.consumeMouseEvent = function( evtName, me, sender )
Consumes the given mxMouseEvent if it’s a touchStart event.
mxGraph.prototype.consumeMouseEvent = function( evtName, me, sender )
Consumes the given mxMouseEvent if it’s a touchStart event.
mxGraph.prototype.fireGestureEvent = function( evt, cell )
Dispatches a mxEvent.GESTURE event. The following example will resize the cell under the mouse based on the scale property of the native touch event.
graph.addListener(mxEvent.GESTURE, function(sender, eo) ++});fireGestureEvent
mxGraph.prototype.fireGestureEvent = function( evt, cell ) Dispatches a mxEvent.GESTURE event. The following example will resize the cell under the mouse based on the scale property of the native touch event.
graph.addListener(mxEvent.GESTURE, function(sender, eo) { var evt = eo.getProperty('event'); var state = graph.view.getState(eo.getProperty('cell')); @@ -1364,7 +1364,7 @@ graph.traverse(cell, false, function(vertex, edge) graph.resizeCell(state.cell, bounds); eo.consume(); } -});Parameters
evt Gestureend event that represents the gesture. cell Optional mxCell associated with the gesture.
evt | Gestureend event that represents the gesture. |
cell | Optional mxCell associated with the gesture. |
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 )
Toggles the style of the given edge between null (or empty) and alternateEdgeStyle.
mxGraph.prototype.flipEdge = function( edge )
Moves the given cells to the front or back.
mxGraph.prototype.orderCells = function( back, cells )
Moves the given cells to the front or back.
mxGraph.prototype.cellsOrdered = function( cells, back )
Adds the cells into the given group.
mxGraph.prototype.groupCells = function( group, border, cells )
Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.
mxGraph.prototype.ungroupCells = function( cells )
Removes the specified cells from their parents and adds them to the default parent.
mxGraph.prototype.removeCellsFromParent = function( cells )
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 )
Adds the specified cells to the given parent.
mxGraph.prototype.cellsAdded = function( cells, parent, index, source, target, absolute, constrain, extend )
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraph.prototype.removeCells = function( cells, includeEdges )
Removes the given cells from the model.
mxGraph.prototype.cellsRemoved = function( cells )
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxGraph.prototype.splitEdge = function( edge, cells, newEdge, dx, dy )
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.toggleCells = function( show, cells, includeEdges )
Sets the collapsed state of the specified cells and all descendants if recurse is true.
mxGraph.prototype.foldCells = function( collapse, recurse, cells, checkFoldable, evt )
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraph.prototype.updateCellSize = function( cell, ignoreChildren )
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, recurse )
Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.
mxGraph.prototype.cellsResized = function( cells, bounds, recurse )
Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
mxGraph.prototype.moveCells = function( cells, dx, dy, clone, target, evt, mapping )
Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.
mxGraph.prototype.cellsMoved = function( cells, dx, dy, disconnect, constrain, extend )
Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
mxGraph.prototype.connectCell = function( edge, terminal, source, constraint )
Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
mxGraph.prototype.cellConnected = function( edge, terminal, source, constraint )
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraph.prototype.refresh = function( cell )
Processes a singleclick on an optional cell and fires a click event.
mxGraph.prototype.click = function( me )
Processes a doubleclick on an optional cell and fires a dblclick event.
mxGraph.prototype.dblClick = function( evt, cell )
Dispatches a mxEvent.GESTURE event.
mxGraph.prototype.fireGestureEvent = function( evt, cell )
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraph.prototype.tapAndHold = function( me )
Dispatches the given event in the graph event dispatch loop.
mxGraph.prototype.fireMouseEvent = function( evtName, me, sender )
Called when the size of the graph has changed.
mxGraph.prototype.sizeDidChange = function()
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxGraph.prototype.startEditingAtCell = function( cell, evt )
Stops the current editing and fires a editingStopped event.
mxGraph.prototype.stopEditing = function( cancel )
Sets the new label for a cell.
mxGraph.prototype.cellLabelChanged = function( cell, value, autoSize )
Adds an mxCellOverlay for the specified cell.
mxGraph.prototype.addCellOverlay = function( cell, overlay )
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 )
Constructs a new mxGraph in the specified container.
function mxGraph( container, model, renderHint, stylesheet )
Immutable empty array instance.
mxGraph.prototype.EMPTY_ARRAY
Holds the mouse event listeners.
mxGraph.prototype.mouseListeners
Holds the state of the mouse button.
mxGraph.prototype.isMouseDown
Holds the mxGraphModel that contains the cells to be displayed.
mxGraph.prototype.model
Holds the mxGraphView that caches the mxCellStates for the cells.
mxGraph.prototype.view
Holds the mxStylesheet that defines the appearance of the cells.
mxGraph.prototype.stylesheet
Holds the mxGraphSelectionModel that models the current selection.
mxGraph.prototype.selectionModel
Holds the mxCellEditor that is used as the in-place editing.
mxGraph.prototype.cellEditor
Holds the mxCellRenderer for rendering the cells in the graph.
mxGraph.prototype.cellRenderer
An array of mxMultiplicities describing the allowed connections in a graph.
mxGraph.prototype.multiplicities
RenderHint as it was passed to the constructor.
mxGraph.prototype.renderHint
Dialect to be used for drawing the graph.
mxGraph.prototype.dialect
Specifies the grid size.
mxGraph.prototype.gridSize
Specifies if the grid is enabled.
mxGraph.prototype.gridEnabled
Specifies if ports are enabled.
mxGraph.prototype.portsEnabled
Specifies if double taps on touch-based devices should be handled as a double click.
mxGraph.prototype.doubleTapEnabled
Specifies the timeout for double taps and non-native double clicks.
mxGraph.prototype.doubleTapTimeout
Specifies the tolerance for double taps and double clicks in quirks mode.
mxGraph.prototype.doubleTapTolerance
Holds the time of the last touch event for double click detection.
mxGraph.prototype.lastTouchTime
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldEnabled
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldDelay
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldInProgress
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxGraph.prototype.tapAndHoldValid
Holds the x-coordinate of the intial touch event for tap and hold.
mxGraph.prototype.initialTouchX
Holds the y-coordinate of the intial touch event for tap and hold.
mxGraph.prototype.initialTouchY
Tolerance for a move to be handled as a single click.
mxGraph.prototype.tolerance
Value returned by getOverlap if isAllowOverlapParent returns true for the given cell.
mxGraph.prototype.defaultOverlap
Returns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent.
mxGraph.prototype.getOverlap = function( cell )
Returns true if the given cell is allowed to be placed outside of the parents area.
mxGraph.prototype.isAllowOverlapParent = function( cell )
Specifies the default parent to be used to insert new cells.
mxGraph.prototype.defaultParent
Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.
mxGraph.prototype.alternateEdgeStyle
Specifies the mxImage to be returned by getBackgroundImage.
mxGraph.prototype.backgroundImage
Returns the backgroundImage as an mxImage.
mxGraph.prototype.getBackgroundImage = function()
Specifies if the background page should be visible.
mxGraph.prototype.pageVisible
Specifies if a dashed line should be drawn between multiple pages.
mxGraph.prototype.pageBreaksVisible
Specifies the color for page breaks.
mxGraph.prototype.pageBreakColor
Specifies the page breaks should be dashed.
mxGraph.prototype.pageBreakDashed
Specifies the minimum distance for page breaks to be visible.
mxGraph.prototype.minPageBreakDist
Specifies if the graph size should be rounded to the next page number in sizeDidChange.
mxGraph.prototype.preferPageSize
Specifies the page format for the background page.
mxGraph.prototype.pageFormat
Specifies the scale of the background page.
mxGraph.prototype.pageScale
Specifies the return value for isEnabled.
mxGraph.prototype.enabled
Returns true if the graph is enabled.
mxGraph.prototype.isEnabled = function()
Specifies if mxKeyHandler should invoke escape when the escape key is pressed.
mxGraph.prototype.escapeEnabled
Processes an escape keystroke.
mxGraph.prototype.escape = function( evt )
If true, when editing is to be stopped by way of selection changing, data in diagram changing or other means stopCellEditing is invoked, and changes are saved.
mxGraph.prototype.invokesStopCellEditing
If true, pressing the enter key without pressing control or shift will stop editing and accept the new value.
mxGraph.prototype.enterStopsCellEditing
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
mxGraph.prototype.useScrollbarsForPanning
Shifts the graph display by the given amount.
mxGraph.prototype.panGraph = function( dx, dy )
Specifies the return value for canExportCell.
mxGraph.prototype.exportEnabled
Returns true if the given cell may be exported to the clipboard.
mxGraph.prototype.canExportCell = function( cell )
Specifies the return value for canImportCell.
mxGraph.prototype.importEnabled
Returns true if the given cell may be imported from the clipboard.
mxGraph.prototype.canImportCell = function( cell )
Specifies the return value for isCellLocked.
mxGraph.prototype.cellsLocked
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellLocked = function( cell )
Specifies the return value for isCellCloneable.
mxGraph.prototype.cellsCloneable
Returns true if the given cell is cloneable.
mxGraph.prototype.isCellCloneable = function( cell )
Specifies if folding (collapse and expand via an image icon in the graph should be enabled).
mxGraph.prototype.foldingEnabled
Specifies the return value for isCellEditable.
mxGraph.prototype.cellsEditable
Returns true if the given cell is editable.
mxGraph.prototype.isCellEditable = function( cell )
Specifies the return value for isCellDeletable.
mxGraph.prototype.cellsDeletable
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDeletable = function( cell )
Specifies the return value for isCellMovable.
mxGraph.prototype.cellsMovable
Returns true if the given cell is moveable.
mxGraph.prototype.isCellMovable = function( cell )
Specifies the return value for edges in isLabelMovable.
mxGraph.prototype.edgeLabelsMovable
Returns true if the given edges’s label is moveable.
mxGraph.prototype.isLabelMovable = function( cell )
Specifies the return value for vertices in isLabelMovable.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for isDropEnabled.
mxGraph.prototype.dropEnabled
Returns dropEnabled as a boolean.
mxGraph.prototype.isDropEnabled = function()
Specifies if dropping onto edges should be enabled.
mxGraph.prototype.splitEnabled
Specifies the return value for isCellResizable.
mxGraph.prototype.cellsResizable
Returns true if the given cell is resizable.
mxGraph.prototype.isCellResizable = function( cell )
Specifies the return value for isCellsBendable.
mxGraph.prototype.cellsBendable
Returns cellsBenadable.
mxGraph.prototype.isCellsBendable = function()
Specifies the return value for isCellSelectable.
mxGraph.prototype.cellsSelectable
Returns true if the given cell is selectable.
mxGraph.prototype.isCellSelectable = function( cell )
Specifies the return value for isCellDisconntable.
mxGraph.prototype.cellsDisconnectable
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
Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.
mxGraph.prototype.autoScroll
Specifies if the graph should automatically scroll regardless of the scrollbars.
mxGraph.prototype.ignoreScrollbars
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received.
mxGraph.prototype.translateToScrollPosition
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars.
mxGraph.prototype.timerAutoScroll
Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.
mxGraph.prototype.allowAutoPanning
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollPointToVisible = function( x, y, extend, border )
Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.
mxGraph.prototype.autoExtend
mxRectangle that specifies the area in which all cells in the diagram should be placed.
mxGraph.prototype.maximumGraphBounds
mxRectangle that specifies the minimum size of the graph.
mxGraph.prototype.minimumGraphSize
mxRectangle that specifies the minimum size of the container if resizeContainer is true.
mxGraph.prototype.minimumContainerSize
Specifies if the container should be resized to the graph size when the graph size has changed.
mxGraph.prototype.resizeContainer
mxRectangle that specifies the maximum size of the container if resizeContainer is true.
mxGraph.prototype.maximumContainerSize
Border to be added to the bottom and right side when the container is being resized after the graph has been changed.
mxGraph.prototype.border
Specifies if edges should appear in the foreground regardless of their order in the model.
mxGraph.prototype.keepEdgesInForeground
Specifies if edges should appear in the background regardless of their order in the model.
mxGraph.prototype.keepEdgesInBackground
Specifies if negative coordinates for vertices are allowed.
mxGraph.prototype.allowNegativeCoordinates
Specifies if a child should be constrained inside the parent bounds after a move or resize of the child.
mxGraph.prototype.constrainChildren
Specifies if child cells with relative geometries should be constrained inside the parent bounds, if constrainChildren is true, and/or the maximumGraphBounds.
mxGraph.prototype.constrainRelativeChildren
Specifies if a parent should contain the child bounds after a resize of the child.
mxGraph.prototype.extendParents
Specifies if parents should be extended according to the extendParents switch if cells are added.
mxGraph.prototype.extendParentsOnAdd
Specifies the return value for isRecursiveResize.
mxGraph.prototype.recursiveResize
Returns recursiveResize.
mxGraph.prototype.isRecursiveResize = function( state )
Specifies if the cell size should be changed to the preferred size when a cell is first collapsed.
mxGraph.prototype.collapseToPreferredSize
Specifies the factor used for zoomIn and zoomOut.
mxGraph.prototype.zoomFactor
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomIn = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Specifies if the viewport should automatically contain the selection cells after a zoom operation.
mxGraph.prototype.keepSelectionVisibleOnZoom
Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left.
mxGraph.prototype.centerZoom
Specifies if the scale and translate should be reset if the root changes in the model.
mxGraph.prototype.resetViewOnRootChange
Specifies if edge control points should be reset after the resize of a connected cell.
mxGraph.prototype.resetEdgesOnResize
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.resetEdgesOnConnect
Specifies if loops (aka self-references) are allowed.
mxGraph.prototype.allowLoops
mxEdgeStyle to be used for loops.
mxGraph.prototype.defaultLoopStyle
Specifies if multiple edges in the same direction between the same pair of vertices are allowed.
mxGraph.prototype.multigraph
Specifies if edges are connectable.
mxGraph.prototype.connectableEdges
Specifies if edges with disconnected terminals are allowed in the graph.
mxGraph.prototype.allowDanglingEdges
Specifies if edges that are cloned should be validated and only inserted if they are valid.
mxGraph.prototype.cloneInvalidEdges
Specifies if edges should be disconnected from their terminals when they are moved.
mxGraph.prototype.disconnectOnMove
Specifies if labels should be visible.
mxGraph.prototype.labelsVisible
Specifies the return value for isHtmlLabel.
mxGraph.prototype.htmlLabels
Returns true if the label must be rendered as HTML markup.
mxGraph.prototype.isHtmlLabel = function( cell )
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxGraph.prototype.swimlaneSelectionEnabled
Specifies if nesting of swimlanes is allowed.
mxGraph.prototype.swimlaneNesting
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneIndicatorColorAttribute
Holds the list of image bundles.
mxGraph.prototype.imageBundles
Specifies the minimum scale to be applied in fit.
mxGraph.prototype.minFitScale
Scales the graph such that the complete diagram fits into container and returns the current scale in the view.
mxGraph.prototype.fit = function( border, keepOrigin, margin, enabled, ignoreWidth, ignoreHeight, maxHeight )
Specifies the maximum scale to be applied in fit.
mxGraph.prototype.maxFitScale
Current horizontal panning value.
mxGraph.prototype.panDx
Current vertical panning value.
mxGraph.prototype.panDy
Specifies the mxImage to indicate a collapsed state.
mxGraph.prototype.collapsedImage
Specifies the mxImage to indicate a expanded state.
mxGraph.prototype.expandedImage
Specifies the mxImage for the image to be used to display a warning overlay.
mxGraph.prototype.warningImage
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
mxGraph.prototype.alreadyConnectedResource
Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.
mxGraph.prototype.containsValidationErrorsResource
Specifies the resource key for the tooltip on the collapse/expand icon.
mxGraph.prototype.collapseExpandResource
Initializes the container and creates the respective datastructures.
mxGraph.prototype.init = function( container )
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
mxGraph.prototype.createHandlers = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
mxGraph.prototype.createPopupMenuHandler = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphView to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxCellRenderer to be used in this graph.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellEditor to be used in this graph.
mxGraph.prototype.createCellEditor = function()
Returns the mxGraphModel that contains the cells.
mxGraph.prototype.getModel = function()
Returns the mxGraphView that contains the mxCellStates.
mxGraph.prototype.getView = function()
Returns the mxStylesheet that defines the style.
mxGraph.prototype.getStylesheet = function()
Sets the mxStylesheet that defines the style.
mxGraph.prototype.setStylesheet = function( stylesheet )
Returns the mxGraphSelectionModel that contains the selection.
mxGraph.prototype.getSelectionModel = function()
Sets the mxSelectionModel that contains the selection.
mxGraph.prototype.setSelectionModel = function( selectionModel )
Returns the cells to be selected for the given array of changes.
mxGraph.prototype.getSelectionCellsForChanges = function( changes )
Called when the graph model changes.
mxGraph.prototype.graphModelChanged = function( changes )
Returns the cells that have been removed from the model.
mxGraph.prototype.getRemovedCellsForChanges = function( changes )
Processes the given change and invalidates the respective cached data in view.
mxGraph.prototype.processChange = function( change )
Removes all cached information for the given cell and its descendants.
mxGraph.prototype.removeStateForCell = function( cell )
Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.
mxGraph.prototype.getCellOverlays = function( cell )
Removes all mxCellOverlays in the graph for the given cell and all its descendants.
mxGraph.prototype.clearCellOverlays = function( cell )
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraph.prototype.setCellWarning = function( cell, warning, img, isSelect )
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditing = function( evt )
Starts the editor for the given cell.
mxCellEditor.prototype.startEditing = function( cell, trigger )
Returns the initial value for in-place editing.
mxGraph.prototype.getEditingValue = function( cell, evt )
Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress.
mxGraph.prototype.labelChanged = function( cell, value, evt )
Creates and returns an mxPanningManager.
mxGraph.prototype.createPanningManager = function()
Returns the size of the border and padding on all four sides of the container.
mxGraph.prototype.getBorderSizes = function()
Returns the preferred size of the background page if preferPageSize is true.
mxGraph.prototype.getPreferredPageSize = function( bounds, width, height )
Resizes the container for the given graph width and height.
mxGraph.prototype.doResizeContainer = function( width, height )
Invokes from sizeDidChange to redraw the page breaks.
mxGraph.prototype.updatePageBreaks = function( visible, width, height )
Returns an array of key, value pairs representing the cell style for the given cell.
mxGraph.prototype.getCellStyle = function( cell )
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxGraph.prototype.postProcessCellStyle = function( style )
Sets the style of the specified cells.
mxGraph.prototype.setCellStyle = function( style, cells )
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyle = function( key, defaultValue, cell )
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyles = function( key, defaultValue, cells )
Sets the key to value in the styles of the given cells.
mxGraph.prototype.setCellStyles = function( key, value, cells )
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.toggleCellStyleFlags = function( key, flag, cells )
Sets or toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.setCellStyleFlags = function( key, flag, value, cells )
Adds the specified mxImageBundle.
mxGraph.prototype.addImageBundle = function( bundle )
Removes the specified mxImageBundle.
mxGraph.prototype.removeImageBundle = function( bundle )
Searches all imageBundles for the specified key and returns the value for the first match or null if the key is not found.
mxGraph.prototype.getImageFromBundles = function( key )
Returns the cells with the same parent as the first cell in the given array.
mxGraph.prototype.getCellsForGroup = function( cells )
Returns the bounds to be used for the given group and children.
mxGraph.prototype.getBoundsForGroup = function( group, children, border )
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.
mxGraph.prototype.createGroupCell = function( cells )
Hook to remove the groups after ungroupCells.
mxGraph.prototype.removeCellsAfterUngroup = function( cells )
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxGraph.prototype.updateGroupBounds = function( cells, border, moveGroup, topBorder, rightBorder, bottomBorder, leftBorder )
Returns the bounding box for the given array of mxCells.
mxGraph.prototype.getBoundingBox = function( cells )
Returns the clones for the given cells.
mxGraph.prototype.cloneCells = function( cells, allowInvalidEdges, mapping )
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
mxGraph.prototype.insertVertex = function( parent, id, value, x, y, width, height, style, relative )
Hook method that creates the new vertex for insertVertex.
mxGraph.prototype.createVertex = function( parent, id, value, x, y, width, height, style, relative )
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
mxGraph.prototype.insertEdge = function( parent, id, value, source, target, style )
Hook method that creates the new edge for insertEdge.
mxGraph.prototype.createEdge = function( parent, id, value, source, target, style )
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 )
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 )
Resizes the specified cell to just fit around the its label and/or children
mxGraph.prototype.autoSizeCell = function( cell, recurse )
Sets the visible state of the specified cells.
mxGraph.prototype.cellsToggled = function( cells, show )
Sets the collapsed state of the specified cells.
mxGraph.prototype.cellsFolded = function( cells, collapse, recurse, checkFoldable )
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxGraph.prototype.swapBounds = function( cell, willCollapse )
Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.
mxGraph.prototype.updateAlternateBounds = function( cell, geo, willCollapse )
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 )
Returns all edges connected to the given cells or its descendants.
mxGraph.prototype.getAllEdges = function( cells )
Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
mxGraph.prototype.cellSizeUpdated = function( cell, ignoreChildren )
Returns the preferred width and height of the given mxCell as an mxRectangle.
mxGraph.prototype.getPreferredSizeForCell = function( cell )
Sets the bounds of the given cell using resizeCells.
mxGraph.prototype.resizeCell = function( cell, bounds, recurse )
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.cellResized = function( cell, bounds, ignoreRelative, recurse )
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
mxGraph.prototype.resizeChildCells = function( cell, newGeo )
Constrains the children of the given cell using constrainChild.
mxGraph.prototype.constrainChildCells = function( cell )
Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
mxGraph.prototype.constrainChild = function( cell, sizeFirst )
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraph.prototype.scaleCell = function( cell, dx, dy, recurse )
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.extendParent = function( cell )
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
mxGraph.prototype.importCells = function( cells, dx, dy, target, evt, mapping )
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxGraph.prototype.translateCell = function( cell, dx, dy )
Returns the mxRectangle inside which a cell is to be kept.
mxGraph.prototype.getCellContainmentArea = function( cell )
Returns the bounds inside which the diagram should be kept as an mxRectangle.
mxGraph.prototype.getMaximumGraphBounds = function()
Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent.
mxGraph.prototype.isConstrainChild = function( cell )
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 control points of the given edge.
mxGraph.prototype.resetEdge = function( edge )
Returns the constraint used to connect to the outline of the given state.
mxGraph.prototype.getOutlineConstraint = function( point, terminalState, me )
Returns an array of all mxConnectionConstraints for the given terminal.
mxGraph.prototype.getAllConnectionConstraints = function( terminal, source )
Returns an mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.getConnectionConstraint = function( edge, terminal, source )
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConnectionConstraint = function( edge, terminal, source, constraint )
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
mxGraph.prototype.getConnectionPoint = function( vertex, constraint )
Disconnects the given edges from the terminals which are not in the given array.
mxGraph.prototype.disconnectGraph = function( cells )
Returns the current root of the displayed cell hierarchy.
mxGraph.prototype.getCurrentRoot = function()
Returns the translation to be used if the given cell is the root cell as an mxPoint.
mxGraph.prototype.getTranslateForRoot = function( cell )
Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT.
mxGraph.prototype.isPort = function( cell )
Returns the terminal to be used for a given port.
mxGraph.prototype.getTerminalForPort = function( cell, source )
Returns the offset to be used for the cells inside the given cell.
mxGraph.prototype.getChildOffsetForCell = function( cell )
Uses the given cell as the root of the displayed cell hierarchy.
mxGraph.prototype.enterGroup = function( cell )
Changes the current root to the next valid root in the displayed cell hierarchy.
mxGraph.prototype.exitGroup = function()
Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root.
mxGraph.prototype.home = function()
Returns true if the given cell is a valid root for the cell display hierarchy.
mxGraph.prototype.isValidRoot = function( cell )
Returns the bounds of the visible graph.
mxGraph.prototype.getGraphBounds = function()
Returns the scaled, translated bounds for the given cell.
mxGraph.prototype.getCellBounds = function( cell, includeEdges, includeDescendants )
Returns the bounding box for the geometries of the vertices in the given array of cells.
mxGraph.prototype.getBoundingBoxFromGeometry = function( cells, includeEdges )
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraph.prototype.snap = function( value )
Resets the zoom and panning in the view.
mxGraph.prototype.zoomActual = function()
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoomTo = function( scale, center )
Zooms the graph using the given factor.
mxGraph.prototype.zoom = function( factor, center )
Centers the graph in the container.
mxGraph.prototype.center = function( horizontal, vertical, cx, cy )
Zooms the graph to the specified rectangle.
mxGraph.prototype.zoomToRect = function( rect )
Pans the graph so that it shows the given cell.
mxGraph.prototype.scrollCellToVisible = function( cell, center )
Pans the graph so that it shows the given rectangle.
mxGraph.prototype.scrollRectToVisible = function( rect )
Returns the mxGeometry for the given cell.
mxGraph.prototype.getCellGeometry = function( cell )
Returns true if the given cell is visible in this graph.
mxGraph.prototype.isCellVisible = function( cell )
Returns true if the given cell is collapsed in this graph.
mxGraph.prototype.isCellCollapsed = function( cell )
Returns true if the given cell is connectable in this graph.
mxGraph.prototype.isCellConnectable = function( cell )
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxGraph.prototype.isOrthogonal = function( edge )
Returns true if the given cell state is a loop.
mxGraph.prototype.isLoop = function( state )
Returns true if the given event is a clone event.
mxGraph.prototype.isCloneEvent = function( evt )
Hook for implementing click-through behaviour on selected cells.
mxGraph.prototype.isTransparentClickEvent = function( evt )
Returns true if the given event is a toggle event.
mxGraph.prototype.isToggleEvent = function( evt )
Returns true if the given mouse event should be aligned to the grid.
mxGraph.prototype.isGridEnabledEvent = function( evt )
Returns true if the given mouse event should be aligned to the grid.
mxGraph.prototype.isConstrainedEvent = function( evt )
Returns true if the given mouse event should not allow any connections to be made.
mxGraph.prototype.isIgnoreTerminalEvent = function( evt )
Displays the given validation error in a dialog.
mxGraph.prototype.validationAlert = function( message )
Checks if the return value of getEdgeValidationError for the given arguments is null.
mxGraph.prototype.isEdgeValid = function( edge, source, target )
Returns the validation error message to be displayed when inserting or changing an edges’ connectivity.
mxGraph.prototype.getEdgeValidationError = function( edge, source, target )
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateEdge = function( edge, source, target )
Validates the graph by validating each descendant of the given cell or the root of the model.
mxGraph.prototype.validateGraph = function( cell, context )
Checks all multiplicities that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge.
mxGraph.prototype.getCellValidationError = function( cell )
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraph.prototype.validateCell = function( cell, context )
Sets the new backgroundImage.
mxGraph.prototype.setBackgroundImage = function( image )
Returns the mxImage used to display the collapsed state of the specified cell state.
mxGraph.prototype.getFoldingImage = function( state )
Returns the textual representation for the given cell.
mxGraph.prototype.convertValueToString = function( cell )
Returns a string or DOM node that represents the label for the given cell.
mxGraph.prototype.getLabel = function( cell )
Returns htmlLabels.
mxGraph.prototype.isHtmlLabels = function()
Sets htmlLabels.
mxGraph.prototype.setHtmlLabels = function( value )
This enables wrapping for HTML labels.
mxGraph.prototype.isWrapping = function( cell )
Returns true if the overflow portion of labels should be hidden.
mxGraph.prototype.isLabelClipped = function( cell )
Returns the string or DOM node that represents the tooltip for the given state, node and coordinate pair.
mxGraph.prototype.getTooltip = function( state, node, x, y )
Returns the string or DOM node to be used as the tooltip for the given cell.
mxGraph.prototype.getTooltipForCell = function( cell )
Returns the string to be used as the link for the given cell.
mxGraph.prototype.getLinkForCell = function( cell )
Returns the cursor value to be used for the CSS of the shape for the given event.
mxGraph.prototype.getCursorForMouseEvent = function( me )
Returns the cursor value to be used for the CSS of the shape for the given cell.
mxGraph.prototype.getCursorForCell = function( cell )
Returns the start size of the given swimlane, that is, the width or height of the part that contains the title, depending on the horizontal style.
mxGraph.prototype.getStartSize = function( swimlane )
Returns the image URL for the given cell state.
mxGraph.prototype.getImage = function( state )
Returns the vertical alignment for the given cell state.
mxGraph.prototype.getVerticalAlign = function( state )
Returns the indicator color for the given cell state.
mxGraph.prototype.getIndicatorColor = function( state )
Returns the indicator gradient color for the given cell state.
mxGraph.prototype.getIndicatorGradientColor = function( state )
Returns the indicator shape for the given cell state.
mxGraph.prototype.getIndicatorShape = function( state )
Returns the indicator image for the given cell state.
mxGraph.prototype.getIndicatorImage = function( state )
Returns the value of border.
mxGraph.prototype.getBorder = function()
Sets the value of border.
mxGraph.prototype.setBorder = function( value )
Returns true if the given cell is a swimlane in the graph.
mxGraph.prototype.isSwimlane = function ( cell )
Returns resizeContainer.
mxGraph.prototype.isResizeContainer = function()
Sets resizeContainer.
mxGraph.prototype.setResizeContainer = function( value )
Specifies if the graph should allow any interactions.
mxGraph.prototype.setEnabled = function( value )
Returns escapeEnabled.
mxGraph.prototype.isEscapeEnabled = function()
Sets escapeEnabled.
mxGraph.prototype.setEscapeEnabled = function( value )
Returns invokesStopCellEditing.
mxGraph.prototype.isInvokesStopCellEditing = function()
Sets invokesStopCellEditing.
mxGraph.prototype.setInvokesStopCellEditing = function( value )
Returns enterStopsCellEditing.
mxGraph.prototype.isEnterStopsCellEditing = function()
Sets enterStopsCellEditing.
mxGraph.prototype.setEnterStopsCellEditing = function( value )
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellsLocked = function()
Returns the cells which may be exported in the given array of cells.
mxGraph.prototype.getCloneableCells = function( cells )
Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
mxGraph.prototype.isCellsCloneable = function()
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsCloneable = function( value )
Returns the cells which may be exported in the given array of cells.
mxGraph.prototype.getExportableCells = function( cells )
Returns the cells which may be imported in the given array of cells.
mxGraph.prototype.getImportableCells = function( cells )
Returns cellsSelectable.
mxGraph.prototype.isCellsSelectable = function()
Sets cellsSelectable.
mxGraph.prototype.setCellsSelectable = function( value )
Returns the cells which may be exported in the given array of cells.
mxGraph.prototype.getDeletableCells = function( cells )
Returns cellsDeletable.
mxGraph.prototype.isCellsDeletable = function()
Sets cellsDeletable.
mxGraph.prototype.setCellsDeletable = function( value )
Returns true if the given cell is rotatable.
mxGraph.prototype.isCellRotatable = function( cell )
Returns the cells which are movable in the given array of cells.
mxGraph.prototype.getMovableCells = function( cells )
Returns cellsMovable.
mxGraph.prototype.isCellsMovable = function()
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsMovable = function( value )
Returns gridEnabled as a boolean.
mxGraph.prototype.isGridEnabled = function()
Specifies if the grid should be enabled.
mxGraph.prototype.setGridEnabled = function( value )
Returns portsEnabled as a boolean.
mxGraph.prototype.isPortsEnabled = function()
Specifies if the ports should be enabled.
mxGraph.prototype.setPortsEnabled = function( value )
Returns gridSize.
mxGraph.prototype.getGridSize = function()
Sets gridSize.
mxGraph.prototype.setGridSize = function( value )
Returns tolerance.
mxGraph.prototype.getTolerance = function()
Sets tolerance.
mxGraph.prototype.setTolerance = function( value )
Returns vertexLabelsMovable.
mxGraph.prototype.isVertexLabelsMovable = function()
Sets vertexLabelsMovable.
mxGraph.prototype.setVertexLabelsMovable = function( value )
Returns edgeLabelsMovable.
mxGraph.prototype.isEdgeLabelsMovable = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.isSwimlaneNesting = function()
Specifies if swimlanes can be nested by drag and drop.
mxGraph.prototype.setSwimlaneNesting = function( value )
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Specifies if swimlanes should be selected if the mouse is released over their content area.
mxGraph.prototype.setSwimlaneSelectionEnabled = function( value )
Returns multigraph as a boolean.
mxGraph.prototype.isMultigraph = function()
Specifies if the graph should allow multiple connections between the same pair of vertices.
mxGraph.prototype.setMultigraph = function( value )
Returns allowLoops as a boolean.
mxGraph.prototype.isAllowLoops = function()
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraph.prototype.setAllowDanglingEdges = function( value )
Returns allowDanglingEdges as a boolean.
mxGraph.prototype.isAllowDanglingEdges = function()
Specifies if edges should be connectable.
mxGraph.prototype.setConnectableEdges = function( value )
Returns connectableEdges as a boolean.
mxGraph.prototype.isConnectableEdges = function()
Specifies if edges should be inserted when cloned but not valid wrt.
mxGraph.prototype.setCloneInvalidEdges = function( value )
Returns cloneInvalidEdges as a boolean.
mxGraph.prototype.isCloneInvalidEdges = function()
Specifies if loops are allowed.
mxGraph.prototype.setAllowLoops = function( value )
Returns disconnectOnMove as a boolean.
mxGraph.prototype.isDisconnectOnMove = function()
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDisconnectOnMove = function( value )
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.setDropEnabled = function( value )
Returns splitEnabled as a boolean.
mxGraph.prototype.isSplitEnabled = function()
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.setSplitEnabled = function( value )
Returns cellsResizable.
mxGraph.prototype.isCellsResizable = function()
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsResizable = function( value )
Returns true if the given terminal point is movable.
mxGraph.prototype.isTerminalPointMovable = function( cell, source )
Returns true if the given cell is bendable.
mxGraph.prototype.isCellBendable = function( cell )
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsBendable = function( value )
Returns cellsEditable.
mxGraph.prototype.isCellsEditable = function()
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsEditable = function( value )
Returns true if the given cell is disconnectable from the source or target terminal.
mxGraph.prototype.isCellDisconnectable = function( cell, terminal, source )
Returns cellsDisconnectable.
mxGraph.prototype.isCellsDisconnectable = function()
Sets cellsDisconnectable.
mxGraph.prototype.setCellsDisconnectable = function( value )
Returns true if the given cell is a valid source for new connections.
mxGraph.prototype.isValidSource = function( cell )
Returns isValidSource for the given cell.
mxGraph.prototype.isValidTarget = function( cell )
Returns true if the given target cell is a valid target for source.
mxGraph.prototype.isValidConnection = function( source, target )
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectable = function( connectable )
Returns true if the connectionHandler is enabled.
mxGraph.prototype.isConnectable = function( connectable )
Specifies if tooltips should be enabled.
mxGraph.prototype.setTooltips = function ( enabled )
Specifies if panning should be enabled.
mxGraph.prototype.setPanning = function( enabled )
Returns true if the given cell is currently being edited.
mxGraph.prototype.isEditing = function( cell )
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCell = function( cell )
Returns autoSizeCells.
mxGraph.prototype.isAutoSizeCells = function()
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setAutoSizeCells = function( value )
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
mxGraph.prototype.isExtendParent = function( cell )
Returns extendParents.
mxGraph.prototype.isExtendParents = function()
Sets extendParents.
mxGraph.prototype.setExtendParents = function( value )
Returns extendParentsOnAdd.
mxGraph.prototype.isExtendParentsOnAdd = function( cell )
Sets extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnAdd = function( value )
Returns extendParentsOnMove.
mxGraph.prototype.isExtendParentsOnMove = function()
Sets extendParentsOnMove.
mxGraph.prototype.setExtendParentsOnMove = function( value )
Sets recursiveResize.
mxGraph.prototype.setRecursiveResize = function( value )
Returns constrainChildren.
mxGraph.prototype.isConstrainChildren = function()
Sets constrainChildren.
mxGraph.prototype.setConstrainChildren = function( value )
Returns constrainRelativeChildren.
mxGraph.prototype.isConstrainRelativeChildren = function()
Sets constrainRelativeChildren.
mxGraph.prototype.setConstrainRelativeChildren = function( value )
Returns the cells which are movable in the given array of cells.
mxGraph.prototype.getFoldableCells = function( cells, collapse )
Returns true if the given cell is foldable.
mxGraph.prototype.isCellFoldable = function( cell, collapse )
Returns true if the given cell is a valid drop target for the specified cells.
mxGraph.prototype.isValidDropTarget = function( cell, cells, evt )
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
mxGraph.prototype.isSplitTarget = function( target, cells, evt )
Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells.
mxGraph.prototype.getDropTarget = function( cells, evt, cell, clone )
Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null.
mxGraph.prototype.getDefaultParent = function()
mxCell that acts as the root of the displayed cell hierarchy.
mxGraphView.prototype.currentRoot
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
mxGraphModel.prototype.root
Sets the defaultParent to the given cell.
mxGraph.prototype.setDefaultParent = function( cell )
Returns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane.
mxGraph.prototype.getSwimlane = function( cell )
Returns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
mxGraph.prototype.getSwimlaneAt = function ( x, y, parent )
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.
mxGraph.prototype.getCellAt = function( x, y, parent, vertices, edges, ignoreFn )
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
mxGraph.prototype.intersects = function( state, x, y )
Returns true if the given coordinate pair is inside the content are of the given swimlane.
mxGraph.prototype.hitsSwimlaneContent = function( swimlane, x, y )
Returns the visible child vertices of the given parent.
mxGraph.prototype.getChildVertices = function( parent )
Returns the visible child edges of the given parent.
mxGraph.prototype.getChildEdges = function( parent )
Returns the visible child vertices or edges in the given parent.
mxGraph.prototype.getChildCells = function( parent, vertices, edges )
Returns all visible edges connected to the given cell without loops.
mxGraph.prototype.getConnections = function( cell, parent )
Returns the visible incoming edges for the given cell.
mxGraph.prototype.getIncomingEdges = function( cell, parent )
Returns the visible outgoing edges for the given cell.
mxGraph.prototype.getOutgoingEdges = function( cell, parent )
Returns the incoming and/or outgoing edges for the given cell.
mxGraph.prototype.getEdges = function( cell, parent, incoming, outgoing, includeLoops, recurse )
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
mxGraph.prototype.isValidAncestor = function( cell, parent, recurse )
Returns all distinct visible opposite cells for the specified terminal on the given edges.
mxGraph.prototype.getOpposites = function( edges, terminal, sources, targets )
Returns the edges between the given source and target.
mxGraph.prototype.getEdgesBetween = function( source, target, directed )
Returns an mxPoint representing the given event in the unscaled, non-translated coordinate space of container and applies the grid.
mxGraph.prototype.getPointForEvent = function( evt, addOffset )
Returns the child vertices and edges of the given parent that are contained in the given rectangle.
mxGraph.prototype.getCells = function( x, y, width, height, parent, result )
Returns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards or downwards depending on rightHalfpane and bottomHalfpane.
mxGraph.prototype.getCellsBeyond = function( x0, y0, parent, rightHalfpane, bottomHalfpane )
Returns all children in the given parent which do not have incoming edges.
mxGraph.prototype.findTreeRoots = function( parent, isolate, invert )
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraph.prototype.traverse = function( vertex, directed, func, edge, visited, inverse )
Returns true if the given cell is selected.
mxGraph.prototype.isCellSelected = function( cell )
Returns true if the selection is empty.
mxGraph.prototype.isSelectionEmpty = function()
Clears the selection using mxGraphSelectionModel.clear.
mxGraph.prototype.clearSelection = function()
Clears the selection and fires a change event if the selection was not empty.
mxGraphSelectionModel.prototype.clear = function()
Returns the number of selected cells.
mxGraph.prototype.getSelectionCount = function()
Returns the first cell from the array of selected mxCells.
mxGraph.prototype.getSelectionCell = function()
Returns the array of selected mxCells.
mxGraph.prototype.getSelectionCells = function()
Sets the selection cell.
mxGraph.prototype.setSelectionCell = function( cell )
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function( cells )
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCell = function( cell )
Adds the given cells to the selection.
mxGraph.prototype.addSelectionCells = function( cells )
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCell = function( cell )
Removes the given cells from the selection.
mxGraph.prototype.removeSelectionCells = function( cells )
Selects and returns the cells inside the given rectangle for the specified event.
mxGraph.prototype.selectRegion = function( rect, evt )
Selects the next cell.
mxGraph.prototype.selectNextCell = function()
Selects the previous cell.
mxGraph.prototype.selectPreviousCell = function()
Selects the parent cell.
mxGraph.prototype.selectParentCell = function()
Selects the first child cell.
mxGraph.prototype.selectChildCell = function()
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCell = function( isNext, isParent, isChild )
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectAll = function( parent, descendants )
Select all vertices inside the given parent or the default parent.
mxGraph.prototype.selectVertices = function( parent )
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCells = function( vertices, edges, parent )
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellForEvent = function( cell, evt )
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellsForEvent = function( cells, evt )
Creates a new handler for the given cell state.
mxGraph.prototype.createHandler = function( state )
Hooks to create a new mxVertexHandler for the given mxCellState.
mxGraph.prototype.createVertexHandler = function( state )
Hooks to create a new mxEdgeHandler for the given mxCellState.
mxGraph.prototype.createEdgeHandler = function( state, edgeStyle )
Hooks to create a new mxEdgeSegmentHandler for the given mxCellState.
mxGraph.prototype.createEdgeSegmentHandler = function( state )
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
mxGraph.prototype.createElbowEdgeHandler = function( state )
Adds a listener to the graph event dispatch loop.
mxGraph.prototype.addMouseListener = function( listener )
Removes the specified graph listener.
mxGraph.prototype.removeMouseListener = function( listener )
Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
mxGraph.prototype.updateMouseEvent = function( me, evtName )
Returns true if the event should be ignored in fireMouseEvent.
mxGraph.prototype.isEventIgnored = function( evtName, me, sender )
Hook for ignoring synthetic mouse events after touchend in Firefox.
mxGraph.prototype.isSyntheticEventIgnored = function( evtName, me, sender )
Returns true if the event should be ignored in fireMouseEvent.
mxGraph.prototype.isEventSourceIgnored = function( evtName, me )
Returns the mxCellState to be used when firing the mouse event for the given state.
mxGraph.prototype.getEventState = function( state )
Consumes the given mxMouseEvent if it’s a touchStart event.
mxGraph.prototype.consumeMouseEvent = function( evtName, me, sender )
Destroys the graph and all its resources.
mxGraph.prototype.destroy = function()
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
mxGraphView.prototype.validate = function( cell )
Name under which mxImageShape is registered in mxCellRenderer.
SHAPE_IMAGE: 'image'
Name under which mxLabel is registered in mxCellRenderer.
SHAPE_LABEL: 'label'
Defines the key for the image style.
STYLE_IMAGE: 'image'
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
mxGraphModel.prototype.setValue = function( cell, value )
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
mxGraphModel.prototype.valueForCellChanged = function( cell, value )
Holds the style as a string of the form [(stylename|key=value);].
mxCell.prototype.style
Defines the SVG display dialect name.
DIALECT_SVG: 'svg'
Defines the strict HTML display dialect.
DIALECT_STRICTHTML: 'strictHtml'
Defines the preferred HTML display dialect name.
DIALECT_PREFERHTML: 'preferHtml'
Defines the mixed HTML display dialect name.
DIALECT_MIXEDHTML: 'mixedHtml'
Defines the VML display dialect name.
DIALECT_VML: 'vml'
Defines the rectangle for the A4 portrait page format.
PAGE_FORMAT_A4_PORTRAIT: new mxRectangle( 0, 0, 827, 1169 )
Border to handle automatic panning inside the component.
mxPanningManager.prototype.border
Defines the key for the loop style.
STYLE_LOOP: 'loopStyle'
Implements a self-reference, aka.
Loop: function ( state, source, target, points, result )
Defines the key for the fill color.
STYLE_FILLCOLOR: 'fillColor'
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
mxGraphView.prototype.rendering
Defines the key for the rounded style.
STYLE_ROUNDED: 'rounded'
Defines the key for the elbow style.
STYLE_ELBOW: 'elbow'
Returns the bounding box of the shape and the label for the given mxCellState and its children if recurse is true.
mxGraphView.prototype.getBoundingBox = function( state, recurse )
Returns an array of clones for the given array of mxCells.
mxGraphModel.prototype.cloneCells = function( cells, includeChildren, mapping )
Returns true if the given cell is the root of the model and a non-null value.
mxGraphModel.prototype.isRoot = function( cell )
Returns true if isRoot returns true for the parent of the given cell.
mxGraphModel.prototype.isLayer = function( cell )
Returns graphBounds.
mxGraphView.prototype.getGraphBounds = function()
Returns the union of all mxCellStates for the given array of mxCells.
mxGraphView.prototype.getBounds = function( cells )
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.setTranslate = function( dx, dy )
Specifies the event name for pan.
PAN: 'pan'
Returns the mxGeometry of the given mxCell.
mxGraphModel.prototype.getGeometry = function( cell )
Returns true if the given mxCell is visible.
mxGraphModel.prototype.isVisible = function( cell )
Returns true if the given mxCell is collapsed.
mxGraphModel.prototype.isCollapsed = function( cell )
Returns true if the given mxCell is connectable.
mxGraphModel.prototype.isConnectable = function( cell )
Defines the key for the white-space style.
STYLE_WHITE_SPACE: 'whiteSpace'
Defines the key for the overflow style.
STYLE_OVERFLOW: 'overflow'
Defines the key for the verticalAlign style.
STYLE_VERTICAL_ALIGN: 'verticalAlign'
Defines the key for the indicatorColor style.
STYLE_INDICATOR_COLOR: 'indicatorColor'
Defines the key for the indicatorGradientColor style.
STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'
Defines the key for the indicator shape used within an mxLabel.
STYLE_INDICATOR_SHAPE: 'indicatorShape'
Defines the key for the indicator image used within an mxLabel.
STYLE_INDICATOR_IMAGE: 'indicatorImage'
Defines the key for the cloneable style.
STYLE_CLONEABLE: 'cloneable'
Defines the key for the deletable style.
STYLE_DELETABLE: 'deletable'
Defines the key for the rotatable style.
STYLE_ROTATABLE: 'rotatable'
Defines the key for the movable style.
STYLE_MOVABLE: 'movable'
Defines the key for the resizable style.
STYLE_RESIZABLE: 'resizable'
Defines the key for the bendable style.
STYLE_BENDABLE: 'bendable'
Defines the key for the editable style.
STYLE_EDITABLE: 'editable'
Specifies if events are handled.
mxConnectionHandler.prototype.enabled
Specifies if events are handled.
mxTooltipHandler.prototype.enabled
Specifies if panning should be enabled.
mxPanningHandler.prototype.panningEnabled
Defines the key for the autosize style.
STYLE_AUTOSIZE: 'autosize'
Defines the key for the foldable style.
STYLE_FOLDABLE: 'foldable'
Specifies the event name for mouseDown.
MOUSE_DOWN: 'mouseDown'
Specifies the event name for mouseMove.
MOUSE_MOVE: 'mouseMove'
Specifies the event name for mouseUp.
MOUSE_UP: 'mouseUp'
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 )
Toggles the style of the given edge between null (or empty) and alternateEdgeStyle.
mxGraph.prototype.flipEdge = function( edge )
Moves the given cells to the front or back.
mxGraph.prototype.orderCells = function( back, cells )
Moves the given cells to the front or back.
mxGraph.prototype.cellsOrdered = function( cells, back )
Adds the cells into the given group.
mxGraph.prototype.groupCells = function( group, border, cells )
Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.
mxGraph.prototype.ungroupCells = function( cells )
Removes the specified cells from their parents and adds them to the default parent.
mxGraph.prototype.removeCellsFromParent = function( cells )
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 )
Adds the specified cells to the given parent.
mxGraph.prototype.cellsAdded = function( cells, parent, index, source, target, absolute, constrain, extend )
Removes the given cells from the graph including all connected edges if includeEdges is true.
mxGraph.prototype.removeCells = function( cells, includeEdges )
Removes the given cells from the model.
mxGraph.prototype.cellsRemoved = function( cells )
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxGraph.prototype.splitEdge = function( edge, cells, newEdge, dx, dy )
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.toggleCells = function( show, cells, includeEdges )
Sets the collapsed state of the specified cells and all descendants if recurse is true.
mxGraph.prototype.foldCells = function( collapse, recurse, cells, checkFoldable, evt )
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraph.prototype.updateCellSize = function( cell, ignoreChildren )
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, recurse )
Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event.
mxGraph.prototype.cellsResized = function( cells, bounds, recurse )
Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.
mxGraph.prototype.moveCells = function( cells, dx, dy, clone, target, evt, mapping )
Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.
mxGraph.prototype.cellsMoved = function( cells, dx, dy, disconnect, constrain, extend )
Connects the specified end of the given edge to the given terminal using cellConnected and fires mxEvent.CONNECT_CELL while the transaction is in progress.
mxGraph.prototype.connectCell = function( edge, terminal, source, constraint )
Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true.
mxGraph.prototype.cellConnected = function( edge, terminal, source, constraint )
Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.
mxGraph.prototype.refresh = function( cell )
Processes a singleclick on an optional cell and fires a click event.
mxGraph.prototype.click = function( me )
Processes a doubleclick on an optional cell and fires a dblclick event.
mxGraph.prototype.dblClick = function( evt, cell )
Dispatches a mxEvent.GESTURE event.
mxGraph.prototype.fireGestureEvent = function( evt, cell )
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraph.prototype.tapAndHold = function( me )
Dispatches the given event in the graph event dispatch loop.
mxGraph.prototype.fireMouseEvent = function( evtName, me, sender )
Called when the size of the graph has changed.
mxGraph.prototype.sizeDidChange = function()
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxGraph.prototype.startEditingAtCell = function( cell, evt )
Stops the current editing and fires a editingStopped event.
mxGraph.prototype.stopEditing = function( cancel )
Sets the new label for a cell.
mxGraph.prototype.cellLabelChanged = function( cell, value, autoSize )
Adds an mxCellOverlay for the specified cell.
mxGraph.prototype.addCellOverlay = function( cell, overlay )
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 )
Constructs a new mxGraph in the specified container.
function mxGraph( container, model, renderHint, stylesheet )
Immutable empty array instance.
mxGraph.prototype.EMPTY_ARRAY
Holds the mouse event listeners.
mxGraph.prototype.mouseListeners
Holds the state of the mouse button.
mxGraph.prototype.isMouseDown
Holds the mxGraphModel that contains the cells to be displayed.
mxGraph.prototype.model
Holds the mxGraphView that caches the mxCellStates for the cells.
mxGraph.prototype.view
Holds the mxStylesheet that defines the appearance of the cells.
mxGraph.prototype.stylesheet
Holds the mxGraphSelectionModel that models the current selection.
mxGraph.prototype.selectionModel
Holds the mxCellEditor that is used as the in-place editing.
mxGraph.prototype.cellEditor
Holds the mxCellRenderer for rendering the cells in the graph.
mxGraph.prototype.cellRenderer
An array of mxMultiplicities describing the allowed connections in a graph.
mxGraph.prototype.multiplicities
RenderHint as it was passed to the constructor.
mxGraph.prototype.renderHint
Dialect to be used for drawing the graph.
mxGraph.prototype.dialect
Specifies the grid size.
mxGraph.prototype.gridSize
Specifies if the grid is enabled.
mxGraph.prototype.gridEnabled
Specifies if ports are enabled.
mxGraph.prototype.portsEnabled
Specifies if double taps on touch-based devices should be handled as a double click.
mxGraph.prototype.doubleTapEnabled
Specifies the timeout for double taps and non-native double clicks.
mxGraph.prototype.doubleTapTimeout
Specifies the tolerance for double taps and double clicks in quirks mode.
mxGraph.prototype.doubleTapTolerance
Holds the time of the last touch event for double click detection.
mxGraph.prototype.lastTouchTime
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldEnabled
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldDelay
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldInProgress
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxGraph.prototype.tapAndHoldValid
Holds the x-coordinate of the intial touch event for tap and hold.
mxGraph.prototype.initialTouchX
Holds the y-coordinate of the intial touch event for tap and hold.
mxGraph.prototype.initialTouchY
Tolerance for a move to be handled as a single click.
mxGraph.prototype.tolerance
Value returned by getOverlap if isAllowOverlapParent returns true for the given cell.
mxGraph.prototype.defaultOverlap
Returns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent.
mxGraph.prototype.getOverlap = function( cell )
Returns true if the given cell is allowed to be placed outside of the parents area.
mxGraph.prototype.isAllowOverlapParent = function( cell )
Specifies the default parent to be used to insert new cells.
mxGraph.prototype.defaultParent
Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.
mxGraph.prototype.alternateEdgeStyle
Specifies the mxImage to be returned by getBackgroundImage.
mxGraph.prototype.backgroundImage
Returns the backgroundImage as an mxImage.
mxGraph.prototype.getBackgroundImage = function()
Specifies if the background page should be visible.
mxGraph.prototype.pageVisible
Specifies if a dashed line should be drawn between multiple pages.
mxGraph.prototype.pageBreaksVisible
Specifies the color for page breaks.
mxGraph.prototype.pageBreakColor
Specifies the page breaks should be dashed.
mxGraph.prototype.pageBreakDashed
Specifies the minimum distance for page breaks to be visible.
mxGraph.prototype.minPageBreakDist
Specifies if the graph size should be rounded to the next page number in sizeDidChange.
mxGraph.prototype.preferPageSize
Specifies the page format for the background page.
mxGraph.prototype.pageFormat
Specifies the scale of the background page.
mxGraph.prototype.pageScale
Specifies the return value for isEnabled.
mxGraph.prototype.enabled
Returns true if the graph is enabled.
mxGraph.prototype.isEnabled = function()
Specifies if mxKeyHandler should invoke escape when the escape key is pressed.
mxGraph.prototype.escapeEnabled
Processes an escape keystroke.
mxGraph.prototype.escape = function( evt )
If true, when editing is to be stopped by way of selection changing, data in diagram changing or other means stopCellEditing is invoked, and changes are saved.
mxGraph.prototype.invokesStopCellEditing
If true, pressing the enter key without pressing control or shift will stop editing and accept the new value.
mxGraph.prototype.enterStopsCellEditing
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
mxGraph.prototype.useScrollbarsForPanning
Shifts the graph display by the given amount.
mxGraph.prototype.panGraph = function( dx, dy )
Specifies the return value for canExportCell.
mxGraph.prototype.exportEnabled
Returns true if the given cell may be exported to the clipboard.
mxGraph.prototype.canExportCell = function( cell )
Specifies the return value for canImportCell.
mxGraph.prototype.importEnabled
Returns true if the given cell may be imported from the clipboard.
mxGraph.prototype.canImportCell = function( cell )
Specifies the return value for isCellLocked.
mxGraph.prototype.cellsLocked
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellLocked = function( cell )
Specifies the return value for isCellCloneable.
mxGraph.prototype.cellsCloneable
Returns true if the given cell is cloneable.
mxGraph.prototype.isCellCloneable = function( cell )
Specifies if folding (collapse and expand via an image icon in the graph should be enabled).
mxGraph.prototype.foldingEnabled
Specifies the return value for isCellEditable.
mxGraph.prototype.cellsEditable
Returns true if the given cell is editable.
mxGraph.prototype.isCellEditable = function( cell )
Specifies the return value for isCellDeletable.
mxGraph.prototype.cellsDeletable
Returns true if the given cell is moveable.
mxGraph.prototype.isCellDeletable = function( cell )
Specifies the return value for isCellMovable.
mxGraph.prototype.cellsMovable
Returns true if the given cell is moveable.
mxGraph.prototype.isCellMovable = function( cell )
Specifies the return value for edges in isLabelMovable.
mxGraph.prototype.edgeLabelsMovable
Returns true if the given edges’s label is moveable.
mxGraph.prototype.isLabelMovable = function( cell )
Specifies the return value for vertices in isLabelMovable.
mxGraph.prototype.vertexLabelsMovable
Specifies the return value for isDropEnabled.
mxGraph.prototype.dropEnabled
Returns dropEnabled as a boolean.
mxGraph.prototype.isDropEnabled = function()
Specifies if dropping onto edges should be enabled.
mxGraph.prototype.splitEnabled
Specifies the return value for isCellResizable.
mxGraph.prototype.cellsResizable
Returns true if the given cell is resizable.
mxGraph.prototype.isCellResizable = function( cell )
Specifies the return value for isCellsBendable.
mxGraph.prototype.cellsBendable
Returns cellsBenadable.
mxGraph.prototype.isCellsBendable = function()
Specifies the return value for isCellSelectable.
mxGraph.prototype.cellsSelectable
Returns true if the given cell is selectable.
mxGraph.prototype.isCellSelectable = function( cell )
Specifies the return value for isCellDisconntable.
mxGraph.prototype.cellsDisconnectable
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
Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.
mxGraph.prototype.autoScroll
Specifies if the graph should automatically scroll regardless of the scrollbars.
mxGraph.prototype.ignoreScrollbars
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received.
mxGraph.prototype.translateToScrollPosition
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars.
mxGraph.prototype.timerAutoScroll
Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.
mxGraph.prototype.allowAutoPanning
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollPointToVisible = function( x, y, extend, border )
Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.
mxGraph.prototype.autoExtend
mxRectangle that specifies the area in which all cells in the diagram should be placed.
mxGraph.prototype.maximumGraphBounds
mxRectangle that specifies the minimum size of the graph.
mxGraph.prototype.minimumGraphSize
mxRectangle that specifies the minimum size of the container if resizeContainer is true.
mxGraph.prototype.minimumContainerSize
Specifies if the container should be resized to the graph size when the graph size has changed.
mxGraph.prototype.resizeContainer
mxRectangle that specifies the maximum size of the container if resizeContainer is true.
mxGraph.prototype.maximumContainerSize
Border to be added to the bottom and right side when the container is being resized after the graph has been changed.
mxGraph.prototype.border
Specifies if edges should appear in the foreground regardless of their order in the model.
mxGraph.prototype.keepEdgesInForeground
Specifies if edges should appear in the background regardless of their order in the model.
mxGraph.prototype.keepEdgesInBackground
Specifies if negative coordinates for vertices are allowed.
mxGraph.prototype.allowNegativeCoordinates
Specifies if a child should be constrained inside the parent bounds after a move or resize of the child.
mxGraph.prototype.constrainChildren
Specifies if child cells with relative geometries should be constrained inside the parent bounds, if constrainChildren is true, and/or the maximumGraphBounds.
mxGraph.prototype.constrainRelativeChildren
Specifies if a parent should contain the child bounds after a resize of the child.
mxGraph.prototype.extendParents
Specifies if parents should be extended according to the extendParents switch if cells are added.
mxGraph.prototype.extendParentsOnAdd
Specifies the return value for isRecursiveResize.
mxGraph.prototype.recursiveResize
Returns recursiveResize.
mxGraph.prototype.isRecursiveResize = function( state )
Specifies if the cell size should be changed to the preferred size when a cell is first collapsed.
mxGraph.prototype.collapseToPreferredSize
Specifies the factor used for zoomIn and zoomOut.
mxGraph.prototype.zoomFactor
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomIn = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Specifies if the viewport should automatically contain the selection cells after a zoom operation.
mxGraph.prototype.keepSelectionVisibleOnZoom
Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left.
mxGraph.prototype.centerZoom
Specifies if the scale and translate should be reset if the root changes in the model.
mxGraph.prototype.resetViewOnRootChange
Specifies if edge control points should be reset after the resize of a connected cell.
mxGraph.prototype.resetEdgesOnResize
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.resetEdgesOnConnect
Specifies if loops (aka self-references) are allowed.
mxGraph.prototype.allowLoops
mxEdgeStyle to be used for loops.
mxGraph.prototype.defaultLoopStyle
Specifies if multiple edges in the same direction between the same pair of vertices are allowed.
mxGraph.prototype.multigraph
Specifies if edges are connectable.
mxGraph.prototype.connectableEdges
Specifies if edges with disconnected terminals are allowed in the graph.
mxGraph.prototype.allowDanglingEdges
Specifies if edges that are cloned should be validated and only inserted if they are valid.
mxGraph.prototype.cloneInvalidEdges
Specifies if edges should be disconnected from their terminals when they are moved.
mxGraph.prototype.disconnectOnMove
Specifies if labels should be visible.
mxGraph.prototype.labelsVisible
Specifies the return value for isHtmlLabel.
mxGraph.prototype.htmlLabels
Returns true if the label must be rendered as HTML markup.
mxGraph.prototype.isHtmlLabel = function( cell )
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxGraph.prototype.swimlaneSelectionEnabled
Specifies if nesting of swimlanes is allowed.
mxGraph.prototype.swimlaneNesting
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneIndicatorColorAttribute
Holds the list of image bundles.
mxGraph.prototype.imageBundles
Specifies the minimum scale to be applied in fit.
mxGraph.prototype.minFitScale
Scales the graph such that the complete diagram fits into container and returns the current scale in the view.
mxGraph.prototype.fit = function( border, keepOrigin, margin, enabled, ignoreWidth, ignoreHeight, maxHeight )
Specifies the maximum scale to be applied in fit.
mxGraph.prototype.maxFitScale
Current horizontal panning value.
mxGraph.prototype.panDx
Current vertical panning value.
mxGraph.prototype.panDy
Specifies the mxImage to indicate a collapsed state.
mxGraph.prototype.collapsedImage
Specifies the mxImage to indicate a expanded state.
mxGraph.prototype.expandedImage
Specifies the mxImage for the image to be used to display a warning overlay.
mxGraph.prototype.warningImage
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
mxGraph.prototype.alreadyConnectedResource
Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.
mxGraph.prototype.containsValidationErrorsResource
Specifies the resource key for the tooltip on the collapse/expand icon.
mxGraph.prototype.collapseExpandResource
Initializes the container and creates the respective datastructures.
mxGraph.prototype.init = function( container )
Creates the tooltip-, panning-, connection- and graph-handler (in this order).
mxGraph.prototype.createHandlers = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createTooltipHandler = function()
Creates and returns a new mxTooltipHandler to be used in this graph.
mxGraph.prototype.createSelectionCellsHandler = function()
Creates and returns a new mxConnectionHandler to be used in this graph.
mxGraph.prototype.createConnectionHandler = function()
Creates and returns a new mxGraphHandler to be used in this graph.
mxGraph.prototype.createGraphHandler = function()
Creates and returns a new mxPanningHandler to be used in this graph.
mxGraph.prototype.createPanningHandler = function()
Creates and returns a new mxPopupMenuHandler to be used in this graph.
mxGraph.prototype.createPopupMenuHandler = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxGraph.prototype.createSelectionModel = function()
Creates a new mxGraphSelectionModel to be used in this graph.
mxGraph.prototype.createStylesheet = function()
Creates a new mxGraphView to be used in this graph.
mxGraph.prototype.createGraphView = function()
Creates a new mxCellRenderer to be used in this graph.
mxGraph.prototype.createCellRenderer = function()
Creates a new mxCellEditor to be used in this graph.
mxGraph.prototype.createCellEditor = function()
Returns the mxGraphModel that contains the cells.
mxGraph.prototype.getModel = function()
Returns the mxGraphView that contains the mxCellStates.
mxGraph.prototype.getView = function()
Returns the mxStylesheet that defines the style.
mxGraph.prototype.getStylesheet = function()
Sets the mxStylesheet that defines the style.
mxGraph.prototype.setStylesheet = function( stylesheet )
Returns the mxGraphSelectionModel that contains the selection.
mxGraph.prototype.getSelectionModel = function()
Sets the mxSelectionModel that contains the selection.
mxGraph.prototype.setSelectionModel = function( selectionModel )
Returns the cells to be selected for the given array of changes.
mxGraph.prototype.getSelectionCellsForChanges = function( changes )
Called when the graph model changes.
mxGraph.prototype.graphModelChanged = function( changes )
Returns the cells that have been removed from the model.
mxGraph.prototype.getRemovedCellsForChanges = function( changes )
Processes the given change and invalidates the respective cached data in view.
mxGraph.prototype.processChange = function( change )
Removes all cached information for the given cell and its descendants.
mxGraph.prototype.removeStateForCell = function( cell )
Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.
mxGraph.prototype.getCellOverlays = function( cell )
Removes all mxCellOverlays in the graph for the given cell and all its descendants.
mxGraph.prototype.clearCellOverlays = function( cell )
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraph.prototype.setCellWarning = function( cell, warning, img, isSelect )
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditing = function( evt )
Starts the editor for the given cell.
mxCellEditor.prototype.startEditing = function( cell, trigger )
Returns the initial value for in-place editing.
mxGraph.prototype.getEditingValue = function( cell, evt )
Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress.
mxGraph.prototype.labelChanged = function( cell, value, evt )
Creates and returns an mxPanningManager.
mxGraph.prototype.createPanningManager = function()
Returns the size of the border and padding on all four sides of the container.
mxGraph.prototype.getBorderSizes = function()
Returns the preferred size of the background page if preferPageSize is true.
mxGraph.prototype.getPreferredPageSize = function( bounds, width, height )
Resizes the container for the given graph width and height.
mxGraph.prototype.doResizeContainer = function( width, height )
Invokes from sizeDidChange to redraw the page breaks.
mxGraph.prototype.updatePageBreaks = function( visible, width, height )
Returns an array of key, value pairs representing the cell style for the given cell.
mxGraph.prototype.getCellStyle = function( cell )
Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.
mxGraph.prototype.postProcessCellStyle = function( style )
Sets the style of the specified cells.
mxGraph.prototype.setCellStyle = function( style, cells )
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyle = function( key, defaultValue, cell )
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyles = function( key, defaultValue, cells )
Sets the key to value in the styles of the given cells.
mxGraph.prototype.setCellStyles = function( key, value, cells )
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.toggleCellStyleFlags = function( key, flag, cells )
Sets or toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.setCellStyleFlags = function( key, flag, value, cells )
Adds the specified mxImageBundle.
mxGraph.prototype.addImageBundle = function( bundle )
Removes the specified mxImageBundle.
mxGraph.prototype.removeImageBundle = function( bundle )
Searches all imageBundles for the specified key and returns the value for the first match or null if the key is not found.
mxGraph.prototype.getImageFromBundles = function( key )
Returns the cells with the same parent as the first cell in the given array.
mxGraph.prototype.getCellsForGroup = function( cells )
Returns the bounds to be used for the given group and children.
mxGraph.prototype.getBoundsForGroup = function( group, children, border )
Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.
mxGraph.prototype.createGroupCell = function( cells )
Hook to remove the groups after ungroupCells.
mxGraph.prototype.removeCellsAfterUngroup = function( cells )
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxGraph.prototype.updateGroupBounds = function( cells, border, moveGroup, topBorder, rightBorder, bottomBorder, leftBorder )
Returns the bounding box for the given array of mxCells.
mxGraph.prototype.getBoundingBox = function( cells )
Returns the clones for the given cells.
mxGraph.prototype.cloneCells = function( cells, allowInvalidEdges, mapping )
Adds a new vertex into the given parent mxCell using value as the user object and the given coordinates as the mxGeometry of the new vertex.
mxGraph.prototype.insertVertex = function( parent, id, value, x, y, width, height, style, relative )
Hook method that creates the new vertex for insertVertex.
mxGraph.prototype.createVertex = function( parent, id, value, x, y, width, height, style, relative )
Adds a new edge into the given parent mxCell using value as the user object and the given source and target as the terminals of the new edge.
mxGraph.prototype.insertEdge = function( parent, id, value, source, target, style )
Hook method that creates the new edge for insertEdge.
mxGraph.prototype.createEdge = function( parent, id, value, source, target, style )
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 )
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 )
Resizes the specified cell to just fit around the its label and/or children
mxGraph.prototype.autoSizeCell = function( cell, recurse )
Sets the visible state of the specified cells.
mxGraph.prototype.cellsToggled = function( cells, show )
Sets the collapsed state of the specified cells.
mxGraph.prototype.cellsFolded = function( cells, collapse, recurse, checkFoldable )
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxGraph.prototype.swapBounds = function( cell, willCollapse )
Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.
mxGraph.prototype.updateAlternateBounds = function( cell, geo, willCollapse )
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 )
Returns all edges connected to the given cells or its descendants.
mxGraph.prototype.getAllEdges = function( cells )
Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.
mxGraph.prototype.cellSizeUpdated = function( cell, ignoreChildren )
Returns the preferred width and height of the given mxCell as an mxRectangle.
mxGraph.prototype.getPreferredSizeForCell = function( cell )
Sets the bounds of the given cell using resizeCells.
mxGraph.prototype.resizeCell = function( cell, bounds, recurse )
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.cellResized = function( cell, bounds, ignoreRelative, recurse )
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
mxGraph.prototype.resizeChildCells = function( cell, newGeo )
Constrains the children of the given cell using constrainChild.
mxGraph.prototype.constrainChildCells = function( cell )
Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild.
mxGraph.prototype.constrainChild = function( cell, sizeFirst )
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraph.prototype.scaleCell = function( cell, dx, dy, recurse )
Resizes the parents recursively so that they contain the complete area of the resized child cell.
mxGraph.prototype.extendParent = function( cell )
Clones and inserts the given cells into the graph using the move method and returns the inserted cells.
mxGraph.prototype.importCells = function( cells, dx, dy, target, evt, mapping )
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxGraph.prototype.translateCell = function( cell, dx, dy )
Returns the mxRectangle inside which a cell is to be kept.
mxGraph.prototype.getCellContainmentArea = function( cell )
Returns the bounds inside which the diagram should be kept as an mxRectangle.
mxGraph.prototype.getMaximumGraphBounds = function()
Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent.
mxGraph.prototype.isConstrainChild = function( cell )
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 control points of the given edge.
mxGraph.prototype.resetEdge = function( edge )
Returns the constraint used to connect to the outline of the given state.
mxGraph.prototype.getOutlineConstraint = function( point, terminalState, me )
Returns an array of all mxConnectionConstraints for the given terminal.
mxGraph.prototype.getAllConnectionConstraints = function( terminal, source )
Returns an mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.getConnectionConstraint = function( edge, terminal, source )
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConnectionConstraint = function( edge, terminal, source, constraint )
Returns the nearest point in the list of absolute points or the center of the opposite terminal.
mxGraph.prototype.getConnectionPoint = function( vertex, constraint )
Disconnects the given edges from the terminals which are not in the given array.
mxGraph.prototype.disconnectGraph = function( cells )
Returns the current root of the displayed cell hierarchy.
mxGraph.prototype.getCurrentRoot = function()
Returns the translation to be used if the given cell is the root cell as an mxPoint.
mxGraph.prototype.getTranslateForRoot = function( cell )
Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT.
mxGraph.prototype.isPort = function( cell )
Returns the terminal to be used for a given port.
mxGraph.prototype.getTerminalForPort = function( cell, source )
Returns the offset to be used for the cells inside the given cell.
mxGraph.prototype.getChildOffsetForCell = function( cell )
Uses the given cell as the root of the displayed cell hierarchy.
mxGraph.prototype.enterGroup = function( cell )
Changes the current root to the next valid root in the displayed cell hierarchy.
mxGraph.prototype.exitGroup = function()
Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root.
mxGraph.prototype.home = function()
Returns true if the given cell is a valid root for the cell display hierarchy.
mxGraph.prototype.isValidRoot = function( cell )
Returns the bounds of the visible graph.
mxGraph.prototype.getGraphBounds = function()
Returns the scaled, translated bounds for the given cell.
mxGraph.prototype.getCellBounds = function( cell, includeEdges, includeDescendants )
Returns the bounding box for the geometries of the vertices in the given array of cells.
mxGraph.prototype.getBoundingBoxFromGeometry = function( cells, includeEdges )
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraph.prototype.snap = function( value )
Resets the zoom and panning in the view.
mxGraph.prototype.zoomActual = function()
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoomTo = function( scale, center )
Zooms the graph using the given factor.
mxGraph.prototype.zoom = function( factor, center )
Centers the graph in the container.
mxGraph.prototype.center = function( horizontal, vertical, cx, cy )
Zooms the graph to the specified rectangle.
mxGraph.prototype.zoomToRect = function( rect )
Pans the graph so that it shows the given cell.
mxGraph.prototype.scrollCellToVisible = function( cell, center )
Pans the graph so that it shows the given rectangle.
mxGraph.prototype.scrollRectToVisible = function( rect )
Returns the mxGeometry for the given cell.
mxGraph.prototype.getCellGeometry = function( cell )
Returns true if the given cell is visible in this graph.
mxGraph.prototype.isCellVisible = function( cell )
Returns true if the given cell is collapsed in this graph.
mxGraph.prototype.isCellCollapsed = function( cell )
Returns true if the given cell is connectable in this graph.
mxGraph.prototype.isCellConnectable = function( cell )
Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.
mxGraph.prototype.isOrthogonal = function( edge )
Returns true if the given cell state is a loop.
mxGraph.prototype.isLoop = function( state )
Returns true if the given event is a clone event.
mxGraph.prototype.isCloneEvent = function( evt )
Hook for implementing click-through behaviour on selected cells.
mxGraph.prototype.isTransparentClickEvent = function( evt )
Returns true if the given event is a toggle event.
mxGraph.prototype.isToggleEvent = function( evt )
Returns true if the given mouse event should be aligned to the grid.
mxGraph.prototype.isGridEnabledEvent = function( evt )
Returns true if the given mouse event should be aligned to the grid.
mxGraph.prototype.isConstrainedEvent = function( evt )
Returns true if the given mouse event should not allow any connections to be made.
mxGraph.prototype.isIgnoreTerminalEvent = function( evt )
Displays the given validation error in a dialog.
mxGraph.prototype.validationAlert = function( message )
Checks if the return value of getEdgeValidationError for the given arguments is null.
mxGraph.prototype.isEdgeValid = function( edge, source, target )
Returns the validation error message to be displayed when inserting or changing an edges’ connectivity.
mxGraph.prototype.getEdgeValidationError = function( edge, source, target )
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateEdge = function( edge, source, target )
Validates the graph by validating each descendant of the given cell or the root of the model.
mxGraph.prototype.validateGraph = function( cell, context )
Checks all multiplicities that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge.
mxGraph.prototype.getCellValidationError = function( cell )
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraph.prototype.validateCell = function( cell, context )
Sets the new backgroundImage.
mxGraph.prototype.setBackgroundImage = function( image )
Returns the mxImage used to display the collapsed state of the specified cell state.
mxGraph.prototype.getFoldingImage = function( state )
Returns the textual representation for the given cell.
mxGraph.prototype.convertValueToString = function( cell )
Returns a string or DOM node that represents the label for the given cell.
mxGraph.prototype.getLabel = function( cell )
Returns htmlLabels.
mxGraph.prototype.isHtmlLabels = function()
Sets htmlLabels.
mxGraph.prototype.setHtmlLabels = function( value )
This enables wrapping for HTML labels.
mxGraph.prototype.isWrapping = function( cell )
Returns true if the overflow portion of labels should be hidden.
mxGraph.prototype.isLabelClipped = function( cell )
Returns the string or DOM node that represents the tooltip for the given state, node and coordinate pair.
mxGraph.prototype.getTooltip = function( state, node, x, y )
Returns the string or DOM node to be used as the tooltip for the given cell.
mxGraph.prototype.getTooltipForCell = function( cell )
Returns the string to be used as the link for the given cell.
mxGraph.prototype.getLinkForCell = function( cell )
Returns the cursor value to be used for the CSS of the shape for the given event.
mxGraph.prototype.getCursorForMouseEvent = function( me )
Returns the cursor value to be used for the CSS of the shape for the given cell.
mxGraph.prototype.getCursorForCell = function( cell )
Returns the start size of the given swimlane, that is, the width or height of the part that contains the title, depending on the horizontal style.
mxGraph.prototype.getStartSize = function( swimlane )
Returns the image URL for the given cell state.
mxGraph.prototype.getImage = function( state )
Returns the vertical alignment for the given cell state.
mxGraph.prototype.getVerticalAlign = function( state )
Returns the indicator color for the given cell state.
mxGraph.prototype.getIndicatorColor = function( state )
Returns the indicator gradient color for the given cell state.
mxGraph.prototype.getIndicatorGradientColor = function( state )
Returns the indicator shape for the given cell state.
mxGraph.prototype.getIndicatorShape = function( state )
Returns the indicator image for the given cell state.
mxGraph.prototype.getIndicatorImage = function( state )
Returns the value of border.
mxGraph.prototype.getBorder = function()
Sets the value of border.
mxGraph.prototype.setBorder = function( value )
Returns true if the given cell is a swimlane in the graph.
mxGraph.prototype.isSwimlane = function ( cell )
Returns resizeContainer.
mxGraph.prototype.isResizeContainer = function()
Sets resizeContainer.
mxGraph.prototype.setResizeContainer = function( value )
Specifies if the graph should allow any interactions.
mxGraph.prototype.setEnabled = function( value )
Returns escapeEnabled.
mxGraph.prototype.isEscapeEnabled = function()
Sets escapeEnabled.
mxGraph.prototype.setEscapeEnabled = function( value )
Returns invokesStopCellEditing.
mxGraph.prototype.isInvokesStopCellEditing = function()
Sets invokesStopCellEditing.
mxGraph.prototype.setInvokesStopCellEditing = function( value )
Returns enterStopsCellEditing.
mxGraph.prototype.isEnterStopsCellEditing = function()
Sets enterStopsCellEditing.
mxGraph.prototype.setEnterStopsCellEditing = function( value )
Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.isCellsLocked = function()
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.setCellsLocked = function( value )
Returns the cells which may be exported in the given array of cells.
mxGraph.prototype.getCloneableCells = function( cells )
Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.
mxGraph.prototype.isCellsCloneable = function()
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsCloneable = function( value )
Returns the cells which may be exported in the given array of cells.
mxGraph.prototype.getExportableCells = function( cells )
Returns the cells which may be imported in the given array of cells.
mxGraph.prototype.getImportableCells = function( cells )
Returns cellsSelectable.
mxGraph.prototype.isCellsSelectable = function()
Sets cellsSelectable.
mxGraph.prototype.setCellsSelectable = function( value )
Returns the cells which may be exported in the given array of cells.
mxGraph.prototype.getDeletableCells = function( cells )
Returns cellsDeletable.
mxGraph.prototype.isCellsDeletable = function()
Sets cellsDeletable.
mxGraph.prototype.setCellsDeletable = function( value )
Returns true if the given cell is rotatable.
mxGraph.prototype.isCellRotatable = function( cell )
Returns the cells which are movable in the given array of cells.
mxGraph.prototype.getMovableCells = function( cells )
Returns cellsMovable.
mxGraph.prototype.isCellsMovable = function()
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsMovable = function( value )
Returns gridEnabled as a boolean.
mxGraph.prototype.isGridEnabled = function()
Specifies if the grid should be enabled.
mxGraph.prototype.setGridEnabled = function( value )
Returns portsEnabled as a boolean.
mxGraph.prototype.isPortsEnabled = function()
Specifies if the ports should be enabled.
mxGraph.prototype.setPortsEnabled = function( value )
Returns gridSize.
mxGraph.prototype.getGridSize = function()
Sets gridSize.
mxGraph.prototype.setGridSize = function( value )
Returns tolerance.
mxGraph.prototype.getTolerance = function()
Sets tolerance.
mxGraph.prototype.setTolerance = function( value )
Returns vertexLabelsMovable.
mxGraph.prototype.isVertexLabelsMovable = function()
Sets vertexLabelsMovable.
mxGraph.prototype.setVertexLabelsMovable = function( value )
Returns edgeLabelsMovable.
mxGraph.prototype.isEdgeLabelsMovable = function()
Returns swimlaneNesting as a boolean.
mxGraph.prototype.isSwimlaneNesting = function()
Specifies if swimlanes can be nested by drag and drop.
mxGraph.prototype.setSwimlaneNesting = function( value )
Returns swimlaneSelectionEnabled as a boolean.
mxGraph.prototype.isSwimlaneSelectionEnabled = function()
Specifies if swimlanes should be selected if the mouse is released over their content area.
mxGraph.prototype.setSwimlaneSelectionEnabled = function( value )
Returns multigraph as a boolean.
mxGraph.prototype.isMultigraph = function()
Specifies if the graph should allow multiple connections between the same pair of vertices.
mxGraph.prototype.setMultigraph = function( value )
Returns allowLoops as a boolean.
mxGraph.prototype.isAllowLoops = function()
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraph.prototype.setAllowDanglingEdges = function( value )
Returns allowDanglingEdges as a boolean.
mxGraph.prototype.isAllowDanglingEdges = function()
Specifies if edges should be connectable.
mxGraph.prototype.setConnectableEdges = function( value )
Returns connectableEdges as a boolean.
mxGraph.prototype.isConnectableEdges = function()
Specifies if edges should be inserted when cloned but not valid wrt.
mxGraph.prototype.setCloneInvalidEdges = function( value )
Returns cloneInvalidEdges as a boolean.
mxGraph.prototype.isCloneInvalidEdges = function()
Specifies if loops are allowed.
mxGraph.prototype.setAllowLoops = function( value )
Returns disconnectOnMove as a boolean.
mxGraph.prototype.isDisconnectOnMove = function()
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDisconnectOnMove = function( value )
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.setDropEnabled = function( value )
Returns splitEnabled as a boolean.
mxGraph.prototype.isSplitEnabled = function()
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.setSplitEnabled = function( value )
Returns cellsResizable.
mxGraph.prototype.isCellsResizable = function()
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsResizable = function( value )
Returns true if the given terminal point is movable.
mxGraph.prototype.isTerminalPointMovable = function( cell, source )
Returns true if the given cell is bendable.
mxGraph.prototype.isCellBendable = function( cell )
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsBendable = function( value )
Returns cellsEditable.
mxGraph.prototype.isCellsEditable = function()
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsEditable = function( value )
Returns true if the given cell is disconnectable from the source or target terminal.
mxGraph.prototype.isCellDisconnectable = function( cell, terminal, source )
Returns cellsDisconnectable.
mxGraph.prototype.isCellsDisconnectable = function()
Sets cellsDisconnectable.
mxGraph.prototype.setCellsDisconnectable = function( value )
Returns true if the given cell is a valid source for new connections.
mxGraph.prototype.isValidSource = function( cell )
Returns isValidSource for the given cell.
mxGraph.prototype.isValidTarget = function( cell )
Returns true if the given target cell is a valid target for source.
mxGraph.prototype.isValidConnection = function( source, target )
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectable = function( connectable )
Returns true if the connectionHandler is enabled.
mxGraph.prototype.isConnectable = function( connectable )
Specifies if tooltips should be enabled.
mxGraph.prototype.setTooltips = function ( enabled )
Specifies if panning should be enabled.
mxGraph.prototype.setPanning = function( enabled )
Returns true if the given cell is currently being edited.
mxGraph.prototype.isEditing = function( cell )
Returns true if the size of the given cell should automatically be updated after a change of the label.
mxGraph.prototype.isAutoSizeCell = function( cell )
Returns autoSizeCells.
mxGraph.prototype.isAutoSizeCells = function()
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setAutoSizeCells = function( value )
Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.
mxGraph.prototype.isExtendParent = function( cell )
Returns extendParents.
mxGraph.prototype.isExtendParents = function()
Sets extendParents.
mxGraph.prototype.setExtendParents = function( value )
Returns extendParentsOnAdd.
mxGraph.prototype.isExtendParentsOnAdd = function( cell )
Sets extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnAdd = function( value )
Returns extendParentsOnMove.
mxGraph.prototype.isExtendParentsOnMove = function()
Sets extendParentsOnMove.
mxGraph.prototype.setExtendParentsOnMove = function( value )
Sets recursiveResize.
mxGraph.prototype.setRecursiveResize = function( value )
Returns constrainChildren.
mxGraph.prototype.isConstrainChildren = function()
Sets constrainChildren.
mxGraph.prototype.setConstrainChildren = function( value )
Returns constrainRelativeChildren.
mxGraph.prototype.isConstrainRelativeChildren = function()
Sets constrainRelativeChildren.
mxGraph.prototype.setConstrainRelativeChildren = function( value )
Returns the cells which are movable in the given array of cells.
mxGraph.prototype.getFoldableCells = function( cells, collapse )
Returns true if the given cell is foldable.
mxGraph.prototype.isCellFoldable = function( cell, collapse )
Returns true if the given cell is a valid drop target for the specified cells.
mxGraph.prototype.isValidDropTarget = function( cell, cells, evt )
Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.
mxGraph.prototype.isSplitTarget = function( target, cells, evt )
Returns the given cell if it is a drop target for the given cells or the nearest ancestor that may be used as a drop target for the given cells.
mxGraph.prototype.getDropTarget = function( cells, evt, cell, clone )
Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null.
mxGraph.prototype.getDefaultParent = function()
mxCell that acts as the root of the displayed cell hierarchy.
mxGraphView.prototype.currentRoot
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
mxGraphModel.prototype.root
Sets the defaultParent to the given cell.
mxGraph.prototype.setDefaultParent = function( cell )
Returns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane.
mxGraph.prototype.getSwimlane = function( cell )
Returns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
mxGraph.prototype.getSwimlaneAt = function ( x, y, parent )
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.
mxGraph.prototype.getCellAt = function( x, y, parent, vertices, edges, ignoreFn )
Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.
mxGraph.prototype.intersects = function( state, x, y )
Returns true if the given coordinate pair is inside the content are of the given swimlane.
mxGraph.prototype.hitsSwimlaneContent = function( swimlane, x, y )
Returns the visible child vertices of the given parent.
mxGraph.prototype.getChildVertices = function( parent )
Returns the visible child edges of the given parent.
mxGraph.prototype.getChildEdges = function( parent )
Returns the visible child vertices or edges in the given parent.
mxGraph.prototype.getChildCells = function( parent, vertices, edges )
Returns all visible edges connected to the given cell without loops.
mxGraph.prototype.getConnections = function( cell, parent )
Returns the visible incoming edges for the given cell.
mxGraph.prototype.getIncomingEdges = function( cell, parent )
Returns the visible outgoing edges for the given cell.
mxGraph.prototype.getOutgoingEdges = function( cell, parent )
Returns the incoming and/or outgoing edges for the given cell.
mxGraph.prototype.getEdges = function( cell, parent, incoming, outgoing, includeLoops, recurse )
Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.
mxGraph.prototype.isValidAncestor = function( cell, parent, recurse )
Returns all distinct visible opposite cells for the specified terminal on the given edges.
mxGraph.prototype.getOpposites = function( edges, terminal, sources, targets )
Returns the edges between the given source and target.
mxGraph.prototype.getEdgesBetween = function( source, target, directed )
Returns an mxPoint representing the given event in the unscaled, non-translated coordinate space of container and applies the grid.
mxGraph.prototype.getPointForEvent = function( evt, addOffset )
Returns the child vertices and edges of the given parent that are contained in the given rectangle.
mxGraph.prototype.getCells = function( x, y, width, height, parent, result )
Returns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards or downwards depending on rightHalfpane and bottomHalfpane.
mxGraph.prototype.getCellsBeyond = function( x0, y0, parent, rightHalfpane, bottomHalfpane )
Returns all children in the given parent which do not have incoming edges.
mxGraph.prototype.findTreeRoots = function( parent, isolate, invert )
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraph.prototype.traverse = function( vertex, directed, func, edge, visited, inverse )
Returns true if the given cell is selected.
mxGraph.prototype.isCellSelected = function( cell )
Returns true if the selection is empty.
mxGraph.prototype.isSelectionEmpty = function()
Clears the selection using mxGraphSelectionModel.clear.
mxGraph.prototype.clearSelection = function()
Clears the selection and fires a change event if the selection was not empty.
mxGraphSelectionModel.prototype.clear = function()
Returns the number of selected cells.
mxGraph.prototype.getSelectionCount = function()
Returns the first cell from the array of selected mxCells.
mxGraph.prototype.getSelectionCell = function()
Returns the array of selected mxCells.
mxGraph.prototype.getSelectionCells = function()
Sets the selection cell.
mxGraph.prototype.setSelectionCell = function( cell )
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function( cells )
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCell = function( cell )
Adds the given cells to the selection.
mxGraph.prototype.addSelectionCells = function( cells )
Removes the given cell from the selection.
mxGraph.prototype.removeSelectionCell = function( cell )
Removes the given cells from the selection.
mxGraph.prototype.removeSelectionCells = function( cells )
Selects and returns the cells inside the given rectangle for the specified event.
mxGraph.prototype.selectRegion = function( rect, evt )
Selects the next cell.
mxGraph.prototype.selectNextCell = function()
Selects the previous cell.
mxGraph.prototype.selectPreviousCell = function()
Selects the parent cell.
mxGraph.prototype.selectParentCell = function()
Selects the first child cell.
mxGraph.prototype.selectChildCell = function()
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCell = function( isNext, isParent, isChild )
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectAll = function( parent, descendants )
Select all vertices inside the given parent or the default parent.
mxGraph.prototype.selectVertices = function( parent )
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCells = function( vertices, edges, parent )
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellForEvent = function( cell, evt )
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellsForEvent = function( cells, evt )
Creates a new handler for the given cell state.
mxGraph.prototype.createHandler = function( state )
Hooks to create a new mxVertexHandler for the given mxCellState.
mxGraph.prototype.createVertexHandler = function( state )
Hooks to create a new mxEdgeHandler for the given mxCellState.
mxGraph.prototype.createEdgeHandler = function( state, edgeStyle )
Hooks to create a new mxEdgeSegmentHandler for the given mxCellState.
mxGraph.prototype.createEdgeSegmentHandler = function( state )
Hooks to create a new mxElbowEdgeHandler for the given mxCellState.
mxGraph.prototype.createElbowEdgeHandler = function( state )
Adds a listener to the graph event dispatch loop.
mxGraph.prototype.addMouseListener = function( listener )
Removes the specified graph listener.
mxGraph.prototype.removeMouseListener = function( listener )
Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
mxGraph.prototype.updateMouseEvent = function( me, evtName )
Returns true if the event should be ignored in fireMouseEvent.
mxGraph.prototype.isEventIgnored = function( evtName, me, sender )
Hook for ignoring synthetic mouse events after touchend in Firefox.
mxGraph.prototype.isSyntheticEventIgnored = function( evtName, me, sender )
Returns true if the event should be ignored in fireMouseEvent.
mxGraph.prototype.isEventSourceIgnored = function( evtName, me )
Returns the mxCellState to be used when firing the mouse event for the given state.
mxGraph.prototype.getEventState = function( state )
Consumes the given mxMouseEvent if it’s a touchStart event.
mxGraph.prototype.consumeMouseEvent = function( evtName, me, sender )
Destroys the graph and all its resources.
mxGraph.prototype.destroy = function()
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
mxGraphView.prototype.validate = function( cell )
Name under which mxImageShape is registered in mxCellRenderer.
SHAPE_IMAGE: 'image'
Name under which mxLabel is registered in mxCellRenderer.
SHAPE_LABEL: 'label'
Defines the key for the image style.
STYLE_IMAGE: 'image'
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
mxGraphModel.prototype.setValue = function( cell, value )
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
mxGraphModel.prototype.valueForCellChanged = function( cell, value )
Holds the style as a string of the form [(stylename|key=value);].
mxCell.prototype.style
Defines the SVG display dialect name.
DIALECT_SVG: 'svg'
Defines the strict HTML display dialect.
DIALECT_STRICTHTML: 'strictHtml'
Defines the preferred HTML display dialect name.
DIALECT_PREFERHTML: 'preferHtml'
Defines the mixed HTML display dialect name.
DIALECT_MIXEDHTML: 'mixedHtml'
Defines the VML display dialect name.
DIALECT_VML: 'vml'
Defines the rectangle for the A4 portrait page format.
PAGE_FORMAT_A4_PORTRAIT: new mxRectangle( 0, 0, 827, 1169 )
Border to handle automatic panning inside the component.
mxPanningManager.prototype.border
Defines the key for the loop style.
STYLE_LOOP: 'loopStyle'
Implements a self-reference, aka.
Loop: function ( state, source, target, points, result )
Defines the key for the fill color.
STYLE_FILLCOLOR: 'fillColor'
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
mxGraphView.prototype.rendering
Defines the key for the rounded style.
STYLE_ROUNDED: 'rounded'
Defines the key for the elbow style.
STYLE_ELBOW: 'elbow'
Returns the bounding box of the shape and the label for the given mxCellState and its children if recurse is true.
mxGraphView.prototype.getBoundingBox = function( state, recurse )
Returns an array of clones for the given array of mxCells.
mxGraphModel.prototype.cloneCells = function( cells, includeChildren, mapping )
Returns true if the given cell is the root of the model and a non-null value.
mxGraphModel.prototype.isRoot = function( cell )
Returns true if isRoot returns true for the parent of the given cell.
mxGraphModel.prototype.isLayer = function( cell )
Returns graphBounds.
mxGraphView.prototype.getGraphBounds = function()
Returns the union of all mxCellStates for the given array of mxCells.
mxGraphView.prototype.getBounds = function( cells )
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.setTranslate = function( dx, dy )
Specifies the event name for pan.
PAN: 'pan'
Returns the mxGeometry of the given mxCell.
mxGraphModel.prototype.getGeometry = function( cell )
Returns true if the given mxCell is visible.
mxGraphModel.prototype.isVisible = function( cell )
Returns true if the given mxCell is collapsed.
mxGraphModel.prototype.isCollapsed = function( cell )
Returns true if the given mxCell is connectable.
mxGraphModel.prototype.isConnectable = function( cell )
Defines the key for the white-space style.
STYLE_WHITE_SPACE: 'whiteSpace'
Defines the key for the overflow style.
STYLE_OVERFLOW: 'overflow'
Defines the key for the verticalAlign style.
STYLE_VERTICAL_ALIGN: 'verticalAlign'
Defines the key for the indicatorColor style.
STYLE_INDICATOR_COLOR: 'indicatorColor'
Defines the key for the indicatorGradientColor style.
STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'
Defines the key for the indicator shape used within an mxLabel.
STYLE_INDICATOR_SHAPE: 'indicatorShape'
Defines the key for the indicator image used within an mxLabel.
STYLE_INDICATOR_IMAGE: 'indicatorImage'
Defines the key for the cloneable style.
STYLE_CLONEABLE: 'cloneable'
Defines the key for the deletable style.
STYLE_DELETABLE: 'deletable'
Defines the key for the rotatable style.
STYLE_ROTATABLE: 'rotatable'
Defines the key for the movable style.
STYLE_MOVABLE: 'movable'
Defines the key for the resizable style.
STYLE_RESIZABLE: 'resizable'
Defines the key for the bendable style.
STYLE_BENDABLE: 'bendable'
Defines the key for the editable style.
STYLE_EDITABLE: 'editable'
Specifies if events are handled.
mxConnectionHandler.prototype.enabled
Specifies if events are handled.
mxTooltipHandler.prototype.enabled
Specifies if panning should be enabled.
mxPanningHandler.prototype.panningEnabled
Defines the key for the autosize style.
STYLE_AUTOSIZE: 'autosize'
Defines the key for the foldable style.
STYLE_FOLDABLE: 'foldable'
Specifies the event name for mouseDown.
MOUSE_DOWN: 'mouseDown'
Specifies the event name for mouseMove.
MOUSE_MOVE: 'mouseMove'
Specifies the event name for mouseUp.
MOUSE_UP: 'mouseUp'
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 | |
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 | |
resetMode, mxToolbar | |
resetStyles | |
resetTimer, mxTooltipHandler | |
resetValidationState, mxGraphView | |
resize | |
resizeCell | |
resizeCells, mxGraph | |
resizeChildCells, mxGraph | |
resizeHeight, mxDivResizer | |
resizeSwimlane, mxSwimlaneManager | |
resizeWidth, mxDivResizer | |
resolve, mxCellPath | |
resolveColor, mxCellRenderer | |
restore | |
restoreClone, mxGraphModel | |
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 |
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 )
Reconfigures this shape.
mxShape.prototype.reconfigure = function()
Private helper function to create SVG elements
mxSvgCanvas2D.prototype.rect = function( x, y, w, h )
Sets the current path to a rectangle.
mxVmlCanvas2D.prototype.rect = function( x, y, w, h )
Puts a rectangle into the drawing buffer.
mxXmlCanvas2D.prototype.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()
Overridden to invoke refresh before the redraw.
mxEdgeSegmentHandler.prototype.redraw = function()
Updates the bounds or points and scale of the shapes for the given cell state.
mxCellRenderer.prototype.redraw = function( state, force, rendering )
Transfers the focus to the given state as a source or target terminal.
mxConstraintHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxEdgeHandler.prototype.redraw = function()
Renders the shape for this handle.
mxHandle.prototype.redraw = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxImageShape.prototype.redrawHtmlShape = function()
Reconfigures this shape.
mxLabel.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.redraw = function()
Renders the text using the given DOM nodes.
mxText.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, forced )
Redraws the control for the given cell state.
mxCellRenderer.prototype.redrawControl = function( state, forced )
Redraws the handles.
mxEdgeHandler.prototype.redrawHandles = function()
Redraws the handles.
mxVertexHandler.prototype.redrawHandles = function()
Allow optimization by replacing VML with HTML.
mxShape.prototype.redrawHtmlShape = function()
Generic background painting implementation.
mxLabel.prototype.redrawHtmlShape = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.redrawHtmlShape = 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, forced )
Called to invoked redraw on the given text shape.
mxCellRenderer.prototype.redrawLabelShape = function( shape )
Draws the path for this 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 )
Redraws the shape for the given cell state.
mxCellRenderer.prototype.redrawShape = function( state, force, rendering )
Updates the SVG or VML shape.
mxShape.prototype.redrawShape = 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.
mxEdgeHandler.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.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 )
Paints the line shape.
mxShape.prototype.releaseSvgGradients = function( grads )
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 )
Hook to remove the groups after ungroupCells.
mxGraph.prototype.removeCellsAfterUngroup = 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 and destroys the dragElement.
mxDragSource.prototype.removeDragElement = function()
Removes all duplicates from the given array.
removeDuplicates: function( arr )
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 given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
removeGestureListeners: function( node, startListener, moveListener, endListener )
Hooks for subclassers to hide details when the handler gets inactive.
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()
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 )
Actives the given graph as a drop target.
mxDragSource.prototype.removeListeners = function()
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 )
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, content, pageNumber )
Computes the bounding box and updates the style of the div.
mxRubberband.prototype.repaint = function()
Replaces the given placeholders with the given parameters.
replacePlaceholders: function( value, params )
Replaces each trailing newline with the given pattern.
replaceTrailingNewlines: function( str, pattern )
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 the state of this canvas.
mxAbstractCanvas2D.prototype.reset = function()
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()
Stops and removes everything and restores the state of the object.
mxDragSource.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 this handle by setting its visibility to true.
mxHandle.prototype.reset = function()
Resets the state of the rubberband selection.
mxRubberband.prototype.reset = function()
Resets all handlers.
mxSelectionCellsHandler.prototype.reset = function()
Returns any offsets for rendering pixels.
mxSvgCanvas2D.prototype.reset = function()
Resets and/or restarts the timer to trigger the display of the tooltip.
mxTooltipHandler.prototype.reset = function( me, restart, state )
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 all styles.
mxShape.prototype.resetStyles = function()
Resets all styles.
mxText.prototype.resetStyles = function()
Resets the timer.
mxTooltipHandler.prototype.resetTimer = function()
Resets the current validation state.
mxGraphView.prototype.resetValidationState = function()
Returns modified.
mxCellEditor.prototype.resize = 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, recurse )
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, constrained, recurse )
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, recurse )
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
mxGraph.prototype.resizeChildCells = function( cell, newGeo )
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, parentHorizontal )
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 current state.
mxAbstractCanvas2D.prototype.restore = function()
Restores the drawing state.
mxXmlCanvas2D.prototype.restore = function()
Inner helper method for restoring the connections in a network of cloned cells.
mxGraphModel.prototype.restoreClone = function( clone, cell, mapping )
Revalidates the complete view with all cell states.
mxGraphView.prototype.revalidate = function()
mxCellStatePreview.prototype.revalidateState = function( 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 the current state.
mxAbstractCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Rotates the geometry by the given angle around the given center.
mxGeometry.prototype.rotate = function( angle, cx )
Sets the rotation of the canvas.
mxSvgCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Rotates and/or flips the output around a given center.
mxXmlCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Rotates this rectangle by 90 degree around its center point.
mxRectangle.prototype.rotate90 = function()
Hook for subclassers to implement a single click on the rotation handle.
mxVertexHandler.prototype.rotateClick = function()
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxCellRenderer.prototype.rotateLabelBounds = function( state, bounds )
Rotates the given point and returns the result as an mxPoint.
mxAbstractCanvas2D.prototype.rotatePoint = function( x, y, theta, cx, cy )
Rotates the point by the given angle.
mxHandle.prototype.rotatePoint = function( pt, alpha )
Hook for rounding the angle.
mxVertexHandler.prototype.roundAngle = function( angle )
Hook for rounding the unscaled width or height.
mxEdgeHandler.prototype.roundLength = function( length )
Hook for rounding the unscaled vector.
mxGraphHandler.prototype.roundLength = function( length )
Hook for rounding the unscaled width or height.
mxVertexHandler.prototype.roundLength = function( length )
Private helper function to create SVG elements
mxSvgCanvas2D.prototype.roundrect = function( x, y, w, h, dx, dy )
Sets the current path to a rounded rectangle.
mxVmlCanvas2D.prototype.roundrect = function( x, y, w, h, dx, dy )
Puts a rounded rectangle into the drawing buffer.
mxXmlCanvas2D.prototype.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 )
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 )
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 )
Reconfigures this shape.
mxShape.prototype.reconfigure = function()
Private helper function to create SVG elements
mxSvgCanvas2D.prototype.rect = function( x, y, w, h )
Sets the current path to a rectangle.
mxVmlCanvas2D.prototype.rect = function( x, y, w, h )
Puts a rectangle into the drawing buffer.
mxXmlCanvas2D.prototype.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()
Overridden to invoke refresh before the redraw.
mxEdgeSegmentHandler.prototype.redraw = function()
Updates the bounds or points and scale of the shapes for the given cell state.
mxCellRenderer.prototype.redraw = function( state, force, rendering )
Transfers the focus to the given state as a source or target terminal.
mxConstraintHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxEdgeHandler.prototype.redraw = function()
Renders the shape for this handle.
mxHandle.prototype.redraw = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxImageShape.prototype.redrawHtmlShape = function()
Reconfigures this shape.
mxLabel.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.redraw = function()
Renders the text using the given DOM nodes.
mxText.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, forced )
Redraws the control for the given cell state.
mxCellRenderer.prototype.redrawControl = function( state, forced )
Redraws the handles.
mxEdgeHandler.prototype.redrawHandles = function()
Redraws the handles.
mxVertexHandler.prototype.redrawHandles = function()
Allow optimization by replacing VML with HTML.
mxShape.prototype.redrawHtmlShape = function()
Generic background painting implementation.
mxLabel.prototype.redrawHtmlShape = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.redrawHtmlShape = 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, forced )
Called to invoked redraw on the given text shape.
mxCellRenderer.prototype.redrawLabelShape = function( shape )
Draws the path for this 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.
mxHexagon.prototype.redrawPath = function( c, x, y, w, h )
Draws the path for this shape.
mxTriangle.prototype.redrawPath = function( c, x, y, w, h )
Redraws the shape for the given cell state.
mxCellRenderer.prototype.redrawShape = function( state, force, rendering )
Updates the SVG or VML shape.
mxShape.prototype.redrawShape = 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.
mxEdgeHandler.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.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 )
Paints the line shape.
mxShape.prototype.releaseSvgGradients = function( grads )
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 )
Hook to remove the groups after ungroupCells.
mxGraph.prototype.removeCellsAfterUngroup = 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 and destroys the dragElement.
mxDragSource.prototype.removeDragElement = function()
Removes all duplicates from the given array.
removeDuplicates: function( arr )
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 given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
removeGestureListeners: function( node, startListener, moveListener, endListener )
Hooks for subclassers to hide details when the handler gets inactive.
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()
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 )
Actives the given graph as a drop target.
mxDragSource.prototype.removeListeners = function()
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 )
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, content, pageNumber )
Computes the bounding box and updates the style of the div.
mxRubberband.prototype.repaint = function()
Replaces the given placeholders with the given parameters.
replacePlaceholders: function( value, params )
Replaces each trailing newline with the given pattern.
replaceTrailingNewlines: function( str, pattern )
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 the state of this canvas.
mxAbstractCanvas2D.prototype.reset = function()
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()
Stops and removes everything and restores the state of the object.
mxDragSource.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 this handle by setting its visibility to true.
mxHandle.prototype.reset = function()
Resets the state of the rubberband selection.
mxRubberband.prototype.reset = function()
Resets all handlers.
mxSelectionCellsHandler.prototype.reset = function()
Returns any offsets for rendering pixels.
mxSvgCanvas2D.prototype.reset = function()
Resets and/or restarts the timer to trigger the display of the tooltip.
mxTooltipHandler.prototype.reset = function( me, restart, state )
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 all styles.
mxShape.prototype.resetStyles = function()
Resets all styles.
mxText.prototype.resetStyles = function()
Resets the timer.
mxTooltipHandler.prototype.resetTimer = function()
Resets the current validation state.
mxGraphView.prototype.resetValidationState = function()
Returns modified.
mxCellEditor.prototype.resize = 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, recurse )
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, constrained, recurse )
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, recurse )
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
mxGraph.prototype.resizeChildCells = function( cell, newGeo )
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, parentHorizontal )
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 current state.
mxAbstractCanvas2D.prototype.restore = function()
Restores the drawing state.
mxXmlCanvas2D.prototype.restore = function()
Inner helper method for restoring the connections in a network of cloned cells.
mxGraphModel.prototype.restoreClone = function( clone, cell, mapping )
Revalidates the complete view with all cell states.
mxGraphView.prototype.revalidate = function()
mxCellStatePreview.prototype.revalidateState = function( 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 the current state.
mxAbstractCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Rotates the geometry by the given angle around the given center.
mxGeometry.prototype.rotate = function( angle, cx )
Sets the rotation of the canvas.
mxSvgCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Rotates and/or flips the output around a given center.
mxXmlCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Rotates this rectangle by 90 degree around its center point.
mxRectangle.prototype.rotate90 = function()
Hook for subclassers to implement a single click on the rotation handle.
mxVertexHandler.prototype.rotateClick = function()
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxCellRenderer.prototype.rotateLabelBounds = function( state, bounds )
Rotates the given point and returns the result as an mxPoint.
mxAbstractCanvas2D.prototype.rotatePoint = function( x, y, theta, cx, cy )
Rotates the point by the given angle.
mxHandle.prototype.rotatePoint = function( pt, alpha )
Hook for rounding the angle.
mxVertexHandler.prototype.roundAngle = function( angle )
Hook for rounding the unscaled width or height.
mxEdgeHandler.prototype.roundLength = function( length )
Hook for rounding the unscaled vector.
mxGraphHandler.prototype.roundLength = function( length )
Hook for rounding the unscaled width or height.
mxVertexHandler.prototype.roundLength = function( length )
Private helper function to create SVG elements
mxSvgCanvas2D.prototype.roundrect = function( x, y, w, h, dx, dy )
Sets the current path to a rounded rectangle.
mxVmlCanvas2D.prototype.roundrect = function( x, y, w, h, dx, dy )
Puts a rounded rectangle into the drawing buffer.
mxXmlCanvas2D.prototype.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 )
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 )
S | |
save | |
scale | |
scaleAndTranslate, mxGraphView | |
scaleCell, mxGraph | |
scrollCellToVisible, mxGraph | |
scrollPointToVisible, mxGraph | |
scrollRectToVisible, mxGraph | |
SegmentConnector, mxEdgeStyle | |
selectAll, mxGraph | |
selectCell, mxGraph | |
selectCellForEvent, mxGraph | |
selectCells | |
selectCellsForEvent, mxGraph | |
selectChildCell, mxGraph | |
selectDelayed, mxGraphHandler | |
selectMode, mxToolbar | |
selectNextCell, mxGraph | |
selectParentCell, mxGraph | |
selectPreviousCell, mxGraph | |
selectRegion, mxGraph | |
selectVertices, mxGraph | |
send, mxXmlRequest | |
setAbsoluteTerminalPoint, mxCellState | |
setAddEnabled, mxSwimlaneManager | |
setAllowDanglingEdges, mxGraph | |
setAllowEval, mxGraphView | |
setAllowLoops, mxGraph | |
setAlpha | |
setAttribute | |
setAutoSizeCells, mxGraph | |
setBackgroundImage, mxGraph | |
setBaseDomain, mxUrlConverter | |
setBaseUrl, mxUrlConverter | |
setBinary, mxXmlRequest | |
setBorder, mxGraph | |
setBubbling, mxLayoutManager | |
setCell, mxGraphSelectionModel | |
setCellHeights, mxCompactTreeLayout | |
setCellLocations, mxCoordinateAssignment | |
setCells | |
setCellsBendable, mxGraph | |
setCellsCloneable, mxGraph | |
setCellsDeletable, mxGraph | |
setCellsDisconnectable, mxGraph | |
setCellsEditable, mxGraph | |
setCellsMovable, mxGraph | |
setCellsResizable, mxGraph | |
setCellsSelectable, mxGraph | |
setCellStyle, mxGraph | |
setCellStyleFlags | |
setCellStyles | |
setCellWarning, mxGraph | |
setCloneEnabled, mxGraphHandler | |
setCloneInvalidEdges, mxGraph | |
setClosable, mxWindow | |
setCollapsed | |
setConnectable | |
setConnectableEdges, mxGraph | |
setConnectionConstraint, mxGraph | |
setConstrainChildren, mxGraph | |
setConstrainRelativeChildren, mxGraph | |
setCreateIds, mxGraphModel | |
setCreateTarget, mxConnectionHandler | |
setCurrentRoot, mxGraphView | |
setCurrentState, mxCellMarker | |
setCursor | |
setDashed | |
setDashPattern | |
setDefaultParent, mxGraph | |
setDisconnectOnMove, mxGraph | |
setDropEnabled, mxGraph | |
setEdge, mxCell | |
setEdgePoints, mxGraphLayout | |
setEdgePosition, mxCoordinateAssignment | |
setEdgeStyleEnabled, mxGraphLayout | |
setEnabled | |
setEnterStopsCellEditing, mxGraph | |
setEscapeEnabled, mxGraph | |
setEventsEnabled, mxEventSource | |
setEventSource, mxEventSource | |
setExtendParents, mxGraph | |
setExtendParentsOnAdd, mxGraph | |
setExtendParentsOnMove, mxGraph | |
setFillAlpha | |
setFillColor | |
setFocus, mxConstraintHandler | |
setFontBackgroundColor, mxXmlCanvas2D | |
setFontBorderColor, mxXmlCanvas2D | |
setFontColor | |
setFontFamily | |
setFontSize | |
setFontStyle | |
setGeneralPurposeVariable | |
setGeometry | |
setGradient | |
setGraph | |
setGraphBounds, mxGraphView | |
setGraphContainer, mxEditor | |
setGridEnabled | |
setGridSize, mxGraph | |
setGuidesEnabled, mxDragSource | |
setHideOnHover, mxTooltipHandler | |
setHighlightColor | |
setHorizontal, mxSwimlaneManager | |
setHotspot, mxCellMarker | |
setHotspotEnabled, mxCellMarker | |
setHtmlLabels, mxGraph | |
setId, mxCell | |
setImage, mxWindow | |
setInnerHtml, mxText | |
setInvokesStopCellEditing, mxGraph | |
setLineCap | |
setLineJoin | |
setLink | |
setLocation, mxWindow | |
setLocked, mxGraph | |
setMaximizable, mxWindow | |
setMinimizable, mxWindow | |
setMiterLimit | |
setMode, mxEditor | |
setModified, mxEditor | |
setMoveEnabled, mxGraphHandler | |
setMultigraph, mxGraph | |
setOpacity, mxUtils | |
setOrthogonalEdge, mxGraphLayout | |
setPanning, mxGraph | |
setPanningEnabled, mxPanningHandler | |
setParent, mxCell | |
setPinchEnabled, mxPanningHandler | |
setPortsEnabled, mxGraph | |
setPosition, mxHandle | |
setPrefixedStyle, mxUtils | |
setPreviewColor, mxEdgeHandler | |
setRect, mxRectangle | |
setRecursiveResize, mxGraph | |
setRemoveCellsFromParent, mxGraphHandler | |
setRendering, mxGraphView | |
setRequestHeaders, mxXmlRequest | |
setResizable, mxWindow | |
setResizeContainer, mxGraph | |
setResizeEnabled, mxSwimlaneManager | |
setRoot, mxGraphModel | |
setScale, mxGraphView | |
setScrollable, mxWindow | |
setSelectEnabled, mxGraphHandler | |
setSelectionCell, mxGraph | |
setSelectionCells, mxGraph | |
setSelectionModel, mxGraph | |
setShadow | |
setShadowAlpha | |
setShadowColor | |
setShadowOffset | |
setSingleSelection, mxGraphSelectionModel | |
setSize, mxWindow | |
setSplitEnabled, mxGraph | |
setState, mxCellState | |
setStates | |
setStatus, mxEditor | |
setStatusContainer, mxEditor | |
setStrokeAlpha | |
setStrokeColor | |
setStrokeWidth | |
setStyle | |
setStyleFlag, mxUtils | |
setStylesheet, mxGraph | |
setSwimlaneNesting, mxGraph | |
setSwimlaneSelectionEnabled, mxGraph | |
setTerminal | |
setTerminalPoint, mxGeometry | |
setTerminals, mxGraphModel | |
setTextContent, mxUtils | |
setTitle, mxWindow | |
setTitleContainer, mxEditor | |
setTolerance, mxGraph | |
setToolbarContainer, mxEditor | |
setTooltips, mxGraph | |
setTranslate, mxGraphView | |
setTransparentBackgroundImage, mxShape | |
setValue | |
setVertex, mxCell | |
setVertexLabelsMovable, mxGraph | |
setVertexLocation | |
setVisible | |
setVisibleTerminalState, mxCellState | |
setX, mxGraphAbstractHierarchyCell | |
setY, mxGraphAbstractHierarchyCell | |
setZoomEnabled, mxOutline | |
shouldRemoveCellsFromParent, mxGraphHandler | |
show | |
showHelp, mxEditor | |
showMenu, mxPopupMenu | |
showOutline, mxEditor | |
showProperties, mxEditor | |
showSubmenu, mxPopupMenu | |
showTasks, mxEditor | |
SideToSide, mxEdgeStyle | |
simulate, mxXmlRequest | |
sizeDidChange, mxGraph | |
snap | |
snapPoint, mxHandle | |
snapToPreview, mxConnectionHandler | |
sortCells, mxUtils | |
sortOutgoingEdges, mxCompactTreeLayout | |
source, mxOutline | |
splitEdge, mxGraph | |
start | |
startAnimation, mxAnimation | |
startDrag, mxDragSource | |
startEditing | |
startEditingAtCell, mxGraph | |
stateValidated, mxGraphView | |
stopAnimation, mxAnimation | |
stopDrag, mxDragSource | |
stopEditing | |
stopRecursion, mxMorphing | |
stroke | |
styleForCellChanged, mxGraphModel | |
styles, mxStylesheet | |
submit, mxUtils | |
swap, mxGeometry | |
swapBounds, mxGraph | |
swapStyles, mxEditor | |
swimlaneAdded, mxSwimlaneManager |
S | |
save | |
scale | |
scaleAndTranslate, mxGraphView | |
scaleCell, mxGraph | |
scrollCellToVisible, mxGraph | |
scrollPointToVisible, mxGraph | |
scrollRectToVisible, mxGraph | |
SegmentConnector, mxEdgeStyle | |
selectAll, mxGraph | |
selectCell, mxGraph | |
selectCellForEvent, mxGraph | |
selectCells | |
selectCellsForEvent, mxGraph | |
selectChildCell, mxGraph | |
selectDelayed, mxGraphHandler | |
selectMode, mxToolbar | |
selectNextCell, mxGraph | |
selectParentCell, mxGraph | |
selectPreviousCell, mxGraph | |
selectRegion, mxGraph | |
selectVertices, mxGraph | |
send, mxXmlRequest | |
setAbsoluteTerminalPoint, mxCellState | |
setAddEnabled, mxSwimlaneManager | |
setAllowDanglingEdges, mxGraph | |
setAllowEval, mxGraphView | |
setAllowLoops, mxGraph | |
setAlpha | |
setAttribute | |
setAutoSizeCells, mxGraph | |
setBackgroundImage, mxGraph | |
setBaseDomain, mxUrlConverter | |
setBaseUrl, mxUrlConverter | |
setBinary, mxXmlRequest | |
setBorder, mxGraph | |
setBubbling, mxLayoutManager | |
setCell, mxGraphSelectionModel | |
setCellHeights, mxCompactTreeLayout | |
setCellLocations, mxCoordinateAssignment | |
setCells | |
setCellsBendable, mxGraph | |
setCellsCloneable, mxGraph | |
setCellsDeletable, mxGraph | |
setCellsDisconnectable, mxGraph | |
setCellsEditable, mxGraph | |
setCellsLocked, mxGraph | |
setCellsMovable, mxGraph | |
setCellsResizable, mxGraph | |
setCellsSelectable, mxGraph | |
setCellStyle, mxGraph | |
setCellStyleFlags | |
setCellStyles | |
setCellWarning, mxGraph | |
setCloneEnabled, mxGraphHandler | |
setCloneInvalidEdges, mxGraph | |
setClosable, mxWindow | |
setCollapsed | |
setConnectable | |
setConnectableEdges, mxGraph | |
setConnectionConstraint, mxGraph | |
setConstrainChildren, mxGraph | |
setConstrainRelativeChildren, mxGraph | |
setCreateIds, mxGraphModel | |
setCreateTarget, mxConnectionHandler | |
setCurrentRoot, mxGraphView | |
setCurrentState, mxCellMarker | |
setCursor | |
setDashed | |
setDashPattern | |
setDefaultParent, mxGraph | |
setDisconnectOnMove, mxGraph | |
setDropEnabled, mxGraph | |
setEdge, mxCell | |
setEdgePoints, mxGraphLayout | |
setEdgePosition, mxCoordinateAssignment | |
setEdgeStyleEnabled, mxGraphLayout | |
setEnabled | |
setEnterStopsCellEditing, mxGraph | |
setEscapeEnabled, mxGraph | |
setEventsEnabled, mxEventSource | |
setEventSource, mxEventSource | |
setExtendParents, mxGraph | |
setExtendParentsOnAdd, mxGraph | |
setExtendParentsOnMove, mxGraph | |
setFillAlpha | |
setFillColor | |
setFocus, mxConstraintHandler | |
setFontBackgroundColor, mxXmlCanvas2D | |
setFontBorderColor, mxXmlCanvas2D | |
setFontColor | |
setFontFamily | |
setFontSize | |
setFontStyle | |
setGeneralPurposeVariable | |
setGeometry | |
setGradient | |
setGraph | |
setGraphBounds, mxGraphView | |
setGraphContainer, mxEditor | |
setGridEnabled | |
setGridSize, mxGraph | |
setGuidesEnabled, mxDragSource | |
setHideOnHover, mxTooltipHandler | |
setHighlightColor | |
setHorizontal, mxSwimlaneManager | |
setHotspot, mxCellMarker | |
setHotspotEnabled, mxCellMarker | |
setHtmlLabels, mxGraph | |
setId, mxCell | |
setImage, mxWindow | |
setInnerHtml, mxText | |
setInvokesStopCellEditing, mxGraph | |
setLineCap | |
setLineJoin | |
setLink | |
setLocation, mxWindow | |
setMaximizable, mxWindow | |
setMinimizable, mxWindow | |
setMiterLimit | |
setMode, mxEditor | |
setModified, mxEditor | |
setMoveEnabled, mxGraphHandler | |
setMultigraph, mxGraph | |
setOpacity, mxUtils | |
setOrthogonalEdge, mxGraphLayout | |
setPanning, mxGraph | |
setPanningEnabled, mxPanningHandler | |
setParent, mxCell | |
setPinchEnabled, mxPanningHandler | |
setPortsEnabled, mxGraph | |
setPosition, mxHandle | |
setPrefixedStyle, mxUtils | |
setPreviewColor, mxEdgeHandler | |
setRect, mxRectangle | |
setRecursiveResize, mxGraph | |
setRemoveCellsFromParent, mxGraphHandler | |
setRendering, mxGraphView | |
setRequestHeaders, mxXmlRequest | |
setResizable, mxWindow | |
setResizeContainer, mxGraph | |
setResizeEnabled, mxSwimlaneManager | |
setRoot, mxGraphModel | |
setScale, mxGraphView | |
setScrollable, mxWindow | |
setSelectEnabled, mxGraphHandler | |
setSelectionCell, mxGraph | |
setSelectionCells, mxGraph | |
setSelectionModel, mxGraph | |
setShadow | |
setShadowAlpha | |
setShadowColor | |
setShadowOffset | |
setSingleSelection, mxGraphSelectionModel | |
setSize, mxWindow | |
setSplitEnabled, mxGraph | |
setState, mxCellState | |
setStates | |
setStatus, mxEditor | |
setStatusContainer, mxEditor | |
setStrokeAlpha | |
setStrokeColor | |
setStrokeWidth | |
setStyle | |
setStyleFlag, mxUtils | |
setStylesheet, mxGraph | |
setSwimlaneNesting, mxGraph | |
setSwimlaneSelectionEnabled, mxGraph | |
setTerminal | |
setTerminalPoint, mxGeometry | |
setTerminals, mxGraphModel | |
setTextContent, mxUtils | |
setTitle, mxWindow | |
setTitleContainer, mxEditor | |
setTolerance, mxGraph | |
setToolbarContainer, mxEditor | |
setTooltips, mxGraph | |
setTranslate, mxGraphView | |
setTransparentBackgroundImage, mxShape | |
setValue | |
setVertex, mxCell | |
setVertexLabelsMovable, mxGraph | |
setVertexLocation | |
setVisible | |
setVisibleTerminalState, mxCellState | |
setX, mxGraphAbstractHierarchyCell | |
setY, mxGraphAbstractHierarchyCell | |
setZoomEnabled, mxOutline | |
shouldRemoveCellsFromParent, mxGraphHandler | |
show | |
showHelp, mxEditor | |
showMenu, mxPopupMenu | |
showOutline, mxEditor | |
showProperties, mxEditor | |
showSubmenu, mxPopupMenu | |
showTasks, mxEditor | |
SideToSide, mxEdgeStyle | |
simulate, mxXmlRequest | |
sizeDidChange, mxGraph | |
snap | |
snapPoint, mxHandle | |
snapToPreview, mxConnectionHandler | |
sortCells, mxUtils | |
sortOutgoingEdges, mxCompactTreeLayout | |
source, mxOutline | |
splitEdge, mxGraph | |
start | |
startAnimation, mxAnimation | |
startDrag, mxDragSource | |
startEditing | |
startEditingAtCell, mxGraph | |
stateValidated, mxGraphView | |
stopAnimation, mxAnimation | |
stopDrag, mxDragSource | |
stopEditing | |
stopRecursion, mxMorphing | |
stroke | |
styleForCellChanged, mxGraphModel | |
styles, mxStylesheet | |
submit, mxUtils | |
swap, mxGeometry | |
swapBounds, mxGraph | |
swapStyles, mxEditor | |
swimlaneAdded, mxSwimlaneManager |
Saves the current state.
mxAbstractCanvas2D.prototype.save = function()
Empty hook that is called if the graph should be saved.
mxAutoSaveManager.prototype.save = function()
Posts the string returned by writeGraphModel to the given URL or the URL returned by getUrlPost.
mxEditor.prototype.save = function ( url, linefeed )
Saves the drawing state.
mxXmlCanvas2D.prototype.save = function()
Scales the current state.
mxAbstractCanvas2D.prototype.scale = function( value )
Scales the geometry by the given amount.
mxGeometry.prototype.scale = function( sx, sy, fixedAspect )
Scales the output.
mxXmlCanvas2D.prototype.scale = function( value )
Sets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.scaleAndTranslate = function( scale, dx, dy )
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraph.prototype.scaleCell = function( cell, dx, dy, recurse )
Pans the graph so that it shows the given cell.
mxGraph.prototype.scrollCellToVisible = function( cell, center )
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollPointToVisible = function( x, y, extend, border )
Pans the graph so that it shows the given rectangle.
mxGraph.prototype.scrollRectToVisible = function( rect )
Implements an orthogonal edge style.
SegmentConnector: function( state, source, target, hints, result )
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectAll = function( parent, descendants )
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCell = function( isNext, isParent, isChild )
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellForEvent = function( cell, evt )
Selects the given edge after adding a new connection.
mxConnectionHandler.prototype.selectCells = function( edge, target )
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCells = function( vertices, edges, parent )
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellsForEvent = function( cells, evt )
Selects the first child cell.
mxGraph.prototype.selectChildCell = function()
Implements the delayed selection for the given mouse event.
mxGraphHandler.prototype.selectDelayed = function( me )
Resets the state of the previously selected mode and displays the given DOM node as selected.
mxToolbar.prototype.selectMode = function( domNode, funct )
Selects the next cell.
mxGraph.prototype.selectNextCell = function()
Selects the parent cell.
mxGraph.prototype.selectParentCell = function()
Selects the previous cell.
mxGraph.prototype.selectPreviousCell = function()
Selects and returns the cells inside the given rectangle for the specified event.
mxGraph.prototype.selectRegion = function( rect, evt )
Select all vertices inside the given parent or the default parent.
mxGraph.prototype.selectVertices = function( parent )
Send the request to the target URL using the specified functions to process the response asychronously.
mxXmlRequest.prototype.send = function( onload, onerror, timeout, ontimeout )
Sets the first or last point in absolutePoints depending on isSource.
mxCellState.prototype.setAbsoluteTerminalPoint = function( point, isSource )
Sets addEnabled.
mxSwimlaneManager.prototype.setAddEnabled = function( value )
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraph.prototype.setAllowDanglingEdges = function( value )
Sets allowEval.
mxGraphView.prototype.setAllowEval = function( value )
Specifies if loops are allowed.
mxGraph.prototype.setAllowLoops = function( value )
Sets the current alpha.
mxAbstractCanvas2D.prototype.setAlpha = function( value )
Sets the current alpha.
mxXmlCanvas2D.prototype.setAlpha = function( value )
Sets the specified attribute on the user object if it is an XML node.
mxCell.prototype.setAttribute = function( name, value )
Sets the attribute on the specified node to value.
mxCodec.prototype.setAttribute = function( node, attribute, value )
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setAutoSizeCells = function( value )
Sets the new backgroundImage.
mxGraph.prototype.setBackgroundImage = function( image )
Sets baseDomain.
mxUrlConverter.prototype.setBaseDomain = function( value )
Sets baseUrl.
mxUrlConverter.prototype.setBaseUrl = function( value )
Sets binary.
mxXmlRequest.prototype.setBinary = function( value )
Sets the value of border.
mxGraph.prototype.setBorder = function( value )
Sets bubbling.
mxLayoutManager.prototype.setBubbling = function( value )
Selects the specified mxCell using setCells.
mxGraphSelectionModel.prototype.setCell = function( cell )
Set the cells heights (relative to the layout direction) when the tops of each rank are to be aligned
mxCompactTreeLayout.prototype.setCellHeights = function( node, rank )
Sets the cell locations in the facade to those stored after this layout processing step has completed.
mxCoordinateAssignment.prototype.setCellLocations = function( graph, model )
Sets the cells in the clipboard.
setCells: function( cells )
Selects the given array of mxCells and fires a change event.
mxGraphSelectionModel.prototype.setCells = function( cells )
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsBendable = function( value )
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsCloneable = function( value )
Sets cellsDeletable.
mxGraph.prototype.setCellsDeletable = function( value )
Sets cellsDisconnectable.
mxGraph.prototype.setCellsDisconnectable = function( value )
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsEditable = function( value )
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsMovable = function( value )
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsResizable = function( value )
Sets cellsSelectable.
mxGraph.prototype.setCellsSelectable = function( value )
Sets the style of the specified cells.
mxGraph.prototype.setCellStyle = function( style, cells )
Sets or toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.setCellStyleFlags = function( key, flag, value, cells )
Sets or toggles the flag bit for the given key in the cell’s styles.
setCellStyleFlags: function( model, cells, key, flag, value )
Sets the key to value in the styles of the given cells.
mxGraph.prototype.setCellStyles = function( key, value, cells )
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
setCellStyles: function( model, cells, key, value )
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraph.prototype.setCellWarning = function( cell, warning, img, isSelect )
Sets cloneEnabled.
mxGraphHandler.prototype.setCloneEnabled = function( value )
Specifies if edges should be inserted when cloned but not valid wrt.
mxGraph.prototype.setCloneInvalidEdges = function( value )
Sets the image associated with the window.
mxWindow.prototype.setClosable = function( closable )
Sets the collapsed state.
mxCell.prototype.setCollapsed = function( collapsed )
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
mxGraphModel.prototype.setCollapsed = function( cell, collapsed )
Sets the connectable state.
mxCell.prototype.setConnectable = function( connectable )
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectable = function( connectable )
Specifies if edges should be connectable.
mxGraph.prototype.setConnectableEdges = function( value )
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConnectionConstraint = function( edge, terminal, source, constraint )
Sets constrainChildren.
mxGraph.prototype.setConstrainChildren = function( value )
Sets constrainRelativeChildren.
mxGraph.prototype.setConstrainRelativeChildren = function( value )
Sets createIds.
mxGraphModel.prototype.setCreateIds = function( value )
Sets createTarget.
mxConnectionHandler.prototype.setCreateTarget = function( value )
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
mxGraphView.prototype.setCurrentRoot = function( root )
Sets and marks the current valid state.
mxCellMarker.prototype.setCurrentState = function( state, me, color )
Sets the given cursor on the shape and text shape.
mxCellState.prototype.setCursor = function( cursor )
Sets the cursor on the given shape.
mxShape.prototype.setCursor = function( cursor )
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashed = function( value, fixDash )
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashed = function( value, fixDash )
Sets the current dash pattern.
mxAbstractCanvas2D.prototype.setDashPattern = function( value )
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setDashPattern = function( value )
Sets the defaultParent to the given cell.
mxGraph.prototype.setDefaultParent = function( cell )
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDisconnectOnMove = function( value )
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.setDropEnabled = function( value )
Specifies if the cell is an edge.
mxCell.prototype.setEdge = function( edge )
Replaces the array of mxPoints in the geometry of the given edge with the given array of mxPoints.
mxGraphLayout.prototype.setEdgePoints = function( edge, points )
Fixes the control points
mxCoordinateAssignment.prototype.setEdgePosition = function( cell )
Disables or enables the edge style of the given edge.
mxGraphLayout.prototype.setEdgeStyleEnabled = function( edge, value )
Enables or disables event handling.
mxAutoSaveManager.prototype.setEnabled = function( value )
Enables or disables event handling.
mxCellMarker.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxConnectionHandler.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxConstraintHandler.prototype.setEnabled = function( enabled )
Sets enabled.
mxDragSource.prototype.setEnabled = function( value )
Specifies if the graph should allow any interactions.
mxGraph.prototype.setEnabled = function( value )
Sets enabled.
mxGraphHandler.prototype.setEnabled = function( value )
Enables or disables event handling by updating enabled.
mxKeyHandler.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxLayoutManager.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxOutline.prototype.setEnabled = function( value )
Enables or disables event handling.
mxPopupMenu.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxRubberband.prototype.setEnabled = function( enabled )
Sets enabled.
mxSelectionCellsHandler.prototype.setEnabled = function( value )
Enables or disables event handling.
mxSwimlaneManager.prototype.setEnabled = function( value )
Enables or disables event handling.
mxTooltipHandler.prototype.setEnabled = function( enabled )
Sets enabled.
mxUrlConverter.prototype.setEnabled = function( value )
Sets enterStopsCellEditing.
mxGraph.prototype.setEnterStopsCellEditing = function( value )
Sets escapeEnabled.
mxGraph.prototype.setEscapeEnabled = function( value )
Sets eventsEnabled.
mxEventSource.prototype.setEventsEnabled = function( value )
Sets eventSource.
mxEventSource.prototype.setEventSource = function( value )
Sets extendParents.
mxGraph.prototype.setExtendParents = function( value )
Sets extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnAdd = function( value )
Sets extendParentsOnMove.
mxGraph.prototype.setExtendParentsOnMove = function( value )
Sets the current solid fill alpha.
mxAbstractCanvas2D.prototype.setFillAlpha = function( value )
Sets the current fill alpha.
mxXmlCanvas2D.prototype.setFillAlpha = function( value )
Sets the current fill color.
mxAbstractCanvas2D.prototype.setFillColor = function( value )
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function( value )
Transfers the focus to the given state as a source or target terminal.
mxConstraintHandler.prototype.setFocus = function( me, state, source )
Sets the current font background color.
mxXmlCanvas2D.prototype.setFontBackgroundColor = function( value )
Sets the current font border color.
mxXmlCanvas2D.prototype.setFontBorderColor = function( value )
Sets the current font color.
mxAbstractCanvas2D.prototype.setFontColor = function( value )
Sets the current font color.
mxXmlCanvas2D.prototype.setFontColor = function( value )
Sets the current font family.
mxAbstractCanvas2D.prototype.setFontFamily = function( value )
Sets the current font family.
mxXmlCanvas2D.prototype.setFontFamily = function( value )
Sets the current font size.
mxAbstractCanvas2D.prototype.setFontSize = function( value )
Sets the current font size.
mxXmlCanvas2D.prototype.setFontSize = function( value )
Sets the current font style.
mxAbstractCanvas2D.prototype.setFontStyle = function( value )
Sets the current font style.
mxXmlCanvas2D.prototype.setFontStyle = function( value )
Set the value of temp for the specified layer
mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable = function( layer, value )
Set the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable = function( layer, value )
Set the value of temp for the specified layer
mxGraphHierarchyNode.prototype.setGeneralPurposeVariable = function( layer, value )
Sets the mxGeometry to be used as the geometry.
mxCell.prototype.setGeometry = function( geometry )
Sets the mxGeometry of the given mxCell.
mxGraphModel.prototype.setGeometry = function( cell, geometry )
Sets the current gradient.
mxAbstractCanvas2D.prototype.setGradient = function( color1, color2, x, y, w, h, direction, alpha1, alpha2 )
Sets the gradient.
mxXmlCanvas2D.prototype.setGradient = function( color1, color2, x, y, w, h, direction, alpha1, alpha2 )
Sets the graph that the layouts operate on.
mxAutoSaveManager.prototype.setGraph = function( graph )
Sets the graph that the layouts operate on.
mxLayoutManager.prototype.setGraph = function( graph )
Sets the graph that the manager operates on.
mxSwimlaneManager.prototype.setGraph = function( graph )
Sets graphBounds.
mxGraphView.prototype.setGraphBounds = function( value )
Sets the graph’s container using mxGraph.init.
mxEditor.prototype.setGraphContainer = function ( container )
Sets gridEnabled.
mxDragSource.prototype.setGridEnabled = function( value )
Specifies if the grid should be enabled.
mxGraph.prototype.setGridEnabled = function( value )
Sets gridSize.
mxGraph.prototype.setGridSize = function( value )
Sets guidesEnabled.
mxDragSource.prototype.setGuidesEnabled = function( value )
Sets hideOnHover.
mxTooltipHandler.prototype.setHideOnHover = function( value )
Sets the color of the rectangle used to highlight drop targets.
mxCellHighlight.prototype.setHighlightColor = function( color )
Sets the color of the rectangle used to highlight drop targets.
mxGraphHandler.prototype.setHighlightColor = function( color )
Sets horizontal.
mxSwimlaneManager.prototype.setHorizontal = function( value )
Sets the hotspot.
mxCellMarker.prototype.setHotspot = function( hotspot )
Specifies whether the hotspot should be used in intersects.
mxCellMarker.prototype.setHotspotEnabled = function( enabled )
Sets htmlLabels.
mxGraph.prototype.setHtmlLabels = function( value )
Sets the Id of the cell to the given string.
mxCell.prototype.setId = function( id )
Sets the image associated with the window.
mxWindow.prototype.setImage = function( image )
Sets invokesStopCellEditing.
mxGraph.prototype.setInvokesStopCellEditing = function( value )
Sets the current line cap.
mxAbstractCanvas2D.prototype.setLineCap = function( value )
Sets the line cap.
mxXmlCanvas2D.prototype.setLineCap = function( value )
Sets the current line join.
mxAbstractCanvas2D.prototype.setLineJoin = function( value )
Sets the line join.
mxXmlCanvas2D.prototype.setLineJoin = function( value )
Sets the current link.
mxAbstractCanvas2D.prototype.setLink = function( link )
Experimental implementation for hyperlinks.
mxSvgCanvas2D.prototype.setLink = function( link )
Sets the upper, left corner of the window.
mxWindow.prototype.setLocation = function( x, y )
Sets if the window is maximizable.
mxWindow.prototype.setMaximizable = function( maximizable )
Sets if the window is minimizable.
mxWindow.prototype.setMinimizable = function( minimizable )
Sets the current miter limit.
mxAbstractCanvas2D.prototype.setMiterLimit = function( value )
Sets the miter limit.
mxXmlCanvas2D.prototype.setMiterLimit = function( value )
Puts the graph into the specified mode.
mxEditor.prototype.setMode = function( modename )
Sets modified to the specified boolean value.
mxEditor.prototype.setModified = function ( value )
Sets moveEnabled.
mxGraphHandler.prototype.setMoveEnabled = function( value )
Specifies if the graph should allow multiple connections between the same pair of vertices.
mxGraph.prototype.setMultigraph = function( value )
Sets the opacity of the specified DOM node to the given value in %.
setOpacity: function( node, value )
Disables or enables orthogonal end segments of the given edge.
mxGraphLayout.prototype.setOrthogonalEdge = function( edge, value )
Specifies if panning should be enabled.
mxGraph.prototype.setPanning = function( enabled )
Sets panningEnabled.
mxPanningHandler.prototype.setPanningEnabled = function( value )
Sets the parent cell.
mxCell.prototype.setParent = function( parent )
Sets pinchEnabled.
mxPanningHandler.prototype.setPinchEnabled = function( value )
Specifies if the ports should be enabled.
mxGraph.prototype.setPortsEnabled = function( value )
Hooks for subclassers to update the style in the state.
mxHandle.prototype.setPosition = function( bounds, pt, me )
Adds the given style with the standard name and an optional vendor prefix for the current browser.
setPrefixedStyle: function()
Sets the color of the preview to the given value.
mxEdgeHandler.prototype.setPreviewColor = function( color )
Sets this rectangle to the specified values
mxRectangle.prototype.setRect = function( x, y, w, h )
Sets recursiveResize.
mxGraph.prototype.setRecursiveResize = function( value )
Sets removeCellsFromParent.
mxGraphHandler.prototype.setRemoveCellsFromParent = function( value )
Sets rendering.
mxGraphView.prototype.setRendering = function( value )
Sets the headers for the given request and parameters.
mxXmlRequest.prototype.setRequestHeaders = function( request, params )
Sets if the window should be resizable.
mxWindow.prototype.setResizable = function( resizable )
Sets resizeContainer.
mxGraph.prototype.setResizeContainer = function( value )
Sets resizeEnabled.
mxSwimlaneManager.prototype.setResizeEnabled = function( value )
Sets the root of the model using mxRootChange and adds the change to the current transaction.
mxGraphModel.prototype.setRoot = function( root )
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.setScale = function( value )
Sets if the window contents should be scrollable.
mxWindow.prototype.setScrollable = function( scrollable )
Sets selectEnabled.
mxGraphHandler.prototype.setSelectEnabled = function( value )
Sets the selection cell.
mxGraph.prototype.setSelectionCell = function( cell )
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function( cells )
Sets the mxSelectionModel that contains the selection.
mxGraph.prototype.setSelectionModel = function( selectionModel )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadow = function( enabled )
Enables or disables shadows.
mxXmlCanvas2D.prototype.setShadow = function( value )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowAlpha = function( value )
Sets the current shadows alpha.
mxXmlCanvas2D.prototype.setShadowAlpha = function( value )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowColor = function( value )
Sets the current shadow color.
mxXmlCanvas2D.prototype.setShadowColor = function( value )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowOffset = function( dx, dy )
Sets the current shadow offset.
mxXmlCanvas2D.prototype.setShadowOffset = function( dx, dy )
Sets the singleSelection flag.
mxGraphSelectionModel.prototype.setSingleSelection = function( singleSelection )
Sets the size of the window.
mxWindow.prototype.setSize = function( width, height )
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.setSplitEnabled = function( value )
Copies all fields from the given state to this state.
mxCellState.prototype.setState = function( state )
Sets states.
mxGraphView.prototype.setStates = function( value )
Sets the mxCellStates that should be used for alignment.
mxGuide.prototype.setStates = function( states )
Display the specified message in the status bar.
mxEditor.prototype.setStatus = function ( message )
Creates the status using the specified container.
mxEditor.prototype.setStatusContainer = function ( container )
Sets the current stroke alpha.
mxAbstractCanvas2D.prototype.setStrokeAlpha = function( value )
Sets the current stroke alpha.
mxXmlCanvas2D.prototype.setStrokeAlpha = function( value )
Sets the current stroke color.
mxAbstractCanvas2D.prototype.setStrokeColor = function( value )
Sets the current stroke color.
mxXmlCanvas2D.prototype.setStrokeColor = function( value )
Sets the current stroke width.
mxAbstractCanvas2D.prototype.setStrokeWidth = function( value )
Sets the current stroke width.
mxXmlCanvas2D.prototype.setStrokeWidth = function( value )
Sets the string to be used as the style.
mxCell.prototype.setStyle = function( style )
Sets the style of the given mxCell using mxStyleChange and adds the change to the current transaction.
mxGraphModel.prototype.setStyle = function( cell, style )
Adds or removes the given key, value pair to the style and returns the new style.
setStyle: function( style, key, value )
Sets or removes the given key from the specified style and returns the new style.
setStyleFlag: function( style, key, flag, value )
Sets the mxStylesheet that defines the style.
mxGraph.prototype.setStylesheet = function( stylesheet )
Specifies if swimlanes can be nested by drag and drop.
mxGraph.prototype.setSwimlaneNesting = function( value )
Specifies if swimlanes should be selected if the mouse is released over their content area.
mxGraph.prototype.setSwimlaneSelectionEnabled = function( value )
Sets the source or target terminal and returns the new terminal.
mxCell.prototype.setTerminal = function( terminal, isSource )
Sets the source or target terminal of the given mxCell using mxTerminalChange and adds the change to the current transaction.
mxGraphModel.prototype.setTerminal = function( edge, terminal, isSource )
Sets the sourcePoint or targetPoint to the given mxPoint and returns the new point.
mxGeometry.prototype.setTerminalPoint = function( point, isSource )
Sets the source and target mxCell of the given mxCell in a single transaction using setTerminal for each end of the edge.
mxGraphModel.prototype.setTerminals = function( edge, source, target )
Sets the text content of the specified node.
setTextContent: function( node, text )
Sets the window title to the given string.
mxWindow.prototype.setTitle = function( title )
Creates a listener to update the inner HTML of the specified DOM node with the value of getTitle.
mxEditor.prototype.setTitleContainer = function ( container )
Sets tolerance.
mxGraph.prototype.setTolerance = function( value )
Initializes the toolbar for the given container.
mxEditor.prototype.setToolbarContainer = function ( container )
Specifies if tooltips should be enabled.
mxGraph.prototype.setTooltips = function ( enabled )
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.setTranslate = function( dx, dy )
Sets a transparent background CSS style to catch all events.
mxShape.prototype.setTransparentBackgroundImage = function( node )
Sets the user object of the cell.
mxCell.prototype.setValue = function( value )
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
mxGraphModel.prototype.setValue = function( cell, value )
Specifies if the cell is a vertex.
mxCell.prototype.setVertex = function( vertex )
Sets vertexLabelsMovable.
mxGraph.prototype.setVertexLabelsMovable = function( value )
Fixes the position of the specified vertex.
mxCoordinateAssignment.prototype.setVertexLocation = function( cell )
Sets the new position of the given cell taking into account the size of the bounding box if useBoundingBox is true.
mxGraphLayout.prototype.setVertexLocation = function( cell, x, y )
Specifies if the cell is visible.
mxCell.prototype.setVisible = function( visible )
Sets the visible state of the given mxCell using mxVisibleChange and adds the change to the current transaction.
mxGraphModel.prototype.setVisible = function( cell, visible )
Shows or hides the current guides.
mxGuide.prototype.setVisible = function( visible )
Shows or hides this handle.
mxHandle.prototype.setVisible = function( visible )
Shows or hides the console.
setVisible: function( visible )
Shows or hides the window depending on the given flag.
mxWindow.prototype.setVisible = function( visible )
Sets the visible source or target terminal state.
mxCellState.prototype.setVisibleTerminalState = function( terminalState, source )
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setX = function( layer, value )
Set the value of y for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function( layer, value )
Enables or disables the zoom handling by showing or hiding the respective handle.
mxOutline.prototype.setZoomEnabled = function( value )
Returns true if the given cells should be removed from the parent for the specified mousereleased event.
mxGraphHandler.prototype.shouldRemoveCellsFromParent = function( parent, cells, evt )
mxCellStatePreview.prototype.show = function( visitor )
Shows the console.
show: function()
Shows the changes in the given mxCellStatePreview.
mxMorphing.prototype.show = function( move )
Shows the tooltip for the specified cell and optional index at the specified location (with a vertical offset of 10 pixels).
mxTooltipHandler.prototype.show = function( tip, x, y )
Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
show: function( graph, doc, x0, y0, w, h )
Shows the window.
mxWindow.prototype.show = function()
Shows the help window.
mxEditor.prototype.showHelp = function ( tasks )
Shows the menu.
mxPopupMenu.prototype.showMenu = function()
Shows the outline window.
mxEditor.prototype.showOutline = function ()
Creates and shows the properties dialog for the given cell.
mxEditor.prototype.showProperties = function ( cell )
Shows the submenu inside the given parent row.
mxPopupMenu.prototype.showSubmenu = function( parent, row )
Shows the tasks window.
mxEditor.prototype.showTasks = function ()
Implements a vertical elbow edge.
SideToSide: function ( state, source, target, points, result )
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
mxXmlRequest.prototype.simulate = function( doc, target )
Called when the size of the graph has changed.
mxGraph.prototype.sizeDidChange = function()
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraph.prototype.snap = function( value )
Snaps the given vector to the grid and returns the given mxPoint instance.
mxGraphHandler.prototype.snap = function( vector )
Snaps the given point to the grid if ignore is false.
mxHandle.prototype.snapPoint = function( pt, ignore )
Called to snap the given point to the current preview.
mxConnectionHandler.prototype.snapToPreview = function( me, point )
Sorts the given cells according to the order in the cell hierarchy.
sortCells: function( cells, ascending )
Called if sortEdges is true to sort the array of outgoing edges in place.
mxCompactTreeLayout.prototype.sortOutgoingEdges = function( source, edges )
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxGraph.prototype.splitEdge = function( edge, cells, newEdge, dx, dy )
Starts a new connection for the given state and coordinates.
mxConnectionHandler.prototype.start = function( state, x, y, edgeState )
Starts the handling of the mouse gesture.
mxEdgeHandler.prototype.start = function( x, y, index )
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.start = function( cell, x, y )
Starts panning at the given event.
mxPanningHandler.prototype.start = function( me )
Sets the start point for the rubberband selection.
mxRubberband.prototype.start = function( x, y )
Starts the handling of the mouse gesture.
mxVertexHandler.prototype.start = function( x, y, index )
Starts the animation by repeatedly invoking updateAnimation.
mxAnimation.prototype.startAnimation = function()
Creates the dragElement using createDragElement.
mxDragSource.prototype.startDrag = function( evt )
Starts the editor for the given cell.
mxCellEditor.prototype.startEditing = function( cell, trigger )
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditing = function( evt )
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxGraph.prototype.startEditingAtCell = function( cell, evt )
Invoked when a state has been processed in validatePoints.
mxGraphView.prototype.stateValidated = function( state )
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxAnimation.prototype.stopAnimation = function()
Invokes removeDragElement.
mxDragSource.prototype.stopDrag = function()
Stops the editor and applies the value if cancel is false.
mxCellEditor.prototype.stopEditing = function( cancel )
Stops the current editing and fires a editingStopped event.
mxGraph.prototype.stopEditing = function( cancel )
Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
mxMorphing.prototype.stopRecursion = function( state, delta )
Paints the outline of the current path.
mxSvgCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxVmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxXmlCanvas2D.prototype.stroke = function()
Inner callback to update the style of the given mxCell using mxCell.setStyle and return the previous style.
mxGraphModel.prototype.styleForCellChanged = function( cell, style )
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
submit: function( url, params, doc, target )
Swaps the x, y, width and height with the values stored in alternateBounds and puts the previous values into alternateBounds as a rectangle.
mxGeometry.prototype.swap = function()
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxGraph.prototype.swapBounds = function( cell, willCollapse )
Swaps the styles for the given names in the graph’s stylesheet and refreshes the graph.
mxEditor.prototype.swapStyles = function ( first, second )
Updates the size of the given swimlane to match that of any existing siblings swimlanes.
mxSwimlaneManager.prototype.swimlaneAdded = function( swimlane )
Saves the current state.
mxAbstractCanvas2D.prototype.save = function()
Empty hook that is called if the graph should be saved.
mxAutoSaveManager.prototype.save = function()
Posts the string returned by writeGraphModel to the given URL or the URL returned by getUrlPost.
mxEditor.prototype.save = function ( url, linefeed )
Saves the drawing state.
mxXmlCanvas2D.prototype.save = function()
Scales the current state.
mxAbstractCanvas2D.prototype.scale = function( value )
Scales the geometry by the given amount.
mxGeometry.prototype.scale = function( sx, sy, fixedAspect )
Scales the output.
mxXmlCanvas2D.prototype.scale = function( value )
Sets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.scaleAndTranslate = function( scale, dx, dy )
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraph.prototype.scaleCell = function( cell, dx, dy, recurse )
Pans the graph so that it shows the given cell.
mxGraph.prototype.scrollCellToVisible = function( cell, center )
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollPointToVisible = function( x, y, extend, border )
Pans the graph so that it shows the given rectangle.
mxGraph.prototype.scrollRectToVisible = function( rect )
Implements an orthogonal edge style.
SegmentConnector: function( state, source, target, hints, result )
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectAll = function( parent, descendants )
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCell = function( isNext, isParent, isChild )
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellForEvent = function( cell, evt )
Selects the given edge after adding a new connection.
mxConnectionHandler.prototype.selectCells = function( edge, target )
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCells = function( vertices, edges, parent )
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellsForEvent = function( cells, evt )
Selects the first child cell.
mxGraph.prototype.selectChildCell = function()
Implements the delayed selection for the given mouse event.
mxGraphHandler.prototype.selectDelayed = function( me )
Resets the state of the previously selected mode and displays the given DOM node as selected.
mxToolbar.prototype.selectMode = function( domNode, funct )
Selects the next cell.
mxGraph.prototype.selectNextCell = function()
Selects the parent cell.
mxGraph.prototype.selectParentCell = function()
Selects the previous cell.
mxGraph.prototype.selectPreviousCell = function()
Selects and returns the cells inside the given rectangle for the specified event.
mxGraph.prototype.selectRegion = function( rect, evt )
Select all vertices inside the given parent or the default parent.
mxGraph.prototype.selectVertices = function( parent )
Send the request to the target URL using the specified functions to process the response asychronously.
mxXmlRequest.prototype.send = function( onload, onerror, timeout, ontimeout )
Sets the first or last point in absolutePoints depending on isSource.
mxCellState.prototype.setAbsoluteTerminalPoint = function( point, isSource )
Sets addEnabled.
mxSwimlaneManager.prototype.setAddEnabled = function( value )
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraph.prototype.setAllowDanglingEdges = function( value )
Sets allowEval.
mxGraphView.prototype.setAllowEval = function( value )
Specifies if loops are allowed.
mxGraph.prototype.setAllowLoops = function( value )
Sets the current alpha.
mxAbstractCanvas2D.prototype.setAlpha = function( value )
Sets the current alpha.
mxXmlCanvas2D.prototype.setAlpha = function( value )
Sets the specified attribute on the user object if it is an XML node.
mxCell.prototype.setAttribute = function( name, value )
Sets the attribute on the specified node to value.
mxCodec.prototype.setAttribute = function( node, attribute, value )
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setAutoSizeCells = function( value )
Sets the new backgroundImage.
mxGraph.prototype.setBackgroundImage = function( image )
Sets baseDomain.
mxUrlConverter.prototype.setBaseDomain = function( value )
Sets baseUrl.
mxUrlConverter.prototype.setBaseUrl = function( value )
Sets binary.
mxXmlRequest.prototype.setBinary = function( value )
Sets the value of border.
mxGraph.prototype.setBorder = function( value )
Sets bubbling.
mxLayoutManager.prototype.setBubbling = function( value )
Selects the specified mxCell using setCells.
mxGraphSelectionModel.prototype.setCell = function( cell )
Set the cells heights (relative to the layout direction) when the tops of each rank are to be aligned
mxCompactTreeLayout.prototype.setCellHeights = function( node, rank )
Sets the cell locations in the facade to those stored after this layout processing step has completed.
mxCoordinateAssignment.prototype.setCellLocations = function( graph, model )
Sets the cells in the clipboard.
setCells: function( cells )
Selects the given array of mxCells and fires a change event.
mxGraphSelectionModel.prototype.setCells = function( cells )
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsBendable = function( value )
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsCloneable = function( value )
Sets cellsDeletable.
mxGraph.prototype.setCellsDeletable = function( value )
Sets cellsDisconnectable.
mxGraph.prototype.setCellsDisconnectable = function( value )
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsEditable = function( value )
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.setCellsLocked = function( value )
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsMovable = function( value )
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsResizable = function( value )
Sets cellsSelectable.
mxGraph.prototype.setCellsSelectable = function( value )
Sets the style of the specified cells.
mxGraph.prototype.setCellStyle = function( style, cells )
Sets or toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.setCellStyleFlags = function( key, flag, value, cells )
Sets or toggles the flag bit for the given key in the cell’s styles.
setCellStyleFlags: function( model, cells, key, flag, value )
Sets the key to value in the styles of the given cells.
mxGraph.prototype.setCellStyles = function( key, value, cells )
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
setCellStyles: function( model, cells, key, value )
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraph.prototype.setCellWarning = function( cell, warning, img, isSelect )
Sets cloneEnabled.
mxGraphHandler.prototype.setCloneEnabled = function( value )
Specifies if edges should be inserted when cloned but not valid wrt.
mxGraph.prototype.setCloneInvalidEdges = function( value )
Sets the image associated with the window.
mxWindow.prototype.setClosable = function( closable )
Sets the collapsed state.
mxCell.prototype.setCollapsed = function( collapsed )
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
mxGraphModel.prototype.setCollapsed = function( cell, collapsed )
Sets the connectable state.
mxCell.prototype.setConnectable = function( connectable )
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectable = function( connectable )
Specifies if edges should be connectable.
mxGraph.prototype.setConnectableEdges = function( value )
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConnectionConstraint = function( edge, terminal, source, constraint )
Sets constrainChildren.
mxGraph.prototype.setConstrainChildren = function( value )
Sets constrainRelativeChildren.
mxGraph.prototype.setConstrainRelativeChildren = function( value )
Sets createIds.
mxGraphModel.prototype.setCreateIds = function( value )
Sets createTarget.
mxConnectionHandler.prototype.setCreateTarget = function( value )
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
mxGraphView.prototype.setCurrentRoot = function( root )
Sets and marks the current valid state.
mxCellMarker.prototype.setCurrentState = function( state, me, color )
Sets the given cursor on the shape and text shape.
mxCellState.prototype.setCursor = function( cursor )
Sets the cursor on the given shape.
mxShape.prototype.setCursor = function( cursor )
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashed = function( value, fixDash )
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashed = function( value, fixDash )
Sets the current dash pattern.
mxAbstractCanvas2D.prototype.setDashPattern = function( value )
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setDashPattern = function( value )
Sets the defaultParent to the given cell.
mxGraph.prototype.setDefaultParent = function( cell )
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDisconnectOnMove = function( value )
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.setDropEnabled = function( value )
Specifies if the cell is an edge.
mxCell.prototype.setEdge = function( edge )
Replaces the array of mxPoints in the geometry of the given edge with the given array of mxPoints.
mxGraphLayout.prototype.setEdgePoints = function( edge, points )
Fixes the control points
mxCoordinateAssignment.prototype.setEdgePosition = function( cell )
Disables or enables the edge style of the given edge.
mxGraphLayout.prototype.setEdgeStyleEnabled = function( edge, value )
Enables or disables event handling.
mxAutoSaveManager.prototype.setEnabled = function( value )
Enables or disables event handling.
mxCellMarker.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxConnectionHandler.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxConstraintHandler.prototype.setEnabled = function( enabled )
Sets enabled.
mxDragSource.prototype.setEnabled = function( value )
Specifies if the graph should allow any interactions.
mxGraph.prototype.setEnabled = function( value )
Sets enabled.
mxGraphHandler.prototype.setEnabled = function( value )
Enables or disables event handling by updating enabled.
mxKeyHandler.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxLayoutManager.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxOutline.prototype.setEnabled = function( value )
Enables or disables event handling.
mxPopupMenu.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxRubberband.prototype.setEnabled = function( enabled )
Sets enabled.
mxSelectionCellsHandler.prototype.setEnabled = function( value )
Enables or disables event handling.
mxSwimlaneManager.prototype.setEnabled = function( value )
Enables or disables event handling.
mxTooltipHandler.prototype.setEnabled = function( enabled )
Sets enabled.
mxUrlConverter.prototype.setEnabled = function( value )
Sets enterStopsCellEditing.
mxGraph.prototype.setEnterStopsCellEditing = function( value )
Sets escapeEnabled.
mxGraph.prototype.setEscapeEnabled = function( value )
Sets eventsEnabled.
mxEventSource.prototype.setEventsEnabled = function( value )
Sets eventSource.
mxEventSource.prototype.setEventSource = function( value )
Sets extendParents.
mxGraph.prototype.setExtendParents = function( value )
Sets extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnAdd = function( value )
Sets extendParentsOnMove.
mxGraph.prototype.setExtendParentsOnMove = function( value )
Sets the current solid fill alpha.
mxAbstractCanvas2D.prototype.setFillAlpha = function( value )
Sets the current fill alpha.
mxXmlCanvas2D.prototype.setFillAlpha = function( value )
Sets the current fill color.
mxAbstractCanvas2D.prototype.setFillColor = function( value )
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function( value )
Transfers the focus to the given state as a source or target terminal.
mxConstraintHandler.prototype.setFocus = function( me, state, source )
Sets the current font background color.
mxXmlCanvas2D.prototype.setFontBackgroundColor = function( value )
Sets the current font border color.
mxXmlCanvas2D.prototype.setFontBorderColor = function( value )
Sets the current font color.
mxAbstractCanvas2D.prototype.setFontColor = function( value )
Sets the current font color.
mxXmlCanvas2D.prototype.setFontColor = function( value )
Sets the current font family.
mxAbstractCanvas2D.prototype.setFontFamily = function( value )
Sets the current font family.
mxXmlCanvas2D.prototype.setFontFamily = function( value )
Sets the current font size.
mxAbstractCanvas2D.prototype.setFontSize = function( value )
Sets the current font size.
mxXmlCanvas2D.prototype.setFontSize = function( value )
Sets the current font style.
mxAbstractCanvas2D.prototype.setFontStyle = function( value )
Sets the current font style.
mxXmlCanvas2D.prototype.setFontStyle = function( value )
Set the value of temp for the specified layer
mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable = function( layer, value )
Set the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable = function( layer, value )
Set the value of temp for the specified layer
mxGraphHierarchyNode.prototype.setGeneralPurposeVariable = function( layer, value )
Sets the mxGeometry to be used as the geometry.
mxCell.prototype.setGeometry = function( geometry )
Sets the mxGeometry of the given mxCell.
mxGraphModel.prototype.setGeometry = function( cell, geometry )
Sets the current gradient.
mxAbstractCanvas2D.prototype.setGradient = function( color1, color2, x, y, w, h, direction, alpha1, alpha2 )
Sets the gradient.
mxXmlCanvas2D.prototype.setGradient = function( color1, color2, x, y, w, h, direction, alpha1, alpha2 )
Sets the graph that the layouts operate on.
mxAutoSaveManager.prototype.setGraph = function( graph )
Sets the graph that the layouts operate on.
mxLayoutManager.prototype.setGraph = function( graph )
Sets the graph that the manager operates on.
mxSwimlaneManager.prototype.setGraph = function( graph )
Sets graphBounds.
mxGraphView.prototype.setGraphBounds = function( value )
Sets the graph’s container using mxGraph.init.
mxEditor.prototype.setGraphContainer = function ( container )
Sets gridEnabled.
mxDragSource.prototype.setGridEnabled = function( value )
Specifies if the grid should be enabled.
mxGraph.prototype.setGridEnabled = function( value )
Sets gridSize.
mxGraph.prototype.setGridSize = function( value )
Sets guidesEnabled.
mxDragSource.prototype.setGuidesEnabled = function( value )
Sets hideOnHover.
mxTooltipHandler.prototype.setHideOnHover = function( value )
Sets the color of the rectangle used to highlight drop targets.
mxCellHighlight.prototype.setHighlightColor = function( color )
Sets the color of the rectangle used to highlight drop targets.
mxGraphHandler.prototype.setHighlightColor = function( color )
Sets horizontal.
mxSwimlaneManager.prototype.setHorizontal = function( value )
Sets the hotspot.
mxCellMarker.prototype.setHotspot = function( hotspot )
Specifies whether the hotspot should be used in intersects.
mxCellMarker.prototype.setHotspotEnabled = function( enabled )
Sets htmlLabels.
mxGraph.prototype.setHtmlLabels = function( value )
Sets the Id of the cell to the given string.
mxCell.prototype.setId = function( id )
Sets the image associated with the window.
mxWindow.prototype.setImage = function( image )
Sets invokesStopCellEditing.
mxGraph.prototype.setInvokesStopCellEditing = function( value )
Sets the current line cap.
mxAbstractCanvas2D.prototype.setLineCap = function( value )
Sets the line cap.
mxXmlCanvas2D.prototype.setLineCap = function( value )
Sets the current line join.
mxAbstractCanvas2D.prototype.setLineJoin = function( value )
Sets the line join.
mxXmlCanvas2D.prototype.setLineJoin = function( value )
Sets the current link.
mxAbstractCanvas2D.prototype.setLink = function( link )
Experimental implementation for hyperlinks.
mxSvgCanvas2D.prototype.setLink = function( link )
Sets the upper, left corner of the window.
mxWindow.prototype.setLocation = function( x, y )
Sets if the window is maximizable.
mxWindow.prototype.setMaximizable = function( maximizable )
Sets if the window is minimizable.
mxWindow.prototype.setMinimizable = function( minimizable )
Sets the current miter limit.
mxAbstractCanvas2D.prototype.setMiterLimit = function( value )
Sets the miter limit.
mxXmlCanvas2D.prototype.setMiterLimit = function( value )
Puts the graph into the specified mode.
mxEditor.prototype.setMode = function( modename )
Sets modified to the specified boolean value.
mxEditor.prototype.setModified = function ( value )
Sets moveEnabled.
mxGraphHandler.prototype.setMoveEnabled = function( value )
Specifies if the graph should allow multiple connections between the same pair of vertices.
mxGraph.prototype.setMultigraph = function( value )
Sets the opacity of the specified DOM node to the given value in %.
setOpacity: function( node, value )
Disables or enables orthogonal end segments of the given edge.
mxGraphLayout.prototype.setOrthogonalEdge = function( edge, value )
Specifies if panning should be enabled.
mxGraph.prototype.setPanning = function( enabled )
Sets panningEnabled.
mxPanningHandler.prototype.setPanningEnabled = function( value )
Sets the parent cell.
mxCell.prototype.setParent = function( parent )
Sets pinchEnabled.
mxPanningHandler.prototype.setPinchEnabled = function( value )
Specifies if the ports should be enabled.
mxGraph.prototype.setPortsEnabled = function( value )
Hooks for subclassers to update the style in the state.
mxHandle.prototype.setPosition = function( bounds, pt, me )
Adds the given style with the standard name and an optional vendor prefix for the current browser.
setPrefixedStyle: function()
Sets the color of the preview to the given value.
mxEdgeHandler.prototype.setPreviewColor = function( color )
Sets this rectangle to the specified values
mxRectangle.prototype.setRect = function( x, y, w, h )
Sets recursiveResize.
mxGraph.prototype.setRecursiveResize = function( value )
Sets removeCellsFromParent.
mxGraphHandler.prototype.setRemoveCellsFromParent = function( value )
Sets rendering.
mxGraphView.prototype.setRendering = function( value )
Sets the headers for the given request and parameters.
mxXmlRequest.prototype.setRequestHeaders = function( request, params )
Sets if the window should be resizable.
mxWindow.prototype.setResizable = function( resizable )
Sets resizeContainer.
mxGraph.prototype.setResizeContainer = function( value )
Sets resizeEnabled.
mxSwimlaneManager.prototype.setResizeEnabled = function( value )
Sets the root of the model using mxRootChange and adds the change to the current transaction.
mxGraphModel.prototype.setRoot = function( root )
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.setScale = function( value )
Sets if the window contents should be scrollable.
mxWindow.prototype.setScrollable = function( scrollable )
Sets selectEnabled.
mxGraphHandler.prototype.setSelectEnabled = function( value )
Sets the selection cell.
mxGraph.prototype.setSelectionCell = function( cell )
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function( cells )
Sets the mxSelectionModel that contains the selection.
mxGraph.prototype.setSelectionModel = function( selectionModel )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadow = function( enabled )
Enables or disables shadows.
mxXmlCanvas2D.prototype.setShadow = function( value )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowAlpha = function( value )
Sets the current shadows alpha.
mxXmlCanvas2D.prototype.setShadowAlpha = function( value )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowColor = function( value )
Sets the current shadow color.
mxXmlCanvas2D.prototype.setShadowColor = function( value )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowOffset = function( dx, dy )
Sets the current shadow offset.
mxXmlCanvas2D.prototype.setShadowOffset = function( dx, dy )
Sets the singleSelection flag.
mxGraphSelectionModel.prototype.setSingleSelection = function( singleSelection )
Sets the size of the window.
mxWindow.prototype.setSize = function( width, height )
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.setSplitEnabled = function( value )
Copies all fields from the given state to this state.
mxCellState.prototype.setState = function( state )
Sets states.
mxGraphView.prototype.setStates = function( value )
Sets the mxCellStates that should be used for alignment.
mxGuide.prototype.setStates = function( states )
Display the specified message in the status bar.
mxEditor.prototype.setStatus = function ( message )
Creates the status using the specified container.
mxEditor.prototype.setStatusContainer = function ( container )
Sets the current stroke alpha.
mxAbstractCanvas2D.prototype.setStrokeAlpha = function( value )
Sets the current stroke alpha.
mxXmlCanvas2D.prototype.setStrokeAlpha = function( value )
Sets the current stroke color.
mxAbstractCanvas2D.prototype.setStrokeColor = function( value )
Sets the current stroke color.
mxXmlCanvas2D.prototype.setStrokeColor = function( value )
Sets the current stroke width.
mxAbstractCanvas2D.prototype.setStrokeWidth = function( value )
Sets the current stroke width.
mxXmlCanvas2D.prototype.setStrokeWidth = function( value )
Sets the string to be used as the style.
mxCell.prototype.setStyle = function( style )
Sets the style of the given mxCell using mxStyleChange and adds the change to the current transaction.
mxGraphModel.prototype.setStyle = function( cell, style )
Adds or removes the given key, value pair to the style and returns the new style.
setStyle: function( style, key, value )
Sets or removes the given key from the specified style and returns the new style.
setStyleFlag: function( style, key, flag, value )
Sets the mxStylesheet that defines the style.
mxGraph.prototype.setStylesheet = function( stylesheet )
Specifies if swimlanes can be nested by drag and drop.
mxGraph.prototype.setSwimlaneNesting = function( value )
Specifies if swimlanes should be selected if the mouse is released over their content area.
mxGraph.prototype.setSwimlaneSelectionEnabled = function( value )
Sets the source or target terminal and returns the new terminal.
mxCell.prototype.setTerminal = function( terminal, isSource )
Sets the source or target terminal of the given mxCell using mxTerminalChange and adds the change to the current transaction.
mxGraphModel.prototype.setTerminal = function( edge, terminal, isSource )
Sets the sourcePoint or targetPoint to the given mxPoint and returns the new point.
mxGeometry.prototype.setTerminalPoint = function( point, isSource )
Sets the source and target mxCell of the given mxCell in a single transaction using setTerminal for each end of the edge.
mxGraphModel.prototype.setTerminals = function( edge, source, target )
Sets the text content of the specified node.
setTextContent: function( node, text )
Sets the window title to the given string.
mxWindow.prototype.setTitle = function( title )
Creates a listener to update the inner HTML of the specified DOM node with the value of getTitle.
mxEditor.prototype.setTitleContainer = function ( container )
Sets tolerance.
mxGraph.prototype.setTolerance = function( value )
Initializes the toolbar for the given container.
mxEditor.prototype.setToolbarContainer = function ( container )
Specifies if tooltips should be enabled.
mxGraph.prototype.setTooltips = function ( enabled )
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.setTranslate = function( dx, dy )
Sets a transparent background CSS style to catch all events.
mxShape.prototype.setTransparentBackgroundImage = function( node )
Sets the user object of the cell.
mxCell.prototype.setValue = function( value )
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
mxGraphModel.prototype.setValue = function( cell, value )
Specifies if the cell is a vertex.
mxCell.prototype.setVertex = function( vertex )
Sets vertexLabelsMovable.
mxGraph.prototype.setVertexLabelsMovable = function( value )
Fixes the position of the specified vertex.
mxCoordinateAssignment.prototype.setVertexLocation = function( cell )
Sets the new position of the given cell taking into account the size of the bounding box if useBoundingBox is true.
mxGraphLayout.prototype.setVertexLocation = function( cell, x, y )
Specifies if the cell is visible.
mxCell.prototype.setVisible = function( visible )
Sets the visible state of the given mxCell using mxVisibleChange and adds the change to the current transaction.
mxGraphModel.prototype.setVisible = function( cell, visible )
Shows or hides the current guides.
mxGuide.prototype.setVisible = function( visible )
Shows or hides this handle.
mxHandle.prototype.setVisible = function( visible )
Shows or hides the console.
setVisible: function( visible )
Shows or hides the window depending on the given flag.
mxWindow.prototype.setVisible = function( visible )
Sets the visible source or target terminal state.
mxCellState.prototype.setVisibleTerminalState = function( terminalState, source )
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setX = function( layer, value )
Set the value of y for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function( layer, value )
Enables or disables the zoom handling by showing or hiding the respective handle.
mxOutline.prototype.setZoomEnabled = function( value )
Returns true if the given cells should be removed from the parent for the specified mousereleased event.
mxGraphHandler.prototype.shouldRemoveCellsFromParent = function( parent, cells, evt )
mxCellStatePreview.prototype.show = function( visitor )
Shows the console.
show: function()
Shows the changes in the given mxCellStatePreview.
mxMorphing.prototype.show = function( move )
Shows the tooltip for the specified cell and optional index at the specified location (with a vertical offset of 10 pixels).
mxTooltipHandler.prototype.show = function( tip, x, y )
Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
show: function( graph, doc, x0, y0, w, h )
Shows the window.
mxWindow.prototype.show = function()
Shows the help window.
mxEditor.prototype.showHelp = function ( tasks )
Shows the menu.
mxPopupMenu.prototype.showMenu = function()
Shows the outline window.
mxEditor.prototype.showOutline = function ()
Creates and shows the properties dialog for the given cell.
mxEditor.prototype.showProperties = function ( cell )
Shows the submenu inside the given parent row.
mxPopupMenu.prototype.showSubmenu = function( parent, row )
Shows the tasks window.
mxEditor.prototype.showTasks = function ()
Implements a vertical elbow edge.
SideToSide: function ( state, source, target, points, result )
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
mxXmlRequest.prototype.simulate = function( doc, target )
Called when the size of the graph has changed.
mxGraph.prototype.sizeDidChange = function()
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraph.prototype.snap = function( value )
Snaps the given vector to the grid and returns the given mxPoint instance.
mxGraphHandler.prototype.snap = function( vector )
Snaps the given point to the grid if ignore is false.
mxHandle.prototype.snapPoint = function( pt, ignore )
Called to snap the given point to the current preview.
mxConnectionHandler.prototype.snapToPreview = function( me, point )
Sorts the given cells according to the order in the cell hierarchy.
sortCells: function( cells, ascending )
Called if sortEdges is true to sort the array of outgoing edges in place.
mxCompactTreeLayout.prototype.sortOutgoingEdges = function( source, edges )
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxGraph.prototype.splitEdge = function( edge, cells, newEdge, dx, dy )
Starts a new connection for the given state and coordinates.
mxConnectionHandler.prototype.start = function( state, x, y, edgeState )
Starts the handling of the mouse gesture.
mxEdgeHandler.prototype.start = function( x, y, index )
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.start = function( cell, x, y )
Starts panning at the given event.
mxPanningHandler.prototype.start = function( me )
Sets the start point for the rubberband selection.
mxRubberband.prototype.start = function( x, y )
Starts the handling of the mouse gesture.
mxVertexHandler.prototype.start = function( x, y, index )
Starts the animation by repeatedly invoking updateAnimation.
mxAnimation.prototype.startAnimation = function()
Creates the dragElement using createDragElement.
mxDragSource.prototype.startDrag = function( evt )
Starts the editor for the given cell.
mxCellEditor.prototype.startEditing = function( cell, trigger )
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditing = function( evt )
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxGraph.prototype.startEditingAtCell = function( cell, evt )
Invoked when a state has been processed in validatePoints.
mxGraphView.prototype.stateValidated = function( state )
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxAnimation.prototype.stopAnimation = function()
Invokes removeDragElement.
mxDragSource.prototype.stopDrag = function()
Stops the editor and applies the value if cancel is false.
mxCellEditor.prototype.stopEditing = function( cancel )
Stops the current editing and fires a editingStopped event.
mxGraph.prototype.stopEditing = function( cancel )
Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
mxMorphing.prototype.stopRecursion = function( state, delta )
Paints the outline of the current path.
mxSvgCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxVmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxXmlCanvas2D.prototype.stroke = function()
Inner callback to update the style of the given mxCell using mxCell.setStyle and return the previous style.
mxGraphModel.prototype.styleForCellChanged = function( cell, style )
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
submit: function( url, params, doc, target )
Swaps the x, y, width and height with the values stored in alternateBounds and puts the previous values into alternateBounds as a rectangle.
mxGeometry.prototype.swap = function()
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxGraph.prototype.swapBounds = function( cell, willCollapse )
Swaps the styles for the given names in the graph’s stylesheet and refreshes the graph.
mxEditor.prototype.swapStyles = function ( first, second )
Updates the size of the given swimlane to match that of any existing siblings swimlanes.
mxSwimlaneManager.prototype.swimlaneAdded = function( swimlane )
Processes a doubleclick on an optional cell and fires a dblclick event.
mxGraph.prototype.dblClick = function( evt, cell )
Adds all arguments to the console if DEBUG is enabled.
debug: function()
Decodes the given XML node.
mxCodec.prototype.decode = function( node, into )
Reads a sequence of the following child nodes and attributes:
codec.decode = function( dec, node, into )
Uses the given node as the config for mxDefaultPopupMenu.
codec.decode = function( dec, node, into )
Reads a sequence of the following child nodes and attributes:
codec.decode = function( dec, node, into )
Parses the given node into the object or returns a new object representing the given node.
mxObjectCodec.prototype.decode = function( dec, node, into )
Reads a sequence of the following child nodes and attributes:
codec.decode = function( dec, node, into )
Reads the given attribute into the specified object.
mxObjectCodec.prototype.decodeAttribute = function( dec, attr, obj )
Decodes all attributes of the given node using decodeAttribute.
mxObjectCodec.prototype.decodeAttributes = function( dec, node, obj )
Decodes cells that have been encoded using inversion, ie.
mxCodec.prototype.decodeCell = function( node, restoreStructures )
Overrides decode child to handle special child nodes.
codec.decodeChild = function( dec, child, obj )
Overrides decode child to handle special child nodes.
codec.decodeChild = function( dec, child, obj )
Reads the specified child into the given object.
mxObjectCodec.prototype.decodeChild = function( dec, child, obj )
Decodes all children of the given node using decodeChild.
mxObjectCodec.prototype.decodeChildren = function( dec, node, obj )
Calls decodeAttributes and decodeChildren for the given node.
mxObjectCodec.prototype.decodeNode = function( dec, node, obj )
Reads the cells into the graph model.
codec.decodeRoot = function( dec, root, model )
Removes all handlers from the graph and deletes the reference to it.
mxAutoSaveManager.prototype.destroy = function()
Destroys the editor and removes all associated resources.
mxCellEditor.prototype.destroy = function ()
Destroys the handler and all its resources and DOM nodes.
mxCellHighlight.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxCellMarker.prototype.destroy = function()
Destroys the shapes associated with the given cell state.
mxCellRenderer.prototype.destroy = function( state )
Destroys the state and all associated resources.
mxCellState.prototype.destroy = function()
Destroys the object and all its resources and DOM nodes.
mxCellTracker.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxConnectionHandler.prototype.destroy = function()
Destroy this handler.
mxConstraintHandler.prototype.destroy = function()
Destroys the handler associated with this object.
mxDefaultKeyHandler.prototype.destroy = function ()
Destroys the toolbar associated with this object and removes all installed listeners.
mxDefaultToolbar.prototype.destroy = function ()
Destroys the handler and all its resources and DOM nodes.
mxEdgeHandler.prototype.destroy = function()
Removes the editor and all its associated resources.
mxEditor.prototype.destroy = function ()
Destroys the graph and all its resources.
mxGraph.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxGraphHandler.prototype.destroy = function()
Destroys the view and all its resources.
mxGraphView.prototype.destroy = function()
Destroys all resources that this object uses.
mxGuide.prototype.destroy = function()
Destroys this handle.
mxHandle.prototype.destroy = function()
Destroys the handler and all its references into the DOM.
mxKeyHandler.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxLayoutManager.prototype.destroy = function()
Destroy this outline and removes all listeners from source.
mxOutline.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPanningHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenu.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenuHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxRubberband.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxSelectionCellsHandler.prototype.destroy = function()
Destroys the shape by removing it from the DOM and releasing the DOM node associated with the shape using mxEvent.release.
mxShape.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxSwimlaneManager.prototype.destroy = function()
Returns the top, left corner as a new mxPoint.
mxTemporaryCellStates.prototype.destroy = function()
Removes the toolbar and all its associated resources.
mxToolbar.prototype.destroy = function ()
Destroys the handler and all its resources and DOM nodes.
mxTooltipHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxVertexHandler.prototype.destroy = function()
Destroys the window and removes all associated resources.
mxWindow.prototype.destroy = function()
Destroys all elements in bends.
mxEdgeHandler.prototype.destroyBends = function( bends )
Destroys the given canvas which was used for drawing.
mxShape.prototype.destroyCanvas = function( canvas )
Destroys the focusHighlight if one exists.
mxConstraintHandler.prototype.destroyFocusHighlight = function()
Destroys the connect icons and resets the respective state.
mxConnectionHandler.prototype.destroyIcons = function()
Destroys the focusIcons if they exist.
mxConstraintHandler.prototype.destroyIcons = function()
Destroy the preview and highlight shapes.
mxGraphHandler.prototype.destroyShapes = function()
Does a depth first search starting at the specified cell.
mxCompactTreeLayout.prototype.dfs = function( cell, parent )
Performs a depth first search on the internal hierarchy model
mxGraphHierarchyModel.prototype.dfs = function( parent, root, connectingEdge, visitor, seen, layer )
Performs a depth first search on the internal hierarchy model
mxSwimlaneModel.prototype.dfs = function( parent, root, connectingEdge, visitor, seen, layer )
Hook to free resources after the edit has been removed from the command history.
mxUndoableEdit.prototype.die = function()
Disables the context menu for the given element.
disableContextMenu: function( element )
Disconnects the given edges from the terminals which are not in the given array.
mxGraph.prototype.disconnectGraph = function( cells )
Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.
dispose: function()
Invokes redraw on the shape of the given state.
mxCellRenderer.prototype.doRedrawShape = function( state )
Resizes the container for the given graph width and height.
mxGraph.prototype.doResizeContainer = function( width, height )
Actives the given graph as a drop target.
mxDragSource.prototype.dragEnter = function( graph, evt )
Deactivates the given graph as a drop target.
mxDragSource.prototype.dragExit = function( graph, evt )
Implements autoscroll, updates the currentPoint, highlights any drop targets and updates the preview.
mxDragSource.prototype.dragOver = function( graph, evt )
Draws the given state to the given canvas.
mxImageExport.prototype.drawCellState = function( state, canvas )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawChildren = function( canvas, shape, x, y, w, h, node, aspect, disableShadow )
Creates and returns the highlight shape for the given state.
mxCellHighlight.prototype.drawHighlight = function()
Draws this stencil inside the given bounds.
mxStencil.prototype.drawNode = function( canvas, shape, node, aspect, disableShadow )
Draws the overlays for the given state.
mxImageExport.prototype.drawOverlays = function( state, canvas )
Redraws the preview edge using the color and width returned by getEdgeColor and getEdgeWidth.
mxConnectionHandler.prototype.drawPreview = function()
Redraws the preview.
mxEdgeHandler.prototype.drawPreview = function()
Redraws the preview.
mxVertexHandler.prototype.drawPreview = function()
Draws the shape of the given state.
mxImageExport.prototype.drawShape = function( state, canvas )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawShape = function( canvas, shape, x, y, w, h )
Draws the given state and all its descendants to the given canvas.
mxImageExport.prototype.drawState = function( state, canvas )
Draws the text of the given state.
mxImageExport.prototype.drawText = function( state, canvas )
Handles a drop from a toolbar item to the graph.
mxDefaultToolbar.prototype.drop = function( vertex, evt, target )
Returns the drop target for the given graph and coordinates.
mxDragSource.prototype.drop = function( graph, evt, dropTarget, x, y )
Processes a doubleclick on an optional cell and fires a dblclick event.
mxGraph.prototype.dblClick = function( evt, cell )
Adds all arguments to the console if DEBUG is enabled.
debug: function()
Decodes the given XML node.
mxCodec.prototype.decode = function( node, into )
Reads a sequence of the following child nodes and attributes:
codec.decode = function( dec, node, into )
Uses the given node as the config for mxDefaultPopupMenu.
codec.decode = function( dec, node, into )
Reads a sequence of the following child nodes and attributes:
codec.decode = function( dec, node, into )
Parses the given node into the object or returns a new object representing the given node.
mxObjectCodec.prototype.decode = function( dec, node, into )
Reads a sequence of the following child nodes and attributes:
codec.decode = function( dec, node, into )
Reads the given attribute into the specified object.
mxObjectCodec.prototype.decodeAttribute = function( dec, attr, obj )
Decodes all attributes of the given node using decodeAttribute.
mxObjectCodec.prototype.decodeAttributes = function( dec, node, obj )
Decodes cells that have been encoded using inversion, ie.
mxCodec.prototype.decodeCell = function( node, restoreStructures )
Overrides decode child to handle special child nodes.
codec.decodeChild = function( dec, child, obj )
Overrides decode child to handle special child nodes.
codec.decodeChild = function( dec, child, obj )
Reads the specified child into the given object.
mxObjectCodec.prototype.decodeChild = function( dec, child, obj )
Decodes all children of the given node using decodeChild.
mxObjectCodec.prototype.decodeChildren = function( dec, node, obj )
Calls decodeAttributes and decodeChildren for the given node.
mxObjectCodec.prototype.decodeNode = function( dec, node, obj )
Reads the cells into the graph model.
codec.decodeRoot = function( dec, root, model )
Removes all handlers from the graph and deletes the reference to it.
mxAutoSaveManager.prototype.destroy = function()
Destroys the editor and removes all associated resources.
mxCellEditor.prototype.destroy = function ()
Destroys the handler and all its resources and DOM nodes.
mxCellHighlight.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxCellMarker.prototype.destroy = function()
Destroys the shapes associated with the given cell state.
mxCellRenderer.prototype.destroy = function( state )
Destroys the state and all associated resources.
mxCellState.prototype.destroy = function()
Destroys the object and all its resources and DOM nodes.
mxCellTracker.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxConnectionHandler.prototype.destroy = function()
Destroy this handler.
mxConstraintHandler.prototype.destroy = function()
Destroys the handler associated with this object.
mxDefaultKeyHandler.prototype.destroy = function ()
Destroys the toolbar associated with this object and removes all installed listeners.
mxDefaultToolbar.prototype.destroy = function ()
Destroys the handler and all its resources and DOM nodes.
mxEdgeHandler.prototype.destroy = function()
Removes the editor and all its associated resources.
mxEditor.prototype.destroy = function ()
Destroys the graph and all its resources.
mxGraph.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxGraphHandler.prototype.destroy = function()
Destroys the view and all its resources.
mxGraphView.prototype.destroy = function()
Destroys all resources that this object uses.
mxGuide.prototype.destroy = function()
Destroys this handle.
mxHandle.prototype.destroy = function()
Destroys the handler and all its references into the DOM.
mxKeyHandler.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxLayoutManager.prototype.destroy = function()
Destroy this outline and removes all listeners from source.
mxOutline.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPanningHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenu.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenuHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxRubberband.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxSelectionCellsHandler.prototype.destroy = function()
Destroys the shape by removing it from the DOM and releasing the DOM node associated with the shape using mxEvent.release.
mxShape.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxSwimlaneManager.prototype.destroy = function()
Returns the top, left corner as a new mxPoint.
mxTemporaryCellStates.prototype.destroy = function()
Removes the toolbar and all its associated resources.
mxToolbar.prototype.destroy = function ()
Destroys the handler and all its resources and DOM nodes.
mxTooltipHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxVertexHandler.prototype.destroy = function()
Destroys the window and removes all associated resources.
mxWindow.prototype.destroy = function()
Destroys all elements in bends.
mxEdgeHandler.prototype.destroyBends = function( bends )
Destroys the given canvas which was used for drawing.
mxShape.prototype.destroyCanvas = function( canvas )
Destroys the focusHighlight if one exists.
mxConstraintHandler.prototype.destroyFocusHighlight = function()
Destroys the connect icons and resets the respective state.
mxConnectionHandler.prototype.destroyIcons = function()
Destroys the focusIcons if they exist.
mxConstraintHandler.prototype.destroyIcons = function()
Destroy the preview and highlight shapes.
mxGraphHandler.prototype.destroyShapes = function()
Does a depth first search starting at the specified cell.
mxCompactTreeLayout.prototype.dfs = function( cell, parent )
Performs a depth first search on the internal hierarchy model
mxGraphHierarchyModel.prototype.dfs = function( parent, root, connectingEdge, visitor, seen, layer )
Performs a depth first search on the internal hierarchy model
mxSwimlaneModel.prototype.dfs = function( parent, root, connectingEdge, visitor, seen, layer )
Hook to free resources after the edit has been removed from the command history.
mxUndoableEdit.prototype.die = function()
Disables the context menu for the given element.
disableContextMenu: function( element )
Disconnects the given edges from the terminals which are not in the given array.
mxGraph.prototype.disconnectGraph = function( cells )
Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.
dispose: function()
Invokes redraw on the shape of the given state.
mxCellRenderer.prototype.doRedrawShape = function( state )
Resizes the container for the given graph width and height.
mxGraph.prototype.doResizeContainer = function( width, height )
Actives the given graph as a drop target.
mxDragSource.prototype.dragEnter = function( graph, evt )
Deactivates the given graph as a drop target.
mxDragSource.prototype.dragExit = function( graph, evt )
Implements autoscroll, updates the currentPoint, highlights any drop targets and updates the preview.
mxDragSource.prototype.dragOver = function( graph, evt )
Draws the given state to the given canvas.
mxImageExport.prototype.drawCellState = function( state, canvas )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawChildren = function( canvas, shape, x, y, w, h, node, aspect, disableShadow, paint )
Creates and returns the highlight shape for the given state.
mxCellHighlight.prototype.drawHighlight = function()
Draws this stencil inside the given bounds.
mxStencil.prototype.drawNode = function( canvas, shape, node, aspect, disableShadow, paint )
Draws the overlays for the given state.
mxImageExport.prototype.drawOverlays = function( state, canvas )
Redraws the preview edge using the color and width returned by getEdgeColor and getEdgeWidth.
mxConnectionHandler.prototype.drawPreview = function()
Redraws the preview.
mxEdgeHandler.prototype.drawPreview = function()
Redraws the preview.
mxVertexHandler.prototype.drawPreview = function()
Draws the shape of the given state.
mxImageExport.prototype.drawShape = function( state, canvas )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawShape = function( canvas, shape, x, y, w, h )
Draws the given state and all its descendants to the given canvas.
mxImageExport.prototype.drawState = function( state, canvas )
Draws the text of the given state.
mxImageExport.prototype.drawText = function( state, canvas )
Handles a drop from a toolbar item to the graph.
mxDefaultToolbar.prototype.drop = function( vertex, evt, target )
Returns the drop target for the given graph and coordinates.
mxDragSource.prototype.drop = function( graph, evt, dropTarget, x, y )
R | |
radius | |
radiusSquared, mxFastOrganicLayout | |
rankBottomY, mxCoordinateAssignment | |
rankCoordinates, mxCoordinateAssignment | |
rankIndex, WeightedCellSorter | |
rankMedianPosition, mxCoordinateAssignment | |
ranks | |
ranksPerGroup, mxSwimlaneModel | |
rankTopY, mxCoordinateAssignment | |
rankWidths, mxCoordinateAssignment | |
rankY, mxCoordinateAssignment | |
readGraphModel, mxEditor | |
RECEIVE, mxEvent | |
reconfigure, mxShape | |
rect | |
RECTANGLE_ROUNDING_FACTOR, mxConstants | |
rectangleIntersectsSegment, mxUtils | |
RectanglePerimeter, mxPerimeter | |
recursiveResize, mxGraph | |
redirectMouseEvents, mxEvent | |
redo | |
REDO | |
redone, mxUndoableEdit | |
redraw | |
redrawBackgroundImage, mxGraphView | |
redrawCellOverlays, mxCellRenderer | |
redrawControl, mxCellRenderer | |
redrawHandles | |
redrawHtml, mxShape | |
redrawHtmlShape | |
redrawIcons, mxConnectionHandler | |
redrawInnerBends | |
redrawLabel, mxCellRenderer | |
redrawLabelShape, mxCellRenderer | |
redrawPath | |
redrawShape | |
reduceTemperature, mxFastOrganicLayout | |
refCount, mxSvgCanvas2D | |
reference, mxCodec | |
refresh | |
REFRESH | |
refreshHandler, mxSelectionCellsHandler | |
refreshTasks, mxEditor | |
register, mxCodecRegistry | |
registerShape, mxCellRenderer | |
relative, mxGeometry | |
relativeCcw, mxUtils | |
release, mxEvent | |
releaseSvgGradients, mxShape | |
remove | |
REMOVE | |
REMOVE_CELLS | |
REMOVE_CELLS_FROM_PARENT | |
REMOVE_OVERLAY | |
removeAllListeners, mxEvent | |
removeAllStylenames, mxUtils | |
removeCell, mxGraphSelectionModel | |
removeCellOverlay, mxGraph | |
removeCellOverlays, mxGraph | |
removeCells | |
removeCellsAfterUngroup, mxGraph | |
removeCellsFromParent | |
removeCursors, mxUtils | |
removeDragElement, mxDragSource | |
removeDuplicates, mxUtils | |
removeEdge, mxCell | |
removeEnabled, mxEdgeHandler | |
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 | |
renderHint, mxGraph | |
rendering, mxGraphView | |
RENDERING_HINT_EXACT, mxConstants | |
RENDERING_HINT_FASTER, mxConstants | |
RENDERING_HINT_FASTEST, mxConstants | |
renderPage, mxPrintPreview | |
repaint | |
replaceLinefeeds, mxText | |
replacePlaceholders, mxResources | |
replaceTrailingNewlines, mxUtils | |
repositionValid, mxCoordinateAssignment | |
request, mxXmlRequest | |
reset | |
RESET | |
resetEdge, mxGraph | |
resetEdges | |
resetEdgesOnConnect, mxGraph | |
resetEdgesOnMove, mxGraph | |
resetEdgesOnResize, mxGraph | |
resetFirstTime, mxEditor | |
resetHandler | |
resetHistory, mxEditor | |
resetMode, mxToolbar | |
resetStyles | |
resetTimer, mxTooltipHandler | |
resetValidationState, mxGraphView | |
resetViewOnRootChange, mxGraph | |
resize | |
RESIZE | |
RESIZE_CELLS | |
RESIZE_END | |
RESIZE_START | |
resizeCell | |
resizeCells, mxGraph | |
resizeChildCells, mxGraph | |
resizeContainer, mxGraph | |
resizeEnabled, mxSwimlaneManager | |
resizeHeight, mxDivResizer | |
resizeLast, mxStackLayout | |
resizeParent | |
resizeParentMax, mxStackLayout | |
resizeSwimlane, mxSwimlaneManager | |
resizeVertices, mxPartitionLayout | |
resizeWidth, mxDivResizer | |
resolve, mxCellPath | |
resolveColor, mxCellRenderer | |
resources, mxResources | |
resourcesEncoded, mxResources | |
restore | |
restoreClone, mxGraphModel | |
RESUME, mxEvent | |
revalidate, mxGraphView | |
revalidateState, mxCellStatePreview | |
reverse, mxObjectCodec | |
reversePortConstraints, mxUtils | |
RhombusPerimeter, mxPerimeter | |
root | |
ROOT | |
rootChanged, mxGraphModel | |
roots | |
rootx, mxRadialTreeLayout | |
rooty, mxRadialTreeLayout | |
rotate | |
rotate90, mxRectangle | |
rotateCell, mxVertexHandler | |
rotateClick, mxVertexHandler | |
rotatedHtmlBackground, mxVmlCanvas2D | |
rotateHtml, mxAbstractCanvas2D | |
rotateLabelBounds, mxCellRenderer | |
rotatePoint | |
rotateVertex, mxVertexHandler | |
ROTATION_HANDLE, mxEvent | |
rotationCursor, mxVertexHandler | |
rotationEnabled | |
rotationHandleVSpacing, mxVertexHandler | |
rotationRaster, mxVertexHandler | |
roundAngle, mxVertexHandler | |
roundLength | |
roundrect | |
route, mxParallelEdgeLayout | |
row, mxRadialTreeLayout | |
rowMaxCenX, mxRadialTreeLayout | |
rowMaxX, mxRadialTreeLayout | |
rowMinCenX, mxRadialTreeLayout | |
rowMinX, mxRadialTreeLayout | |
rowRadi, mxRadialTreeLayout | |
rtrim, mxUtils | |
run |
Integer specifying the size of the radius.
mxCircleLayout.prototype.radius
The approximate radius of each cell, nodes only.
mxFastOrganicLayout.prototype.radius
The approximate radius squared of each cell, nodes only.
mxFastOrganicLayout.prototype.radiusSquared
Internal cache of bottom-most value of Y for each rank
mxCoordinateAssignment.prototype.rankBottomY
Sets up the layout in an initial positioning.
mxCoordinateAssignment.prototype.rankCoordinates = function( rankValue, graph, model )
The index this cell is in the model rank.
WeightedCellSorter.prototype.rankIndex
Performs median minimisation over one rank.
mxCoordinateAssignment.prototype.rankMedianPosition = function( rankValue, model, nextRankValue )
Mapping from rank number to actual rank
mxGraphHierarchyModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranks
An array of the number of ranks within each swimlane
mxSwimlaneModel.prototype.ranksPerGroup
Internal cache of top-most values of Y for each rank
mxCoordinateAssignment.prototype.rankTopY
The width of all the ranks
mxCoordinateAssignment.prototype.rankWidths
The Y-coordinate of all the ranks
mxCoordinateAssignment.prototype.rankY
Reads the specified XML node into the existing graph model and resets the command history and modified state.
mxEditor.prototype.readGraphModel = function ( node )
Specifies the event name for receive.
RECEIVE: 'receive'
Reconfigures this shape.
mxShape.prototype.reconfigure = function()
Private helper function to create SVG elements
mxSvgCanvas2D.prototype.rect = function( x, y, w, h )
Sets the current path to a rectangle.
mxVmlCanvas2D.prototype.rect = function( x, y, w, h )
Puts a rectangle into the drawing buffer.
mxXmlCanvas2D.prototype.rect = function( x, y, w, h )
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
RECTANGLE_ROUNDING_FACTOR: 0.15
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 )
Specifies the return value for isRecursiveResize.
mxGraph.prototype.recursiveResize
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()
Specifies the event name for redo.
REDO: 'redo'
Specifies if this edit has been redone.
mxUndoableEdit.prototype.redone
Overridden to invoke refresh before the redraw.
mxEdgeSegmentHandler.prototype.redraw = function()
Updates the bounds or points and scale of the shapes for the given cell state.
mxCellRenderer.prototype.redraw = function( state, force, rendering )
Transfers the focus to the given state as a source or target terminal.
mxConstraintHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxEdgeHandler.prototype.redraw = function()
Renders the shape for this handle.
mxHandle.prototype.redraw = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxImageShape.prototype.redrawHtmlShape = function()
Reconfigures this shape.
mxLabel.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.redraw = function()
Renders the text using the given DOM nodes.
mxText.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, forced )
Redraws the control for the given cell state.
mxCellRenderer.prototype.redrawControl = function( state, forced )
Redraws the handles.
mxEdgeHandler.prototype.redrawHandles = function()
Redraws the handles.
mxVertexHandler.prototype.redrawHandles = function()
Allow optimization by replacing VML with HTML.
mxShape.prototype.redrawHtmlShape = function()
Generic background painting implementation.
mxLabel.prototype.redrawHtmlShape = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.redrawHtmlShape = 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, forced )
Called to invoked redraw on the given text shape.
mxCellRenderer.prototype.redrawLabelShape = function( shape )
Draws the path for this 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 )
Redraws the shape for the given cell state.
mxCellRenderer.prototype.redrawShape = function( state, force, rendering )
Updates the SVG or VML shape.
mxShape.prototype.redrawShape = function()
Reduces the temperature of the layout from an initial setting in a linear fashion to zero.
mxFastOrganicLayout.prototype.reduceTemperature = function()
Local counter for references in SVG export.
mxSvgCanvas2D.prototype.refCount
Hook for subclassers to implement a custom method for retrieving IDs from objects.
mxCodec.prototype.reference = function( obj )
Refreshes the bends of this handler.
mxEdgeHandler.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()
Specifies the event name for refresh.
REFRESH: 'refresh'
Keeps a reference to an event listener for later removal.
mxSelectionCellsHandler.prototype.refreshHandler
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.registerShape = function( key, shape )
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
mxGeometry.prototype.relative
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 )
Paints the line shape.
mxShape.prototype.releaseSvgGradients = function( grads )
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 )
Specifies the event name for remove.
REMOVE: 'remove'
Specifies the event name for removeCells.
REMOVE_CELLS: 'removeCells'
Specifies the event name for removeCellsFromParent.
REMOVE_CELLS_FROM_PARENT: 'removeCellsFromParent'
Specifies the event name for removeOverlay.
REMOVE_OVERLAY: 'removeOverlay'
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 )
Hook to remove the groups after ungroupCells.
mxGraph.prototype.removeCellsAfterUngroup = function( cells )
Removes the specified cells from their parents and adds them to the default parent.
mxGraph.prototype.removeCellsFromParent = function( cells )
Specifies if cells may be moved out of their parents.
mxGraphHandler.prototype.removeCellsFromParent
Removes the cursors from the style of the given DOM node and its descendants.
removeCursors: function( element )
Removes and destroys the dragElement.
mxDragSource.prototype.removeDragElement = function()
Removes all duplicates from the given array.
removeDuplicates: function( arr )
Removes the specified edge from the edge array and returns the edge.
mxCell.prototype.removeEdge = function( edge, isOutgoing )
Specifies if removing bends by shift-click is enabled.
mxEdgeHandler.prototype.removeEnabled
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 given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
removeGestureListeners: function( node, startListener, moveListener, endListener )
Hooks for subclassers to hide details when the handler gets inactive.
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()
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 )
Actives the given graph as a drop target.
mxDragSource.prototype.removeListeners = function()
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 )
RenderHint as it was passed to the constructor.
mxGraph.prototype.renderHint
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
mxGraphView.prototype.rendering
Defines the exact rendering hint.
RENDERING_HINT_EXACT: 'exact'
Defines the faster rendering hint.
RENDERING_HINT_FASTER: 'faster'
Defines the fastest rendering hint.
RENDERING_HINT_FASTEST: 'fastest'
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, content, pageNumber )
Computes the bounding box and updates the style of the div.
mxRubberband.prototype.repaint = function()
Specifies if linefeeds in HTML labels should be replaced with BR tags.
mxText.prototype.replaceLinefeeds
Replaces the given placeholders with the given parameters.
replacePlaceholders: function( value, params )
Replaces each trailing newline with the given pattern.
replaceTrailingNewlines: function( str, pattern )
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 )
Holds the inner, browser-specific request object.
mxXmlRequest.prototype.request
Resets the state of this canvas.
mxAbstractCanvas2D.prototype.reset = function()
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()
Stops and removes everything and restores the state of the object.
mxDragSource.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 this handle by setting its visibility to true.
mxHandle.prototype.reset = function()
Resets the state of the rubberband selection.
mxRubberband.prototype.reset = function()
Resets all handlers.
mxSelectionCellsHandler.prototype.reset = function()
Returns any offsets for rendering pixels.
mxSvgCanvas2D.prototype.reset = function()
Resets and/or restarts the timer to trigger the display of the tooltip.
mxTooltipHandler.prototype.reset = function( me, restart, state )
Resets the state of this handler.
mxVertexHandler.prototype.reset = function()
Specifies the event name for reset.
RESET: 'reset'
Resets the control points of the given edge.
mxGraph.prototype.resetEdge = function( edge )
Specifies if all edge points of traversed edges should be removed.
mxCircleLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxCompactTreeLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxFastOrganicLayout.prototype.resetEdges
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 )
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.resetEdgesOnConnect
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the resize of a connected cell.
mxGraph.prototype.resetEdgesOnResize
Resets the cookie that is used to remember if the editor has already been used.
mxEditor.prototype.resetFirstTime = function ()
Holds the handler that automatically invokes reset if the highlight should be hidden.
mxCellHighlight.prototype.resetHandler
Reference to the function used to reset the toolbar.
mxDefaultToolbar.prototype.resetHandler
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 )
Overrides mxShape to reset spacing.
mxArrowConnector.prototype.resetStyles
Resets all styles.
mxShape.prototype.resetStyles = function()
Resets all styles.
mxText.prototype.resetStyles = function()
Resets the timer.
mxTooltipHandler.prototype.resetTimer = function()
Resets the current validation state.
mxGraphView.prototype.resetValidationState = function()
Specifies if the scale and translate should be reset if the root changes in the model.
mxGraph.prototype.resetViewOnRootChange
Returns modified.
mxCellEditor.prototype.resize = function()
Updates the style of the DIV after the window has been resized.
mxDivResizer.prototype.resize = function()
Specifies the event name for resize.
RESIZE: 'resize'
Specifies the event name for resizeCells.
RESIZE_CELLS: 'resizeCells'
Specifies the event name for resizeEnd.
RESIZE_END: 'resizeEnd'
Specifies the event name for resizeStart.
RESIZE_START: 'resizeStart'
Sets the bounds of the given cell using resizeCells.
mxGraph.prototype.resizeCell = function( cell, bounds, recurse )
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, constrained, recurse )
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, recurse )
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
mxGraph.prototype.resizeChildCells = function( cell, newGeo )
Specifies if the container should be resized to the graph size when the graph size has changed.
mxGraph.prototype.resizeContainer
Specifies if resizing of swimlanes should be handled.
mxSwimlaneManager.prototype.resizeEnabled
If the last element should be resized to fill out the parent.
mxStackLayout.prototype.resizeLast
If the parents should be resized to match the width/height of the children.
mxCompactTreeLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxHierarchicalLayout.prototype.resizeParent
If the parent should be resized to match the width/height of the stack.
mxStackLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxSwimlaneLayout.prototype.resizeParent
Use maximum of existing value and new value for resize of parent.
mxStackLayout.prototype.resizeParentMax
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, parentHorizontal )
Boolean that specifies if vertices should be resized.
mxPartitionLayout.prototype.resizeVertices
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 )
Object that maps from keys to values.
resources: {}
Specifies whether or not values in resource files are encoded with \u or percentage.
resourcesEncoded: false
Restores the current state.
mxAbstractCanvas2D.prototype.restore = function()
Restores the drawing state.
mxXmlCanvas2D.prototype.restore = function()
Inner helper method for restoring the connections in a network of cloned cells.
mxGraphModel.prototype.restoreClone = function( clone, cell, mapping )
Specifies the event name for suspend.
RESUME: 'resume'
Revalidates the complete view with all cell states.
mxGraphView.prototype.revalidate = function()
mxCellStatePreview.prototype.revalidateState = function( state, dx, dy, visitor )
Maps from from XML attribute names to fieldnames.
mxObjectCodec.prototype.reverse
Reverse the port constraint bitmask.
reversePortConstraints: function( constraint )
Describes a rhombus (aka diamond) perimeter.
RhombusPerimeter: function ( bounds, vertex, next, orthogonal )
The cell to use as the root of the tree
mxCompactTreeLayout.prototype.root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
mxGraphModel.prototype.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
this.root
Specifies the event name for root.
ROOT: 'root'
Inner callback to change the root of the model and update the internal datastructures, such as cells and nextId.
mxGraphModel.prototype.rootChanged = function( root )
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxGraphHierarchyModel.prototype.roots
Holds the array of mxCell that this layout contains.
mxHierarchicalLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneLayout.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxSwimlaneModel.prototype.roots
The X co-ordinate of the root cell
mxRadialTreeLayout.prototype.rootx
The Y co-ordinate of the root cell
mxRadialTreeLayout.prototype.rooty
Rotates the current state.
mxAbstractCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Rotates the geometry by the given angle around the given center.
mxGeometry.prototype.rotate = function( angle, cx )
Sets the rotation of the canvas.
mxSvgCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Rotates and/or flips the output around a given center.
mxXmlCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Rotates this rectangle by 90 degree around its center point.
mxRectangle.prototype.rotate90 = function()
Hook for subclassers to implement a single click on the rotation handle.
mxVertexHandler.prototype.rotateClick = function()
Background color for rotated HTML.
mxVmlCanvas2D.prototype.rotatedHtmlBackground
Switch for rotation of HTML.
mxAbstractCanvas2D.prototype.rotateHtml
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxCellRenderer.prototype.rotateLabelBounds = function( state, bounds )
Rotates the given point and returns the result as an mxPoint.
mxAbstractCanvas2D.prototype.rotatePoint = function( x, y, theta, cx, cy )
Rotates the point by the given angle.
mxHandle.prototype.rotatePoint = function( pt, alpha )
Index for the rotation handle in an mxMouseEvent.
ROTATION_HANDLE: -2
Specifies the cursor for the rotation handle.
mxVertexHandler.prototype.rotationCursor
Specifies if the bounding box should allow for rotation.
mxGraphHandler.prototype.rotationEnabled
Specifies if a rotation handle should be visible.
mxVertexHandler.prototype.rotationEnabled
Vertical spacing for rotation icon.
mxVertexHandler.prototype.rotationHandleVSpacing
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
mxVertexHandler.prototype.rotationRaster
Hook for rounding the angle.
mxVertexHandler.prototype.roundAngle = function( angle )
Hook for rounding the unscaled width or height.
mxEdgeHandler.prototype.roundLength = function( length )
Hook for rounding the unscaled vector.
mxGraphHandler.prototype.roundLength = function( length )
Hook for rounding the unscaled width or height.
mxVertexHandler.prototype.roundLength = function( length )
Private helper function to create SVG elements
mxSvgCanvas2D.prototype.roundrect = function( x, y, w, h, dx, dy )
Sets the current path to a rounded rectangle.
mxVmlCanvas2D.prototype.roundrect = function( x, y, w, h, dx, dy )
Puts a rounded rectangle into the drawing buffer.
mxXmlCanvas2D.prototype.roundrect = function( x, y, w, h, dx, dy )
Routes the given edge via the given point.
mxParallelEdgeLayout.prototype.route = function( edge, x, y )
Array of vertices on each row
mxRadialTreeLayout.prototype.row
Array of x coordinate of rightmost vertex of each row
mxRadialTreeLayout.prototype.rowMaxCenX
Array of rightmost x coordinate of each row
mxRadialTreeLayout.prototype.rowMaxX
Array of x coordinate of leftmost vertex of each row
mxRadialTreeLayout.prototype.rowMinCenX
Array of leftmost x coordinate of each row
mxRadialTreeLayout.prototype.rowMinX
Array of y deltas of each row behind root vertex, also the radius in the tree
mxRadialTreeLayout.prototype.rowRadi
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 )
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 )
Integer specifying the size of the radius.
mxCircleLayout.prototype.radius
The approximate radius of each cell, nodes only.
mxFastOrganicLayout.prototype.radius
The approximate radius squared of each cell, nodes only.
mxFastOrganicLayout.prototype.radiusSquared
Internal cache of bottom-most value of Y for each rank
mxCoordinateAssignment.prototype.rankBottomY
Sets up the layout in an initial positioning.
mxCoordinateAssignment.prototype.rankCoordinates = function( rankValue, graph, model )
The index this cell is in the model rank.
WeightedCellSorter.prototype.rankIndex
Performs median minimisation over one rank.
mxCoordinateAssignment.prototype.rankMedianPosition = function( rankValue, model, nextRankValue )
Mapping from rank number to actual rank
mxGraphHierarchyModel.prototype.ranks
Mapping from rank number to actual rank
mxSwimlaneModel.prototype.ranks
An array of the number of ranks within each swimlane
mxSwimlaneModel.prototype.ranksPerGroup
Internal cache of top-most values of Y for each rank
mxCoordinateAssignment.prototype.rankTopY
The width of all the ranks
mxCoordinateAssignment.prototype.rankWidths
The Y-coordinate of all the ranks
mxCoordinateAssignment.prototype.rankY
Reads the specified XML node into the existing graph model and resets the command history and modified state.
mxEditor.prototype.readGraphModel = function ( node )
Specifies the event name for receive.
RECEIVE: 'receive'
Reconfigures this shape.
mxShape.prototype.reconfigure = function()
Private helper function to create SVG elements
mxSvgCanvas2D.prototype.rect = function( x, y, w, h )
Sets the current path to a rectangle.
mxVmlCanvas2D.prototype.rect = function( x, y, w, h )
Puts a rectangle into the drawing buffer.
mxXmlCanvas2D.prototype.rect = function( x, y, w, h )
Defines the rounding factor for rounded rectangles in percent between 0 and 1.
RECTANGLE_ROUNDING_FACTOR: 0.15
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 )
Specifies the return value for isRecursiveResize.
mxGraph.prototype.recursiveResize
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()
Specifies the event name for redo.
REDO: 'redo'
Specifies if this edit has been redone.
mxUndoableEdit.prototype.redone
Overridden to invoke refresh before the redraw.
mxEdgeSegmentHandler.prototype.redraw = function()
Updates the bounds or points and scale of the shapes for the given cell state.
mxCellRenderer.prototype.redraw = function( state, force, rendering )
Transfers the focus to the given state as a source or target terminal.
mxConstraintHandler.prototype.redraw = function()
Redraws the preview, and the bends- and label control points.
mxEdgeHandler.prototype.redraw = function()
Renders the shape for this handle.
mxHandle.prototype.redraw = function()
Overrides mxShape.redraw to preserve the aspect ratio of images.
mxImageShape.prototype.redrawHtmlShape = function()
Reconfigures this shape.
mxLabel.prototype.redraw = function()
Creates and returns the SVG node(s) to represent this shape.
mxShape.prototype.redraw = function()
Renders the text using the given DOM nodes.
mxText.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, forced )
Redraws the control for the given cell state.
mxCellRenderer.prototype.redrawControl = function( state, forced )
Redraws the handles.
mxEdgeHandler.prototype.redrawHandles = function()
Redraws the handles.
mxVertexHandler.prototype.redrawHandles = function()
Allow optimization by replacing VML with HTML.
mxShape.prototype.redrawHtmlShape = function()
Generic background painting implementation.
mxLabel.prototype.redrawHtmlShape = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.redrawHtmlShape = 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, forced )
Called to invoked redraw on the given text shape.
mxCellRenderer.prototype.redrawLabelShape = function( shape )
Draws the path for this 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.
mxHexagon.prototype.redrawPath = function( c, x, y, w, h )
Draws the path for this shape.
mxTriangle.prototype.redrawPath = function( c, x, y, w, h )
Redraws the shape for the given cell state.
mxCellRenderer.prototype.redrawShape = function( state, force, rendering )
Updates the SVG or VML shape.
mxShape.prototype.redrawShape = function()
Reduces the temperature of the layout from an initial setting in a linear fashion to zero.
mxFastOrganicLayout.prototype.reduceTemperature = function()
Local counter for references in SVG export.
mxSvgCanvas2D.prototype.refCount
Hook for subclassers to implement a custom method for retrieving IDs from objects.
mxCodec.prototype.reference = function( obj )
Refreshes the bends of this handler.
mxEdgeHandler.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()
Specifies the event name for refresh.
REFRESH: 'refresh'
Keeps a reference to an event listener for later removal.
mxSelectionCellsHandler.prototype.refreshHandler
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.registerShape = function( key, shape )
Specifies if the coordinates in the geometry are to be interpreted as relative coordinates.
mxGeometry.prototype.relative
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 )
Paints the line shape.
mxShape.prototype.releaseSvgGradients = function( grads )
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 )
Specifies the event name for remove.
REMOVE: 'remove'
Specifies the event name for removeCells.
REMOVE_CELLS: 'removeCells'
Specifies the event name for removeCellsFromParent.
REMOVE_CELLS_FROM_PARENT: 'removeCellsFromParent'
Specifies the event name for removeOverlay.
REMOVE_OVERLAY: 'removeOverlay'
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 )
Hook to remove the groups after ungroupCells.
mxGraph.prototype.removeCellsAfterUngroup = function( cells )
Removes the specified cells from their parents and adds them to the default parent.
mxGraph.prototype.removeCellsFromParent = function( cells )
Specifies if cells may be moved out of their parents.
mxGraphHandler.prototype.removeCellsFromParent
Removes the cursors from the style of the given DOM node and its descendants.
removeCursors: function( element )
Removes and destroys the dragElement.
mxDragSource.prototype.removeDragElement = function()
Removes all duplicates from the given array.
removeDuplicates: function( arr )
Removes the specified edge from the edge array and returns the edge.
mxCell.prototype.removeEdge = function( edge, isOutgoing )
Specifies if removing bends by shift-click is enabled.
mxEdgeHandler.prototype.removeEnabled
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 given listeners from mousedown, mousemove, mouseup and the respective touch events if mxClient.IS_TOUCH is true.
removeGestureListeners: function( node, startListener, moveListener, endListener )
Hooks for subclassers to hide details when the handler gets inactive.
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()
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 )
Actives the given graph as a drop target.
mxDragSource.prototype.removeListeners = function()
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 )
RenderHint as it was passed to the constructor.
mxGraph.prototype.renderHint
Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph.
mxGraphView.prototype.rendering
Defines the exact rendering hint.
RENDERING_HINT_EXACT: 'exact'
Defines the faster rendering hint.
RENDERING_HINT_FASTER: 'faster'
Defines the fastest rendering hint.
RENDERING_HINT_FASTEST: 'fastest'
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, content, pageNumber )
Computes the bounding box and updates the style of the div.
mxRubberband.prototype.repaint = function()
Specifies if linefeeds in HTML labels should be replaced with BR tags.
mxText.prototype.replaceLinefeeds
Replaces the given placeholders with the given parameters.
replacePlaceholders: function( value, params )
Replaces each trailing newline with the given pattern.
replaceTrailingNewlines: function( str, pattern )
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 )
Holds the inner, browser-specific request object.
mxXmlRequest.prototype.request
Resets the state of this canvas.
mxAbstractCanvas2D.prototype.reset = function()
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()
Stops and removes everything and restores the state of the object.
mxDragSource.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 this handle by setting its visibility to true.
mxHandle.prototype.reset = function()
Resets the state of the rubberband selection.
mxRubberband.prototype.reset = function()
Resets all handlers.
mxSelectionCellsHandler.prototype.reset = function()
Returns any offsets for rendering pixels.
mxSvgCanvas2D.prototype.reset = function()
Resets and/or restarts the timer to trigger the display of the tooltip.
mxTooltipHandler.prototype.reset = function( me, restart, state )
Resets the state of this handler.
mxVertexHandler.prototype.reset = function()
Specifies the event name for reset.
RESET: 'reset'
Resets the control points of the given edge.
mxGraph.prototype.resetEdge = function( edge )
Specifies if all edge points of traversed edges should be removed.
mxCircleLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxCompactTreeLayout.prototype.resetEdges
Specifies if all edge points of traversed edges should be removed.
mxFastOrganicLayout.prototype.resetEdges
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 )
Specifies if edge control points should be reset after the the edge has been reconnected.
mxGraph.prototype.resetEdgesOnConnect
Specifies if edge control points should be reset after the move of a connected cell.
mxGraph.prototype.resetEdgesOnMove
Specifies if edge control points should be reset after the resize of a connected cell.
mxGraph.prototype.resetEdgesOnResize
Resets the cookie that is used to remember if the editor has already been used.
mxEditor.prototype.resetFirstTime = function ()
Holds the handler that automatically invokes reset if the highlight should be hidden.
mxCellHighlight.prototype.resetHandler
Reference to the function used to reset the toolbar.
mxDefaultToolbar.prototype.resetHandler
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 )
Overrides mxShape to reset spacing.
mxArrowConnector.prototype.resetStyles
Resets all styles.
mxShape.prototype.resetStyles = function()
Resets all styles.
mxText.prototype.resetStyles = function()
Resets the timer.
mxTooltipHandler.prototype.resetTimer = function()
Resets the current validation state.
mxGraphView.prototype.resetValidationState = function()
Specifies if the scale and translate should be reset if the root changes in the model.
mxGraph.prototype.resetViewOnRootChange
Returns modified.
mxCellEditor.prototype.resize = function()
Updates the style of the DIV after the window has been resized.
mxDivResizer.prototype.resize = function()
Specifies the event name for resize.
RESIZE: 'resize'
Specifies the event name for resizeCells.
RESIZE_CELLS: 'resizeCells'
Specifies the event name for resizeEnd.
RESIZE_END: 'resizeEnd'
Specifies the event name for resizeStart.
RESIZE_START: 'resizeStart'
Sets the bounds of the given cell using resizeCells.
mxGraph.prototype.resizeCell = function( cell, bounds, recurse )
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, constrained, recurse )
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, recurse )
Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.
mxGraph.prototype.resizeChildCells = function( cell, newGeo )
Specifies if the container should be resized to the graph size when the graph size has changed.
mxGraph.prototype.resizeContainer
Specifies if resizing of swimlanes should be handled.
mxSwimlaneManager.prototype.resizeEnabled
If the last element should be resized to fill out the parent.
mxStackLayout.prototype.resizeLast
If the parents should be resized to match the width/height of the children.
mxCompactTreeLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxHierarchicalLayout.prototype.resizeParent
If the parent should be resized to match the width/height of the stack.
mxStackLayout.prototype.resizeParent
Specifies if the parent should be resized after the layout so that it contains all the child cells.
mxSwimlaneLayout.prototype.resizeParent
Use maximum of existing value and new value for resize of parent.
mxStackLayout.prototype.resizeParentMax
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, parentHorizontal )
Boolean that specifies if vertices should be resized.
mxPartitionLayout.prototype.resizeVertices
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 )
Object that maps from keys to values.
resources: {}
Specifies whether or not values in resource files are encoded with \u or percentage.
resourcesEncoded: false
Restores the current state.
mxAbstractCanvas2D.prototype.restore = function()
Restores the drawing state.
mxXmlCanvas2D.prototype.restore = function()
Inner helper method for restoring the connections in a network of cloned cells.
mxGraphModel.prototype.restoreClone = function( clone, cell, mapping )
Specifies the event name for suspend.
RESUME: 'resume'
Revalidates the complete view with all cell states.
mxGraphView.prototype.revalidate = function()
mxCellStatePreview.prototype.revalidateState = function( state, dx, dy, visitor )
Maps from from XML attribute names to fieldnames.
mxObjectCodec.prototype.reverse
Reverse the port constraint bitmask.
reversePortConstraints: function( constraint )
Describes a rhombus (aka diamond) perimeter.
RhombusPerimeter: function ( bounds, vertex, next, orthogonal )
The cell to use as the root of the tree
mxCompactTreeLayout.prototype.root
Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells.
mxGraphModel.prototype.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
this.root
Reference to the container for the SVG content.
this.root
Specifies the event name for root.
ROOT: 'root'
Inner callback to change the root of the model and update the internal datastructures, such as cells and nextId.
mxGraphModel.prototype.rootChanged = function( root )
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxGraphHierarchyModel.prototype.roots
Holds the array of mxCell that this layout contains.
mxHierarchicalLayout.prototype.roots
Holds the array of mxCell that this layout contains.
mxSwimlaneLayout.prototype.roots
Store of roots of this hierarchy model, these are real graph cells, not internal cells
mxSwimlaneModel.prototype.roots
The X co-ordinate of the root cell
mxRadialTreeLayout.prototype.rootx
The Y co-ordinate of the root cell
mxRadialTreeLayout.prototype.rooty
Rotates the current state.
mxAbstractCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Rotates the geometry by the given angle around the given center.
mxGeometry.prototype.rotate = function( angle, cx )
Sets the rotation of the canvas.
mxSvgCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Sets the rotation of the canvas.
mxVmlCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Rotates and/or flips the output around a given center.
mxXmlCanvas2D.prototype.rotate = function( theta, flipH, flipV, cx, cy )
Rotates this rectangle by 90 degree around its center point.
mxRectangle.prototype.rotate90 = function()
Hook for subclassers to implement a single click on the rotation handle.
mxVertexHandler.prototype.rotateClick = function()
Background color for rotated HTML.
mxVmlCanvas2D.prototype.rotatedHtmlBackground
Switch for rotation of HTML.
mxAbstractCanvas2D.prototype.rotateHtml
Adds the shape rotation to the given label bounds and applies the alignment and offsets.
mxCellRenderer.prototype.rotateLabelBounds = function( state, bounds )
Rotates the given point and returns the result as an mxPoint.
mxAbstractCanvas2D.prototype.rotatePoint = function( x, y, theta, cx, cy )
Rotates the point by the given angle.
mxHandle.prototype.rotatePoint = function( pt, alpha )
Index for the rotation handle in an mxMouseEvent.
ROTATION_HANDLE: -2
Specifies the cursor for the rotation handle.
mxVertexHandler.prototype.rotationCursor
Specifies if the bounding box should allow for rotation.
mxGraphHandler.prototype.rotationEnabled
Specifies if a rotation handle should be visible.
mxVertexHandler.prototype.rotationEnabled
Vertical spacing for rotation icon.
mxVertexHandler.prototype.rotationHandleVSpacing
Specifies if rotation steps should be “rasterized” depening on the distance to the handle.
mxVertexHandler.prototype.rotationRaster
Hook for rounding the angle.
mxVertexHandler.prototype.roundAngle = function( angle )
Hook for rounding the unscaled width or height.
mxEdgeHandler.prototype.roundLength = function( length )
Hook for rounding the unscaled vector.
mxGraphHandler.prototype.roundLength = function( length )
Hook for rounding the unscaled width or height.
mxVertexHandler.prototype.roundLength = function( length )
Private helper function to create SVG elements
mxSvgCanvas2D.prototype.roundrect = function( x, y, w, h, dx, dy )
Sets the current path to a rounded rectangle.
mxVmlCanvas2D.prototype.roundrect = function( x, y, w, h, dx, dy )
Puts a rounded rectangle into the drawing buffer.
mxXmlCanvas2D.prototype.roundrect = function( x, y, w, h, dx, dy )
Routes the given edge via the given point.
mxParallelEdgeLayout.prototype.route = function( edge, x, y )
Array of vertices on each row
mxRadialTreeLayout.prototype.row
Array of x coordinate of rightmost vertex of each row
mxRadialTreeLayout.prototype.rowMaxCenX
Array of rightmost x coordinate of each row
mxRadialTreeLayout.prototype.rowMaxX
Array of x coordinate of leftmost vertex of each row
mxRadialTreeLayout.prototype.rowMinCenX
Array of leftmost x coordinate of each row
mxRadialTreeLayout.prototype.rowMinX
Array of y deltas of each row behind root vertex, also the radius in the tree
mxRadialTreeLayout.prototype.rowRadi
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 )
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 )
S | |
save | |
SAVE | |
scale | |
SCALE | |
SCALE_AND_TRANSLATE | |
scaleAndTranslate, mxGraphView | |
scaleCell, mxGraph | |
scaleGrid, mxGraphHandler | |
screenX, mxPopupMenuHandler | |
screenY, mxPopupMenuHandler | |
scrollCellToVisible, mxGraph | |
scrollOnMove, mxGraphHandler | |
scrollPointToVisible, mxGraph | |
scrollRectToVisible, mxGraph | |
SegmentConnector, mxEdgeStyle | |
segments, mxCellState | |
select, mxConnectionHandler | |
SELECT | |
selectAll, mxGraph | |
selectCell, mxGraph | |
selectCellForEvent, mxGraph | |
selectCells | |
selectCellsForEvent, mxGraph | |
selectChildCell, mxGraph | |
selectDelayed, mxGraphHandler | |
selectEnabled, mxGraphHandler | |
Selection, mxGraph | |
Selection state, mxGraph | |
SELECTION_DASHED, mxConstants | |
selectionModel, mxGraph | |
selectMode, mxToolbar | |
selectNextCell, mxGraph | |
selectOnPopup, mxPopupMenuHandler | |
selectParentCell, mxGraph | |
selectPreviousCell, mxGraph | |
selectRegion, mxGraph | |
selectText, mxCellEditor | |
selectVertices, mxGraph | |
send, mxXmlRequest | |
setAbsoluteTerminalPoint, mxCellState | |
setAddEnabled, mxSwimlaneManager | |
setAllowDanglingEdges, mxGraph | |
setAllowEval, mxGraphView | |
setAllowLoops, mxGraph | |
setAlpha | |
setAttribute | |
setAutoSizeCells, mxGraph | |
setBackgroundImage, mxGraph | |
setBaseDomain, mxUrlConverter | |
setBaseUrl, mxUrlConverter | |
setBinary, mxXmlRequest | |
setBorder, mxGraph | |
setBubbling, mxLayoutManager | |
setCell, mxGraphSelectionModel | |
setCellHeights, mxCompactTreeLayout | |
setCellLocations, mxCoordinateAssignment | |
setCells | |
setCellsBendable, mxGraph | |
setCellsCloneable, mxGraph | |
setCellsDeletable, mxGraph | |
setCellsDisconnectable, mxGraph | |
setCellsEditable, mxGraph | |
setCellsMovable, mxGraph | |
setCellsResizable, mxGraph | |
setCellsSelectable, mxGraph | |
setCellStyle, mxGraph | |
setCellStyleFlags | |
setCellStyles | |
setCellWarning, mxGraph | |
setCloneEnabled, mxGraphHandler | |
setCloneInvalidEdges, mxGraph | |
setClosable, mxWindow | |
setCollapsed | |
setConnectable | |
setConnectableEdges, mxGraph | |
setConnectionConstraint, mxGraph | |
setConstrainChildren, mxGraph | |
setConstrainRelativeChildren, mxGraph | |
setCreateIds, mxGraphModel | |
setCreateTarget, mxConnectionHandler | |
setCurrentRoot, mxGraphView | |
setCurrentState, mxCellMarker | |
setCursor | |
setDashed | |
setDashPattern | |
setDefaultParent, mxGraph | |
setDisconnectOnMove, mxGraph | |
setDropEnabled, mxGraph | |
setEdge, mxCell | |
setEdgePoints, mxGraphLayout | |
setEdgePosition, mxCoordinateAssignment | |
setEdgeStyleEnabled, mxGraphLayout | |
setEnabled | |
setEnterStopsCellEditing, mxGraph | |
setEscapeEnabled, mxGraph | |
setEventsEnabled, mxEventSource | |
setEventSource, mxEventSource | |
setExtendParents, mxGraph | |
setExtendParentsOnAdd, mxGraph | |
setExtendParentsOnMove, mxGraph | |
setFillAlpha | |
setFillColor | |
setFocus, mxConstraintHandler | |
setFontBackgroundColor, mxXmlCanvas2D | |
setFontBorderColor, mxXmlCanvas2D | |
setFontColor | |
setFontFamily | |
setFontSize | |
setFontStyle | |
setGeneralPurposeVariable | |
setGeometry | |
setGradient | |
setGraph | |
setGraphBounds, mxGraphView | |
setGraphContainer, mxEditor | |
setGridEnabled | |
setGridSize, mxGraph | |
setGuidesEnabled, mxDragSource | |
setHideOnHover, mxTooltipHandler | |
setHighlightColor | |
setHorizontal, mxSwimlaneManager | |
setHotspot, mxCellMarker | |
setHotspotEnabled, mxCellMarker | |
setHtmlLabels, mxGraph | |
setId, mxCell | |
setImage, mxWindow | |
setInnerHtml, mxText | |
setInvokesStopCellEditing, mxGraph | |
setLineCap | |
setLineJoin | |
setLink | |
setLocation, mxWindow | |
setLocked, mxGraph | |
setMaximizable, mxWindow | |
setMinimizable, mxWindow | |
setMiterLimit | |
setMode, mxEditor | |
setModified, mxEditor | |
setMoveEnabled, mxGraphHandler | |
setMultigraph, mxGraph | |
setOpacity, mxUtils | |
setOrthogonalEdge, mxGraphLayout | |
setPanning, mxGraph | |
setPanningEnabled, mxPanningHandler | |
setParent, mxCell | |
setPinchEnabled, mxPanningHandler | |
setPortsEnabled, mxGraph | |
setPosition, mxHandle | |
setPrefixedStyle, mxUtils | |
setPreviewColor, mxEdgeHandler | |
setRect, mxRectangle | |
setRecursiveResize, mxGraph | |
setRemoveCellsFromParent, mxGraphHandler | |
setRendering, mxGraphView | |
setRequestHeaders, mxXmlRequest | |
setResizable, mxWindow | |
setResizeContainer, mxGraph | |
setResizeEnabled, mxSwimlaneManager | |
setRoot, mxGraphModel | |
setScale, mxGraphView | |
setScrollable, mxWindow | |
setSelectEnabled, mxGraphHandler | |
setSelectionCell, mxGraph | |
setSelectionCells, mxGraph | |
setSelectionModel, mxGraph | |
setShadow | |
setShadowAlpha | |
setShadowColor | |
setShadowOffset | |
setSingleSelection, mxGraphSelectionModel | |
setSize, mxWindow | |
setSplitEnabled, mxGraph | |
setState, mxCellState | |
setStates | |
setStatus, mxEditor | |
setStatusContainer, mxEditor | |
setStrokeAlpha | |
setStrokeColor | |
setStrokeWidth | |
setStyle | |
setStyleFlag, mxUtils | |
setStylesheet, mxGraph | |
setSwimlaneNesting, mxGraph | |
setSwimlaneSelectionEnabled, mxGraph | |
setTerminal | |
setTerminalPoint, mxGeometry | |
setTerminals, mxGraphModel | |
setTextContent, mxUtils | |
setTitle, mxWindow | |
setTitleContainer, mxEditor | |
setTolerance, mxGraph | |
setToolbarContainer, mxEditor | |
setTooltips, mxGraph | |
setTranslate, mxGraphView | |
setTransparentBackgroundImage, mxShape | |
setValue | |
setVertex, mxCell | |
setVertexLabelsMovable, mxGraph | |
setVertexLocation | |
setVisible | |
setVisibleTerminalState, mxCellState | |
setX, mxGraphAbstractHierarchyCell | |
setY, mxGraphAbstractHierarchyCell | |
setZoomEnabled, mxOutline | |
SHADOW_OFFSET_X, mxConstants | |
SHADOW_OFFSET_Y, mxConstants | |
SHADOW_OPACITY, mxConstants | |
SHADOWCOLOR, mxConstants | |
shape | |
SHAPE_ACTOR, mxConstants | |
SHAPE_ARROW, mxConstants | |
SHAPE_ARROW_CONNECTOR, mxConstants | |
SHAPE_CLOUD, mxConstants | |
SHAPE_CONNECTOR, mxConstants | |
SHAPE_CYLINDER, mxConstants | |
SHAPE_DOUBLE_ELLIPSE, mxConstants | |
SHAPE_ELLIPSE, mxConstants | |
SHAPE_HEXAGON, mxConstants | |
SHAPE_IMAGE, mxConstants | |
SHAPE_LABEL, mxConstants | |
SHAPE_LINE, mxConstants | |
SHAPE_RECTANGLE, mxConstants | |
SHAPE_RHOMBUS, mxConstants | |
SHAPE_SWIMLANE, mxConstants | |
SHAPE_TRIANGLE, mxConstants | |
shapePointerEvents, mxShape | |
sharedDiv, mxRubberband | |
shiftKeys, mxKeyHandler | |
shouldRemoveCellsFromParent, mxGraphHandler | |
show | |
SHOW | |
showHelp, mxEditor | |
showMenu, mxPopupMenu | |
showOutline, mxEditor | |
showProperties, mxEditor | |
showSubmenu, mxPopupMenu | |
showTasks, mxEditor | |
showViewport, mxOutline | |
SideToSide, mxEdgeStyle | |
significant, mxUndoableEdit | |
simulate, mxXmlRequest | |
singleSelection, mxGraphSelectionModel | |
singleSizer, mxVertexHandler | |
size, mxUndoManager | |
SIZE | |
sizeDidChange, mxGraph | |
sizerImage, mxOutline | |
smartSeparators, mxPopupMenu | |
snap | |
snapPoint, mxHandle | |
snapToPreview, mxConnectionHandler | |
snapToTerminals, mxEdgeHandler | |
sortCells, mxUtils | |
sortEdges | |
sortOutgoingEdges, mxCompactTreeLayout | |
source | |
sourcePoint, mxGeometry | |
SOURCESCANSTARTRANK | |
sourceState, mxMouseEvent | |
spacing | |
SPLIT_EDGE | |
splitEdge, mxGraph | |
splitEnabled, mxGraph | |
src, mxImage | |
start | |
START | |
START_EDIT | |
START_EDITING | |
startAnimation, mxAnimation | |
startDrag, mxDragSource | |
startEditing | |
startEditingAtCell, mxGraph | |
startX, mxPanningHandler | |
startY, mxPanningHandler | |
state | |
states | |
stateValidated, mxGraphView | |
status, mxEditor | |
stencil, mxShape | |
stencilPointerEvents, mxShape | |
step, mxMorphing | |
steps, mxMorphing | |
STEPSIZE, mxClipboard | |
stopAnimation, mxAnimation | |
stopDrag, mxDragSource | |
stopEditing | |
stopRecursion, mxMorphing | |
straightRemoveEnabled, mxEdgeHandler | |
stroke | |
strokeTolerance, mxSvgCanvas2D | |
strokewidth, mxStencil | |
style | |
STYLE_ABSOLUTE_ARCSIZE, mxConstants | |
STYLE_ALIGN, mxConstants | |
STYLE_ARCSIZE, mxConstants | |
STYLE_ASPECT, mxConstants | |
STYLE_AUTOSIZE, mxConstants | |
STYLE_BENDABLE, mxConstants | |
STYLE_CLONEABLE, mxConstants | |
STYLE_CURVED, mxConstants | |
STYLE_DASHED, mxConstants | |
STYLE_DELETABLE, mxConstants | |
STYLE_DIRECTION, mxConstants | |
STYLE_EDGE, mxConstants | |
STYLE_EDITABLE, mxConstants | |
STYLE_ELBOW, mxConstants | |
STYLE_ENDARROW, mxConstants | |
STYLE_ENDFILL, mxConstants | |
STYLE_ENDSIZE, mxConstants | |
STYLE_ENTRY_PERIMETER, mxConstants | |
STYLE_ENTRY_X, mxConstants | |
STYLE_ENTRY_Y, mxConstants | |
STYLE_EXIT_PERIMETER, mxConstants | |
STYLE_EXIT_X, mxConstants | |
STYLE_EXIT_Y, mxConstants | |
STYLE_FILL_OPACITY, mxConstants | |
STYLE_FILLCOLOR, mxConstants | |
STYLE_FIX_DASH, mxConstants | |
STYLE_FLIPH, mxConstants | |
STYLE_FLIPV, mxConstants | |
STYLE_FOLDABLE, mxConstants | |
STYLE_FONTCOLOR, mxConstants | |
STYLE_FONTFAMILY, mxConstants | |
STYLE_FONTSIZE, mxConstants | |
STYLE_FONTSTYLE, mxConstants | |
STYLE_GLASS, mxConstants | |
STYLE_GRADIENT_DIRECTION, mxConstants | |
STYLE_GRADIENTCOLOR, mxConstants | |
STYLE_HORIZONTAL, mxConstants | |
STYLE_IMAGE, mxConstants | |
STYLE_IMAGE_ALIGN, mxConstants | |
STYLE_IMAGE_ASPECT, mxConstants | |
STYLE_IMAGE_BACKGROUND, mxConstants | |
STYLE_IMAGE_BORDER, mxConstants | |
STYLE_IMAGE_HEIGHT, mxConstants | |
STYLE_IMAGE_VERTICAL_ALIGN, mxConstants | |
STYLE_IMAGE_WIDTH, mxConstants | |
STYLE_INDICATOR_COLOR, mxConstants | |
STYLE_INDICATOR_DIRECTION, mxConstants | |
STYLE_INDICATOR_GRADIENTCOLOR, mxConstants | |
STYLE_INDICATOR_HEIGHT, mxConstants | |
STYLE_INDICATOR_IMAGE, mxConstants | |
STYLE_INDICATOR_SHAPE, mxConstants | |
STYLE_INDICATOR_SPACING, mxConstants | |
STYLE_INDICATOR_STROKECOLOR, mxConstants | |
STYLE_INDICATOR_WIDTH, mxConstants | |
STYLE_JETTY_SIZE, mxConstants | |
STYLE_LABEL_BACKGROUNDCOLOR, mxConstants | |
STYLE_LABEL_BORDERCOLOR, mxConstants | |
STYLE_LABEL_PADDING, mxConstants | |
STYLE_LABEL_POSITION, mxConstants | |
STYLE_LABEL_WIDTH, mxConstants | |
STYLE_LOOP, mxConstants | |
STYLE_MARGIN, mxConstants | |
STYLE_MOVABLE, mxConstants | |
STYLE_NOEDGESTYLE, mxConstants | |
STYLE_NOLABEL, mxConstants | |
STYLE_OPACITY, mxConstants | |
STYLE_ORTHOGONAL, mxConstants | |
STYLE_ORTHOGONAL_LOOP, mxConstants | |
STYLE_OVERFLOW, mxConstants | |
STYLE_PERIMETER, mxConstants | |
STYLE_PERIMETER_SPACING, mxConstants | |
STYLE_POINTER_EVENTS, mxConstants | |
STYLE_PORT_CONSTRAINT, mxConstants | |
STYLE_PORT_CONSTRAINT_ROTATION, mxConstants | |
STYLE_RESIZABLE, mxConstants | |
STYLE_RESIZE_WIDTH, mxConstants | |
STYLE_ROTATABLE, mxConstants | |
STYLE_ROTATION, mxConstants | |
STYLE_ROUNDED, mxConstants | |
STYLE_ROUTING_CENTER_X, mxConstants | |
STYLE_ROUTING_CENTER_Y, mxConstants | |
STYLE_SEGMENT, mxConstants | |
STYLE_SEPARATORCOLOR, mxConstants | |
STYLE_SHADOW, mxConstants | |
STYLE_SHAPE, mxConstants | |
STYLE_SOURCE_JETTY_SIZE, mxConstants | |
STYLE_SOURCE_PERIMETER_SPACING, mxConstants | |
STYLE_SOURCE_PORT, mxConstants | |
STYLE_SOURCE_PORT_CONSTRAINT, mxConstants | |
STYLE_SPACING, mxConstants | |
STYLE_SPACING_BOTTOM, mxConstants | |
STYLE_SPACING_LEFT, mxConstants | |
STYLE_SPACING_RIGHT, mxConstants | |
STYLE_SPACING_TOP, mxConstants | |
STYLE_STARTARROW, mxConstants | |
STYLE_STARTFILL, mxConstants | |
STYLE_STARTSIZE, mxConstants | |
STYLE_STROKE_OPACITY, mxConstants | |
STYLE_STROKECOLOR, mxConstants | |
STYLE_STROKEWIDTH, mxConstants | |
STYLE_SWIMLANE_FILLCOLOR, mxConstants | |
STYLE_SWIMLANE_LINE, mxConstants | |
STYLE_TARGET_PERIMETER_SPACING, mxConstants | |
STYLE_TARGET_PORT, mxConstants | |
STYLE_TARGET_PORT_CONSTRAINT, mxConstants | |
STYLE_TEXT_DIRECTION, mxConstants | |
STYLE_TEXT_OPACITY, mxConstants | |
STYLE_VERTICAL_ALIGN, mxConstants | |
STYLE_VERTICAL_LABEL_POSITION, mxConstants | |
STYLE_WHITE_SPACE, mxConstants | |
styleEnabled, mxSvgCanvas2D | |
styleForCellChanged, mxGraphModel | |
styles, mxStylesheet | |
stylesheet, mxGraph | |
submenuImage, mxPopupMenu | |
submit, mxUtils | |
SUSPEND, mxEvent | |
suspended, mxOutline | |
svgPointerEvents, mxShape | |
svgStrokeTolerance | |
swap, mxGeometry | |
swapBounds, mxGraph | |
swapStyles, mxEditor | |
swimlaneAdded, mxSwimlaneManager | |
swimlaneIndicatorColorAttribute, mxGraph | |
swimlaneNesting, mxGraph | |
swimlaneRequired, mxEditor | |
swimlanes, mxSwimlaneLayout | |
swimlaneSelectionEnabled, mxGraph | |
swimlaneSpacing, mxEditor |
S | |
save | |
SAVE | |
scale | |
SCALE | |
SCALE_AND_TRANSLATE | |
scaleAndTranslate, mxGraphView | |
scaleCell, mxGraph | |
scaleGrid, mxGraphHandler | |
screenX, mxPopupMenuHandler | |
screenY, mxPopupMenuHandler | |
scrollCellToVisible, mxGraph | |
scrollOnMove, mxGraphHandler | |
scrollPointToVisible, mxGraph | |
scrollRectToVisible, mxGraph | |
SegmentConnector, mxEdgeStyle | |
segments, mxCellState | |
select, mxConnectionHandler | |
SELECT | |
selectAll, mxGraph | |
selectCell, mxGraph | |
selectCellForEvent, mxGraph | |
selectCells | |
selectCellsForEvent, mxGraph | |
selectChildCell, mxGraph | |
selectDelayed, mxGraphHandler | |
selectEnabled, mxGraphHandler | |
Selection, mxGraph | |
Selection state, mxGraph | |
SELECTION_DASHED, mxConstants | |
selectionModel, mxGraph | |
selectMode, mxToolbar | |
selectNextCell, mxGraph | |
selectOnPopup, mxPopupMenuHandler | |
selectParentCell, mxGraph | |
selectPreviousCell, mxGraph | |
selectRegion, mxGraph | |
selectText, mxCellEditor | |
selectVertices, mxGraph | |
send, mxXmlRequest | |
setAbsoluteTerminalPoint, mxCellState | |
setAddEnabled, mxSwimlaneManager | |
setAllowDanglingEdges, mxGraph | |
setAllowEval, mxGraphView | |
setAllowLoops, mxGraph | |
setAlpha | |
setAttribute | |
setAutoSizeCells, mxGraph | |
setBackgroundImage, mxGraph | |
setBaseDomain, mxUrlConverter | |
setBaseUrl, mxUrlConverter | |
setBinary, mxXmlRequest | |
setBorder, mxGraph | |
setBubbling, mxLayoutManager | |
setCell, mxGraphSelectionModel | |
setCellHeights, mxCompactTreeLayout | |
setCellLocations, mxCoordinateAssignment | |
setCells | |
setCellsBendable, mxGraph | |
setCellsCloneable, mxGraph | |
setCellsDeletable, mxGraph | |
setCellsDisconnectable, mxGraph | |
setCellsEditable, mxGraph | |
setCellsLocked, mxGraph | |
setCellsMovable, mxGraph | |
setCellsResizable, mxGraph | |
setCellsSelectable, mxGraph | |
setCellStyle, mxGraph | |
setCellStyleFlags | |
setCellStyles | |
setCellWarning, mxGraph | |
setCloneEnabled, mxGraphHandler | |
setCloneInvalidEdges, mxGraph | |
setClosable, mxWindow | |
setCollapsed | |
setConnectable | |
setConnectableEdges, mxGraph | |
setConnectionConstraint, mxGraph | |
setConstrainChildren, mxGraph | |
setConstrainRelativeChildren, mxGraph | |
setCreateIds, mxGraphModel | |
setCreateTarget, mxConnectionHandler | |
setCurrentRoot, mxGraphView | |
setCurrentState, mxCellMarker | |
setCursor | |
setDashed | |
setDashPattern | |
setDefaultParent, mxGraph | |
setDisconnectOnMove, mxGraph | |
setDropEnabled, mxGraph | |
setEdge, mxCell | |
setEdgePoints, mxGraphLayout | |
setEdgePosition, mxCoordinateAssignment | |
setEdgeStyleEnabled, mxGraphLayout | |
setEnabled | |
setEnterStopsCellEditing, mxGraph | |
setEscapeEnabled, mxGraph | |
setEventsEnabled, mxEventSource | |
setEventSource, mxEventSource | |
setExtendParents, mxGraph | |
setExtendParentsOnAdd, mxGraph | |
setExtendParentsOnMove, mxGraph | |
setFillAlpha | |
setFillColor | |
setFocus, mxConstraintHandler | |
setFontBackgroundColor, mxXmlCanvas2D | |
setFontBorderColor, mxXmlCanvas2D | |
setFontColor | |
setFontFamily | |
setFontSize | |
setFontStyle | |
setGeneralPurposeVariable | |
setGeometry | |
setGradient | |
setGraph | |
setGraphBounds, mxGraphView | |
setGraphContainer, mxEditor | |
setGridEnabled | |
setGridSize, mxGraph | |
setGuidesEnabled, mxDragSource | |
setHideOnHover, mxTooltipHandler | |
setHighlightColor | |
setHorizontal, mxSwimlaneManager | |
setHotspot, mxCellMarker | |
setHotspotEnabled, mxCellMarker | |
setHtmlLabels, mxGraph | |
setId, mxCell | |
setImage, mxWindow | |
setInnerHtml, mxText | |
setInvokesStopCellEditing, mxGraph | |
setLineCap | |
setLineJoin | |
setLink | |
setLocation, mxWindow | |
setMaximizable, mxWindow | |
setMinimizable, mxWindow | |
setMiterLimit | |
setMode, mxEditor | |
setModified, mxEditor | |
setMoveEnabled, mxGraphHandler | |
setMultigraph, mxGraph | |
setOpacity, mxUtils | |
setOrthogonalEdge, mxGraphLayout | |
setPanning, mxGraph | |
setPanningEnabled, mxPanningHandler | |
setParent, mxCell | |
setPinchEnabled, mxPanningHandler | |
setPortsEnabled, mxGraph | |
setPosition, mxHandle | |
setPrefixedStyle, mxUtils | |
setPreviewColor, mxEdgeHandler | |
setRect, mxRectangle | |
setRecursiveResize, mxGraph | |
setRemoveCellsFromParent, mxGraphHandler | |
setRendering, mxGraphView | |
setRequestHeaders, mxXmlRequest | |
setResizable, mxWindow | |
setResizeContainer, mxGraph | |
setResizeEnabled, mxSwimlaneManager | |
setRoot, mxGraphModel | |
setScale, mxGraphView | |
setScrollable, mxWindow | |
setSelectEnabled, mxGraphHandler | |
setSelectionCell, mxGraph | |
setSelectionCells, mxGraph | |
setSelectionModel, mxGraph | |
setShadow | |
setShadowAlpha | |
setShadowColor | |
setShadowOffset | |
setSingleSelection, mxGraphSelectionModel | |
setSize, mxWindow | |
setSplitEnabled, mxGraph | |
setState, mxCellState | |
setStates | |
setStatus, mxEditor | |
setStatusContainer, mxEditor | |
setStrokeAlpha | |
setStrokeColor | |
setStrokeWidth | |
setStyle | |
setStyleFlag, mxUtils | |
setStylesheet, mxGraph | |
setSwimlaneNesting, mxGraph | |
setSwimlaneSelectionEnabled, mxGraph | |
setTerminal | |
setTerminalPoint, mxGeometry | |
setTerminals, mxGraphModel | |
setTextContent, mxUtils | |
setTitle, mxWindow | |
setTitleContainer, mxEditor | |
setTolerance, mxGraph | |
setToolbarContainer, mxEditor | |
setTooltips, mxGraph | |
setTranslate, mxGraphView | |
setTransparentBackgroundImage, mxShape | |
setValue | |
setVertex, mxCell | |
setVertexLabelsMovable, mxGraph | |
setVertexLocation | |
setVisible | |
setVisibleTerminalState, mxCellState | |
setX, mxGraphAbstractHierarchyCell | |
setY, mxGraphAbstractHierarchyCell | |
setZoomEnabled, mxOutline | |
SHADOW_OFFSET_X, mxConstants | |
SHADOW_OFFSET_Y, mxConstants | |
SHADOW_OPACITY, mxConstants | |
SHADOWCOLOR, mxConstants | |
shape | |
SHAPE_ACTOR, mxConstants | |
SHAPE_ARROW, mxConstants | |
SHAPE_ARROW_CONNECTOR, mxConstants | |
SHAPE_CLOUD, mxConstants | |
SHAPE_CONNECTOR, mxConstants | |
SHAPE_CYLINDER, mxConstants | |
SHAPE_DOUBLE_ELLIPSE, mxConstants | |
SHAPE_ELLIPSE, mxConstants | |
SHAPE_HEXAGON, mxConstants | |
SHAPE_IMAGE, mxConstants | |
SHAPE_LABEL, mxConstants | |
SHAPE_LINE, mxConstants | |
SHAPE_RECTANGLE, mxConstants | |
SHAPE_RHOMBUS, mxConstants | |
SHAPE_SWIMLANE, mxConstants | |
SHAPE_TRIANGLE, mxConstants | |
shapePointerEvents, mxShape | |
sharedDiv, mxRubberband | |
shiftKeys, mxKeyHandler | |
shouldRemoveCellsFromParent, mxGraphHandler | |
show | |
SHOW | |
showHelp, mxEditor | |
showMenu, mxPopupMenu | |
showOutline, mxEditor | |
showProperties, mxEditor | |
showSubmenu, mxPopupMenu | |
showTasks, mxEditor | |
showViewport, mxOutline | |
SideToSide, mxEdgeStyle | |
significant, mxUndoableEdit | |
simulate, mxXmlRequest | |
singleSelection, mxGraphSelectionModel | |
singleSizer, mxVertexHandler | |
size, mxUndoManager | |
SIZE | |
sizeDidChange, mxGraph | |
sizerImage, mxOutline | |
smartSeparators, mxPopupMenu | |
snap | |
snapPoint, mxHandle | |
snapToPreview, mxConnectionHandler | |
snapToTerminals, mxEdgeHandler | |
sortCells, mxUtils | |
sortEdges | |
sortOutgoingEdges, mxCompactTreeLayout | |
source | |
sourcePoint, mxGeometry | |
SOURCESCANSTARTRANK | |
sourceState, mxMouseEvent | |
spacing | |
SPLIT_EDGE | |
splitEdge, mxGraph | |
splitEnabled, mxGraph | |
src, mxImage | |
start | |
START | |
START_EDIT | |
START_EDITING | |
startAnimation, mxAnimation | |
startDrag, mxDragSource | |
startEditing | |
startEditingAtCell, mxGraph | |
startX, mxPanningHandler | |
startY, mxPanningHandler | |
state | |
states | |
stateValidated, mxGraphView | |
status, mxEditor | |
stencil, mxShape | |
stencilPointerEvents, mxShape | |
step, mxMorphing | |
steps, mxMorphing | |
STEPSIZE, mxClipboard | |
stopAnimation, mxAnimation | |
stopDrag, mxDragSource | |
stopEditing | |
stopRecursion, mxMorphing | |
straightRemoveEnabled, mxEdgeHandler | |
stroke | |
strokeTolerance, mxSvgCanvas2D | |
strokewidth, mxStencil | |
style | |
STYLE_ABSOLUTE_ARCSIZE, mxConstants | |
STYLE_ALIGN, mxConstants | |
STYLE_ANCHOR_POINT_DIRECTION, mxConstants | |
STYLE_ARCSIZE, mxConstants | |
STYLE_ASPECT, mxConstants | |
STYLE_AUTOSIZE, mxConstants | |
STYLE_BACKGROUND_OUTLINE, mxConstants | |
STYLE_BENDABLE, mxConstants | |
STYLE_CLONEABLE, mxConstants | |
STYLE_CURVED, mxConstants | |
STYLE_DASHED, mxConstants | |
STYLE_DELETABLE, mxConstants | |
STYLE_DIRECTION, mxConstants | |
STYLE_EDGE, mxConstants | |
STYLE_EDITABLE, mxConstants | |
STYLE_ELBOW, mxConstants | |
STYLE_ENDARROW, mxConstants | |
STYLE_ENDFILL, mxConstants | |
STYLE_ENDSIZE, mxConstants | |
STYLE_ENTRY_PERIMETER, mxConstants | |
STYLE_ENTRY_X, mxConstants | |
STYLE_ENTRY_Y, mxConstants | |
STYLE_EXIT_PERIMETER, mxConstants | |
STYLE_EXIT_X, mxConstants | |
STYLE_EXIT_Y, mxConstants | |
STYLE_FILL_OPACITY, mxConstants | |
STYLE_FILLCOLOR, mxConstants | |
STYLE_FIX_DASH, mxConstants | |
STYLE_FLIPH, mxConstants | |
STYLE_FLIPV, mxConstants | |
STYLE_FOLDABLE, mxConstants | |
STYLE_FONTCOLOR, mxConstants | |
STYLE_FONTFAMILY, mxConstants | |
STYLE_FONTSIZE, mxConstants | |
STYLE_FONTSTYLE, mxConstants | |
STYLE_GLASS, mxConstants | |
STYLE_GRADIENT_DIRECTION, mxConstants | |
STYLE_GRADIENTCOLOR, mxConstants | |
STYLE_HORIZONTAL, mxConstants | |
STYLE_IMAGE, mxConstants | |
STYLE_IMAGE_ALIGN, mxConstants | |
STYLE_IMAGE_ASPECT, mxConstants | |
STYLE_IMAGE_BACKGROUND, mxConstants | |
STYLE_IMAGE_BORDER, mxConstants | |
STYLE_IMAGE_HEIGHT, mxConstants | |
STYLE_IMAGE_VERTICAL_ALIGN, mxConstants | |
STYLE_IMAGE_WIDTH, mxConstants | |
STYLE_INDICATOR_COLOR, mxConstants | |
STYLE_INDICATOR_DIRECTION, mxConstants | |
STYLE_INDICATOR_GRADIENTCOLOR, mxConstants | |
STYLE_INDICATOR_HEIGHT, mxConstants | |
STYLE_INDICATOR_IMAGE, mxConstants | |
STYLE_INDICATOR_SHAPE, mxConstants | |
STYLE_INDICATOR_SPACING, mxConstants | |
STYLE_INDICATOR_STROKECOLOR, mxConstants | |
STYLE_INDICATOR_WIDTH, mxConstants | |
STYLE_JETTY_SIZE, mxConstants | |
STYLE_LABEL_BACKGROUNDCOLOR, mxConstants | |
STYLE_LABEL_BORDERCOLOR, mxConstants | |
STYLE_LABEL_PADDING, mxConstants | |
STYLE_LABEL_POSITION, mxConstants | |
STYLE_LABEL_WIDTH, mxConstants | |
STYLE_LOOP, mxConstants | |
STYLE_MARGIN, mxConstants | |
STYLE_MOVABLE, mxConstants | |
STYLE_NOEDGESTYLE, mxConstants | |
STYLE_NOLABEL, mxConstants | |
STYLE_OPACITY, mxConstants | |
STYLE_ORTHOGONAL, mxConstants | |
STYLE_ORTHOGONAL_LOOP, mxConstants | |
STYLE_OVERFLOW, mxConstants | |
STYLE_PERIMETER, mxConstants | |
STYLE_PERIMETER_SPACING, mxConstants | |
STYLE_POINTER_EVENTS, mxConstants | |
STYLE_PORT_CONSTRAINT, mxConstants | |
STYLE_PORT_CONSTRAINT_ROTATION, mxConstants | |
STYLE_RESIZABLE, mxConstants | |
STYLE_RESIZE_WIDTH, mxConstants | |
STYLE_ROTATABLE, mxConstants | |
STYLE_ROTATION, mxConstants | |
STYLE_ROUNDED, mxConstants | |
STYLE_ROUTING_CENTER_X, mxConstants | |
STYLE_ROUTING_CENTER_Y, mxConstants | |
STYLE_SEGMENT, mxConstants | |
STYLE_SEPARATORCOLOR, mxConstants | |
STYLE_SHADOW, mxConstants | |
STYLE_SHAPE, mxConstants | |
STYLE_SOURCE_JETTY_SIZE, mxConstants | |
STYLE_SOURCE_PERIMETER_SPACING, mxConstants | |
STYLE_SOURCE_PORT, mxConstants | |
STYLE_SOURCE_PORT_CONSTRAINT, mxConstants | |
STYLE_SPACING, mxConstants | |
STYLE_SPACING_BOTTOM, mxConstants | |
STYLE_SPACING_LEFT, mxConstants | |
STYLE_SPACING_RIGHT, mxConstants | |
STYLE_SPACING_TOP, mxConstants | |
STYLE_STARTARROW, mxConstants | |
STYLE_STARTFILL, mxConstants | |
STYLE_STARTSIZE, mxConstants | |
STYLE_STROKE_OPACITY, mxConstants | |
STYLE_STROKECOLOR, mxConstants | |
STYLE_STROKEWIDTH, mxConstants | |
STYLE_SWIMLANE_FILLCOLOR, mxConstants | |
STYLE_SWIMLANE_LINE, mxConstants | |
STYLE_TARGET_PERIMETER_SPACING, mxConstants | |
STYLE_TARGET_PORT, mxConstants | |
STYLE_TARGET_PORT_CONSTRAINT, mxConstants | |
STYLE_TEXT_DIRECTION, mxConstants | |
STYLE_TEXT_OPACITY, mxConstants | |
STYLE_VERTICAL_ALIGN, mxConstants | |
STYLE_VERTICAL_LABEL_POSITION, mxConstants | |
STYLE_WHITE_SPACE, mxConstants | |
styleEnabled, mxSvgCanvas2D | |
styleForCellChanged, mxGraphModel | |
styles, mxStylesheet | |
stylesheet, mxGraph | |
submenuImage, mxPopupMenu | |
submit, mxUtils | |
SUSPEND, mxEvent | |
suspended, mxOutline | |
svgPointerEvents, mxShape | |
svgStrokeTolerance | |
swap, mxGeometry | |
swapBounds, mxGraph | |
swapStyles, mxEditor | |
swimlaneAdded, mxSwimlaneManager | |
swimlaneIndicatorColorAttribute, mxGraph | |
swimlaneNesting, mxGraph | |
swimlaneRequired, mxEditor | |
swimlanes, mxSwimlaneLayout | |
swimlaneSelectionEnabled, mxGraph | |
swimlaneSpacing, mxEditor |
Saves the current state.
mxAbstractCanvas2D.prototype.save = function()
Empty hook that is called if the graph should be saved.
mxAutoSaveManager.prototype.save = function()
Posts the string returned by writeGraphModel to the given URL or the URL returned by getUrlPost.
mxEditor.prototype.save = function ( url, linefeed )
Saves the drawing state.
mxXmlCanvas2D.prototype.save = function()
Specifies the event name for open.
SAVE: 'save'
Scales the current state.
mxAbstractCanvas2D.prototype.scale = function( value )
Scales the geometry by the given amount.
mxGeometry.prototype.scale = function( sx, sy, fixedAspect )
Specifies the scale.
mxGraphView.prototype.scale
Holds the scale of the print preview.
mxPrintPreview.prototype.scale
Holds the scale in which the shape is being painted.
mxShape.prototype.scale
Scales the output.
mxXmlCanvas2D.prototype.scale = function( value )
Specifies the event name for scale.
SCALE: 'scale'
Specifies the event name for scaleAndTranslate.
SCALE_AND_TRANSLATE: 'scaleAndTranslate'
Sets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.scaleAndTranslate = function( scale, dx, dy )
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraph.prototype.scaleCell = function( cell, dx, dy, recurse )
Specifies if the grid should be scaled.
mxGraphHandler.prototype.scaleGrid
Screen X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenX
Screen Y-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenY
Pans the graph so that it shows the given cell.
mxGraph.prototype.scrollCellToVisible = function( cell, center )
Specifies if the view should be scrolled so that a moved cell is visible.
mxGraphHandler.prototype.scrollOnMove
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollPointToVisible = function( x, y, extend, border )
Pans the graph so that it shows the given rectangle.
mxGraph.prototype.scrollRectToVisible = function( rect )
Implements an orthogonal edge style.
SegmentConnector: function( state, source, target, hints, result )
Array of numbers that represent the cached length of each segment of the edge.
mxCellState.prototype.segments
Specifies if new edges should be selected.
mxConnectionHandler.prototype.select
Specifies the event name for select.
SELECT: 'select'
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectAll = function( parent, descendants )
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCell = function( isNext, isParent, isChild )
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellForEvent = function( cell, evt )
Selects the given edge after adding a new connection.
mxConnectionHandler.prototype.selectCells = function( edge, target )
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCells = function( vertices, edges, parent )
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellsForEvent = function( cells, evt )
Selects the first child cell.
mxGraph.prototype.selectChildCell = function()
Implements the delayed selection for the given mouse event.
mxGraphHandler.prototype.selectDelayed = function( me )
Specifies if selecting is enabled.
mxGraphHandler.prototype.selectEnabled
Defines the dashed state to be used for the vertex selection border.
VERTEX_SELECTION_DASHED: true
Holds the mxGraphSelectionModel that models the current selection.
mxGraph.prototype.selectionModel
Resets the state of the previously selected mode and displays the given DOM node as selected.
mxToolbar.prototype.selectMode = function( domNode, funct )
Selects the next cell.
mxGraph.prototype.selectNextCell = function()
Specifies if cells should be selected if a popupmenu is displayed for them.
mxPopupMenuHandler.prototype.selectOnPopup
Selects the parent cell.
mxGraph.prototype.selectParentCell = function()
Selects the previous cell.
mxGraph.prototype.selectPreviousCell = function()
Selects and returns the cells inside the given rectangle for the specified event.
mxGraph.prototype.selectRegion = function( rect, evt )
Specifies if the text should be selected when editing starts.
mxCellEditor.prototype.selectText
Select all vertices inside the given parent or the default parent.
mxGraph.prototype.selectVertices = function( parent )
Send the request to the target URL using the specified functions to process the response asychronously.
mxXmlRequest.prototype.send = function( onload, onerror, timeout, ontimeout )
Sets the first or last point in absolutePoints depending on isSource.
mxCellState.prototype.setAbsoluteTerminalPoint = function( point, isSource )
Sets addEnabled.
mxSwimlaneManager.prototype.setAddEnabled = function( value )
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraph.prototype.setAllowDanglingEdges = function( value )
Sets allowEval.
mxGraphView.prototype.setAllowEval = function( value )
Specifies if loops are allowed.
mxGraph.prototype.setAllowLoops = function( value )
Sets the current alpha.
mxAbstractCanvas2D.prototype.setAlpha = function( value )
Sets the current alpha.
mxXmlCanvas2D.prototype.setAlpha = function( value )
Sets the specified attribute on the user object if it is an XML node.
mxCell.prototype.setAttribute = function( name, value )
Sets the attribute on the specified node to value.
mxCodec.prototype.setAttribute = function( node, attribute, value )
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setAutoSizeCells = function( value )
Sets the new backgroundImage.
mxGraph.prototype.setBackgroundImage = function( image )
Sets baseDomain.
mxUrlConverter.prototype.setBaseDomain = function( value )
Sets baseUrl.
mxUrlConverter.prototype.setBaseUrl = function( value )
Sets binary.
mxXmlRequest.prototype.setBinary = function( value )
Sets the value of border.
mxGraph.prototype.setBorder = function( value )
Sets bubbling.
mxLayoutManager.prototype.setBubbling = function( value )
Selects the specified mxCell using setCells.
mxGraphSelectionModel.prototype.setCell = function( cell )
Set the cells heights (relative to the layout direction) when the tops of each rank are to be aligned
mxCompactTreeLayout.prototype.setCellHeights = function( node, rank )
Sets the cell locations in the facade to those stored after this layout processing step has completed.
mxCoordinateAssignment.prototype.setCellLocations = function( graph, model )
Sets the cells in the clipboard.
setCells: function( cells )
Selects the given array of mxCells and fires a change event.
mxGraphSelectionModel.prototype.setCells = function( cells )
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsBendable = function( value )
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsCloneable = function( value )
Sets cellsDeletable.
mxGraph.prototype.setCellsDeletable = function( value )
Sets cellsDisconnectable.
mxGraph.prototype.setCellsDisconnectable = function( value )
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsEditable = function( value )
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsMovable = function( value )
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsResizable = function( value )
Sets cellsSelectable.
mxGraph.prototype.setCellsSelectable = function( value )
Sets the style of the specified cells.
mxGraph.prototype.setCellStyle = function( style, cells )
Sets or toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.setCellStyleFlags = function( key, flag, value, cells )
Sets or toggles the flag bit for the given key in the cell’s styles.
setCellStyleFlags: function( model, cells, key, flag, value )
Sets the key to value in the styles of the given cells.
mxGraph.prototype.setCellStyles = function( key, value, cells )
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
setCellStyles: function( model, cells, key, value )
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraph.prototype.setCellWarning = function( cell, warning, img, isSelect )
Sets cloneEnabled.
mxGraphHandler.prototype.setCloneEnabled = function( value )
Specifies if edges should be inserted when cloned but not valid wrt.
mxGraph.prototype.setCloneInvalidEdges = function( value )
Sets the image associated with the window.
mxWindow.prototype.setClosable = function( closable )
Sets the collapsed state.
mxCell.prototype.setCollapsed = function( collapsed )
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
mxGraphModel.prototype.setCollapsed = function( cell, collapsed )
Sets the connectable state.
mxCell.prototype.setConnectable = function( connectable )
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectable = function( connectable )
Specifies if edges should be connectable.
mxGraph.prototype.setConnectableEdges = function( value )
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConnectionConstraint = function( edge, terminal, source, constraint )
Sets constrainChildren.
mxGraph.prototype.setConstrainChildren = function( value )
Sets constrainRelativeChildren.
mxGraph.prototype.setConstrainRelativeChildren = function( value )
Sets createIds.
mxGraphModel.prototype.setCreateIds = function( value )
Sets createTarget.
mxConnectionHandler.prototype.setCreateTarget = function( value )
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
mxGraphView.prototype.setCurrentRoot = function( root )
Sets and marks the current valid state.
mxCellMarker.prototype.setCurrentState = function( state, me, color )
Sets the given cursor on the shape and text shape.
mxCellState.prototype.setCursor = function( cursor )
Sets the cursor on the given shape.
mxShape.prototype.setCursor = function( cursor )
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashed = function( value, fixDash )
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashed = function( value, fixDash )
Sets the current dash pattern.
mxAbstractCanvas2D.prototype.setDashPattern = function( value )
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setDashPattern = function( value )
Sets the defaultParent to the given cell.
mxGraph.prototype.setDefaultParent = function( cell )
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDisconnectOnMove = function( value )
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.setDropEnabled = function( value )
Specifies if the cell is an edge.
mxCell.prototype.setEdge = function( edge )
Replaces the array of mxPoints in the geometry of the given edge with the given array of mxPoints.
mxGraphLayout.prototype.setEdgePoints = function( edge, points )
Fixes the control points
mxCoordinateAssignment.prototype.setEdgePosition = function( cell )
Disables or enables the edge style of the given edge.
mxGraphLayout.prototype.setEdgeStyleEnabled = function( edge, value )
Enables or disables event handling.
mxAutoSaveManager.prototype.setEnabled = function( value )
Enables or disables event handling.
mxCellMarker.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxConnectionHandler.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxConstraintHandler.prototype.setEnabled = function( enabled )
Sets enabled.
mxDragSource.prototype.setEnabled = function( value )
Specifies if the graph should allow any interactions.
mxGraph.prototype.setEnabled = function( value )
Sets enabled.
mxGraphHandler.prototype.setEnabled = function( value )
Enables or disables event handling by updating enabled.
mxKeyHandler.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxLayoutManager.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxOutline.prototype.setEnabled = function( value )
Enables or disables event handling.
mxPopupMenu.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxRubberband.prototype.setEnabled = function( enabled )
Sets enabled.
mxSelectionCellsHandler.prototype.setEnabled = function( value )
Enables or disables event handling.
mxSwimlaneManager.prototype.setEnabled = function( value )
Enables or disables event handling.
mxTooltipHandler.prototype.setEnabled = function( enabled )
Sets enabled.
mxUrlConverter.prototype.setEnabled = function( value )
Sets enterStopsCellEditing.
mxGraph.prototype.setEnterStopsCellEditing = function( value )
Sets escapeEnabled.
mxGraph.prototype.setEscapeEnabled = function( value )
Sets eventsEnabled.
mxEventSource.prototype.setEventsEnabled = function( value )
Sets eventSource.
mxEventSource.prototype.setEventSource = function( value )
Sets extendParents.
mxGraph.prototype.setExtendParents = function( value )
Sets extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnAdd = function( value )
Sets extendParentsOnMove.
mxGraph.prototype.setExtendParentsOnMove = function( value )
Sets the current solid fill alpha.
mxAbstractCanvas2D.prototype.setFillAlpha = function( value )
Sets the current fill alpha.
mxXmlCanvas2D.prototype.setFillAlpha = function( value )
Sets the current fill color.
mxAbstractCanvas2D.prototype.setFillColor = function( value )
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function( value )
Transfers the focus to the given state as a source or target terminal.
mxConstraintHandler.prototype.setFocus = function( me, state, source )
Sets the current font background color.
mxXmlCanvas2D.prototype.setFontBackgroundColor = function( value )
Sets the current font border color.
mxXmlCanvas2D.prototype.setFontBorderColor = function( value )
Sets the current font color.
mxAbstractCanvas2D.prototype.setFontColor = function( value )
Sets the current font color.
mxXmlCanvas2D.prototype.setFontColor = function( value )
Sets the current font family.
mxAbstractCanvas2D.prototype.setFontFamily = function( value )
Sets the current font family.
mxXmlCanvas2D.prototype.setFontFamily = function( value )
Sets the current font size.
mxAbstractCanvas2D.prototype.setFontSize = function( value )
Sets the current font size.
mxXmlCanvas2D.prototype.setFontSize = function( value )
Sets the current font style.
mxAbstractCanvas2D.prototype.setFontStyle = function( value )
Sets the current font style.
mxXmlCanvas2D.prototype.setFontStyle = function( value )
Set the value of temp for the specified layer
mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable = function( layer, value )
Set the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable = function( layer, value )
Set the value of temp for the specified layer
mxGraphHierarchyNode.prototype.setGeneralPurposeVariable = function( layer, value )
Sets the mxGeometry to be used as the geometry.
mxCell.prototype.setGeometry = function( geometry )
Sets the mxGeometry of the given mxCell.
mxGraphModel.prototype.setGeometry = function( cell, geometry )
Sets the current gradient.
mxAbstractCanvas2D.prototype.setGradient = function( color1, color2, x, y, w, h, direction, alpha1, alpha2 )
Sets the gradient.
mxXmlCanvas2D.prototype.setGradient = function( color1, color2, x, y, w, h, direction, alpha1, alpha2 )
Sets the graph that the layouts operate on.
mxAutoSaveManager.prototype.setGraph = function( graph )
Sets the graph that the layouts operate on.
mxLayoutManager.prototype.setGraph = function( graph )
Sets the graph that the manager operates on.
mxSwimlaneManager.prototype.setGraph = function( graph )
Sets graphBounds.
mxGraphView.prototype.setGraphBounds = function( value )
Sets the graph’s container using mxGraph.init.
mxEditor.prototype.setGraphContainer = function ( container )
Sets gridEnabled.
mxDragSource.prototype.setGridEnabled = function( value )
Specifies if the grid should be enabled.
mxGraph.prototype.setGridEnabled = function( value )
Sets gridSize.
mxGraph.prototype.setGridSize = function( value )
Sets guidesEnabled.
mxDragSource.prototype.setGuidesEnabled = function( value )
Sets hideOnHover.
mxTooltipHandler.prototype.setHideOnHover = function( value )
Sets the color of the rectangle used to highlight drop targets.
mxCellHighlight.prototype.setHighlightColor = function( color )
Sets the color of the rectangle used to highlight drop targets.
mxGraphHandler.prototype.setHighlightColor = function( color )
Sets horizontal.
mxSwimlaneManager.prototype.setHorizontal = function( value )
Sets the hotspot.
mxCellMarker.prototype.setHotspot = function( hotspot )
Specifies whether the hotspot should be used in intersects.
mxCellMarker.prototype.setHotspotEnabled = function( enabled )
Sets htmlLabels.
mxGraph.prototype.setHtmlLabels = function( value )
Sets the Id of the cell to the given string.
mxCell.prototype.setId = function( id )
Sets the image associated with the window.
mxWindow.prototype.setImage = function( image )
Sets invokesStopCellEditing.
mxGraph.prototype.setInvokesStopCellEditing = function( value )
Sets the current line cap.
mxAbstractCanvas2D.prototype.setLineCap = function( value )
Sets the line cap.
mxXmlCanvas2D.prototype.setLineCap = function( value )
Sets the current line join.
mxAbstractCanvas2D.prototype.setLineJoin = function( value )
Sets the line join.
mxXmlCanvas2D.prototype.setLineJoin = function( value )
Sets the current link.
mxAbstractCanvas2D.prototype.setLink = function( link )
Experimental implementation for hyperlinks.
mxSvgCanvas2D.prototype.setLink = function( link )
Sets the upper, left corner of the window.
mxWindow.prototype.setLocation = function( x, y )
Sets if the window is maximizable.
mxWindow.prototype.setMaximizable = function( maximizable )
Sets if the window is minimizable.
mxWindow.prototype.setMinimizable = function( minimizable )
Sets the current miter limit.
mxAbstractCanvas2D.prototype.setMiterLimit = function( value )
Sets the miter limit.
mxXmlCanvas2D.prototype.setMiterLimit = function( value )
Puts the graph into the specified mode.
mxEditor.prototype.setMode = function( modename )
Sets modified to the specified boolean value.
mxEditor.prototype.setModified = function ( value )
Sets moveEnabled.
mxGraphHandler.prototype.setMoveEnabled = function( value )
Specifies if the graph should allow multiple connections between the same pair of vertices.
mxGraph.prototype.setMultigraph = function( value )
Sets the opacity of the specified DOM node to the given value in %.
setOpacity: function( node, value )
Disables or enables orthogonal end segments of the given edge.
mxGraphLayout.prototype.setOrthogonalEdge = function( edge, value )
Specifies if panning should be enabled.
mxGraph.prototype.setPanning = function( enabled )
Sets panningEnabled.
mxPanningHandler.prototype.setPanningEnabled = function( value )
Sets the parent cell.
mxCell.prototype.setParent = function( parent )
Sets pinchEnabled.
mxPanningHandler.prototype.setPinchEnabled = function( value )
Specifies if the ports should be enabled.
mxGraph.prototype.setPortsEnabled = function( value )
Hooks for subclassers to update the style in the state.
mxHandle.prototype.setPosition = function( bounds, pt, me )
Adds the given style with the standard name and an optional vendor prefix for the current browser.
setPrefixedStyle: function()
Sets the color of the preview to the given value.
mxEdgeHandler.prototype.setPreviewColor = function( color )
Sets this rectangle to the specified values
mxRectangle.prototype.setRect = function( x, y, w, h )
Sets recursiveResize.
mxGraph.prototype.setRecursiveResize = function( value )
Sets removeCellsFromParent.
mxGraphHandler.prototype.setRemoveCellsFromParent = function( value )
Sets rendering.
mxGraphView.prototype.setRendering = function( value )
Sets the headers for the given request and parameters.
mxXmlRequest.prototype.setRequestHeaders = function( request, params )
Sets if the window should be resizable.
mxWindow.prototype.setResizable = function( resizable )
Sets resizeContainer.
mxGraph.prototype.setResizeContainer = function( value )
Sets resizeEnabled.
mxSwimlaneManager.prototype.setResizeEnabled = function( value )
Sets the root of the model using mxRootChange and adds the change to the current transaction.
mxGraphModel.prototype.setRoot = function( root )
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.setScale = function( value )
Sets if the window contents should be scrollable.
mxWindow.prototype.setScrollable = function( scrollable )
Sets selectEnabled.
mxGraphHandler.prototype.setSelectEnabled = function( value )
Sets the selection cell.
mxGraph.prototype.setSelectionCell = function( cell )
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function( cells )
Sets the mxSelectionModel that contains the selection.
mxGraph.prototype.setSelectionModel = function( selectionModel )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadow = function( enabled )
Enables or disables shadows.
mxXmlCanvas2D.prototype.setShadow = function( value )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowAlpha = function( value )
Sets the current shadows alpha.
mxXmlCanvas2D.prototype.setShadowAlpha = function( value )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowColor = function( value )
Sets the current shadow color.
mxXmlCanvas2D.prototype.setShadowColor = function( value )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowOffset = function( dx, dy )
Sets the current shadow offset.
mxXmlCanvas2D.prototype.setShadowOffset = function( dx, dy )
Sets the singleSelection flag.
mxGraphSelectionModel.prototype.setSingleSelection = function( singleSelection )
Sets the size of the window.
mxWindow.prototype.setSize = function( width, height )
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.setSplitEnabled = function( value )
Copies all fields from the given state to this state.
mxCellState.prototype.setState = function( state )
Sets states.
mxGraphView.prototype.setStates = function( value )
Sets the mxCellStates that should be used for alignment.
mxGuide.prototype.setStates = function( states )
Display the specified message in the status bar.
mxEditor.prototype.setStatus = function ( message )
Creates the status using the specified container.
mxEditor.prototype.setStatusContainer = function ( container )
Sets the current stroke alpha.
mxAbstractCanvas2D.prototype.setStrokeAlpha = function( value )
Sets the current stroke alpha.
mxXmlCanvas2D.prototype.setStrokeAlpha = function( value )
Sets the current stroke color.
mxAbstractCanvas2D.prototype.setStrokeColor = function( value )
Sets the current stroke color.
mxXmlCanvas2D.prototype.setStrokeColor = function( value )
Sets the current stroke width.
mxAbstractCanvas2D.prototype.setStrokeWidth = function( value )
Sets the current stroke width.
mxXmlCanvas2D.prototype.setStrokeWidth = function( value )
Sets the string to be used as the style.
mxCell.prototype.setStyle = function( style )
Sets the style of the given mxCell using mxStyleChange and adds the change to the current transaction.
mxGraphModel.prototype.setStyle = function( cell, style )
Adds or removes the given key, value pair to the style and returns the new style.
setStyle: function( style, key, value )
Sets or removes the given key from the specified style and returns the new style.
setStyleFlag: function( style, key, flag, value )
Sets the mxStylesheet that defines the style.
mxGraph.prototype.setStylesheet = function( stylesheet )
Specifies if swimlanes can be nested by drag and drop.
mxGraph.prototype.setSwimlaneNesting = function( value )
Specifies if swimlanes should be selected if the mouse is released over their content area.
mxGraph.prototype.setSwimlaneSelectionEnabled = function( value )
Sets the source or target terminal and returns the new terminal.
mxCell.prototype.setTerminal = function( terminal, isSource )
Sets the source or target terminal of the given mxCell using mxTerminalChange and adds the change to the current transaction.
mxGraphModel.prototype.setTerminal = function( edge, terminal, isSource )
Sets the sourcePoint or targetPoint to the given mxPoint and returns the new point.
mxGeometry.prototype.setTerminalPoint = function( point, isSource )
Sets the source and target mxCell of the given mxCell in a single transaction using setTerminal for each end of the edge.
mxGraphModel.prototype.setTerminals = function( edge, source, target )
Sets the text content of the specified node.
setTextContent: function( node, text )
Sets the window title to the given string.
mxWindow.prototype.setTitle = function( title )
Creates a listener to update the inner HTML of the specified DOM node with the value of getTitle.
mxEditor.prototype.setTitleContainer = function ( container )
Sets tolerance.
mxGraph.prototype.setTolerance = function( value )
Initializes the toolbar for the given container.
mxEditor.prototype.setToolbarContainer = function ( container )
Specifies if tooltips should be enabled.
mxGraph.prototype.setTooltips = function ( enabled )
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.setTranslate = function( dx, dy )
Sets a transparent background CSS style to catch all events.
mxShape.prototype.setTransparentBackgroundImage = function( node )
Sets the user object of the cell.
mxCell.prototype.setValue = function( value )
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
mxGraphModel.prototype.setValue = function( cell, value )
Specifies if the cell is a vertex.
mxCell.prototype.setVertex = function( vertex )
Sets vertexLabelsMovable.
mxGraph.prototype.setVertexLabelsMovable = function( value )
Fixes the position of the specified vertex.
mxCoordinateAssignment.prototype.setVertexLocation = function( cell )
Sets the new position of the given cell taking into account the size of the bounding box if useBoundingBox is true.
mxGraphLayout.prototype.setVertexLocation = function( cell, x, y )
Specifies if the cell is visible.
mxCell.prototype.setVisible = function( visible )
Sets the visible state of the given mxCell using mxVisibleChange and adds the change to the current transaction.
mxGraphModel.prototype.setVisible = function( cell, visible )
Shows or hides the current guides.
mxGuide.prototype.setVisible = function( visible )
Shows or hides this handle.
mxHandle.prototype.setVisible = function( visible )
Shows or hides the console.
setVisible: function( visible )
Shows or hides the window depending on the given flag.
mxWindow.prototype.setVisible = function( visible )
Sets the visible source or target terminal state.
mxCellState.prototype.setVisibleTerminalState = function( terminalState, source )
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setX = function( layer, value )
Set the value of y for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function( layer, value )
Enables or disables the zoom handling by showing or hiding the respective handle.
mxOutline.prototype.setZoomEnabled = function( value )
Specifies the x-offset of the shadow.
SHADOW_OFFSET_X: 2
Specifies the y-offset of the shadow.
SHADOW_OFFSET_Y: 3
Defines the opacity for shadows.
SHADOW_OPACITY: 1
Defines the color to be used to draw shadows in shapes and windows.
SHADOWCOLOR: 'gray'
Holds the mxShape that represents the cell graphically.
mxCellState.prototype.shape
Holds the mxShape that represents the preview edge.
mxEdgeHandler.prototype.shape
Reference to the mxShape that represents the preview.
mxGraphHandler.prototype.shape
Name under which mxActor is registered in mxCellRenderer.
SHAPE_ACTOR: 'actor'
Name under which mxArrow is registered in mxCellRenderer.
SHAPE_ARROW: 'arrow'
Name under which mxArrowConnector is registered in mxCellRenderer.
SHAPE_ARROW_CONNECTOR: 'arrowConnector'
Name under which mxCloud is registered in mxCellRenderer.
SHAPE_CLOUD: 'cloud'
Name under which mxConnector is registered in mxCellRenderer.
SHAPE_CONNECTOR: 'connector'
Name under which mxCylinder is registered in mxCellRenderer.
SHAPE_CYLINDER: 'cylinder'
Name under which mxDoubleEllipse is registered in mxCellRenderer.
SHAPE_DOUBLE_ELLIPSE: 'doubleEllipse'
Name under which mxEllipse is registered in mxCellRenderer.
SHAPE_ELLIPSE: 'ellipse'
Name under which mxHexagon is registered in mxCellRenderer.
SHAPE_HEXAGON: 'hexagon'
Name under which mxImageShape is registered in mxCellRenderer.
SHAPE_IMAGE: 'image'
Name under which mxLabel is registered in mxCellRenderer.
SHAPE_LABEL: 'label'
Name under which mxLine is registered in mxCellRenderer.
SHAPE_LINE: 'line'
Name under which mxRectangleShape is registered in mxCellRenderer.
SHAPE_RECTANGLE: 'rectangle'
Name under which mxRhombus is registered in mxCellRenderer.
SHAPE_RHOMBUS: 'rhombus'
Name under which mxSwimlane is registered in mxCellRenderer.
SHAPE_SWIMLANE: 'swimlane'
Name under which mxTriangle is registered in mxCellRenderer.
SHAPE_TRIANGLE: 'triangle'
Specifies if pointer events outside of shape should be handled.
mxShape.prototype.shapePointerEvents
Holds the DIV element which is used to display the rubberband.
mxRubberband.prototype.sharedDiv
Maps from keycodes to functions for pressed shift keys.
mxKeyHandler.prototype.shiftKeys
Returns true if the given cells should be removed from the parent for the specified mousereleased event.
mxGraphHandler.prototype.shouldRemoveCellsFromParent = function( parent, cells, evt )
mxCellStatePreview.prototype.show = function( visitor )
Shows the console.
show: function()
Shows the changes in the given mxCellStatePreview.
mxMorphing.prototype.show = function( move )
Shows the tooltip for the specified cell and optional index at the specified location (with a vertical offset of 10 pixels).
mxTooltipHandler.prototype.show = function( tip, x, y )
Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
show: function( graph, doc, x0, y0, w, h )
Shows the window.
mxWindow.prototype.show = function()
Specifies the event name for show.
SHOW: 'show'
Shows the help window.
mxEditor.prototype.showHelp = function ( tasks )
Shows the menu.
mxPopupMenu.prototype.showMenu = function()
Shows the outline window.
mxEditor.prototype.showOutline = function ()
Creates and shows the properties dialog for the given cell.
mxEditor.prototype.showProperties = function ( cell )
Shows the submenu inside the given parent row.
mxPopupMenu.prototype.showSubmenu = function( parent, row )
Shows the tasks window.
mxEditor.prototype.showTasks = function ()
Specifies a viewport rectangle should be shown.
mxOutline.prototype.showViewport
Implements a vertical elbow edge.
SideToSide: function ( state, source, target, points, result )
Specifies if the undoable change is significant.
mxUndoableEdit.prototype.significant
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
mxXmlRequest.prototype.simulate = function( doc, target )
Specifies if only one selected item at a time is allowed.
mxGraphSelectionModel.prototype.singleSelection
Specifies if only one sizer handle at the bottom, right corner should be used.
mxVertexHandler.prototype.singleSizer
Maximum command history size.
mxUndoManager.prototype.size
Specifies the event name for size.
SIZE: 'size'
Called when the size of the graph has changed.
mxGraph.prototype.sizeDidChange = function()
Optional mxImage to be used for the sizer.
mxOutline.prototype.sizerImage
Specifies if separators should only be added if a menu item follows them.
mxPopupMenu.prototype.smartSeparators
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraph.prototype.snap = function( value )
Snaps the given vector to the grid and returns the given mxPoint instance.
mxGraphHandler.prototype.snap = function( vector )
Snaps the given point to the grid if ignore is false.
mxHandle.prototype.snapPoint = function( pt, ignore )
Called to snap the given point to the current preview.
mxConnectionHandler.prototype.snapToPreview = function( me, point )
Specifies if waypoints should snap to the routing centers of terminals.
mxEdgeHandler.prototype.snapToTerminals
Sorts the given cells according to the order in the cell hierarchy.
sortCells: function( cells, ascending )
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxCompactTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxRadialTreeLayout.prototype.sortEdges
Called if sortEdges is true to sort the array of outgoing edges in place.
mxCompactTreeLayout.prototype.sortOutgoingEdges = function( source, edges )
Reference to the source terminal.
mxCell.prototype.source
The node this edge is sourced at
mxGraphHierarchyEdge.prototype.source
Boolean that specifies if the rule is applied to the source or target terminal of an edge.
mxMultiplicity.prototype.source
Specifies the source of the edit.
mxUndoableEdit.prototype.source
Defines the source mxPoint of the edge.
mxGeometry.prototype.sourcePoint
High value to start source layering scan rank value from.
mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK
Holds the mxCellState that was passed to the constructor.
mxMouseEvent.prototype.sourceState
Specifies the spacing between the highlight for vertices and the vertex.
mxCellHighlight.prototype.spacing
Defines the spacing between existing and new vertices in gridSize units when a new vertex is dropped on an existing cell.
mxDefaultToolbar.prototype.spacing
Default value for image spacing.
mxLabel.prototype.spacing
Defines the spacing between the parallels.
mxParallelEdgeLayout.prototype.spacing
Integer that specifies the absolute spacing in pixels between the children.
mxPartitionLayout.prototype.spacing
Specifies the spacing between the cells.
mxStackLayout.prototype.spacing
Specifies the event name for splitEdge.
SPLIT_EDGE: 'splitEdge'
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxGraph.prototype.splitEdge = function( edge, cells, newEdge, dx, dy )
Specifies if dropping onto edges should be enabled.
mxGraph.prototype.splitEnabled
String that specifies the URL of the image.
mxImage.prototype.src
Starts a new connection for the given state and coordinates.
mxConnectionHandler.prototype.start = function( state, x, y, edgeState )
Starts the handling of the mouse gesture.
mxEdgeHandler.prototype.start = function( x, y, index )
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.start = function( cell, x, y )
Starts panning at the given event.
mxPanningHandler.prototype.start = function( me )
Sets the start point for the rubberband selection.
mxRubberband.prototype.start = function( x, y )
Starts the handling of the mouse gesture.
mxVertexHandler.prototype.start = function( x, y, index )
Specifies the event name for start.
START: 'start'
Specifies the event name for startEdit.
START_EDIT: 'startEdit'
Specifies the event name for startEditing.
START_EDITING: 'startEditing'
Starts the animation by repeatedly invoking updateAnimation.
mxAnimation.prototype.startAnimation = function()
Creates the dragElement using createDragElement.
mxDragSource.prototype.startDrag = function( evt )
Starts the editor for the given cell.
mxCellEditor.prototype.startEditing = function( cell, trigger )
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditing = function( evt )
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxGraph.prototype.startEditingAtCell = function( cell, evt )
Holds the x-coordinate of the start point.
mxPanningHandler.prototype.startX
Holds the y-coordinate of the start point.
mxPanningHandler.prototype.startY
Holds the current state.
mxAbstractCanvas2D.prototype.state
Reference to the mxCellState.
mxCellHighlight.prototype.state
Reference to the mxCellState being modified.
mxEdgeHandler.prototype.state
Holds the optional mxCellState associated with this event.
mxMouseEvent.prototype.state
Optional reference to the corresponding mxCellState.
mxShape.prototype.state
Reference to the mxCellState being modified.
mxVertexHandler.prototype.state
Stack of states.
mxAbstractCanvas2D.prototype.states
mxDictionary that maps from cell IDs to mxCellStates.
mxGraphView.prototype.states
Contains the mxCellStates that are used for alignment.
mxGuide.prototype.states
Invoked when a state has been processed in validatePoints.
mxGraphView.prototype.stateValidated = function( state )
DOM container that holds the statusbar.
mxEditor.prototype.status
Holds the mxStencil that defines the shape.
mxShape.prototype.stencil
Specifies if pointer events outside of stencils should be handled.
mxShape.prototype.stencilPointerEvents
Contains the current step.
mxMorphing.prototype.step
Specifies the maximum number of steps for the morphing.
mxMorphing.prototype.steps
Defines the step size to offset the cells after each paste operation.
STEPSIZE: 10
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxAnimation.prototype.stopAnimation = function()
Invokes removeDragElement.
mxDragSource.prototype.stopDrag = function()
Stops the editor and applies the value if cancel is false.
mxCellEditor.prototype.stopEditing = function( cancel )
Stops the current editing and fires a editingStopped event.
mxGraph.prototype.stopEditing = function( cancel )
Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
mxMorphing.prototype.stopRecursion = function( state, delta )
Specifies if removing bends by creating straight segments should be enabled.
mxEdgeHandler.prototype.straightRemoveEnabled
Paints the outline of the current path.
mxSvgCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxVmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxXmlCanvas2D.prototype.stroke = function()
Adds transparent paths for strokes.
mxSvgCanvas2D.prototype.strokeTolerance
Holds the strokewidth direction from the description.
mxStencil.prototype.strokewidth
Holds the style as a string of the form [(stylename|key=value);].
mxCell.prototype.style
Contains an array of key, value pairs that represent the style of the cell.
mxCellState.prototype.style
Optional reference to the style of the corresponding mxCellState.
mxShape.prototype.style
Defines the key for the absolute arc size style.
STYLE_ABSOLUTE_ARCSIZE: 'absoluteArcSize'
Defines the key for the align style.
STYLE_ALIGN: 'align'
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
STYLE_ARCSIZE: 'arcSize'
Defines the key for the aspect style.
STYLE_ASPECT: 'aspect'
Defines the key for the autosize style.
STYLE_AUTOSIZE: 'autosize'
Defines the key for the bendable style.
STYLE_BENDABLE: 'bendable'
Defines the key for the cloneable style.
STYLE_CLONEABLE: 'cloneable'
Defines the key for the curved style.
STYLE_CURVED: 'curved'
Defines the key for the dashed style.
STYLE_DASHED: 'dashed'
Defines the key for the deletable style.
STYLE_DELETABLE: 'deletable'
Defines the key for the direction style.
STYLE_DIRECTION: 'direction'
Defines the key for the edge style.
STYLE_EDGE: 'edgeStyle'
Defines the key for the editable style.
STYLE_EDITABLE: 'editable'
Defines the key for the elbow style.
STYLE_ELBOW: 'elbow'
Defines the key for the end arrow marker.
STYLE_ENDARROW: 'endArrow'
Defines the key for the endFill style.
STYLE_ENDFILL: 'endFill'
Defines the key for the endSize style.
STYLE_ENDSIZE: 'endSize'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
STYLE_ENTRY_PERIMETER: 'entryPerimeter'
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_X: 'entryX'
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_Y: 'entryY'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
STYLE_EXIT_PERIMETER: 'exitPerimeter'
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_X: 'exitX'
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_Y: 'exitY'
Defines the key for the fill opacity style.
STYLE_FILL_OPACITY: 'fillOpacity'
Defines the key for the fill color.
STYLE_FILLCOLOR: 'fillColor'
Defines the key for the fixDash style.
STYLE_FIX_DASH: 'fixDash'
Defines the key for the horizontal image flip.
STYLE_FLIPH: 'flipH'
Defines the key for the vertical flip.
STYLE_FLIPV: 'flipV'
Defines the key for the foldable style.
STYLE_FOLDABLE: 'foldable'
Defines the key for the fontColor style.
STYLE_FONTCOLOR: 'fontColor'
Defines the key for the fontFamily style.
STYLE_FONTFAMILY: 'fontFamily'
Defines the key for the fontSize style (in px).
STYLE_FONTSIZE: 'fontSize'
Defines the key for the fontStyle style.
STYLE_FONTSTYLE: 'fontStyle'
Defines the key for the glass style.
STYLE_GLASS: 'glass'
Defines the key for the gradient direction.
STYLE_GRADIENT_DIRECTION: 'gradientDirection'
Defines the key for the gradient color.
STYLE_GRADIENTCOLOR: 'gradientColor'
Defines the key for the horizontal style.
STYLE_HORIZONTAL: 'horizontal'
Defines the key for the image style.
STYLE_IMAGE: 'image'
Defines the key for the align style.
STYLE_IMAGE_ALIGN: 'imageAlign'
Defines the key for the image aspect style.
STYLE_IMAGE_ASPECT: 'imageAspect'
Defines the key for the image background color.
STYLE_IMAGE_BACKGROUND: 'imageBackground'
Defines the key for the image border color.
STYLE_IMAGE_BORDER: 'imageBorder'
Defines the key for the imageHeight style.
STYLE_IMAGE_HEIGHT: 'imageHeight'
Defines the key for the verticalAlign style.
STYLE_IMAGE_VERTICAL_ALIGN: 'imageVerticalAlign'
Defines the key for the imageWidth style.
STYLE_IMAGE_WIDTH: 'imageWidth'
Defines the key for the indicatorColor style.
STYLE_INDICATOR_COLOR: 'indicatorColor'
Defines the key for the indicatorDirection style.
STYLE_INDICATOR_DIRECTION: 'indicatorDirection'
Defines the key for the indicatorGradientColor style.
STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'
Defines the key for the indicator height.
STYLE_INDICATOR_HEIGHT: 'indicatorHeight'
Defines the key for the indicator image used within an mxLabel.
STYLE_INDICATOR_IMAGE: 'indicatorImage'
Defines the key for the indicator shape used within an mxLabel.
STYLE_INDICATOR_SHAPE: 'indicatorShape'
The defines the key for the spacing between the label and the indicator in mxLabel.
STYLE_INDICATOR_SPACING: 'indicatorSpacing'
Defines the key for the indicator stroke color in mxLabel.
STYLE_INDICATOR_STROKECOLOR: 'indicatorStrokeColor'
Defines the key for the indicator width.
STYLE_INDICATOR_WIDTH: 'indicatorWidth'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_JETTY_SIZE: 'jettySize'
Defines the key for the label background color.
STYLE_LABEL_BACKGROUNDCOLOR: 'labelBackgroundColor'
Defines the key for the label border color.
STYLE_LABEL_BORDERCOLOR: 'labelBorderColor'
Defines the key for the label padding, ie.
STYLE_LABEL_PADDING: 'labelPadding'
Defines the key for the horizontal label position of vertices.
STYLE_LABEL_POSITION: 'labelPosition'
Defines the key for the width of the label if the label position is not center.
STYLE_LABEL_WIDTH: 'labelWidth'
Defines the key for the loop style.
STYLE_LOOP: 'loopStyle'
Defines the key for the margin between the ellipses in the double ellipse shape.
STYLE_MARGIN: 'margin'
Defines the key for the movable style.
STYLE_MOVABLE: 'movable'
Defines the key for the noEdgeStyle style.
STYLE_NOEDGESTYLE: 'noEdgeStyle'
Defines the key for the noLabel style.
STYLE_NOLABEL: 'noLabel'
Defines the key for the opacity style.
STYLE_OPACITY: 'opacity'
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
STYLE_ORTHOGONAL: 'orthogonal'
Defines the key for the orthogonal loop style.
STYLE_ORTHOGONAL_LOOP: 'orthogonalLoop'
Defines the key for the overflow style.
STYLE_OVERFLOW: 'overflow'
Defines the key for the perimeter style.
STYLE_PERIMETER: 'perimeter'
Defines the key for the perimeter spacing.
STYLE_PERIMETER_SPACING: 'perimeterSpacing'
Specifies if pointer events should be fired on transparent backgrounds.
STYLE_POINTER_EVENTS: 'pointerEvents'
Defines the direction(s) that edges are allowed to connect to cells in.
STYLE_PORT_CONSTRAINT: 'portConstraint'
Define whether port constraint directions are rotated with vertex rotation.
STYLE_PORT_CONSTRAINT_ROTATION: 'portConstraintRotation'
Defines the key for the resizable style.
STYLE_RESIZABLE: 'resizable'
Defines the key for the resizeWidth style.
STYLE_RESIZE_WIDTH: 'resizeWidth'
Defines the key for the rotatable style.
STYLE_ROTATABLE: 'rotatable'
Defines the key for the rotation style.
STYLE_ROTATION: 'rotation'
Defines the key for the rounded style.
STYLE_ROUNDED: 'rounded'
Defines the key for the horizontal routing center.
STYLE_ROUTING_CENTER_X: 'routingCenterX'
Defines the key for the vertical routing center.
STYLE_ROUTING_CENTER_Y: 'routingCenterY'
Defines the key for the segment style.
STYLE_SEGMENT: 'segment'
Defines the key for the separatorColor style.
STYLE_SEPARATORCOLOR: 'separatorColor'
Defines the key for the shadow style.
STYLE_SHADOW: 'shadow'
Defines the key for the shape.
STYLE_SHAPE: 'shape'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_SOURCE_JETTY_SIZE: 'sourceJettySize'
Defines the key for the source perimeter spacing.
STYLE_SOURCE_PERIMETER_SPACING: 'sourcePerimeterSpacing'
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
STYLE_SOURCE_PORT: 'sourcePort'
Defines the direction(s) that edges are allowed to connect to sources in.
STYLE_SOURCE_PORT_CONSTRAINT: 'sourcePortConstraint'
Defines the key for the spacing.
STYLE_SPACING: 'spacing'
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_BOTTOM: 'spacingBottom'
Defines the key for the spacingLeft style.
STYLE_SPACING_LEFT: 'spacingLeft'
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_RIGHT: 'spacingRight'
Defines the key for the spacingTop style.
STYLE_SPACING_TOP: 'spacingTop'
Defines the key for the start arrow marker.
STYLE_STARTARROW: 'startArrow'
Defines the key for the startFill style.
STYLE_STARTFILL: 'startFill'
Defines the key for the startSize style.
STYLE_STARTSIZE: 'startSize'
Defines the key for the stroke opacity style.
STYLE_STROKE_OPACITY: 'strokeOpacity'
Defines the key for the strokeColor style.
STYLE_STROKECOLOR: 'strokeColor'
Defines the key for the strokeWidth style.
STYLE_STROKEWIDTH: 'strokeWidth'
Defines the key for the fill color of the swimlane background.
STYLE_SWIMLANE_FILLCOLOR: 'swimlaneFillColor'
Defines the key for the swimlaneLine style.
STYLE_SWIMLANE_LINE: 'swimlaneLine'
Defines the key for the target perimeter spacing.
STYLE_TARGET_PERIMETER_SPACING: 'targetPerimeterSpacing'
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
STYLE_TARGET_PORT: 'targetPort'
Defines the direction(s) that edges are allowed to connect to targets in.
STYLE_TARGET_PORT_CONSTRAINT: 'targetPortConstraint'
Defines the key for the text direction style.
STYLE_TEXT_DIRECTION: 'textDirection'
Defines the key for the text opacity style.
STYLE_TEXT_OPACITY: 'textOpacity'
Defines the key for the verticalAlign style.
STYLE_VERTICAL_ALIGN: 'verticalAlign'
Defines the key for the vertical label position of vertices.
STYLE_VERTICAL_LABEL_POSITION: 'verticalLabelPosition'
Defines the key for the white-space style.
STYLE_WHITE_SPACE: 'whiteSpace'
Stores the value of styleEnabled passed to the constructor.
this.styleEnabled
Inner callback to update the style of the given mxCell using mxCell.setStyle and return the previous style.
mxGraphModel.prototype.styleForCellChanged = function( cell, style )
Holds the mxStylesheet that defines the appearance of the cells.
mxGraph.prototype.stylesheet
URL of the image to be used for the submenu icon.
mxPopupMenu.prototype.submenuImage
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
submit: function( url, params, doc, target )
Specifies the event name for suspend.
SUSPEND: 'suspend'
Optional boolean flag to suspend updates.
mxOutline.prototype.suspended
Specifies if pointer events should be handled.
mxShape.prototype.svgPointerEvents
Sets stroke tolerance to 0 for SVG.
mxCylinder.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxShape.prototype.svgStrokeTolerance
Swaps the x, y, width and height with the values stored in alternateBounds and puts the previous values into alternateBounds as a rectangle.
mxGeometry.prototype.swap = function()
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxGraph.prototype.swapBounds = function( cell, willCollapse )
Swaps the styles for the given names in the graph’s stylesheet and refreshes the graph.
mxEditor.prototype.swapStyles = function ( first, second )
Updates the size of the given swimlane to match that of any existing siblings swimlanes.
mxSwimlaneManager.prototype.swimlaneAdded = function( swimlane )
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneIndicatorColorAttribute
Specifies if nesting of swimlanes is allowed.
mxGraph.prototype.swimlaneNesting
Specifies if new cells must be inserted into an existing swimlane.
mxEditor.prototype.swimlaneRequired
Holds the array of mxCell of the ordered swimlanes to lay out
mxSwimlaneLayout.prototype.swimlanes
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxGraph.prototype.swimlaneSelectionEnabled
Specifies the spacing between swimlanes if automatic layout is turned on in layoutDiagram.
mxEditor.prototype.swimlaneSpacing
Saves the current state.
mxAbstractCanvas2D.prototype.save = function()
Empty hook that is called if the graph should be saved.
mxAutoSaveManager.prototype.save = function()
Posts the string returned by writeGraphModel to the given URL or the URL returned by getUrlPost.
mxEditor.prototype.save = function ( url, linefeed )
Saves the drawing state.
mxXmlCanvas2D.prototype.save = function()
Specifies the event name for open.
SAVE: 'save'
Scales the current state.
mxAbstractCanvas2D.prototype.scale = function( value )
Scales the geometry by the given amount.
mxGeometry.prototype.scale = function( sx, sy, fixedAspect )
Specifies the scale.
mxGraphView.prototype.scale
Holds the scale of the print preview.
mxPrintPreview.prototype.scale
Holds the scale in which the shape is being painted.
mxShape.prototype.scale
Scales the output.
mxXmlCanvas2D.prototype.scale = function( value )
Specifies the event name for scale.
SCALE: 'scale'
Specifies the event name for scaleAndTranslate.
SCALE_AND_TRANSLATE: 'scaleAndTranslate'
Sets the scale and translation and fires a scale and translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.scaleAndTranslate = function( scale, dx, dy )
Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.
mxGraph.prototype.scaleCell = function( cell, dx, dy, recurse )
Specifies if the grid should be scaled.
mxGraphHandler.prototype.scaleGrid
Screen X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenX
Screen Y-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenY
Pans the graph so that it shows the given cell.
mxGraph.prototype.scrollCellToVisible = function( cell, center )
Specifies if the view should be scrolled so that a moved cell is visible.
mxGraphHandler.prototype.scrollOnMove
Scrolls the graph to the given point, extending the graph container if specified.
mxGraph.prototype.scrollPointToVisible = function( x, y, extend, border )
Pans the graph so that it shows the given rectangle.
mxGraph.prototype.scrollRectToVisible = function( rect )
Implements an orthogonal edge style.
SegmentConnector: function( state, source, target, hints, result )
Array of numbers that represent the cached length of each segment of the edge.
mxCellState.prototype.segments
Specifies if new edges should be selected.
mxConnectionHandler.prototype.select
Specifies the event name for select.
SELECT: 'select'
Selects all children of the given parent cell or the children of the default parent if no parent is specified.
mxGraph.prototype.selectAll = function( parent, descendants )
Selects the next, parent, first child or previous cell, if all arguments are false.
mxGraph.prototype.selectCell = function( isNext, isParent, isChild )
Selects the given cell by either adding it to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellForEvent = function( cell, evt )
Selects the given edge after adding a new connection.
mxConnectionHandler.prototype.selectCells = function( edge, target )
Selects all vertices and/or edges depending on the given boolean arguments recursively, starting at the given parent or the default parent if no parent is specified.
mxGraph.prototype.selectCells = function( vertices, edges, parent )
Selects the given cells by either adding them to the selection or replacing the selection depending on whether the given mouse event is a toggle event.
mxGraph.prototype.selectCellsForEvent = function( cells, evt )
Selects the first child cell.
mxGraph.prototype.selectChildCell = function()
Implements the delayed selection for the given mouse event.
mxGraphHandler.prototype.selectDelayed = function( me )
Specifies if selecting is enabled.
mxGraphHandler.prototype.selectEnabled
Defines the dashed state to be used for the vertex selection border.
VERTEX_SELECTION_DASHED: true
Holds the mxGraphSelectionModel that models the current selection.
mxGraph.prototype.selectionModel
Resets the state of the previously selected mode and displays the given DOM node as selected.
mxToolbar.prototype.selectMode = function( domNode, funct )
Selects the next cell.
mxGraph.prototype.selectNextCell = function()
Specifies if cells should be selected if a popupmenu is displayed for them.
mxPopupMenuHandler.prototype.selectOnPopup
Selects the parent cell.
mxGraph.prototype.selectParentCell = function()
Selects the previous cell.
mxGraph.prototype.selectPreviousCell = function()
Selects and returns the cells inside the given rectangle for the specified event.
mxGraph.prototype.selectRegion = function( rect, evt )
Specifies if the text should be selected when editing starts.
mxCellEditor.prototype.selectText
Select all vertices inside the given parent or the default parent.
mxGraph.prototype.selectVertices = function( parent )
Send the request to the target URL using the specified functions to process the response asychronously.
mxXmlRequest.prototype.send = function( onload, onerror, timeout, ontimeout )
Sets the first or last point in absolutePoints depending on isSource.
mxCellState.prototype.setAbsoluteTerminalPoint = function( point, isSource )
Sets addEnabled.
mxSwimlaneManager.prototype.setAddEnabled = function( value )
Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.
mxGraph.prototype.setAllowDanglingEdges = function( value )
Sets allowEval.
mxGraphView.prototype.setAllowEval = function( value )
Specifies if loops are allowed.
mxGraph.prototype.setAllowLoops = function( value )
Sets the current alpha.
mxAbstractCanvas2D.prototype.setAlpha = function( value )
Sets the current alpha.
mxXmlCanvas2D.prototype.setAlpha = function( value )
Sets the specified attribute on the user object if it is an XML node.
mxCell.prototype.setAttribute = function( name, value )
Sets the attribute on the specified node to value.
mxCodec.prototype.setAttribute = function( node, attribute, value )
Specifies if cell sizes should be automatically updated after a label change.
mxGraph.prototype.setAutoSizeCells = function( value )
Sets the new backgroundImage.
mxGraph.prototype.setBackgroundImage = function( image )
Sets baseDomain.
mxUrlConverter.prototype.setBaseDomain = function( value )
Sets baseUrl.
mxUrlConverter.prototype.setBaseUrl = function( value )
Sets binary.
mxXmlRequest.prototype.setBinary = function( value )
Sets the value of border.
mxGraph.prototype.setBorder = function( value )
Sets bubbling.
mxLayoutManager.prototype.setBubbling = function( value )
Selects the specified mxCell using setCells.
mxGraphSelectionModel.prototype.setCell = function( cell )
Set the cells heights (relative to the layout direction) when the tops of each rank are to be aligned
mxCompactTreeLayout.prototype.setCellHeights = function( node, rank )
Sets the cell locations in the facade to those stored after this layout processing step has completed.
mxCoordinateAssignment.prototype.setCellLocations = function( graph, model )
Sets the cells in the clipboard.
setCells: function( cells )
Selects the given array of mxCells and fires a change event.
mxGraphSelectionModel.prototype.setCells = function( cells )
Specifies if the graph should allow bending of edges.
mxGraph.prototype.setCellsBendable = function( value )
Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.
mxGraph.prototype.setCellsCloneable = function( value )
Sets cellsDeletable.
mxGraph.prototype.setCellsDeletable = function( value )
Sets cellsDisconnectable.
mxGraph.prototype.setCellsDisconnectable = function( value )
Specifies if the graph should allow in-place editing for cell labels.
mxGraph.prototype.setCellsEditable = function( value )
Sets if any cell may be moved, sized, bended, disconnected, edited or selected.
mxGraph.prototype.setCellsLocked = function( value )
Specifies if the graph should allow moving of cells.
mxGraph.prototype.setCellsMovable = function( value )
Specifies if the graph should allow resizing of cells.
mxGraph.prototype.setCellsResizable = function( value )
Sets cellsSelectable.
mxGraph.prototype.setCellsSelectable = function( value )
Sets the style of the specified cells.
mxGraph.prototype.setCellStyle = function( style, cells )
Sets or toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.setCellStyleFlags = function( key, flag, value, cells )
Sets or toggles the flag bit for the given key in the cell’s styles.
setCellStyleFlags: function( model, cells, key, flag, value )
Sets the key to value in the styles of the given cells.
mxGraph.prototype.setCellStyles = function( key, value, cells )
Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.
setCellStyles: function( model, cells, key, value )
Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay.
mxGraph.prototype.setCellWarning = function( cell, warning, img, isSelect )
Sets cloneEnabled.
mxGraphHandler.prototype.setCloneEnabled = function( value )
Specifies if edges should be inserted when cloned but not valid wrt.
mxGraph.prototype.setCloneInvalidEdges = function( value )
Sets the image associated with the window.
mxWindow.prototype.setClosable = function( closable )
Sets the collapsed state.
mxCell.prototype.setCollapsed = function( collapsed )
Sets the collapsed state of the given mxCell using mxCollapseChange and adds the change to the current transaction.
mxGraphModel.prototype.setCollapsed = function( cell, collapsed )
Sets the connectable state.
mxCell.prototype.setConnectable = function( connectable )
Specifies if the graph should allow new connections.
mxGraph.prototype.setConnectable = function( connectable )
Specifies if edges should be connectable.
mxGraph.prototype.setConnectableEdges = function( value )
Sets the mxConnectionConstraint that describes the given connection point.
mxGraph.prototype.setConnectionConstraint = function( edge, terminal, source, constraint )
Sets constrainChildren.
mxGraph.prototype.setConstrainChildren = function( value )
Sets constrainRelativeChildren.
mxGraph.prototype.setConstrainRelativeChildren = function( value )
Sets createIds.
mxGraphModel.prototype.setCreateIds = function( value )
Sets createTarget.
mxConnectionHandler.prototype.setCreateTarget = function( value )
Sets and returns the current root and fires an undo event before calling mxGraph.sizeDidChange.
mxGraphView.prototype.setCurrentRoot = function( root )
Sets and marks the current valid state.
mxCellMarker.prototype.setCurrentState = function( state, me, color )
Sets the given cursor on the shape and text shape.
mxCellState.prototype.setCursor = function( cursor )
Sets the cursor on the given shape.
mxShape.prototype.setCursor = function( cursor )
Enables or disables dashed lines.
mxAbstractCanvas2D.prototype.setDashed = function( value, fixDash )
Enables or disables dashed lines.
mxXmlCanvas2D.prototype.setDashed = function( value, fixDash )
Sets the current dash pattern.
mxAbstractCanvas2D.prototype.setDashPattern = function( value )
Sets the current dash pattern.
mxXmlCanvas2D.prototype.setDashPattern = function( value )
Sets the defaultParent to the given cell.
mxGraph.prototype.setDefaultParent = function( cell )
Specifies if edges should be disconnected when moved.
mxGraph.prototype.setDisconnectOnMove = function( value )
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.setDropEnabled = function( value )
Specifies if the cell is an edge.
mxCell.prototype.setEdge = function( edge )
Replaces the array of mxPoints in the geometry of the given edge with the given array of mxPoints.
mxGraphLayout.prototype.setEdgePoints = function( edge, points )
Fixes the control points
mxCoordinateAssignment.prototype.setEdgePosition = function( cell )
Disables or enables the edge style of the given edge.
mxGraphLayout.prototype.setEdgeStyleEnabled = function( edge, value )
Enables or disables event handling.
mxAutoSaveManager.prototype.setEnabled = function( value )
Enables or disables event handling.
mxCellMarker.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxConnectionHandler.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxConstraintHandler.prototype.setEnabled = function( enabled )
Sets enabled.
mxDragSource.prototype.setEnabled = function( value )
Specifies if the graph should allow any interactions.
mxGraph.prototype.setEnabled = function( value )
Sets enabled.
mxGraphHandler.prototype.setEnabled = function( value )
Enables or disables event handling by updating enabled.
mxKeyHandler.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxLayoutManager.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxOutline.prototype.setEnabled = function( value )
Enables or disables event handling.
mxPopupMenu.prototype.setEnabled = function( enabled )
Enables or disables event handling.
mxRubberband.prototype.setEnabled = function( enabled )
Sets enabled.
mxSelectionCellsHandler.prototype.setEnabled = function( value )
Enables or disables event handling.
mxSwimlaneManager.prototype.setEnabled = function( value )
Enables or disables event handling.
mxTooltipHandler.prototype.setEnabled = function( enabled )
Sets enabled.
mxUrlConverter.prototype.setEnabled = function( value )
Sets enterStopsCellEditing.
mxGraph.prototype.setEnterStopsCellEditing = function( value )
Sets escapeEnabled.
mxGraph.prototype.setEscapeEnabled = function( value )
Sets eventsEnabled.
mxEventSource.prototype.setEventsEnabled = function( value )
Sets eventSource.
mxEventSource.prototype.setEventSource = function( value )
Sets extendParents.
mxGraph.prototype.setExtendParents = function( value )
Sets extendParentsOnAdd.
mxGraph.prototype.setExtendParentsOnAdd = function( value )
Sets extendParentsOnMove.
mxGraph.prototype.setExtendParentsOnMove = function( value )
Sets the current solid fill alpha.
mxAbstractCanvas2D.prototype.setFillAlpha = function( value )
Sets the current fill alpha.
mxXmlCanvas2D.prototype.setFillAlpha = function( value )
Sets the current fill color.
mxAbstractCanvas2D.prototype.setFillColor = function( value )
Sets the current fill color.
mxXmlCanvas2D.prototype.setFillColor = function( value )
Transfers the focus to the given state as a source or target terminal.
mxConstraintHandler.prototype.setFocus = function( me, state, source )
Sets the current font background color.
mxXmlCanvas2D.prototype.setFontBackgroundColor = function( value )
Sets the current font border color.
mxXmlCanvas2D.prototype.setFontBorderColor = function( value )
Sets the current font color.
mxAbstractCanvas2D.prototype.setFontColor = function( value )
Sets the current font color.
mxXmlCanvas2D.prototype.setFontColor = function( value )
Sets the current font family.
mxAbstractCanvas2D.prototype.setFontFamily = function( value )
Sets the current font family.
mxXmlCanvas2D.prototype.setFontFamily = function( value )
Sets the current font size.
mxAbstractCanvas2D.prototype.setFontSize = function( value )
Sets the current font size.
mxXmlCanvas2D.prototype.setFontSize = function( value )
Sets the current font style.
mxAbstractCanvas2D.prototype.setFontStyle = function( value )
Sets the current font style.
mxXmlCanvas2D.prototype.setFontStyle = function( value )
Set the value of temp for the specified layer
mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable = function( layer, value )
Set the value of temp for the specified layer
mxGraphHierarchyEdge.prototype.setGeneralPurposeVariable = function( layer, value )
Set the value of temp for the specified layer
mxGraphHierarchyNode.prototype.setGeneralPurposeVariable = function( layer, value )
Sets the mxGeometry to be used as the geometry.
mxCell.prototype.setGeometry = function( geometry )
Sets the mxGeometry of the given mxCell.
mxGraphModel.prototype.setGeometry = function( cell, geometry )
Sets the current gradient.
mxAbstractCanvas2D.prototype.setGradient = function( color1, color2, x, y, w, h, direction, alpha1, alpha2 )
Sets the gradient.
mxXmlCanvas2D.prototype.setGradient = function( color1, color2, x, y, w, h, direction, alpha1, alpha2 )
Sets the graph that the layouts operate on.
mxAutoSaveManager.prototype.setGraph = function( graph )
Sets the graph that the layouts operate on.
mxLayoutManager.prototype.setGraph = function( graph )
Sets the graph that the manager operates on.
mxSwimlaneManager.prototype.setGraph = function( graph )
Sets graphBounds.
mxGraphView.prototype.setGraphBounds = function( value )
Sets the graph’s container using mxGraph.init.
mxEditor.prototype.setGraphContainer = function ( container )
Sets gridEnabled.
mxDragSource.prototype.setGridEnabled = function( value )
Specifies if the grid should be enabled.
mxGraph.prototype.setGridEnabled = function( value )
Sets gridSize.
mxGraph.prototype.setGridSize = function( value )
Sets guidesEnabled.
mxDragSource.prototype.setGuidesEnabled = function( value )
Sets hideOnHover.
mxTooltipHandler.prototype.setHideOnHover = function( value )
Sets the color of the rectangle used to highlight drop targets.
mxCellHighlight.prototype.setHighlightColor = function( color )
Sets the color of the rectangle used to highlight drop targets.
mxGraphHandler.prototype.setHighlightColor = function( color )
Sets horizontal.
mxSwimlaneManager.prototype.setHorizontal = function( value )
Sets the hotspot.
mxCellMarker.prototype.setHotspot = function( hotspot )
Specifies whether the hotspot should be used in intersects.
mxCellMarker.prototype.setHotspotEnabled = function( enabled )
Sets htmlLabels.
mxGraph.prototype.setHtmlLabels = function( value )
Sets the Id of the cell to the given string.
mxCell.prototype.setId = function( id )
Sets the image associated with the window.
mxWindow.prototype.setImage = function( image )
Sets invokesStopCellEditing.
mxGraph.prototype.setInvokesStopCellEditing = function( value )
Sets the current line cap.
mxAbstractCanvas2D.prototype.setLineCap = function( value )
Sets the line cap.
mxXmlCanvas2D.prototype.setLineCap = function( value )
Sets the current line join.
mxAbstractCanvas2D.prototype.setLineJoin = function( value )
Sets the line join.
mxXmlCanvas2D.prototype.setLineJoin = function( value )
Sets the current link.
mxAbstractCanvas2D.prototype.setLink = function( link )
Experimental implementation for hyperlinks.
mxSvgCanvas2D.prototype.setLink = function( link )
Sets the upper, left corner of the window.
mxWindow.prototype.setLocation = function( x, y )
Sets if the window is maximizable.
mxWindow.prototype.setMaximizable = function( maximizable )
Sets if the window is minimizable.
mxWindow.prototype.setMinimizable = function( minimizable )
Sets the current miter limit.
mxAbstractCanvas2D.prototype.setMiterLimit = function( value )
Sets the miter limit.
mxXmlCanvas2D.prototype.setMiterLimit = function( value )
Puts the graph into the specified mode.
mxEditor.prototype.setMode = function( modename )
Sets modified to the specified boolean value.
mxEditor.prototype.setModified = function ( value )
Sets moveEnabled.
mxGraphHandler.prototype.setMoveEnabled = function( value )
Specifies if the graph should allow multiple connections between the same pair of vertices.
mxGraph.prototype.setMultigraph = function( value )
Sets the opacity of the specified DOM node to the given value in %.
setOpacity: function( node, value )
Disables or enables orthogonal end segments of the given edge.
mxGraphLayout.prototype.setOrthogonalEdge = function( edge, value )
Specifies if panning should be enabled.
mxGraph.prototype.setPanning = function( enabled )
Sets panningEnabled.
mxPanningHandler.prototype.setPanningEnabled = function( value )
Sets the parent cell.
mxCell.prototype.setParent = function( parent )
Sets pinchEnabled.
mxPanningHandler.prototype.setPinchEnabled = function( value )
Specifies if the ports should be enabled.
mxGraph.prototype.setPortsEnabled = function( value )
Hooks for subclassers to update the style in the state.
mxHandle.prototype.setPosition = function( bounds, pt, me )
Adds the given style with the standard name and an optional vendor prefix for the current browser.
setPrefixedStyle: function()
Sets the color of the preview to the given value.
mxEdgeHandler.prototype.setPreviewColor = function( color )
Sets this rectangle to the specified values
mxRectangle.prototype.setRect = function( x, y, w, h )
Sets recursiveResize.
mxGraph.prototype.setRecursiveResize = function( value )
Sets removeCellsFromParent.
mxGraphHandler.prototype.setRemoveCellsFromParent = function( value )
Sets rendering.
mxGraphView.prototype.setRendering = function( value )
Sets the headers for the given request and parameters.
mxXmlRequest.prototype.setRequestHeaders = function( request, params )
Sets if the window should be resizable.
mxWindow.prototype.setResizable = function( resizable )
Sets resizeContainer.
mxGraph.prototype.setResizeContainer = function( value )
Sets resizeEnabled.
mxSwimlaneManager.prototype.setResizeEnabled = function( value )
Sets the root of the model using mxRootChange and adds the change to the current transaction.
mxGraphModel.prototype.setRoot = function( root )
Sets the scale and fires a scale event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.setScale = function( value )
Sets if the window contents should be scrollable.
mxWindow.prototype.setScrollable = function( scrollable )
Sets selectEnabled.
mxGraphHandler.prototype.setSelectEnabled = function( value )
Sets the selection cell.
mxGraph.prototype.setSelectionCell = function( cell )
Sets the selection cell.
mxGraph.prototype.setSelectionCells = function( cells )
Sets the mxSelectionModel that contains the selection.
mxGraph.prototype.setSelectionModel = function( selectionModel )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadow = function( enabled )
Enables or disables shadows.
mxXmlCanvas2D.prototype.setShadow = function( value )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowAlpha = function( value )
Sets the current shadows alpha.
mxXmlCanvas2D.prototype.setShadowAlpha = function( value )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowColor = function( value )
Sets the current shadow color.
mxXmlCanvas2D.prototype.setShadowColor = function( value )
Enables or disables and configures the current shadow.
mxAbstractCanvas2D.prototype.setShadowOffset = function( dx, dy )
Sets the current shadow offset.
mxXmlCanvas2D.prototype.setShadowOffset = function( dx, dy )
Sets the singleSelection flag.
mxGraphSelectionModel.prototype.setSingleSelection = function( singleSelection )
Sets the size of the window.
mxWindow.prototype.setSize = function( width, height )
Specifies if the graph should allow dropping of cells onto or into other cells.
mxGraph.prototype.setSplitEnabled = function( value )
Copies all fields from the given state to this state.
mxCellState.prototype.setState = function( state )
Sets states.
mxGraphView.prototype.setStates = function( value )
Sets the mxCellStates that should be used for alignment.
mxGuide.prototype.setStates = function( states )
Display the specified message in the status bar.
mxEditor.prototype.setStatus = function ( message )
Creates the status using the specified container.
mxEditor.prototype.setStatusContainer = function ( container )
Sets the current stroke alpha.
mxAbstractCanvas2D.prototype.setStrokeAlpha = function( value )
Sets the current stroke alpha.
mxXmlCanvas2D.prototype.setStrokeAlpha = function( value )
Sets the current stroke color.
mxAbstractCanvas2D.prototype.setStrokeColor = function( value )
Sets the current stroke color.
mxXmlCanvas2D.prototype.setStrokeColor = function( value )
Sets the current stroke width.
mxAbstractCanvas2D.prototype.setStrokeWidth = function( value )
Sets the current stroke width.
mxXmlCanvas2D.prototype.setStrokeWidth = function( value )
Sets the string to be used as the style.
mxCell.prototype.setStyle = function( style )
Sets the style of the given mxCell using mxStyleChange and adds the change to the current transaction.
mxGraphModel.prototype.setStyle = function( cell, style )
Adds or removes the given key, value pair to the style and returns the new style.
setStyle: function( style, key, value )
Sets or removes the given key from the specified style and returns the new style.
setStyleFlag: function( style, key, flag, value )
Sets the mxStylesheet that defines the style.
mxGraph.prototype.setStylesheet = function( stylesheet )
Specifies if swimlanes can be nested by drag and drop.
mxGraph.prototype.setSwimlaneNesting = function( value )
Specifies if swimlanes should be selected if the mouse is released over their content area.
mxGraph.prototype.setSwimlaneSelectionEnabled = function( value )
Sets the source or target terminal and returns the new terminal.
mxCell.prototype.setTerminal = function( terminal, isSource )
Sets the source or target terminal of the given mxCell using mxTerminalChange and adds the change to the current transaction.
mxGraphModel.prototype.setTerminal = function( edge, terminal, isSource )
Sets the sourcePoint or targetPoint to the given mxPoint and returns the new point.
mxGeometry.prototype.setTerminalPoint = function( point, isSource )
Sets the source and target mxCell of the given mxCell in a single transaction using setTerminal for each end of the edge.
mxGraphModel.prototype.setTerminals = function( edge, source, target )
Sets the text content of the specified node.
setTextContent: function( node, text )
Sets the window title to the given string.
mxWindow.prototype.setTitle = function( title )
Creates a listener to update the inner HTML of the specified DOM node with the value of getTitle.
mxEditor.prototype.setTitleContainer = function ( container )
Sets tolerance.
mxGraph.prototype.setTolerance = function( value )
Initializes the toolbar for the given container.
mxEditor.prototype.setToolbarContainer = function ( container )
Specifies if tooltips should be enabled.
mxGraph.prototype.setTooltips = function ( enabled )
Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange.
mxGraphView.prototype.setTranslate = function( dx, dy )
Sets a transparent background CSS style to catch all events.
mxShape.prototype.setTransparentBackgroundImage = function( node )
Sets the user object of the cell.
mxCell.prototype.setValue = function( value )
Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.
mxGraphModel.prototype.setValue = function( cell, value )
Specifies if the cell is a vertex.
mxCell.prototype.setVertex = function( vertex )
Sets vertexLabelsMovable.
mxGraph.prototype.setVertexLabelsMovable = function( value )
Fixes the position of the specified vertex.
mxCoordinateAssignment.prototype.setVertexLocation = function( cell )
Sets the new position of the given cell taking into account the size of the bounding box if useBoundingBox is true.
mxGraphLayout.prototype.setVertexLocation = function( cell, x, y )
Specifies if the cell is visible.
mxCell.prototype.setVisible = function( visible )
Sets the visible state of the given mxCell using mxVisibleChange and adds the change to the current transaction.
mxGraphModel.prototype.setVisible = function( cell, visible )
Shows or hides the current guides.
mxGuide.prototype.setVisible = function( visible )
Shows or hides this handle.
mxHandle.prototype.setVisible = function( visible )
Shows or hides the console.
setVisible: function( visible )
Shows or hides the window depending on the given flag.
mxWindow.prototype.setVisible = function( visible )
Sets the visible source or target terminal state.
mxCellState.prototype.setVisibleTerminalState = function( terminalState, source )
Set the value of x for the specified layer
mxGraphAbstractHierarchyCell.prototype.setX = function( layer, value )
Set the value of y for the specified layer
mxGraphAbstractHierarchyCell.prototype.setY = function( layer, value )
Enables or disables the zoom handling by showing or hiding the respective handle.
mxOutline.prototype.setZoomEnabled = function( value )
Specifies the x-offset of the shadow.
SHADOW_OFFSET_X: 2
Specifies the y-offset of the shadow.
SHADOW_OFFSET_Y: 3
Defines the opacity for shadows.
SHADOW_OPACITY: 1
Defines the color to be used to draw shadows in shapes and windows.
SHADOWCOLOR: 'gray'
Holds the mxShape that represents the cell graphically.
mxCellState.prototype.shape
Holds the mxShape that represents the preview edge.
mxEdgeHandler.prototype.shape
Reference to the mxShape that represents the preview.
mxGraphHandler.prototype.shape
Name under which mxActor is registered in mxCellRenderer.
SHAPE_ACTOR: 'actor'
Name under which mxArrow is registered in mxCellRenderer.
SHAPE_ARROW: 'arrow'
Name under which mxArrowConnector is registered in mxCellRenderer.
SHAPE_ARROW_CONNECTOR: 'arrowConnector'
Name under which mxCloud is registered in mxCellRenderer.
SHAPE_CLOUD: 'cloud'
Name under which mxConnector is registered in mxCellRenderer.
SHAPE_CONNECTOR: 'connector'
Name under which mxCylinder is registered in mxCellRenderer.
SHAPE_CYLINDER: 'cylinder'
Name under which mxDoubleEllipse is registered in mxCellRenderer.
SHAPE_DOUBLE_ELLIPSE: 'doubleEllipse'
Name under which mxEllipse is registered in mxCellRenderer.
SHAPE_ELLIPSE: 'ellipse'
Name under which mxHexagon is registered in mxCellRenderer.
SHAPE_HEXAGON: 'hexagon'
Name under which mxImageShape is registered in mxCellRenderer.
SHAPE_IMAGE: 'image'
Name under which mxLabel is registered in mxCellRenderer.
SHAPE_LABEL: 'label'
Name under which mxLine is registered in mxCellRenderer.
SHAPE_LINE: 'line'
Name under which mxRectangleShape is registered in mxCellRenderer.
SHAPE_RECTANGLE: 'rectangle'
Name under which mxRhombus is registered in mxCellRenderer.
SHAPE_RHOMBUS: 'rhombus'
Name under which mxSwimlane is registered in mxCellRenderer.
SHAPE_SWIMLANE: 'swimlane'
Name under which mxTriangle is registered in mxCellRenderer.
SHAPE_TRIANGLE: 'triangle'
Specifies if pointer events outside of shape should be handled.
mxShape.prototype.shapePointerEvents
Holds the DIV element which is used to display the rubberband.
mxRubberband.prototype.sharedDiv
Maps from keycodes to functions for pressed shift keys.
mxKeyHandler.prototype.shiftKeys
Returns true if the given cells should be removed from the parent for the specified mousereleased event.
mxGraphHandler.prototype.shouldRemoveCellsFromParent = function( parent, cells, evt )
mxCellStatePreview.prototype.show = function( visitor )
Shows the console.
show: function()
Shows the changes in the given mxCellStatePreview.
mxMorphing.prototype.show = function( move )
Shows the tooltip for the specified cell and optional index at the specified location (with a vertical offset of 10 pixels).
mxTooltipHandler.prototype.show = function( tip, x, y )
Copies the styles and the markup from the graph’s container into the given document and removes all cursor styles.
show: function( graph, doc, x0, y0, w, h )
Shows the window.
mxWindow.prototype.show = function()
Specifies the event name for show.
SHOW: 'show'
Shows the help window.
mxEditor.prototype.showHelp = function ( tasks )
Shows the menu.
mxPopupMenu.prototype.showMenu = function()
Shows the outline window.
mxEditor.prototype.showOutline = function ()
Creates and shows the properties dialog for the given cell.
mxEditor.prototype.showProperties = function ( cell )
Shows the submenu inside the given parent row.
mxPopupMenu.prototype.showSubmenu = function( parent, row )
Shows the tasks window.
mxEditor.prototype.showTasks = function ()
Specifies a viewport rectangle should be shown.
mxOutline.prototype.showViewport
Implements a vertical elbow edge.
SideToSide: function ( state, source, target, points, result )
Specifies if the undoable change is significant.
mxUndoableEdit.prototype.significant
Creates and posts a request to the given target URL using a dynamically created form inside the given document.
mxXmlRequest.prototype.simulate = function( doc, target )
Specifies if only one selected item at a time is allowed.
mxGraphSelectionModel.prototype.singleSelection
Specifies if only one sizer handle at the bottom, right corner should be used.
mxVertexHandler.prototype.singleSizer
Maximum command history size.
mxUndoManager.prototype.size
Specifies the event name for size.
SIZE: 'size'
Called when the size of the graph has changed.
mxGraph.prototype.sizeDidChange = function()
Optional mxImage to be used for the sizer.
mxOutline.prototype.sizerImage
Specifies if separators should only be added if a menu item follows them.
mxPopupMenu.prototype.smartSeparators
Snaps the given numeric value to the grid if gridEnabled is true.
mxGraph.prototype.snap = function( value )
Snaps the given vector to the grid and returns the given mxPoint instance.
mxGraphHandler.prototype.snap = function( vector )
Snaps the given point to the grid if ignore is false.
mxHandle.prototype.snapPoint = function( pt, ignore )
Called to snap the given point to the current preview.
mxConnectionHandler.prototype.snapToPreview = function( me, point )
Specifies if waypoints should snap to the routing centers of terminals.
mxEdgeHandler.prototype.snapToTerminals
Sorts the given cells according to the order in the cell hierarchy.
sortCells: function( cells, ascending )
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxCompactTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxRadialTreeLayout.prototype.sortEdges
Called if sortEdges is true to sort the array of outgoing edges in place.
mxCompactTreeLayout.prototype.sortOutgoingEdges = function( source, edges )
Reference to the source terminal.
mxCell.prototype.source
The node this edge is sourced at
mxGraphHierarchyEdge.prototype.source
Boolean that specifies if the rule is applied to the source or target terminal of an edge.
mxMultiplicity.prototype.source
Specifies the source of the edit.
mxUndoableEdit.prototype.source
Defines the source mxPoint of the edge.
mxGeometry.prototype.sourcePoint
High value to start source layering scan rank value from.
mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK
Holds the mxCellState that was passed to the constructor.
mxMouseEvent.prototype.sourceState
Specifies the spacing between the highlight for vertices and the vertex.
mxCellHighlight.prototype.spacing
Defines the spacing between existing and new vertices in gridSize units when a new vertex is dropped on an existing cell.
mxDefaultToolbar.prototype.spacing
Default value for image spacing.
mxLabel.prototype.spacing
Defines the spacing between the parallels.
mxParallelEdgeLayout.prototype.spacing
Integer that specifies the absolute spacing in pixels between the children.
mxPartitionLayout.prototype.spacing
Specifies the spacing between the cells.
mxStackLayout.prototype.spacing
Specifies the event name for splitEdge.
SPLIT_EDGE: 'splitEdge'
Splits the given edge by adding the newEdge between the previous source and the given cell and reconnecting the source of the given edge to the given cell.
mxGraph.prototype.splitEdge = function( edge, cells, newEdge, dx, dy )
Specifies if dropping onto edges should be enabled.
mxGraph.prototype.splitEnabled
String that specifies the URL of the image.
mxImage.prototype.src
Starts a new connection for the given state and coordinates.
mxConnectionHandler.prototype.start = function( state, x, y, edgeState )
Starts the handling of the mouse gesture.
mxEdgeHandler.prototype.start = function( x, y, index )
Starts the handling of the mouse gesture.
mxGraphHandler.prototype.start = function( cell, x, y )
Starts panning at the given event.
mxPanningHandler.prototype.start = function( me )
Sets the start point for the rubberband selection.
mxRubberband.prototype.start = function( x, y )
Starts the handling of the mouse gesture.
mxVertexHandler.prototype.start = function( x, y, index )
Specifies the event name for start.
START: 'start'
Specifies the event name for startEdit.
START_EDIT: 'startEdit'
Specifies the event name for startEditing.
START_EDITING: 'startEditing'
Starts the animation by repeatedly invoking updateAnimation.
mxAnimation.prototype.startAnimation = function()
Creates the dragElement using createDragElement.
mxDragSource.prototype.startDrag = function( evt )
Starts the editor for the given cell.
mxCellEditor.prototype.startEditing = function( cell, trigger )
Calls startEditingAtCell using the given cell or the first selection cell.
mxGraph.prototype.startEditing = function( evt )
Fires a startEditing event and invokes mxCellEditor.startEditing on editor.
mxGraph.prototype.startEditingAtCell = function( cell, evt )
Holds the x-coordinate of the start point.
mxPanningHandler.prototype.startX
Holds the y-coordinate of the start point.
mxPanningHandler.prototype.startY
Holds the current state.
mxAbstractCanvas2D.prototype.state
Reference to the mxCellState.
mxCellHighlight.prototype.state
Reference to the mxCellState being modified.
mxEdgeHandler.prototype.state
Holds the optional mxCellState associated with this event.
mxMouseEvent.prototype.state
Optional reference to the corresponding mxCellState.
mxShape.prototype.state
Reference to the mxCellState being modified.
mxVertexHandler.prototype.state
Stack of states.
mxAbstractCanvas2D.prototype.states
mxDictionary that maps from cell IDs to mxCellStates.
mxGraphView.prototype.states
Contains the mxCellStates that are used for alignment.
mxGuide.prototype.states
Invoked when a state has been processed in validatePoints.
mxGraphView.prototype.stateValidated = function( state )
DOM container that holds the statusbar.
mxEditor.prototype.status
Holds the mxStencil that defines the shape.
mxShape.prototype.stencil
Specifies if pointer events outside of stencils should be handled.
mxShape.prototype.stencilPointerEvents
Contains the current step.
mxMorphing.prototype.step
Specifies the maximum number of steps for the morphing.
mxMorphing.prototype.steps
Defines the step size to offset the cells after each paste operation.
STEPSIZE: 10
Stops the animation by deleting the timer and fires an mxEvent.DONE.
mxAnimation.prototype.stopAnimation = function()
Invokes removeDragElement.
mxDragSource.prototype.stopDrag = function()
Stops the editor and applies the value if cancel is false.
mxCellEditor.prototype.stopEditing = function( cancel )
Stops the current editing and fires a editingStopped event.
mxGraph.prototype.stopEditing = function( cancel )
Returns true if the animation should not recursively find more deltas for children if the given parent state has been animated.
mxMorphing.prototype.stopRecursion = function( state, delta )
Specifies if removing bends by creating straight segments should be enabled.
mxEdgeHandler.prototype.straightRemoveEnabled
Paints the outline of the current path.
mxSvgCanvas2D.prototype.stroke = function()
Paints the outline of the current path.
mxVmlCanvas2D.prototype.stroke = function()
Paints the outline of the current drawing buffer.
mxXmlCanvas2D.prototype.stroke = function()
Adds transparent paths for strokes.
mxSvgCanvas2D.prototype.strokeTolerance
Holds the strokewidth direction from the description.
mxStencil.prototype.strokewidth
Holds the style as a string of the form [(stylename|key=value);].
mxCell.prototype.style
Contains an array of key, value pairs that represent the style of the cell.
mxCellState.prototype.style
Optional reference to the style of the corresponding mxCellState.
mxShape.prototype.style
Defines the key for the absolute arc size style.
STYLE_ABSOLUTE_ARCSIZE: 'absoluteArcSize'
Defines the key for the align style.
STYLE_ALIGN: 'align'
Defines the key for the anchorPointDirection style.
STYLE_ANCHOR_POINT_DIRECTION: 'anchorPointDirection'
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
STYLE_ARCSIZE: 'arcSize'
Defines the key for the aspect style.
STYLE_ASPECT: 'aspect'
Defines the key for the autosize style.
STYLE_AUTOSIZE: 'autosize'
Defines the key for the backgroundOutline style.
STYLE_BACKGROUND_OUTLINE: 'backgroundOutline'
Defines the key for the bendable style.
STYLE_BENDABLE: 'bendable'
Defines the key for the cloneable style.
STYLE_CLONEABLE: 'cloneable'
Defines the key for the curved style.
STYLE_CURVED: 'curved'
Defines the key for the dashed style.
STYLE_DASHED: 'dashed'
Defines the key for the deletable style.
STYLE_DELETABLE: 'deletable'
Defines the key for the direction style.
STYLE_DIRECTION: 'direction'
Defines the key for the edge style.
STYLE_EDGE: 'edgeStyle'
Defines the key for the editable style.
STYLE_EDITABLE: 'editable'
Defines the key for the elbow style.
STYLE_ELBOW: 'elbow'
Defines the key for the end arrow marker.
STYLE_ENDARROW: 'endArrow'
Defines the key for the endFill style.
STYLE_ENDFILL: 'endFill'
Defines the key for the endSize style.
STYLE_ENDSIZE: 'endSize'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
STYLE_ENTRY_PERIMETER: 'entryPerimeter'
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_X: 'entryX'
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_Y: 'entryY'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
STYLE_EXIT_PERIMETER: 'exitPerimeter'
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_X: 'exitX'
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_Y: 'exitY'
Defines the key for the fill opacity style.
STYLE_FILL_OPACITY: 'fillOpacity'
Defines the key for the fill color.
STYLE_FILLCOLOR: 'fillColor'
Defines the key for the fixDash style.
STYLE_FIX_DASH: 'fixDash'
Defines the key for the horizontal image flip.
STYLE_FLIPH: 'flipH'
Defines the key for the vertical flip.
STYLE_FLIPV: 'flipV'
Defines the key for the foldable style.
STYLE_FOLDABLE: 'foldable'
Defines the key for the fontColor style.
STYLE_FONTCOLOR: 'fontColor'
Defines the key for the fontFamily style.
STYLE_FONTFAMILY: 'fontFamily'
Defines the key for the fontSize style (in px).
STYLE_FONTSIZE: 'fontSize'
Defines the key for the fontStyle style.
STYLE_FONTSTYLE: 'fontStyle'
Defines the key for the glass style.
STYLE_GLASS: 'glass'
Defines the key for the gradient direction.
STYLE_GRADIENT_DIRECTION: 'gradientDirection'
Defines the key for the gradient color.
STYLE_GRADIENTCOLOR: 'gradientColor'
Defines the key for the horizontal style.
STYLE_HORIZONTAL: 'horizontal'
Defines the key for the image style.
STYLE_IMAGE: 'image'
Defines the key for the align style.
STYLE_IMAGE_ALIGN: 'imageAlign'
Defines the key for the image aspect style.
STYLE_IMAGE_ASPECT: 'imageAspect'
Defines the key for the image background color.
STYLE_IMAGE_BACKGROUND: 'imageBackground'
Defines the key for the image border color.
STYLE_IMAGE_BORDER: 'imageBorder'
Defines the key for the imageHeight style.
STYLE_IMAGE_HEIGHT: 'imageHeight'
Defines the key for the verticalAlign style.
STYLE_IMAGE_VERTICAL_ALIGN: 'imageVerticalAlign'
Defines the key for the imageWidth style.
STYLE_IMAGE_WIDTH: 'imageWidth'
Defines the key for the indicatorColor style.
STYLE_INDICATOR_COLOR: 'indicatorColor'
Defines the key for the indicatorDirection style.
STYLE_INDICATOR_DIRECTION: 'indicatorDirection'
Defines the key for the indicatorGradientColor style.
STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'
Defines the key for the indicator height.
STYLE_INDICATOR_HEIGHT: 'indicatorHeight'
Defines the key for the indicator image used within an mxLabel.
STYLE_INDICATOR_IMAGE: 'indicatorImage'
Defines the key for the indicator shape used within an mxLabel.
STYLE_INDICATOR_SHAPE: 'indicatorShape'
The defines the key for the spacing between the label and the indicator in mxLabel.
STYLE_INDICATOR_SPACING: 'indicatorSpacing'
Defines the key for the indicator stroke color in mxLabel.
STYLE_INDICATOR_STROKECOLOR: 'indicatorStrokeColor'
Defines the key for the indicator width.
STYLE_INDICATOR_WIDTH: 'indicatorWidth'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_JETTY_SIZE: 'jettySize'
Defines the key for the label background color.
STYLE_LABEL_BACKGROUNDCOLOR: 'labelBackgroundColor'
Defines the key for the label border color.
STYLE_LABEL_BORDERCOLOR: 'labelBorderColor'
Defines the key for the label padding, ie.
STYLE_LABEL_PADDING: 'labelPadding'
Defines the key for the horizontal label position of vertices.
STYLE_LABEL_POSITION: 'labelPosition'
Defines the key for the width of the label if the label position is not center.
STYLE_LABEL_WIDTH: 'labelWidth'
Defines the key for the loop style.
STYLE_LOOP: 'loopStyle'
Defines the key for the margin between the ellipses in the double ellipse shape.
STYLE_MARGIN: 'margin'
Defines the key for the movable style.
STYLE_MOVABLE: 'movable'
Defines the key for the noEdgeStyle style.
STYLE_NOEDGESTYLE: 'noEdgeStyle'
Defines the key for the noLabel style.
STYLE_NOLABEL: 'noLabel'
Defines the key for the opacity style.
STYLE_OPACITY: 'opacity'
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
STYLE_ORTHOGONAL: 'orthogonal'
Defines the key for the orthogonal loop style.
STYLE_ORTHOGONAL_LOOP: 'orthogonalLoop'
Defines the key for the overflow style.
STYLE_OVERFLOW: 'overflow'
Defines the key for the perimeter style.
STYLE_PERIMETER: 'perimeter'
Defines the key for the perimeter spacing.
STYLE_PERIMETER_SPACING: 'perimeterSpacing'
Specifies if pointer events should be fired on transparent backgrounds.
STYLE_POINTER_EVENTS: 'pointerEvents'
Defines the direction(s) that edges are allowed to connect to cells in.
STYLE_PORT_CONSTRAINT: 'portConstraint'
Define whether port constraint directions are rotated with vertex rotation.
STYLE_PORT_CONSTRAINT_ROTATION: 'portConstraintRotation'
Defines the key for the resizable style.
STYLE_RESIZABLE: 'resizable'
Defines the key for the resizeWidth style.
STYLE_RESIZE_WIDTH: 'resizeWidth'
Defines the key for the rotatable style.
STYLE_ROTATABLE: 'rotatable'
Defines the key for the rotation style.
STYLE_ROTATION: 'rotation'
Defines the key for the rounded style.
STYLE_ROUNDED: 'rounded'
Defines the key for the horizontal routing center.
STYLE_ROUTING_CENTER_X: 'routingCenterX'
Defines the key for the vertical routing center.
STYLE_ROUTING_CENTER_Y: 'routingCenterY'
Defines the key for the segment style.
STYLE_SEGMENT: 'segment'
Defines the key for the separatorColor style.
STYLE_SEPARATORCOLOR: 'separatorColor'
Defines the key for the shadow style.
STYLE_SHADOW: 'shadow'
Defines the key for the shape.
STYLE_SHAPE: 'shape'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_SOURCE_JETTY_SIZE: 'sourceJettySize'
Defines the key for the source perimeter spacing.
STYLE_SOURCE_PERIMETER_SPACING: 'sourcePerimeterSpacing'
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
STYLE_SOURCE_PORT: 'sourcePort'
Defines the direction(s) that edges are allowed to connect to sources in.
STYLE_SOURCE_PORT_CONSTRAINT: 'sourcePortConstraint'
Defines the key for the spacing.
STYLE_SPACING: 'spacing'
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_BOTTOM: 'spacingBottom'
Defines the key for the spacingLeft style.
STYLE_SPACING_LEFT: 'spacingLeft'
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_RIGHT: 'spacingRight'
Defines the key for the spacingTop style.
STYLE_SPACING_TOP: 'spacingTop'
Defines the key for the start arrow marker.
STYLE_STARTARROW: 'startArrow'
Defines the key for the startFill style.
STYLE_STARTFILL: 'startFill'
Defines the key for the startSize style.
STYLE_STARTSIZE: 'startSize'
Defines the key for the stroke opacity style.
STYLE_STROKE_OPACITY: 'strokeOpacity'
Defines the key for the strokeColor style.
STYLE_STROKECOLOR: 'strokeColor'
Defines the key for the strokeWidth style.
STYLE_STROKEWIDTH: 'strokeWidth'
Defines the key for the fill color of the swimlane background.
STYLE_SWIMLANE_FILLCOLOR: 'swimlaneFillColor'
Defines the key for the swimlaneLine style.
STYLE_SWIMLANE_LINE: 'swimlaneLine'
Defines the key for the target perimeter spacing.
STYLE_TARGET_PERIMETER_SPACING: 'targetPerimeterSpacing'
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
STYLE_TARGET_PORT: 'targetPort'
Defines the direction(s) that edges are allowed to connect to targets in.
STYLE_TARGET_PORT_CONSTRAINT: 'targetPortConstraint'
Defines the key for the text direction style.
STYLE_TEXT_DIRECTION: 'textDirection'
Defines the key for the text opacity style.
STYLE_TEXT_OPACITY: 'textOpacity'
Defines the key for the verticalAlign style.
STYLE_VERTICAL_ALIGN: 'verticalAlign'
Defines the key for the vertical label position of vertices.
STYLE_VERTICAL_LABEL_POSITION: 'verticalLabelPosition'
Defines the key for the white-space style.
STYLE_WHITE_SPACE: 'whiteSpace'
Stores the value of styleEnabled passed to the constructor.
this.styleEnabled
Inner callback to update the style of the given mxCell using mxCell.setStyle and return the previous style.
mxGraphModel.prototype.styleForCellChanged = function( cell, style )
Holds the mxStylesheet that defines the appearance of the cells.
mxGraph.prototype.stylesheet
URL of the image to be used for the submenu icon.
mxPopupMenu.prototype.submenuImage
Submits the given parameters to the specified URL using mxXmlRequest.simulate and returns the mxXmlRequest.
submit: function( url, params, doc, target )
Specifies the event name for suspend.
SUSPEND: 'suspend'
Optional boolean flag to suspend updates.
mxOutline.prototype.suspended
Specifies if pointer events should be handled.
mxShape.prototype.svgPointerEvents
Sets stroke tolerance to 0 for SVG.
mxCylinder.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxShape.prototype.svgStrokeTolerance
Swaps the x, y, width and height with the values stored in alternateBounds and puts the previous values into alternateBounds as a rectangle.
mxGeometry.prototype.swap = function()
Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.
mxGraph.prototype.swapBounds = function( cell, willCollapse )
Swaps the styles for the given names in the graph’s stylesheet and refreshes the graph.
mxEditor.prototype.swapStyles = function ( first, second )
Updates the size of the given swimlane to match that of any existing siblings swimlanes.
mxSwimlaneManager.prototype.swimlaneAdded = function( swimlane )
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneIndicatorColorAttribute
Specifies if nesting of swimlanes is allowed.
mxGraph.prototype.swimlaneNesting
Specifies if new cells must be inserted into an existing swimlane.
mxEditor.prototype.swimlaneRequired
Holds the array of mxCell of the ordered swimlanes to lay out
mxSwimlaneLayout.prototype.swimlanes
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxGraph.prototype.swimlaneSelectionEnabled
Specifies the spacing between swimlanes if automatic layout is turned on in layoutDiagram.
mxEditor.prototype.swimlaneSpacing
T | |
table, mxForm | |
TAP_AND_HOLD | |
tapAndHold, mxGraph | |
tapAndHoldDelay, mxGraph | |
tapAndHoldEnabled, mxGraph | |
tapAndHoldInProgress, mxGraph | |
tapAndHoldValid, mxGraph | |
target | |
TARGET_HIGHLIGHT_COLOR, mxConstants | |
targetConnectImage, mxConnectionHandler | |
targetJettySize, mxConstants | |
targetPoint, mxGeometry | |
targetWindow, mxPrintPreview | |
tasks, mxEditor | |
tasksResource, mxEditor | |
tasksTop, mxEditor | |
tasksWindowImage, mxEditor | |
temp, mxGraphAbstractHierarchyCell | |
temperature, mxFastOrganicLayout | |
template, mxObjectCodec | |
templates, mxEditor | |
Templates, mxEditor | |
terminalDistance, mxCellState | |
terminalForCellChanged, mxGraphModel | |
text | |
TEXT_DIRECTION_AUTO, mxConstants | |
TEXT_DIRECTION_DEFAULT, mxConstants | |
TEXT_DIRECTION_LTR, mxConstants | |
TEXT_DIRECTION_RTL, mxConstants | |
textarea, mxCellEditor | |
textEnabled | |
textNode, mxCellEditor | |
textOffset, mxSvgCanvas2D | |
textWidthPadding, mxText | |
thread, mxAnimation | |
tightenToSource | |
timerAutoScroll, mxGraph | |
title | |
toDegree, mxUtils | |
TOGGLE_CELLS | |
toggleCells, mxGraph | |
toggleCellStyle, mxGraph | |
toggleCellStyleFlags, mxGraph | |
toggleCellStyles, mxGraph | |
tolerance | |
toolbar | |
tooltip, mxCellOverlay | |
TOOLTIP_VERTICAL_OFFSET, mxConstants | |
TopToBottom, mxEdgeStyle | |
toRadians, mxUtils | |
toString | |
TRACE, mxLog | |
transformControlPoint, mxGraphView | |
translate | |
TRANSLATE | |
TRANSLATE_CONTROL_POINTS, mxGeometry | |
translateCell, mxGraph | |
translateState, mxCellStatePreview | |
translateToScrollPosition, mxGraph | |
transpose, mxMedianHybridCrossingReduction | |
traverse | |
traverseAncestors | |
treeLayout, mxEditor | |
TrianglePerimeter, mxPerimeter | |
trigger, mxCellEditor | |
triggerX, mxPopupMenuHandler | |
triggerY, mxPopupMenuHandler | |
trim | |
type, mxMultiplicity | |
typeError, mxMultiplicity |
T | |
table, mxForm | |
TAP_AND_HOLD | |
tapAndHold, mxGraph | |
tapAndHoldDelay, mxGraph | |
tapAndHoldEnabled, mxGraph | |
tapAndHoldInProgress, mxGraph | |
tapAndHoldValid, mxGraph | |
target | |
TARGET_HIGHLIGHT_COLOR, mxConstants | |
targetConnectImage, mxConnectionHandler | |
targetJettySize, mxConstants | |
targetPoint, mxGeometry | |
targetWindow, mxPrintPreview | |
tasks, mxEditor | |
tasksResource, mxEditor | |
tasksTop, mxEditor | |
tasksWindowImage, mxEditor | |
temp, mxGraphAbstractHierarchyCell | |
temperature, mxFastOrganicLayout | |
template, mxObjectCodec | |
templates, mxEditor | |
Templates, mxEditor | |
terminalDistance, mxCellState | |
terminalForCellChanged, mxGraphModel | |
text | |
TEXT_DIRECTION_AUTO, mxConstants | |
TEXT_DIRECTION_DEFAULT, mxConstants | |
TEXT_DIRECTION_LTR, mxConstants | |
TEXT_DIRECTION_RTL, mxConstants | |
textarea, mxCellEditor | |
textEnabled | |
textNode, mxCellEditor | |
textOffset, mxSvgCanvas2D | |
textWidthPadding, mxText | |
thread, mxAnimation | |
tightenToSource | |
timerAutoScroll, mxGraph | |
title | |
toDegree, mxUtils | |
TOGGLE_CELLS | |
toggleCells, mxGraph | |
toggleCellStyle, mxGraph | |
toggleCellStyleFlags, mxGraph | |
toggleCellStyles, mxGraph | |
tolerance | |
toolbar | |
tooltip, mxCellOverlay | |
TOOLTIP_VERTICAL_OFFSET, mxConstants | |
TopToBottom, mxEdgeStyle | |
toRadians, mxUtils | |
toString | |
TRACE, mxLog | |
transformControlPoint, mxGraphView | |
translate | |
TRANSLATE | |
TRANSLATE_CONTROL_POINTS, mxGeometry | |
translateCell, mxGraph | |
translateState, mxCellStatePreview | |
translateToScrollPosition, mxGraph | |
transpose, mxMedianHybridCrossingReduction | |
traverse | |
traverseAncestors | |
treeLayout, mxEditor | |
TrianglePerimeter, mxPerimeter | |
trigger, mxCellEditor | |
triggerX, mxPopupMenuHandler | |
triggerY, mxPopupMenuHandler | |
trim | |
type, mxMultiplicity | |
typeError, mxMultiplicity |
Holds the DOM node that represents the table.
mxForm.prototype.table
Specifies the event name for tapAndHold.
TAP_AND_HOLD: 'tapAndHold'
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraph.prototype.tapAndHold = function( me )
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldDelay
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldEnabled
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldInProgress
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxGraph.prototype.tapAndHoldValid
Reference to the target terminal.
mxCell.prototype.target
The node this edge targets
mxGraphHierarchyEdge.prototype.target
Reference to the target DOM, that is, the DOM node where the key event listeners are installed.
mxKeyHandler.prototype.target
Specifies if the connect icon should be centered on the target state while connections are being previewed.
mxConnectionHandler.prototype.targetConnectImage
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_TARGET_JETTY_SIZE: 'targetJettySize'
Defines the target mxPoint of the edge.
mxGeometry.prototype.targetPoint
Assign any window here to redirect the rendering in open.
mxPrintPreview.prototype.targetWindow
Holds the mxWindow created in showTasks.
mxEditor.prototype.tasks
Specifies the resource key for the tasks window title.
mxEditor.prototype.tasksResource
Specifies the top coordinate of the tasks window in pixels.
mxEditor.prototype.tasksTop
Icon for the tasks window.
mxEditor.prototype.tasksWindowImage
Temporary variable for general use.
mxGraphAbstractHierarchyCell.prototype.temp
Temperature to limit displacement at later stages of layout.
mxFastOrganicLayout.prototype.temperature
Holds the template object associated with this codec.
mxObjectCodec.prototype.template
Maps from names to protoype cells to be used in the toolbar for inserting new cells into the diagram.
mxEditor.prototype.templates
Caches the distance between the end points for an edge.
mxCellState.prototype.terminalDistance
Inner helper function to update the terminal of the edge using mxCell.insertEdge and return the previous terminal.
mxGraphModel.prototype.terminalForCellChanged = function( edge, terminal, isSource )
Holds the mxText that represents the label of the cell.
mxCellState.prototype.text
Paints the given text.
mxSvgCanvas2D.prototype.text = function( x, y, w, h, str, align, valign, wrap, format, overflow, clip, rotation, dir )
Paints the given text.
mxVmlCanvas2D.prototype.text = function( x, y, w, h, str, align, valign, wrap, format, overflow, clip, rotation, dir )
Paints the given text.
mxXmlCanvas2D.prototype.text = function( x, y, w, h, str, align, valign, wrap, format, overflow, clip, rotation, dir )
Constant for text direction automatic.
TEXT_DIRECTION_AUTO: 'auto'
Constant for text direction default.
TEXT_DIRECTION_DEFAULT: ''
Constant for text direction left to right.
TEXT_DIRECTION_LTR: 'ltr'
Constant for text direction right to left.
TEXT_DIRECTION_RTL: 'rtl'
Holds the DIV that is used for text editing.
mxCellEditor.prototype.textarea
Specifies if text output should be enabled.
mxSvgCanvas2D.prototype.textEnabled
Specifies if text output should be enabledetB.
mxVmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxXmlCanvas2D.prototype.textEnabled
Reference to the label DOM node that has been hidden.
mxCellEditor.prototype.textNode
Offset to be used for text elements.
mxSvgCanvas2D.prototype.textOffset
Specifies the padding to be added to the text width for the bounding box.
mxText.prototype.textWidthPadding
Reference to the thread while the animation is running.
mxAnimation.prototype.thread
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxHierarchicalLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneModel.prototype.tightenToSource
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars.
mxGraph.prototype.timerAutoScroll
Holds the title of the preview window.
mxPrintPreview.prototype.title
Reference to the DOM node (TD) that contains the title.
mxWindow.prototype.title
Converts the given radians to degree.
toDegree: function( rad )
Specifies the event name for toggleCells.
TOGGLE_CELLS: 'toggleCells'
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.toggleCells = function( show, cells, includeEdges )
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyle = function( key, defaultValue, cell )
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.toggleCellStyleFlags = function( key, flag, cells )
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyles = function( key, defaultValue, cells )
Optional tolerance for hit-detection in getHandleForEvent.
mxEdgeHandler.prototype.tolerance
Tolerance for a move to be handled as a single click.
mxGraph.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxVertexHandler.prototype.tolerance
Holds the internal mxToolbar.
mxDefaultToolbar.prototype.toolbar
Holds a mxDefaultToolbar for displaying the toolbar.
mxEditor.prototype.toolbar
Holds the optional string to be used as the tooltip.
mxCellOverlay.prototype.tooltip
Defines the vertical offset for the tooltip.
TOOLTIP_VERTICAL_OFFSET: 16
Implements a horizontal elbow edge.
TopToBottom: function( state, source, target, points, result )
Converts the given degree to radians.
toRadians: function( deg )
Returns the textual representation of the overlay to be used as the tooltip.
mxCellOverlay.prototype.toString = function()
Returns a textual representation of the specified object.
toString: function( obj )
Specified if the output for enter and leave should be visible in the console.
TRACE: false
Transforms the given control point to an absolute point.
mxGraphView.prototype.transformControlPoint = function( state, pt )
Translates the current state.
mxAbstractCanvas2D.prototype.translate = function( dx, dy )
Translates the geometry by the specified amount.
mxGeometry.prototype.translate = function( dx, dy )
mxPoint that specifies the current translation.
mxGraphView.prototype.translate
Translates the output.
mxXmlCanvas2D.prototype.translate = function( dx, dy )
Specifies the event name for translate.
TRANSLATE: 'translate'
Global switch to translate the points in translate.
mxGeometry.prototype.TRANSLATE_CONTROL_POINTS
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxGraph.prototype.translateCell = function( cell, dx, dy )
mxCellStatePreview.prototype.translateState = function( state, dx, dy )
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received.
mxGraph.prototype.translateToScrollPosition
Takes each possible adjacent cell pair on each rank and checks if swapping them around reduces the number of crossing
mxMedianHybridCrossingReduction.prototype.transpose = function( mainLoopIteration, model )
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraph.prototype.traverse = function( vertex, directed, func, edge, visited, inverse )
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraphLayout.traverse = function( vertex, directed, func, edge, visited )
Whether or not to drill into child cells and layout in reverse group order.
mxHierarchicalLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxSwimlaneLayout.prototype.traverseAncestors
Executes a vertical or horizontal compact tree layout using the specified cell as an argument.
mxEditor.prototype.treeLayout = function ( cell, horizontal )
Describes a triangle perimeter.
TrianglePerimeter: function ( bounds, vertex, next, orthogonal )
Reference to the event that was used to start editing.
mxCellEditor.prototype.trigger
X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerX
Y-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerY
Removes all pending steps after indexOfNextAdd from the history, invoking die on each edit.
mxUndoManager.prototype.trim = function()
Strips all whitespaces from both end of the string.
trim: function( str, chars )
Defines the type of the source or target terminal.
mxMultiplicity.prototype.type
Holds the localized error message to be displayed if the type of the neighbor for a connection does not match the rule.
mxMultiplicity.prototype.typeError
Holds the DOM node that represents the table.
mxForm.prototype.table
Specifies the event name for tapAndHold.
TAP_AND_HOLD: 'tapAndHold'
Handles the mxMouseEvent by highlighting the mxCellState.
mxGraph.prototype.tapAndHold = function( me )
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldDelay
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldEnabled
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldInProgress
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxGraph.prototype.tapAndHoldValid
Reference to the target terminal.
mxCell.prototype.target
The node this edge targets
mxGraphHierarchyEdge.prototype.target
Reference to the target DOM, that is, the DOM node where the key event listeners are installed.
mxKeyHandler.prototype.target
Specifies if the connect icon should be centered on the target state while connections are being previewed.
mxConnectionHandler.prototype.targetConnectImage
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_TARGET_JETTY_SIZE: 'targetJettySize'
Defines the target mxPoint of the edge.
mxGeometry.prototype.targetPoint
Assign any window here to redirect the rendering in open.
mxPrintPreview.prototype.targetWindow
Holds the mxWindow created in showTasks.
mxEditor.prototype.tasks
Specifies the resource key for the tasks window title.
mxEditor.prototype.tasksResource
Specifies the top coordinate of the tasks window in pixels.
mxEditor.prototype.tasksTop
Icon for the tasks window.
mxEditor.prototype.tasksWindowImage
Temporary variable for general use.
mxGraphAbstractHierarchyCell.prototype.temp
Temperature to limit displacement at later stages of layout.
mxFastOrganicLayout.prototype.temperature
Holds the template object associated with this codec.
mxObjectCodec.prototype.template
Maps from names to protoype cells to be used in the toolbar for inserting new cells into the diagram.
mxEditor.prototype.templates
Caches the distance between the end points for an edge.
mxCellState.prototype.terminalDistance
Inner helper function to update the terminal of the edge using mxCell.insertEdge and return the previous terminal.
mxGraphModel.prototype.terminalForCellChanged = function( edge, terminal, isSource )
Holds the mxText that represents the label of the cell.
mxCellState.prototype.text
Paints the given text.
mxSvgCanvas2D.prototype.text = function( x, y, w, h, str, align, valign, wrap, format, overflow, clip, rotation, dir )
Paints the given text.
mxVmlCanvas2D.prototype.text = function( x, y, w, h, str, align, valign, wrap, format, overflow, clip, rotation, dir )
Paints the given text.
mxXmlCanvas2D.prototype.text = function( x, y, w, h, str, align, valign, wrap, format, overflow, clip, rotation, dir )
Constant for text direction automatic.
TEXT_DIRECTION_AUTO: 'auto'
Constant for text direction default.
TEXT_DIRECTION_DEFAULT: ''
Constant for text direction left to right.
TEXT_DIRECTION_LTR: 'ltr'
Constant for text direction right to left.
TEXT_DIRECTION_RTL: 'rtl'
Holds the DIV that is used for text editing.
mxCellEditor.prototype.textarea
Specifies if text output should be enabled.
mxSvgCanvas2D.prototype.textEnabled
Specifies if text output should be enabledetB.
mxVmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxXmlCanvas2D.prototype.textEnabled
Reference to the label DOM node that has been hidden.
mxCellEditor.prototype.textNode
Offset to be used for text elements.
mxSvgCanvas2D.prototype.textOffset
Specifies the padding to be added to the text width for the bounding box.
mxText.prototype.textWidthPadding
Reference to the thread while the animation is running.
mxAnimation.prototype.thread
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxHierarchicalLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneModel.prototype.tightenToSource
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars.
mxGraph.prototype.timerAutoScroll
Holds the title of the preview window.
mxPrintPreview.prototype.title
Reference to the DOM node (TD) that contains the title.
mxWindow.prototype.title
Converts the given radians to degree.
toDegree: function( rad )
Specifies the event name for toggleCells.
TOGGLE_CELLS: 'toggleCells'
Sets the visible state of the specified cells and all connected edges if includeEdges is true.
mxGraph.prototype.toggleCells = function( show, cells, includeEdges )
Toggles the boolean value for the given key in the style of the given cell and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyle = function( key, defaultValue, cell )
Toggles the given bit for the given key in the styles of the specified cells.
mxGraph.prototype.toggleCellStyleFlags = function( key, flag, cells )
Toggles the boolean value for the given key in the style of the given cells and returns the new value as 0 or 1.
mxGraph.prototype.toggleCellStyles = function( key, defaultValue, cells )
Optional tolerance for hit-detection in getHandleForEvent.
mxEdgeHandler.prototype.tolerance
Tolerance for a move to be handled as a single click.
mxGraph.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxVertexHandler.prototype.tolerance
Holds the internal mxToolbar.
mxDefaultToolbar.prototype.toolbar
Holds a mxDefaultToolbar for displaying the toolbar.
mxEditor.prototype.toolbar
Holds the optional string to be used as the tooltip.
mxCellOverlay.prototype.tooltip
Defines the vertical offset for the tooltip.
TOOLTIP_VERTICAL_OFFSET: 16
Implements a horizontal elbow edge.
TopToBottom: function( state, source, target, points, result )
Converts the given degree to radians.
toRadians: function( deg )
Returns the textual representation of the overlay to be used as the tooltip.
mxCellOverlay.prototype.toString = function()
Returns a textual representation of the specified object.
toString: function( obj )
Specified if the output for enter and leave should be visible in the console.
TRACE: false
Transforms the given control point to an absolute point.
mxGraphView.prototype.transformControlPoint = function( state, pt )
Translates the current state.
mxAbstractCanvas2D.prototype.translate = function( dx, dy )
Translates the geometry by the specified amount.
mxGeometry.prototype.translate = function( dx, dy )
mxPoint that specifies the current translation.
mxGraphView.prototype.translate
Translates the output.
mxXmlCanvas2D.prototype.translate = function( dx, dy )
Specifies the event name for translate.
TRANSLATE: 'translate'
Global switch to translate the points in translate.
mxGeometry.prototype.TRANSLATE_CONTROL_POINTS
Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.
mxGraph.prototype.translateCell = function( cell, dx, dy )
mxCellStatePreview.prototype.translateState = function( state, dx, dy )
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received.
mxGraph.prototype.translateToScrollPosition
Takes each possible adjacent cell pair on each rank and checks if swapping them around reduces the number of crossing
mxMedianHybridCrossingReduction.prototype.transpose = function( mainLoopIteration, model )
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraph.prototype.traverse = function( vertex, directed, func, edge, visited, inverse )
Traverses the (directed) graph invoking the given function for each visited vertex and edge.
mxGraphLayout.traverse = function( vertex, directed, func, edge, visited )
Whether or not to drill into child cells and layout in reverse group order.
mxHierarchicalLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxSwimlaneLayout.prototype.traverseAncestors
Executes a vertical or horizontal compact tree layout using the specified cell as an argument.
mxEditor.prototype.treeLayout = function ( cell, horizontal )
Describes a triangle perimeter.
TrianglePerimeter: function ( bounds, vertex, next, orthogonal )
Reference to the event that was used to start editing.
mxCellEditor.prototype.trigger
X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerX
Y-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerY
Removes all pending steps after indexOfNextAdd from the history, invoking die on each edit.
mxUndoManager.prototype.trim = function()
Strips all whitespaces from both end of the string.
trim: function( str, chars )
Defines the type of the source or target terminal.
mxMultiplicity.prototype.type
Holds the localized error message to be displayed if the type of the neighbor for a connection does not match the rule.
mxMultiplicity.prototype.typeError
U | |
undo | |
UNDO | |
undoableEditHappened, mxUndoManager | |
undoManager, mxEditor | |
undone, mxUndoableEdit | |
UNGROUP_CELLS | |
ungroupCells, mxGraph | |
union, mxVertexHandler | |
unmark, mxCellMarker | |
unscaledWidth, mxCellState | |
UP | |
update | |
UPDATE_CELL_SIZE | |
updateAlternateBounds, mxGraph | |
updateAnimation | |
updateBaseUrl, mxUrlConverter | |
updateBoundingBox | |
updateBoundsFromPoints, mxShape | |
updateBoundsFromStencil, mxGraphView | |
updateCachedBounds, mxCellState | |
updateCellSize, mxGraph | |
updateCellState, mxGraphView | |
updateContainerStyle, mxGraphView | |
updateCurrentState, mxConnectionHandler | |
updateCursor, mxGraphHandler | |
updateDefaultMode, mxToolbar | |
updateEdgeBounds, mxGraphView | |
updateEdgeLabelOffset, mxGraphView | |
updateEdgeParent, mxGraphModel | |
updateEdgeParents, mxGraphModel | |
updateEdgeState | |
updateFill, mxSvgCanvas2D | |
updateFixedTerminalPoint, mxGraphView | |
updateFixedTerminalPoints, mxGraphView | |
updateFloatingTerminalPoint, mxGraphView | |
updateFloatingTerminalPoints, mxGraphView | |
updateFont | |
updateGroupBounds | |
updateHandler | |
updateHint | |
updateHtmlCanvasSize, mxGraphView | |
updateHtmlFilter, mxText | |
updateHtmlFilters, mxShape | |
updateHtmlTransform, mxText | |
updateIcons, mxConnectionHandler | |
updateLevel, mxGraphModel | |
updateLivePreview, mxVertexHandler | |
updateMinBounds, mxVertexHandler | |
updateMouseEvent, mxGraph | |
updateOnPan, mxOutline | |
updatePageBreaks, mxGraph | |
updateParentHighlight, mxVertexHandler | |
updatePoints, mxGraphView | |
updatePreviewShape, mxGraphHandler | |
updatePreviewState | |
updateSize, mxText | |
updateStroke, mxSvgCanvas2D | |
updateStrokeAttributes, mxSvgCanvas2D | |
updateStyle, mxGraphView | |
updateTransform, mxShape | |
updateValue, mxText | |
updateVertexLabelOffset, mxGraphView | |
updateVertexState, mxGraphView | |
updateVmlContainer | |
updatingDocumentResource, mxGraphView | |
updatingSelectionResource, mxGraphSelectionModel | |
url, mxXmlRequest | |
urlHelp, mxEditor | |
urlImage, mxEditor | |
urlPost, mxEditor | |
useBoundingBox, mxGraphLayout | |
useGrid, mxPanningHandler | |
useGuidesForEvent, mxGraphHandler | |
useInputOrigin, mxFastOrganicLayout | |
useLeftButtonForPanning, mxPanningHandler | |
useLeftButtonForPopup, mxPopupMenu | |
usePopupTrigger, mxPanningHandler | |
username, mxXmlRequest | |
useScrollbarsForPanning, mxGraph | |
useSvgBoundingBox |
U | |
undo | |
UNDO | |
undoableEditHappened, mxUndoManager | |
undoManager, mxEditor | |
undone, mxUndoableEdit | |
UNGROUP_CELLS | |
ungroupCells, mxGraph | |
union, mxVertexHandler | |
unmark, mxCellMarker | |
unscaledWidth, mxCellState | |
UP | |
update | |
UPDATE_CELL_SIZE | |
updateAlternateBounds, mxGraph | |
updateAnimation | |
updateBaseUrl, mxUrlConverter | |
updateBoundingBox | |
updateBoundsFromPoints, mxShape | |
updateBoundsFromStencil, mxGraphView | |
updateCachedBounds, mxCellState | |
updateCellSize, mxGraph | |
updateCellState, mxGraphView | |
updateContainerStyle, mxGraphView | |
updateCurrentState, mxConnectionHandler | |
updateCursor, mxGraphHandler | |
updateDefaultMode, mxToolbar | |
updateEdgeBounds, mxGraphView | |
updateEdgeLabelOffset, mxGraphView | |
updateEdgeParent, mxGraphModel | |
updateEdgeParents, mxGraphModel | |
updateEdgeState | |
updateFill, mxSvgCanvas2D | |
updateFixedTerminalPoint, mxGraphView | |
updateFixedTerminalPoints, mxGraphView | |
updateFloatingTerminalPoint, mxGraphView | |
updateFloatingTerminalPoints, mxGraphView | |
updateFont | |
updateGroupBounds | |
updateHandler | |
updateHint | |
updateHtmlCanvasSize, mxGraphView | |
updateHtmlFilter, mxText | |
updateHtmlFilters, mxShape | |
updateHtmlTransform, mxText | |
updateIcons, mxConnectionHandler | |
updateLevel, mxGraphModel | |
updateLivePreview, mxVertexHandler | |
updateMinBounds, mxVertexHandler | |
updateMouseEvent, mxGraph | |
updateOnPan, mxOutline | |
updatePageBreaks, mxGraph | |
updateParentHighlight, mxVertexHandler | |
updatePoints, mxGraphView | |
updatePreviewShape, mxGraphHandler | |
updatePreviewState | |
updateSize, mxText | |
updateStroke, mxSvgCanvas2D | |
updateStrokeAttributes, mxSvgCanvas2D | |
updateStyle, mxGraphView | |
updateTransform, mxShape | |
updateValue, mxText | |
updateVertexLabelOffset, mxGraphView | |
updateVertexState, mxGraphView | |
updateVmlContainer | |
updatingDocumentResource, mxGraphView | |
updatingSelectionResource, mxGraphSelectionModel | |
url, mxXmlRequest | |
urlHelp, mxEditor | |
urlImage, mxEditor | |
urlPost, mxEditor | |
useBoundingBox, mxGraphLayout | |
useGrid, mxPanningHandler | |
useGuidesForEvent, mxGraphHandler | |
useInputOrigin, mxFastOrganicLayout | |
useLeftButtonForPanning, mxPanningHandler | |
useLeftButtonForPopup, mxPopupMenu | |
usePopupTrigger, mxPanningHandler | |
username, mxXmlRequest | |
useScrollbarsForPanning, mxGraph | |
useSvgBoundingBox |
Undo the last change in graph.
mxEditor.prototype.undo = function ()
Undoes all changes in this edit.
mxUndoableEdit.prototype.undo = function()
Undoes the last change.
mxUndoManager.prototype.undo = function()
Specifies the event name for undo.
UNDO: 'undo'
Method to be called to add new undoable edits to the history.
mxUndoManager.prototype.undoableEditHappened = function( undoableEdit )
Holds an mxUndoManager for the command history.
mxEditor.prototype.undoManager
Specifies if this edit has been undone.
mxUndoableEdit.prototype.undone
Specifies the event name for ungroupCells.
UNGROUP_CELLS: 'ungroupCells'
Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.
mxGraph.prototype.ungroupCells = function( cells )
Returns the union of the given bounds and location for the specified handle index.
mxVertexHandler.prototype.union = function( bounds, dx, dy, index, gridEnabled, scale, tr, constrained, centered )
Hides the marker and fires a mark event.
mxCellMarker.prototype.unmark = function()
Holds the unscaled width of the state.
mxCellState.prototype.unscaledWidth
Specifies the event name for up.
UP: 'up'
Updates the state of this handler based on the given mxMouseEvent.
mxConstraintHandler.prototype.update = function( me, source, existingEdge, point )
Updates the outline.
mxOutline.prototype.update = function( revalidate )
Sets currentX and currentY and calls repaint.
mxRubberband.prototype.update = function( x, y )
Specifies the event name for updateCellSize.
UPDATE_CELL_SIZE: 'updateCellSize'
Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.
mxGraph.prototype.updateAlternateBounds = function( cell, geo, willCollapse )
Hook for subclassers to implement the animation.
mxAnimation.prototype.updateAnimation = function()
Animation step.
mxMorphing.prototype.updateAnimation = function()
Private helper function to update the base URL.
mxUrlConverter.prototype.updateBaseUrl = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxConnector.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxShape.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using the given node and position.
mxText.prototype.updateBoundingBox = function()
Updates the bounds based on the points.
mxShape.prototype.updateBoundsFromPoints = function()
Updates the bounds of the given cell state to reflect the bounds of the stencil if it has a fixed aspect and returns the previous bounds as an mxRectangle if the bounds have been modified or null otherwise.
mxGraphView.prototype.updateBoundsFromStencil = function( state )
Updates the cellBounds and paintBounds.
mxCellState.prototype.updateCachedBounds = function()
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraph.prototype.updateCellSize = function( cell, ignoreChildren )
Updates the given mxCellState.
mxGraphView.prototype.updateCellState = function( state )
Updates the style of the container after installing the SVG DOM elements.
mxGraphView.prototype.updateContainerStyle = function( container )
Updates the current state for a given mouse move event by using the marker.
mxConnectionHandler.prototype.updateCurrentState = function( me, point )
Specifies if a move cursor should be shown if the mouse is over a movable cell.
mxGraphHandler.prototype.updateCursor
Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.
mxToolbar.prototype.updateDefaultMode
Updates the given state using the bounding box of t he absolute points.
mxGraphView.prototype.updateEdgeBounds = function( state )
Updates mxCellState.absoluteOffset for the given state.
mxGraphView.prototype.updateEdgeLabelOffset = function( state )
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
mxGraphModel.prototype.updateEdgeParent = function( edge, root )
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
mxGraphModel.prototype.updateEdgeParents = function( cell, root )
Updates edgeState.
mxConnectionHandler.prototype.updateEdgeState = function( current, constraint )
Validates the given cell state.
mxGraphView.prototype.updateEdgeState = function( state, geo )
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateFill = function()
Sets the fixed source or target terminal point on the given edge.
mxGraphView.prototype.updateFixedTerminalPoint = function( edge, terminal, source, constraint )
Sets the initial absolute terminal points in the given state before the edge style is computed.
mxGraphView.prototype.updateFixedTerminalPoints = function( edge, source, target )
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
mxGraphView.prototype.updateFloatingTerminalPoint = function( edge, start, end, source )
Updates the terminal points in the given state after the edge style was computed for the edge.
mxGraphView.prototype.updateFloatingTerminalPoints = function( state, source, target )
Updates the text properties for the given node.
mxSvgCanvas2D.prototype.updateFont = function( node )
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.updateFont = function( node )
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxGraph.prototype.updateGroupBounds = function( cells, border, moveGroup, topBorder, rightBorder, bottomBorder, leftBorder )
Updates the bounds of the given array of groups so that it includes all child vertices.
mxSwimlaneLayout.prototype.updateGroupBounds = function()
Holds the function that handles the endUpdate event.
mxLayoutManager.prototype.updateHandler
Updates the handler for the given shape if one exists.
mxSelectionCellsHandler.prototype.updateHandler = function( state )
Hook for subclassers do show details while the handler is active.
mxEdgeHandler.prototype.updateHint = function( me, point )
Hook for subclassers do show details while the handler is active.
mxGraphHandler.prototype.updateHint = function( me )
Hook for subclassers do show details while the handler is active.
mxVertexHandler.prototype.updateHint = function( me )
Updates the size of the HTML canvas.
mxGraphView.prototype.updateHtmlCanvasSize = function( width, height )
Rotated text rendering quality is bad for IE9 quirks/IE8 standards
mxText.prototype.updateHtmlFilter = function()
Allow optimization by replacing VML with HTML.
mxShape.prototype.updateHtmlFilters = function( node )
Returns the spacing as an mxPoint.
mxText.prototype.updateHtmlTransform = function()
Hook to update the icon position(s) based on a mouseOver event.
mxConnectionHandler.prototype.updateIcons = function( state, icons, me )
Counter for the depth of nested transactions.
mxGraphModel.prototype.updateLevel
Repaints the live preview.
mxVertexHandler.prototype.updateLivePreview = function( me )
Initializes the shapes required for this vertex handler.
mxVertexHandler.prototype.updateMinBounds = function()
Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
mxGraph.prototype.updateMouseEvent = function( me, evtName )
Specifies if update should be called for mxEvent.PAN in the source graph.
mxOutline.prototype.updateOnPan
Invokes from sizeDidChange to redraw the page breaks.
mxGraph.prototype.updatePageBreaks = function( visible, width, height )
Updates the highlight of the parent if parentHighlightEnabled is true.
mxVertexHandler.prototype.updateParentHighlight = function()
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
mxGraphView.prototype.updatePoints = function( edge, points, source, target )
Updates the bounds of the preview shape.
mxGraphHandler.prototype.updatePreviewShape = function()
Overridden to perform optimization of the edge style result.
mxEdgeSegmentHandler.prototype.updatePreviewState = function( edge, point, terminalState, me )
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeHandler.prototype.updatePreviewState = function( edge, point, terminalState, me, outline )
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.updateSize = function( node, enableWrap )
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateStroke = function()
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateStrokeAttributes = function()
Specifies if the style should be updated in each validation step.
mxGraphView.prototype.updateStyle
Sets the scale and rotation on the given canvas.
mxShape.prototype.updateTransform = function( c, x, y, w, h )
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.updateValue = function()
Updates the absoluteOffset of the given vertex cell state.
mxGraphView.prototype.updateVertexLabelOffset = function( state )
Validates the given cell state.
mxGraphView.prototype.updateVertexState = function( state, geo )
Updates the bounds of the VML container.
mxShape.prototype.updateVmlContainer = function()
Sets the width and height of the container to 1px.
mxText.prototype.updateVmlContainer = function()
Specifies the resource key for the status message while the selection is being updated.
mxGraphSelectionModel.prototype.updatingSelectionResource
Holds the target URL of the request.
mxXmlRequest.prototype.url
Specifies the URL to be used for the contents of the Online Help window.
mxEditor.prototype.urlHelp
Specifies the URL to be used for creating a bitmap of the graph in the image action.
mxEditor.prototype.urlImage
Specifies the URL to be used for posting the diagram to a backend in save.
mxEditor.prototype.urlPost
Boolean indicating if the bounding box of the label should be used if its available.
mxGraphLayout.prototype.useBoundingBox
Specifies if the panning steps should be aligned to the grid size.
mxPanningHandler.prototype.useGrid
Returns true if the guides should be used for the given mxMouseEvent.
mxGraphHandler.prototype.useGuidesForEvent = function( me )
Specifies if the top left corner of the input cells should be the origin of the layout result.
mxFastOrganicLayout.prototype.useInputOrigin
Specifies if panning should be active for the left mouse button.
mxPanningHandler.prototype.useLeftButtonForPanning
Specifies if popupmenus should be activated by clicking the left mouse button.
mxPopupMenu.prototype.useLeftButtonForPopup
Specifies if mxEvent.isPopupTrigger should also be used for panning.
mxPanningHandler.prototype.usePopupTrigger
Specifies the username to be used for authentication.
mxXmlRequest.prototype.username
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
mxGraph.prototype.useScrollbarsForPanning
Allows to use the SVG bounding box in SVG.
mxArrowConnector.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
mxShape.prototype.useSvgBoundingBox
Undo the last change in graph.
mxEditor.prototype.undo = function ()
Undoes all changes in this edit.
mxUndoableEdit.prototype.undo = function()
Undoes the last change.
mxUndoManager.prototype.undo = function()
Specifies the event name for undo.
UNDO: 'undo'
Method to be called to add new undoable edits to the history.
mxUndoManager.prototype.undoableEditHappened = function( undoableEdit )
Holds an mxUndoManager for the command history.
mxEditor.prototype.undoManager
Specifies if this edit has been undone.
mxUndoableEdit.prototype.undone
Specifies the event name for ungroupCells.
UNGROUP_CELLS: 'ungroupCells'
Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.
mxGraph.prototype.ungroupCells = function( cells )
Returns the union of the given bounds and location for the specified handle index.
mxVertexHandler.prototype.union = function( bounds, dx, dy, index, gridEnabled, scale, tr, constrained, centered )
Hides the marker and fires a mark event.
mxCellMarker.prototype.unmark = function()
Holds the unscaled width of the state.
mxCellState.prototype.unscaledWidth
Specifies the event name for up.
UP: 'up'
Updates the state of this handler based on the given mxMouseEvent.
mxConstraintHandler.prototype.update = function( me, source, existingEdge, point )
Updates the outline.
mxOutline.prototype.update = function( revalidate )
Sets currentX and currentY and calls repaint.
mxRubberband.prototype.update = function( x, y )
Specifies the event name for updateCellSize.
UPDATE_CELL_SIZE: 'updateCellSize'
Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.
mxGraph.prototype.updateAlternateBounds = function( cell, geo, willCollapse )
Hook for subclassers to implement the animation.
mxAnimation.prototype.updateAnimation = function()
Animation step.
mxMorphing.prototype.updateAnimation = function()
Private helper function to update the base URL.
mxUrlConverter.prototype.updateBaseUrl = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxConnector.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using createBoundingBox and augmentBoundingBox and stores the result in boundingBox.
mxShape.prototype.updateBoundingBox = function()
Updates the boundingBox for this shape using the given node and position.
mxText.prototype.updateBoundingBox = function()
Updates the bounds based on the points.
mxShape.prototype.updateBoundsFromPoints = function()
Updates the bounds of the given cell state to reflect the bounds of the stencil if it has a fixed aspect and returns the previous bounds as an mxRectangle if the bounds have been modified or null otherwise.
mxGraphView.prototype.updateBoundsFromStencil = function( state )
Updates the cellBounds and paintBounds.
mxCellState.prototype.updateCachedBounds = function()
Updates the size of the given cell in the model using cellSizeUpdated.
mxGraph.prototype.updateCellSize = function( cell, ignoreChildren )
Updates the given mxCellState.
mxGraphView.prototype.updateCellState = function( state )
Updates the style of the container after installing the SVG DOM elements.
mxGraphView.prototype.updateContainerStyle = function( container )
Updates the current state for a given mouse move event by using the marker.
mxConnectionHandler.prototype.updateCurrentState = function( me, point )
Specifies if a move cursor should be shown if the mouse is over a movable cell.
mxGraphHandler.prototype.updateCursor
Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.
mxToolbar.prototype.updateDefaultMode
Updates the given state using the bounding box of t he absolute points.
mxGraphView.prototype.updateEdgeBounds = function( state )
Updates mxCellState.absoluteOffset for the given state.
mxGraphView.prototype.updateEdgeLabelOffset = function( state )
Inner callback to update the parent of the specified mxCell to the nearest-common-ancestor of its two terminals.
mxGraphModel.prototype.updateEdgeParent = function( edge, root )
Updates the parent for all edges that are connected to cell or one of its descendants using updateEdgeParent.
mxGraphModel.prototype.updateEdgeParents = function( cell, root )
Updates edgeState.
mxConnectionHandler.prototype.updateEdgeState = function( current, constraint )
Validates the given cell state.
mxGraphView.prototype.updateEdgeState = function( state, geo )
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateFill = function()
Sets the fixed source or target terminal point on the given edge.
mxGraphView.prototype.updateFixedTerminalPoint = function( edge, terminal, source, constraint )
Sets the initial absolute terminal points in the given state before the edge style is computed.
mxGraphView.prototype.updateFixedTerminalPoints = function( edge, source, target )
Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.
mxGraphView.prototype.updateFloatingTerminalPoint = function( edge, start, end, source )
Updates the terminal points in the given state after the edge style was computed for the edge.
mxGraphView.prototype.updateFloatingTerminalPoints = function( state, source, target )
Updates the text properties for the given node.
mxSvgCanvas2D.prototype.updateFont = function( node )
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.updateFont = function( node )
Updates the bounds of the given groups to include all children and returns the passed-in cells.
mxGraph.prototype.updateGroupBounds = function( cells, border, moveGroup, topBorder, rightBorder, bottomBorder, leftBorder )
Updates the bounds of the given array of groups so that it includes all child vertices.
mxSwimlaneLayout.prototype.updateGroupBounds = function()
Holds the function that handles the endUpdate event.
mxLayoutManager.prototype.updateHandler
Updates the handler for the given shape if one exists.
mxSelectionCellsHandler.prototype.updateHandler = function( state )
Hook for subclassers do show details while the handler is active.
mxEdgeHandler.prototype.updateHint = function( me, point )
Hook for subclassers do show details while the handler is active.
mxGraphHandler.prototype.updateHint = function( me )
Hook for subclassers do show details while the handler is active.
mxVertexHandler.prototype.updateHint = function( me )
Updates the size of the HTML canvas.
mxGraphView.prototype.updateHtmlCanvasSize = function( width, height )
Rotated text rendering quality is bad for IE9 quirks/IE8 standards
mxText.prototype.updateHtmlFilter = function()
Allow optimization by replacing VML with HTML.
mxShape.prototype.updateHtmlFilters = function( node )
Returns the spacing as an mxPoint.
mxText.prototype.updateHtmlTransform = function()
Hook to update the icon position(s) based on a mouseOver event.
mxConnectionHandler.prototype.updateIcons = function( state, icons, me )
Counter for the depth of nested transactions.
mxGraphModel.prototype.updateLevel
Repaints the live preview.
mxVertexHandler.prototype.updateLivePreview = function( me )
Initializes the shapes required for this vertex handler.
mxVertexHandler.prototype.updateMinBounds = function()
Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.
mxGraph.prototype.updateMouseEvent = function( me, evtName )
Specifies if update should be called for mxEvent.PAN in the source graph.
mxOutline.prototype.updateOnPan
Invokes from sizeDidChange to redraw the page breaks.
mxGraph.prototype.updatePageBreaks = function( visible, width, height )
Updates the highlight of the parent if parentHighlightEnabled is true.
mxVertexHandler.prototype.updateParentHighlight = function()
Updates the absolute points in the given state using the specified array of mxPoints as the relative points.
mxGraphView.prototype.updatePoints = function( edge, points, source, target )
Updates the bounds of the preview shape.
mxGraphHandler.prototype.updatePreviewShape = function()
Overridden to perform optimization of the edge style result.
mxEdgeSegmentHandler.prototype.updatePreviewState = function( edge, point, terminalState, me )
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeHandler.prototype.updatePreviewState = function( edge, point, terminalState, me, outline )
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.updateSize = function( node, enableWrap )
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateStroke = function()
Transfers the stroke attributes from state to node.
mxSvgCanvas2D.prototype.updateStrokeAttributes = function()
Specifies if the style should be updated in each validation step.
mxGraphView.prototype.updateStyle
Sets the scale and rotation on the given canvas.
mxShape.prototype.updateTransform = function( c, x, y, w, h )
Updates the HTML node(s) to reflect the latest bounds and scale.
mxText.prototype.updateValue = function()
Updates the absoluteOffset of the given vertex cell state.
mxGraphView.prototype.updateVertexLabelOffset = function( state )
Validates the given cell state.
mxGraphView.prototype.updateVertexState = function( state, geo )
Updates the bounds of the VML container.
mxShape.prototype.updateVmlContainer = function()
Sets the width and height of the container to 1px.
mxText.prototype.updateVmlContainer = function()
Specifies the resource key for the status message while the selection is being updated.
mxGraphSelectionModel.prototype.updatingSelectionResource
Holds the target URL of the request.
mxXmlRequest.prototype.url
Specifies the URL to be used for the contents of the Online Help window.
mxEditor.prototype.urlHelp
Specifies the URL to be used for creating a bitmap of the graph in the image action.
mxEditor.prototype.urlImage
Specifies the URL to be used for posting the diagram to a backend in save.
mxEditor.prototype.urlPost
Boolean indicating if the bounding box of the label should be used if its available.
mxGraphLayout.prototype.useBoundingBox
Specifies if the panning steps should be aligned to the grid size.
mxPanningHandler.prototype.useGrid
Returns true if the guides should be used for the given mxMouseEvent.
mxGraphHandler.prototype.useGuidesForEvent = function( me )
Specifies if the top left corner of the input cells should be the origin of the layout result.
mxFastOrganicLayout.prototype.useInputOrigin
Specifies if panning should be active for the left mouse button.
mxPanningHandler.prototype.useLeftButtonForPanning
Specifies if popupmenus should be activated by clicking the left mouse button.
mxPopupMenu.prototype.useLeftButtonForPopup
Specifies if mxEvent.isPopupTrigger should also be used for panning.
mxPanningHandler.prototype.usePopupTrigger
Specifies the username to be used for authentication.
mxXmlRequest.prototype.username
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
mxGraph.prototype.useScrollbarsForPanning
Allows to use the SVG bounding box in SVG.
mxArrowConnector.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
mxShape.prototype.useSvgBoundingBox
Defines the color to be used for the coloring valid connection previews.
VALID_COLOR: '#00FF00'
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
mxGraphView.prototype.validate = function( cell )
Calls validateBackgroundImage and validateBackgroundPage.
mxGraphView.prototype.validateBackground = function()
Validates the background image.
mxGraphView.prototype.validateBackgroundImage = function()
Validates the background page.
mxGraphView.prototype.validateBackgroundPage = function()
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraph.prototype.validateCell = function( cell, context )
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
mxGraphView.prototype.validateCell = function( cell, visible )
Validates and repaints the mxCellState for the given mxCell.
mxGraphView.prototype.validateCellState = function( cell, recurse )
Returns the error message or an empty string if the connection for the given source target pair is not valid.
mxConnectionHandler.prototype.validateConnection = function( source, target )
Returns the error message or an empty string if the connection for the given source, target pair is not valid.
mxEdgeHandler.prototype.validateConnection = function( source, target )
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateEdge = function( edge, source, target )
Validates the graph by validating each descendant of the given cell or the root of the model.
mxGraph.prototype.validateGraph = function( cell, context )
Specifies if mxGraph.validateGraph should automatically be invoked after each change.
mxEditor.prototype.validating
Displays the given validation error in a dialog.
mxGraph.prototype.validationAlert = function( message )
Holds the valid marker color.
mxCellMarker.prototype.validColor
Holds an array of strings that specify the type of neighbor for which this rule applies.
mxMultiplicity.prototype.validNeighbors
Boolean indicating if the list of validNeighbors are those that are allowed for this rule or those that are not allowed for this rule.
mxMultiplicity.prototype.validNeighborsAllowed
Holds the marked mxCellState if it is valid.
mxCellMarker.prototype.validState
Holds the user object.
mxCell.prototype.value
Optional string that specifies the value of the attribute to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxMultiplicity.prototype.value
Changes the user object after an in-place edit and returns the previous value.
mxCell.prototype.valueChanged = function( newValue )
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
mxGraphModel.prototype.valueForCellChanged = function( cell, value )
Maps from strings to objects.
values: []
Contains the current version of the mxGraph library.
VERSION: '3.9.6'
Specifies whether the cell is a vertex.
mxCell.prototype.vertex
Defines the color to be used for the selection border of vertices.
VERTEX_SELECTION_COLOR: '#00FF00'
Defines the strokewidth to be used for vertex selections.
VERTEX_SELECTION_STROKEWIDTH: 1
An array of all vertices to be laid out.
mxFastOrganicLayout.prototype.vertexArray
Specifies the return value for vertices in isLabelMovable.
mxGraph.prototype.vertexLabelsMovable
Map from graph vertices to internal model nodes.
mxGraphHierarchyModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxSwimlaneModel.prototype.vertexMapper
Specifies if vertical guides are enabled.
mxGuide.prototype.vertical
Holds the vertical alignment for the overlay.
mxCellOverlay.prototype.verticalAlign
mxCompactTreeLayout.prototype.verticalLayout = function( node, parent, x0, y0, bounds )
The horizontal offset for the handles.
mxVertexHandler.prototype.verticalOffset
Rotation for vertical text.
mxText.prototype.verticalTextRotation
Reference to the enclosing mxGraphView.
mxCellState.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxGraph.prototype.view
Holds the width of the rectangle.
mxTemporaryCellStates.prototype.view
Start index for the virtual handles in an mxMouseEvent.
VIRTUAL_HANDLE: -100000
Opacity to be used for virtual bends (see virtualBendsEnabled).
mxEdgeHandler.prototype.virtualBendOpacity
Specifies if virtual bends should be added in the center of each segments.
mxEdgeHandler.prototype.virtualBendsEnabled
Specifies whether the cell is visible.
mxCell.prototype.visible
Specifies if the shape is visible.
mxShape.prototype.visible
Boolean flag that represents the visible state of the window.
mxWindow.prototype.visible
Caches the visible source terminal state.
mxCellState.prototype.visibleSourceState
Inner callback to update the visible state of the given mxCell using mxCell.setCollapsed and return the previous visible state.
mxGraphModel.prototype.visibleStateForCellChanged = function( cell, visible )
Caches the visible target terminal state.
mxCellState.prototype.visibleTargetState
Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.
mxDictionary.prototype.visit = function( visitor )
A depth first search through the internal heirarchy model.
mxGraphHierarchyModel.prototype.visit = function( visitor, dfsRoots, trackAncestors, seenNodes )
A depth first search through the internal heirarchy model.
mxSwimlaneModel.prototype.visit = function( visitor, dfsRoots, trackAncestors, seenNodes )
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
mxCompactTreeLayout.prototype.visited
Whether or not this cell has been visited in the current assignment.
WeightedCellSorter.prototype.visited
Prefix for VML namespace in node names.
VML_PREFIX: 'v'
Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
VML_SHADOWCOLOR: 'gray'
Scale for improving the precision of VML rendering.
mxDoubleEllipse.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.vmlScale
Specifies the scale used to draw VML shapes.
mxVmlCanvas2D.prototype.vmlScale
Defines the color to be used for the coloring valid connection previews.
VALID_COLOR: '#00FF00'
Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox.
mxGraphView.prototype.validate = function( cell )
Calls validateBackgroundImage and validateBackgroundPage.
mxGraphView.prototype.validateBackground = function()
Validates the background image.
mxGraphView.prototype.validateBackgroundImage = function()
Validates the background page.
mxGraphView.prototype.validateBackgroundPage = function()
Hook method for subclassers to return an error message for the given cell and validation context.
mxGraph.prototype.validateCell = function( cell, context )
Recursively creates the cell state for the given cell if visible is true and the given cell is visible.
mxGraphView.prototype.validateCell = function( cell, visible )
Validates and repaints the mxCellState for the given mxCell.
mxGraphView.prototype.validateCellState = function( cell, recurse )
Returns the error message or an empty string if the connection for the given source target pair is not valid.
mxConnectionHandler.prototype.validateConnection = function( source, target )
Returns the error message or an empty string if the connection for the given source, target pair is not valid.
mxEdgeHandler.prototype.validateConnection = function( source, target )
Hook method for subclassers to return an error message for the given edge and terminals.
mxGraph.prototype.validateEdge = function( edge, source, target )
Validates the graph by validating each descendant of the given cell or the root of the model.
mxGraph.prototype.validateGraph = function( cell, context )
Specifies if mxGraph.validateGraph should automatically be invoked after each change.
mxEditor.prototype.validating
Displays the given validation error in a dialog.
mxGraph.prototype.validationAlert = function( message )
Holds the valid marker color.
mxCellMarker.prototype.validColor
Holds an array of strings that specify the type of neighbor for which this rule applies.
mxMultiplicity.prototype.validNeighbors
Boolean indicating if the list of validNeighbors are those that are allowed for this rule or those that are not allowed for this rule.
mxMultiplicity.prototype.validNeighborsAllowed
Holds the marked mxCellState if it is valid.
mxCellMarker.prototype.validState
Holds the user object.
mxCell.prototype.value
Optional string that specifies the value of the attribute to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxMultiplicity.prototype.value
Changes the user object after an in-place edit and returns the previous value.
mxCell.prototype.valueChanged = function( newValue )
Inner callback to update the user object of the given mxCell using mxCell.valueChanged and return the previous value, that is, the return value of mxCell.valueChanged.
mxGraphModel.prototype.valueForCellChanged = function( cell, value )
Maps from strings to objects.
values: []
Contains the current version of the mxGraph library.
VERSION: '3.9.7'
Specifies whether the cell is a vertex.
mxCell.prototype.vertex
Defines the color to be used for the selection border of vertices.
VERTEX_SELECTION_COLOR: '#00FF00'
Defines the strokewidth to be used for vertex selections.
VERTEX_SELECTION_STROKEWIDTH: 1
An array of all vertices to be laid out.
mxFastOrganicLayout.prototype.vertexArray
Specifies the return value for vertices in isLabelMovable.
mxGraph.prototype.vertexLabelsMovable
Map from graph vertices to internal model nodes.
mxGraphHierarchyModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxSwimlaneModel.prototype.vertexMapper
Specifies if vertical guides are enabled.
mxGuide.prototype.vertical
Holds the vertical alignment for the overlay.
mxCellOverlay.prototype.verticalAlign
mxCompactTreeLayout.prototype.verticalLayout = function( node, parent, x0, y0, bounds )
The horizontal offset for the handles.
mxVertexHandler.prototype.verticalOffset
Rotation for vertical text.
mxText.prototype.verticalTextRotation
Reference to the enclosing mxGraphView.
mxCellState.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxGraph.prototype.view
Holds the width of the rectangle.
mxTemporaryCellStates.prototype.view
Start index for the virtual handles in an mxMouseEvent.
VIRTUAL_HANDLE: -100000
Opacity to be used for virtual bends (see virtualBendsEnabled).
mxEdgeHandler.prototype.virtualBendOpacity
Specifies if virtual bends should be added in the center of each segments.
mxEdgeHandler.prototype.virtualBendsEnabled
Specifies whether the cell is visible.
mxCell.prototype.visible
Specifies if the shape is visible.
mxShape.prototype.visible
Boolean flag that represents the visible state of the window.
mxWindow.prototype.visible
Caches the visible source terminal state.
mxCellState.prototype.visibleSourceState
Inner callback to update the visible state of the given mxCell using mxCell.setCollapsed and return the previous visible state.
mxGraphModel.prototype.visibleStateForCellChanged = function( cell, visible )
Caches the visible target terminal state.
mxCellState.prototype.visibleTargetState
Visits all entries in the dictionary using the given function with the following signature: function(key, value) where key is a string and value is an object.
mxDictionary.prototype.visit = function( visitor )
A depth first search through the internal heirarchy model.
mxGraphHierarchyModel.prototype.visit = function( visitor, dfsRoots, trackAncestors, seenNodes )
A depth first search through the internal heirarchy model.
mxSwimlaneModel.prototype.visit = function( visitor, dfsRoots, trackAncestors, seenNodes )
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
mxCompactTreeLayout.prototype.visited
Whether or not this cell has been visited in the current assignment.
WeightedCellSorter.prototype.visited
Prefix for VML namespace in node names.
VML_PREFIX: 'v'
Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
VML_SHADOWCOLOR: 'gray'
Scale for improving the precision of VML rendering.
mxDoubleEllipse.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.vmlScale
Specifies the scale used to draw VML shapes.
mxVmlCanvas2D.prototype.vmlScale
W | |
w0, mxStencil | |
warn, mxLog | |
WARN, mxLog | |
warningImage, mxGraph | |
waypointsEnabled, mxConnectionHandler | |
WeightedCellSorter | |
weightedMedian, mxMedianHybridCrossingReduction | |
weightedValue, WeightedCellSorter | |
widestRank, mxCoordinateAssignment | |
widestRankValue, mxCoordinateAssignment | |
width | |
Windows, mxEditor | |
withCredentials, mxXmlRequest | |
wnd, mxPrintPreview | |
WORD_WRAP, mxConstants | |
wordWrapPadding, mxCellEditor | |
wrap, mxStackLayout | |
write | |
writeAttribute, mxObjectCodec | |
writeComplexAttribute, mxObjectCodec | |
writeDefaults, mxXmlCanvas2D | |
writeGraphModel, mxEditor | |
writeHead, mxPrintPreview | |
writeln | |
writePostfix, mxPrintPreview | |
writePrimitiveAttribute, mxObjectCodec | |
X | |
x | |
x0 | |
Y | |
y | |
y0 | |
Z | |
zIndex | |
zoom, mxGraph | |
zoomActual, mxGraph | |
zoomFactor, mxGraph | |
zoomIn, mxGraph | |
zoomOut, mxGraph | |
zoomTo, mxGraph | |
zoomToRect, mxGraph |
W | |
w0, mxStencil | |
warn, mxLog | |
WARN, mxLog | |
warningImage, mxGraph | |
waypointsEnabled, mxConnectionHandler | |
WeightedCellSorter | |
weightedMedian, mxMedianHybridCrossingReduction | |
weightedValue, WeightedCellSorter | |
widestRank, mxCoordinateAssignment | |
widestRankValue, mxCoordinateAssignment | |
width | |
Windows, mxEditor | |
withCredentials, mxXmlRequest | |
wnd, mxPrintPreview | |
WORD_WRAP, mxConstants | |
wordWrapPadding, mxCellEditor | |
wrap, mxStackLayout | |
write | |
writeAttribute, mxObjectCodec | |
writeComplexAttribute, mxObjectCodec | |
writeDefaults, mxXmlCanvas2D | |
writeGraphModel, mxEditor | |
writeHead, mxPrintPreview | |
writeln | |
writePostfix, mxPrintPreview | |
writePrimitiveAttribute, mxObjectCodec | |
X | |
x | |
x0 | |
Y | |
y | |
y0 | |
Z | |
zIndex | |
zoom, mxGraph | |
zoomActual, mxGraph | |
zoomFactor, mxGraph | |
zoomIn, mxGraph | |
zoomOut, mxGraph | |
zoomTo, mxGraph | |
zoomToRect, mxGraph |
Holds the width of the shape.
mxStencil.prototype.w0
Adds all arguments to the console if WARN is enabled.
warn: function()
Specifies if the output for warn should be visible in the console.
WARN: true
Specifies the mxImage for the image to be used to display a warning overlay.
mxGraph.prototype.warningImage
Specifies if single clicks should add waypoints on the new edge.
mxConnectionHandler.prototype.waypointsEnabled
Constructs a new weighted cell sorted for the given cell and weight.
function WeightedCellSorter( cell, weightedValue )
Sweeps up or down the layout attempting to minimise the median placement of connected cells on adjacent ranks
mxMedianHybridCrossingReduction.prototype.weightedMedian = function( iteration, model )
The weighted value of the cell stored.
WeightedCellSorter.prototype.weightedValue
The rank that has the widest x position
mxCoordinateAssignment.prototype.widestRank
The X-coordinate of the edge of the widest rank
mxCoordinateAssignment.prototype.widestRankValue
The width of this cell
mxGraphAbstractHierarchyCell.prototype.width
Integer that specifies the width of the image.
mxImage.prototype.width
Holds the width of the rectangle.
mxRectangle.prototype.width
Specifies if withCredentials should be used in HTML5-compliant browsers.
mxXmlRequest.prototype.withCredentials
Reference to the preview window.
mxPrintPreview.prototype.wnd
Defines the CSS value for the word-wrap property.
WORD_WRAP: 'normal'
Correction factor for word wrapping width.
mxCellEditor.prototype.wordWrapPadding
Value at which a new column or row should be created.
mxStackLayout.prototype.wrap
Adds the specified strings to the console.
write: function()
Creates a text node for the given string and appends it to the given parent.
write: function( parent, text )
Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
mxObjectCodec.prototype.writeAttribute = function( enc, obj, name, value, node )
Writes the given value as a child node of the given node.
mxObjectCodec.prototype.writeComplexAttribute = function( enc, obj, name, value, node )
mxXmlCanvas2D.prototype.writeDefaults = function()
Hook to create the string representation of the diagram.
mxEditor.prototype.writeGraphModel = function ( linefeed )
Writes the HEAD section into the given document, without the opening and closing HEAD tags.
mxPrintPreview.prototype.writeHead = function( doc, css )
Adds the specified strings to the console, appending a linefeed at the end of each string.
writeln: function()
Creates a text node for the given string and appends it to the given parent with an additional linefeed.
writeln: function( parent, text )
Called before closing the body of the page.
mxPrintPreview.prototype.writePostfix = function( doc )
Writes the given value as an attribute of the given node.
mxObjectCodec.prototype.writePrimitiveAttribute = function( enc, obj, name, value, node )
Holds the width of the shape.
mxStencil.prototype.w0
Adds all arguments to the console if WARN is enabled.
warn: function()
Specifies if the output for warn should be visible in the console.
WARN: true
Specifies the mxImage for the image to be used to display a warning overlay.
mxGraph.prototype.warningImage
Specifies if single clicks should add waypoints on the new edge.
mxConnectionHandler.prototype.waypointsEnabled
Constructs a new weighted cell sorted for the given cell and weight.
function WeightedCellSorter( cell, weightedValue )
Sweeps up or down the layout attempting to minimise the median placement of connected cells on adjacent ranks
mxMedianHybridCrossingReduction.prototype.weightedMedian = function( iteration, model )
The weighted value of the cell stored.
WeightedCellSorter.prototype.weightedValue
The rank that has the widest x position
mxCoordinateAssignment.prototype.widestRank
The X-coordinate of the edge of the widest rank
mxCoordinateAssignment.prototype.widestRankValue
The width of this cell
mxGraphAbstractHierarchyCell.prototype.width
Integer that specifies the width of the image.
mxImage.prototype.width
Holds the width of the rectangle.
mxRectangle.prototype.width
Specifies if withCredentials should be used in HTML5-compliant browsers.
mxXmlRequest.prototype.withCredentials
Reference to the preview window.
mxPrintPreview.prototype.wnd
Defines the CSS value for the word-wrap property.
WORD_WRAP: 'normal'
Correction factor for word wrapping width.
mxCellEditor.prototype.wordWrapPadding
Value at which a new column or row should be created.
mxStackLayout.prototype.wrap
Adds the specified strings to the console.
write: function()
Creates a text node for the given string and appends it to the given parent.
write: function( parent, text )
Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
mxObjectCodec.prototype.writeAttribute = function( enc, obj, name, value, node )
Writes the given value as a child node of the given node.
mxObjectCodec.prototype.writeComplexAttribute = function( enc, obj, name, value, node )
mxXmlCanvas2D.prototype.writeDefaults = function()
Hook to create the string representation of the diagram.
mxEditor.prototype.writeGraphModel = function ( linefeed )
Writes the HEAD section into the given document, without the opening and closing HEAD tags.
mxPrintPreview.prototype.writeHead = function( doc, css )
Adds the specified strings to the console, appending a linefeed at the end of each string.
writeln: function()
Creates a text node for the given string and appends it to the given parent with an additional linefeed.
writeln: function( parent, text )
Called before closing the body of the page.
mxPrintPreview.prototype.writePostfix = function( doc )
Writes the given value as an attribute of the given node.
mxObjectCodec.prototype.writePrimitiveAttribute = function( enc, obj, name, value, node )
The x position of this cell for each layer it occupies
mxGraphAbstractHierarchyCell.prototype.x
Holds the x-coordinate of the point.
mxPoint.prototype.x
Integer specifying the left coordinate of the circle.
mxCircleLayout.prototype.x0
Holds the horizontal offset of the output.
mxPrintPreview.prototype.x0
Specifies the horizontal origin of the layout.
mxStackLayout.prototype.x0
The x position of this cell for each layer it occupies
mxGraphAbstractHierarchyCell.prototype.x
Holds the x-coordinate of the point.
mxPoint.prototype.x
Integer specifying the left coordinate of the circle.
mxCircleLayout.prototype.x0
Holds the horizontal offset of the output.
mxPrintPreview.prototype.x0
Specifies the horizontal origin of the layout.
mxStackLayout.prototype.x0
The y position of this cell for each layer it occupies
mxGraphAbstractHierarchyCell.prototype.y
Holds the y-coordinate of the point.
mxPoint.prototype.y
Integer specifying the top coordinate of the circle.
mxCircleLayout.prototype.y0
Holds the vertical offset of the output.
mxPrintPreview.prototype.y0
Specifies the vertical origin of the layout.
mxStackLayout.prototype.y0
The y position of this cell for each layer it occupies
mxGraphAbstractHierarchyCell.prototype.y
Holds the y-coordinate of the point.
mxPoint.prototype.y
Integer specifying the top coordinate of the circle.
mxCircleLayout.prototype.y0
Holds the vertical offset of the output.
mxPrintPreview.prototype.y0
Specifies the vertical origin of the layout.
mxStackLayout.prototype.y0
Specifies the zIndex for the textarea.
mxCellEditor.prototype.zIndex
Specifies the zIndex for the popupmenu and its shadow.
mxPopupMenu.prototype.zIndex
Specifies the zIndex for the tooltip and its shadow.
mxTooltipHandler.prototype.zIndex
Zooms the graph using the given factor.
mxGraph.prototype.zoom = function( factor, center )
Resets the zoom and panning in the view.
mxGraph.prototype.zoomActual = function()
Specifies the factor used for zoomIn and zoomOut.
mxGraph.prototype.zoomFactor
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomIn = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoomTo = function( scale, center )
Zooms the graph to the specified rectangle.
mxGraph.prototype.zoomToRect = function( rect )
Specifies the zIndex for the textarea.
mxCellEditor.prototype.zIndex
Specifies the zIndex for the popupmenu and its shadow.
mxPopupMenu.prototype.zIndex
Specifies the zIndex for the tooltip and its shadow.
mxTooltipHandler.prototype.zIndex
Zooms the graph using the given factor.
mxGraph.prototype.zoom = function( factor, center )
Resets the zoom and panning in the view.
mxGraph.prototype.zoomActual = function()
Specifies the factor used for zoomIn and zoomOut.
mxGraph.prototype.zoomFactor
Zooms into the graph by zoomFactor.
mxGraph.prototype.zoomIn = function()
Zooms out of the graph by zoomFactor.
mxGraph.prototype.zoomOut = function()
Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.
mxGraph.prototype.zoomTo = function( scale, center )
Zooms the graph to the specified rectangle.
mxGraph.prototype.zoomToRect = function( rect )
Damper value for the panning.
mxPanningManager.prototype.damper
Processes a doubleclick on an optional cell and fires a dblclick event.
mxGraph.prototype.dblClick = function( evt, cell )
Specifies the name of the action to be executed when a cell is double clicked.
mxEditor.prototype.dblClickAction
Specifies if removing bends by double click is enabled.
mxEdgeHandler.prototype.dblClickRemoveEnabled
Adds all arguments to the console if DEBUG is enabled.
debug: function()
Specifies if the output for debug should be visible in the console.
DEBUG: true
Decodes the given XML node.
mxCodec.prototype.decode = function( node, into )
Reads a sequence of the following child nodes and attributes:
codec.decode = function( dec, node, into )
Uses the given node as the config for mxDefaultPopupMenu.
codec.decode = function( dec, node, into )
Reads a sequence of the following child nodes and attributes:
codec.decode = function( dec, node, into )
Parses the given node into the object or returns a new object representing the given node.
mxObjectCodec.prototype.decode = function( dec, node, into )
Reads a sequence of the following child nodes and attributes:
codec.decode = function( dec, node, into )
Reads the given attribute into the specified object.
mxObjectCodec.prototype.decodeAttribute = function( dec, attr, obj )
Decodes all attributes of the given node using decodeAttribute.
mxObjectCodec.prototype.decodeAttributes = function( dec, node, obj )
Decodes cells that have been encoded using inversion, ie.
mxCodec.prototype.decodeCell = function( node, restoreStructures )
Overrides decode child to handle special child nodes.
codec.decodeChild = function( dec, child, obj )
Overrides decode child to handle special child nodes.
codec.decodeChild = function( dec, child, obj )
Reads the specified child into the given object.
mxObjectCodec.prototype.decodeChild = function( dec, child, obj )
Decodes all children of the given node using decodeChild.
mxObjectCodec.prototype.decodeChildren = function( dec, node, obj )
Calls decodeAttributes and decodeChildren for the given node.
mxObjectCodec.prototype.decodeNode = function( dec, node, obj )
Reads the cells into the graph model.
codec.decodeRoot = function( dec, root, model )
Specifies if request values should be decoded as URIs before setting the textarea value in simulate.
mxXmlRequest.prototype.decodeSimulateValues
Defines the default family for all fonts.
DEFAULT_FONTFAMILY: 'Arial
Defines the default size (in px).
DEFAULT_FONTSIZE: 11
Defines the default style for all fonts.
DEFAULT_FONTSTYLE: 0
Defines the portion of the cell which is to be used as a connectable region.
DEFAULT_HOTSPOT: 0.3
Defines the default width and height for images used in the label shape.
DEFAULT_IMAGESIZE: 24
Specifies the default invalid color.
DEFAULT_INVALID_COLOR: '#FF0000'
Defines the default size for all markers.
DEFAULT_MARKERSIZE: 6
Defines the default start size for swimlanes.
DEFAULT_STARTSIZE: 40
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style.
DEFAULT_TEXT_DIRECTION: ''
Specifies the default valid color.
DEFAULT_VALID_COLOR: '#00FF00'
Contains the base names of the default bundles if mxLoadResources is false.
defaultBundles: []
Prototype edge cell that is used for creating new edges.
mxEditor.prototype.defaultEdge
Defines the default shape for edges.
mxCellRenderer.prototype.defaultEdgeShape
Specifies the edge style to be returned in getEdgeStyle.
mxEditor.prototype.defaultEdgeStyle
Prototype group cell that is used for creating new groups.
mxEditor.prototype.defaultGroup
Static global variable that specifies the default value for the localized attribute of the text element.
mxStencil.defaultLocalized
mxEdgeStyle to be used for loops.
mxGraph.prototype.defaultLoopStyle
Specifies the default opacity to be used for the rubberband div.
mxRubberband.prototype.defaultOpacity
Defines the overlapping for the overlay, that is, the proportional distance from the origin to the point defined by the alignment.
mxCellOverlay.prototype.defaultOverlap
Value returned by getOverlap if isAllowOverlapParent returns true for the given cell.
mxGraph.prototype.defaultOverlap
Specifies the default parent to be used to insert new cells.
mxGraph.prototype.defaultParent
Static array that contains the globally registered shapes which are known to all instances of this class.
mxCellRenderer.defaultShapes
Defines the default shape for labels.
mxCellRenderer.prototype.defaultTextShape
Defines the default shape for vertices.
mxCellRenderer.prototype.defaultVertexShape
Reference to the defs section of the SVG document.
this.defs
Specifies the delay between the animation steps.
mxAnimation.prototype.delay
Delay in milliseconds for the panning.
mxPanningManager.prototype.delay
Delay to show the tooltip in milliseconds.
mxTooltipHandler.prototype.delay
Reference to the enclosing mxGraph.
mxCellStatePreview.prototype.deltas
Holds the XML node with the stencil description.
mxStencil.prototype.desc
Removes all handlers from the graph and deletes the reference to it.
mxAutoSaveManager.prototype.destroy = function()
Destroys the editor and removes all associated resources.
mxCellEditor.prototype.destroy = function ()
Destroys the handler and all its resources and DOM nodes.
mxCellHighlight.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxCellMarker.prototype.destroy = function()
Destroys the shapes associated with the given cell state.
mxCellRenderer.prototype.destroy = function( state )
Destroys the state and all associated resources.
mxCellState.prototype.destroy = function()
Destroys the object and all its resources and DOM nodes.
mxCellTracker.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxConnectionHandler.prototype.destroy = function()
Destroy this handler.
mxConstraintHandler.prototype.destroy = function()
Destroys the handler associated with this object.
mxDefaultKeyHandler.prototype.destroy = function ()
Destroys the toolbar associated with this object and removes all installed listeners.
mxDefaultToolbar.prototype.destroy = function ()
Destroys the handler and all its resources and DOM nodes.
mxEdgeHandler.prototype.destroy = function()
Removes the editor and all its associated resources.
mxEditor.prototype.destroy = function ()
Destroys the graph and all its resources.
mxGraph.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxGraphHandler.prototype.destroy = function()
Destroys the view and all its resources.
mxGraphView.prototype.destroy = function()
Destroys all resources that this object uses.
mxGuide.prototype.destroy = function()
Destroys this handle.
mxHandle.prototype.destroy = function()
Destroys the handler and all its references into the DOM.
mxKeyHandler.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxLayoutManager.prototype.destroy = function()
Destroy this outline and removes all listeners from source.
mxOutline.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPanningHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenu.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenuHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxRubberband.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxSelectionCellsHandler.prototype.destroy = function()
Destroys the shape by removing it from the DOM and releasing the DOM node associated with the shape using mxEvent.release.
mxShape.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxSwimlaneManager.prototype.destroy = function()
Returns the top, left corner as a new mxPoint.
mxTemporaryCellStates.prototype.destroy = function()
Removes the toolbar and all its associated resources.
mxToolbar.prototype.destroy = function ()
Destroys the handler and all its resources and DOM nodes.
mxTooltipHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxVertexHandler.prototype.destroy = function()
Destroys the window and removes all associated resources.
mxWindow.prototype.destroy = function()
Specifies the event name for destroy.
DESTROY: 'destroy'
Destroys all elements in bends.
mxEdgeHandler.prototype.destroyBends = function( bends )
Destroys the given canvas which was used for drawing.
mxShape.prototype.destroyCanvas = function( canvas )
True if this handler was destroyed using destroy.
mxTooltipHandler.prototype.destroyed
Destroys the focusHighlight if one exists.
mxConstraintHandler.prototype.destroyFocusHighlight = function()
Destroys the connect icons and resets the respective state.
mxConnectionHandler.prototype.destroyIcons = function()
Destroys the focusIcons if they exist.
mxConstraintHandler.prototype.destroyIcons = function()
Specifies if the window should be destroyed when it is closed.
mxWindow.prototype.destroyOnClose
Destroy the preview and highlight shapes.
mxGraphHandler.prototype.destroyShapes = function()
Does a depth first search starting at the specified cell.
mxCompactTreeLayout.prototype.dfs = function( cell, parent )
Performs a depth first search on the internal hierarchy model
mxGraphHierarchyModel.prototype.dfs = function( parent, root, connectingEdge, visitor, seen, layer )
Performs a depth first search on the internal hierarchy model
mxSwimlaneModel.prototype.dfs = function( parent, root, connectingEdge, visitor, seen, layer )
Count of the number of times the ancestor dfs has been used.
mxGraphHierarchyModel.prototype.dfsCount
Count of the number of times the ancestor dfs has been used.
mxSwimlaneModel.prototype.dfsCount
Dialect to be used for drawing the graph.
mxGraph.prototype.dialect
Holds the dialect in which the shape is to be painted.
mxShape.prototype.dialect
Defines the mixed HTML display dialect name.
DIALECT_MIXEDHTML: 'mixedHtml'
Defines the preferred HTML display dialect name.
DIALECT_PREFERHTML: 'preferHtml'
Defines the strict HTML display dialect.
DIALECT_STRICTHTML: 'strictHtml'
Defines the SVG display dialect name.
DIALECT_SVG: 'svg'
Defines the VML display dialect name.
DIALECT_VML: 'vml'
Hook to free resources after the edit has been removed from the command history.
mxUndoableEdit.prototype.die = function()
Constant for direction east.
DIRECTION_EAST: 'east'
Bitwise mask for all directions.
DIRECTION_MASK_ALL: 15
Bitwise mask for east direction.
DIRECTION_MASK_EAST: 8
Constant for no direction.
DIRECTION_MASK_NONE: 0
Bitwise mask for north direction.
DIRECTION_MASK_NORTH: 2
Bitwise mask for south direction.
DIRECTION_MASK_SOUTH: 4
Bitwise mask for west direction.
DIRECTION_MASK_WEST: 1
Constant for direction north.
DIRECTION_NORTH: 'north'
Constant for direction south.
DIRECTION_SOUTH: 'south'
Constant for direction west.
DIRECTION_WEST: 'west'
Specifies if the context menu should be disabled in the graph container.
mxEditor.prototype.disableContextMenu
Disables the context menu for the given element.
disableContextMenu: function( element )
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxCircleLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxFastOrganicLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxHierarchicalLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxSwimlaneLayout.prototype.disableEdgeStyle
Specifies the event name for disconnect.
DISCONNECT: 'disconnect'
Disconnects the given edges from the terminals which are not in the given array.
mxGraph.prototype.disconnectGraph = function( cells )
Specifies if edges should be disconnected from their terminals when they are moved.
mxGraph.prototype.disconnectOnMove
Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.
dispose: function()
An array of locally stored X co-ordinate displacements for the vertices.
mxFastOrganicLayout.prototype.dispX
An array of locally stored Y co-ordinate displacements for the vertices.
mxFastOrganicLayout.prototype.dispY
Holds the DIV element which is currently visible.
mxRubberband.prototype.div
The owner document of the codec.
mxCodec.prototype.document
Specifies the event name for done.
DONE: 'done'
Specifies the resource key for the status message after a long operation.
mxGraphSelectionModel.prototype.doneResource
Specifies the resource key for the status message after a long operation.
mxGraphView.prototype.doneResource
Invokes redraw on the shape of the given state.
mxCellRenderer.prototype.doRedrawShape = function( state )
Resizes the container for the given graph width and height.
mxGraph.prototype.doResizeContainer = function( width, height )
Specifies the event name for doubleClick.
DOUBLE_CLICK: 'doubleClick'
Specifies the resource key for the tooltip to be displayed on the single control point for routed edges.
mxElbowEdgeHandler.prototype.doubleClickOrientationResource
Specifies if double taps on touch-based devices should be handled as a double click.
mxGraph.prototype.doubleTapEnabled
Specifies the timeout for double taps and non-native double clicks.
mxGraph.prototype.doubleTapTimeout
Specifies the tolerance for double taps and double clicks in quirks mode.
mxGraph.prototype.doubleTapTolerance
Specifies the event name for down.
DOWN: 'down'
Holds the DOM node that is used to represent the drag preview.
mxDragSource.prototype.dragElement
Opacity of the drag element in %.
mxDragSource.prototype.dragElementOpacity
ZIndex for the drag element.
mxDragSource.prototype.dragElementZIndex
Actives the given graph as a drop target.
mxDragSource.prototype.dragEnter = function( graph, evt )
Deactivates the given graph as a drop target.
mxDragSource.prototype.dragExit = function( graph, evt )
mxPoint that specifies the offset of the dragElement.
mxDragSource.prototype.dragOffset
Implements autoscroll, updates the currentPoint, highlights any drop targets and updates the preview.
mxDragSource.prototype.dragOver = function( graph, evt )
Draws the given state to the given canvas.
mxImageExport.prototype.drawCellState = function( state, canvas )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawChildren = function( canvas, shape, x, y, w, h, node, aspect, disableShadow )
Creates and returns the highlight shape for the given state.
mxCellHighlight.prototype.drawHighlight = function()
Draws this stencil inside the given bounds.
mxStencil.prototype.drawNode = function( canvas, shape, node, aspect, disableShadow )
Draws the overlays for the given state.
mxImageExport.prototype.drawOverlays = function( state, canvas )
Redraws the preview edge using the color and width returned by getEdgeColor and getEdgeWidth.
mxConnectionHandler.prototype.drawPreview = function()
Redraws the preview.
mxEdgeHandler.prototype.drawPreview = function()
Redraws the preview.
mxVertexHandler.prototype.drawPreview = function()
Draws the shape of the given state.
mxImageExport.prototype.drawShape = function( state, canvas )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawShape = function( canvas, shape, x, y, w, h )
Draws the given state and all its descendants to the given canvas.
mxImageExport.prototype.drawState = function( state, canvas )
Draws the text of the given state.
mxImageExport.prototype.drawText = function( state, canvas )
Holds the drill event listener for later removal.
mxConnectionHandler.prototype.drillHandler
Handles a drop from a toolbar item to the graph.
mxDefaultToolbar.prototype.drop = function( vertex, evt, target )
Returns the drop target for the given graph and coordinates.
mxDragSource.prototype.drop = function( graph, evt, dropTarget, x, y )
Defines the color to be used for the highlighting target parent cells (for drag and drop).
DROP_TARGET_COLOR: '#0000FF'
Specifies the return value for isDropEnabled.
mxGraph.prototype.dropEnabled
Holds the DOM node that is used to represent the drag preview.
mxDragSource.prototype.dropHandler
The cell width of any dummy vertices inserted
mxSwimlaneLayout.prototype.dummyVertexWidth
Holds an array of mxCell of dummy vertices inserted during the layout to pad out empty swimlanes
mxSwimlaneLayout.prototype.dummyVertices
Holds the current horizontal offset.
mxPanningHandler.prototype.dx
Holds the current vertical offset.
mxPanningHandler.prototype.dy
Damper value for the panning.
mxPanningManager.prototype.damper
Processes a doubleclick on an optional cell and fires a dblclick event.
mxGraph.prototype.dblClick = function( evt, cell )
Specifies the name of the action to be executed when a cell is double clicked.
mxEditor.prototype.dblClickAction
Specifies if removing bends by double click is enabled.
mxEdgeHandler.prototype.dblClickRemoveEnabled
Adds all arguments to the console if DEBUG is enabled.
debug: function()
Specifies if the output for debug should be visible in the console.
DEBUG: true
Decodes the given XML node.
mxCodec.prototype.decode = function( node, into )
Reads a sequence of the following child nodes and attributes:
codec.decode = function( dec, node, into )
Uses the given node as the config for mxDefaultPopupMenu.
codec.decode = function( dec, node, into )
Reads a sequence of the following child nodes and attributes:
codec.decode = function( dec, node, into )
Parses the given node into the object or returns a new object representing the given node.
mxObjectCodec.prototype.decode = function( dec, node, into )
Reads a sequence of the following child nodes and attributes:
codec.decode = function( dec, node, into )
Reads the given attribute into the specified object.
mxObjectCodec.prototype.decodeAttribute = function( dec, attr, obj )
Decodes all attributes of the given node using decodeAttribute.
mxObjectCodec.prototype.decodeAttributes = function( dec, node, obj )
Decodes cells that have been encoded using inversion, ie.
mxCodec.prototype.decodeCell = function( node, restoreStructures )
Overrides decode child to handle special child nodes.
codec.decodeChild = function( dec, child, obj )
Overrides decode child to handle special child nodes.
codec.decodeChild = function( dec, child, obj )
Reads the specified child into the given object.
mxObjectCodec.prototype.decodeChild = function( dec, child, obj )
Decodes all children of the given node using decodeChild.
mxObjectCodec.prototype.decodeChildren = function( dec, node, obj )
Calls decodeAttributes and decodeChildren for the given node.
mxObjectCodec.prototype.decodeNode = function( dec, node, obj )
Reads the cells into the graph model.
codec.decodeRoot = function( dec, root, model )
Specifies if request values should be decoded as URIs before setting the textarea value in simulate.
mxXmlRequest.prototype.decodeSimulateValues
Defines the default family for all fonts.
DEFAULT_FONTFAMILY: 'Arial
Defines the default size (in px).
DEFAULT_FONTSIZE: 11
Defines the default style for all fonts.
DEFAULT_FONTSTYLE: 0
Defines the portion of the cell which is to be used as a connectable region.
DEFAULT_HOTSPOT: 0.3
Defines the default width and height for images used in the label shape.
DEFAULT_IMAGESIZE: 24
Specifies the default invalid color.
DEFAULT_INVALID_COLOR: '#FF0000'
Defines the default size for all markers.
DEFAULT_MARKERSIZE: 6
Defines the default start size for swimlanes.
DEFAULT_STARTSIZE: 40
Defines the default value for the STYLE_TEXT_DIRECTION if no value is defined for it in the style.
DEFAULT_TEXT_DIRECTION: ''
Specifies the default valid color.
DEFAULT_VALID_COLOR: '#00FF00'
Contains the base names of the default bundles if mxLoadResources is false.
defaultBundles: []
Prototype edge cell that is used for creating new edges.
mxEditor.prototype.defaultEdge
Defines the default shape for edges.
mxCellRenderer.prototype.defaultEdgeShape
Specifies the edge style to be returned in getEdgeStyle.
mxEditor.prototype.defaultEdgeStyle
Prototype group cell that is used for creating new groups.
mxEditor.prototype.defaultGroup
Static global variable that specifies the default value for the localized attribute of the text element.
mxStencil.defaultLocalized
mxEdgeStyle to be used for loops.
mxGraph.prototype.defaultLoopStyle
Specifies the default opacity to be used for the rubberband div.
mxRubberband.prototype.defaultOpacity
Defines the overlapping for the overlay, that is, the proportional distance from the origin to the point defined by the alignment.
mxCellOverlay.prototype.defaultOverlap
Value returned by getOverlap if isAllowOverlapParent returns true for the given cell.
mxGraph.prototype.defaultOverlap
Specifies the default parent to be used to insert new cells.
mxGraph.prototype.defaultParent
Static array that contains the globally registered shapes which are known to all instances of this class.
mxCellRenderer.defaultShapes
Defines the default shape for labels.
mxCellRenderer.prototype.defaultTextShape
Defines the default shape for vertices.
mxCellRenderer.prototype.defaultVertexShape
Reference to the defs section of the SVG document.
this.defs
Specifies the delay between the animation steps.
mxAnimation.prototype.delay
Delay in milliseconds for the panning.
mxPanningManager.prototype.delay
Delay to show the tooltip in milliseconds.
mxTooltipHandler.prototype.delay
Reference to the enclosing mxGraph.
mxCellStatePreview.prototype.deltas
Holds the XML node with the stencil description.
mxStencil.prototype.desc
Removes all handlers from the graph and deletes the reference to it.
mxAutoSaveManager.prototype.destroy = function()
Destroys the editor and removes all associated resources.
mxCellEditor.prototype.destroy = function ()
Destroys the handler and all its resources and DOM nodes.
mxCellHighlight.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxCellMarker.prototype.destroy = function()
Destroys the shapes associated with the given cell state.
mxCellRenderer.prototype.destroy = function( state )
Destroys the state and all associated resources.
mxCellState.prototype.destroy = function()
Destroys the object and all its resources and DOM nodes.
mxCellTracker.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxConnectionHandler.prototype.destroy = function()
Destroy this handler.
mxConstraintHandler.prototype.destroy = function()
Destroys the handler associated with this object.
mxDefaultKeyHandler.prototype.destroy = function ()
Destroys the toolbar associated with this object and removes all installed listeners.
mxDefaultToolbar.prototype.destroy = function ()
Destroys the handler and all its resources and DOM nodes.
mxEdgeHandler.prototype.destroy = function()
Removes the editor and all its associated resources.
mxEditor.prototype.destroy = function ()
Destroys the graph and all its resources.
mxGraph.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxGraphHandler.prototype.destroy = function()
Destroys the view and all its resources.
mxGraphView.prototype.destroy = function()
Destroys all resources that this object uses.
mxGuide.prototype.destroy = function()
Destroys this handle.
mxHandle.prototype.destroy = function()
Destroys the handler and all its references into the DOM.
mxKeyHandler.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxLayoutManager.prototype.destroy = function()
Destroy this outline and removes all listeners from source.
mxOutline.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPanningHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenu.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxPopupMenuHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxRubberband.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxSelectionCellsHandler.prototype.destroy = function()
Destroys the shape by removing it from the DOM and releasing the DOM node associated with the shape using mxEvent.release.
mxShape.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
mxSwimlaneManager.prototype.destroy = function()
Returns the top, left corner as a new mxPoint.
mxTemporaryCellStates.prototype.destroy = function()
Removes the toolbar and all its associated resources.
mxToolbar.prototype.destroy = function ()
Destroys the handler and all its resources and DOM nodes.
mxTooltipHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
mxVertexHandler.prototype.destroy = function()
Destroys the window and removes all associated resources.
mxWindow.prototype.destroy = function()
Specifies the event name for destroy.
DESTROY: 'destroy'
Destroys all elements in bends.
mxEdgeHandler.prototype.destroyBends = function( bends )
Destroys the given canvas which was used for drawing.
mxShape.prototype.destroyCanvas = function( canvas )
True if this handler was destroyed using destroy.
mxTooltipHandler.prototype.destroyed
Destroys the focusHighlight if one exists.
mxConstraintHandler.prototype.destroyFocusHighlight = function()
Destroys the connect icons and resets the respective state.
mxConnectionHandler.prototype.destroyIcons = function()
Destroys the focusIcons if they exist.
mxConstraintHandler.prototype.destroyIcons = function()
Specifies if the window should be destroyed when it is closed.
mxWindow.prototype.destroyOnClose
Destroy the preview and highlight shapes.
mxGraphHandler.prototype.destroyShapes = function()
Does a depth first search starting at the specified cell.
mxCompactTreeLayout.prototype.dfs = function( cell, parent )
Performs a depth first search on the internal hierarchy model
mxGraphHierarchyModel.prototype.dfs = function( parent, root, connectingEdge, visitor, seen, layer )
Performs a depth first search on the internal hierarchy model
mxSwimlaneModel.prototype.dfs = function( parent, root, connectingEdge, visitor, seen, layer )
Count of the number of times the ancestor dfs has been used.
mxGraphHierarchyModel.prototype.dfsCount
Count of the number of times the ancestor dfs has been used.
mxSwimlaneModel.prototype.dfsCount
Dialect to be used for drawing the graph.
mxGraph.prototype.dialect
Holds the dialect in which the shape is to be painted.
mxShape.prototype.dialect
Defines the mixed HTML display dialect name.
DIALECT_MIXEDHTML: 'mixedHtml'
Defines the preferred HTML display dialect name.
DIALECT_PREFERHTML: 'preferHtml'
Defines the strict HTML display dialect.
DIALECT_STRICTHTML: 'strictHtml'
Defines the SVG display dialect name.
DIALECT_SVG: 'svg'
Defines the VML display dialect name.
DIALECT_VML: 'vml'
Hook to free resources after the edit has been removed from the command history.
mxUndoableEdit.prototype.die = function()
Constant for direction east.
DIRECTION_EAST: 'east'
Bitwise mask for all directions.
DIRECTION_MASK_ALL: 15
Bitwise mask for east direction.
DIRECTION_MASK_EAST: 8
Constant for no direction.
DIRECTION_MASK_NONE: 0
Bitwise mask for north direction.
DIRECTION_MASK_NORTH: 2
Bitwise mask for south direction.
DIRECTION_MASK_SOUTH: 4
Bitwise mask for west direction.
DIRECTION_MASK_WEST: 1
Constant for direction north.
DIRECTION_NORTH: 'north'
Constant for direction south.
DIRECTION_SOUTH: 'south'
Constant for direction west.
DIRECTION_WEST: 'west'
Specifies if the context menu should be disabled in the graph container.
mxEditor.prototype.disableContextMenu
Disables the context menu for the given element.
disableContextMenu: function( element )
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxCircleLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxFastOrganicLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxHierarchicalLayout.prototype.disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result.
mxSwimlaneLayout.prototype.disableEdgeStyle
Specifies the event name for disconnect.
DISCONNECT: 'disconnect'
Disconnects the given edges from the terminals which are not in the given array.
mxGraph.prototype.disconnectGraph = function( cells )
Specifies if edges should be disconnected from their terminals when they are moved.
mxGraph.prototype.disconnectOnMove
Frees up memory in IE by resolving cyclic dependencies between the DOM and the JavaScript objects.
dispose: function()
An array of locally stored X co-ordinate displacements for the vertices.
mxFastOrganicLayout.prototype.dispX
An array of locally stored Y co-ordinate displacements for the vertices.
mxFastOrganicLayout.prototype.dispY
Holds the DIV element which is currently visible.
mxRubberband.prototype.div
The owner document of the codec.
mxCodec.prototype.document
Specifies the event name for done.
DONE: 'done'
Specifies the resource key for the status message after a long operation.
mxGraphSelectionModel.prototype.doneResource
Specifies the resource key for the status message after a long operation.
mxGraphView.prototype.doneResource
Invokes redraw on the shape of the given state.
mxCellRenderer.prototype.doRedrawShape = function( state )
Resizes the container for the given graph width and height.
mxGraph.prototype.doResizeContainer = function( width, height )
Specifies the event name for doubleClick.
DOUBLE_CLICK: 'doubleClick'
Specifies the resource key for the tooltip to be displayed on the single control point for routed edges.
mxElbowEdgeHandler.prototype.doubleClickOrientationResource
Specifies if double taps on touch-based devices should be handled as a double click.
mxGraph.prototype.doubleTapEnabled
Specifies the timeout for double taps and non-native double clicks.
mxGraph.prototype.doubleTapTimeout
Specifies the tolerance for double taps and double clicks in quirks mode.
mxGraph.prototype.doubleTapTolerance
Specifies the event name for down.
DOWN: 'down'
Holds the DOM node that is used to represent the drag preview.
mxDragSource.prototype.dragElement
Opacity of the drag element in %.
mxDragSource.prototype.dragElementOpacity
ZIndex for the drag element.
mxDragSource.prototype.dragElementZIndex
Actives the given graph as a drop target.
mxDragSource.prototype.dragEnter = function( graph, evt )
Deactivates the given graph as a drop target.
mxDragSource.prototype.dragExit = function( graph, evt )
mxPoint that specifies the offset of the dragElement.
mxDragSource.prototype.dragOffset
Implements autoscroll, updates the currentPoint, highlights any drop targets and updates the preview.
mxDragSource.prototype.dragOver = function( graph, evt )
Draws the given state to the given canvas.
mxImageExport.prototype.drawCellState = function( state, canvas )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawChildren = function( canvas, shape, x, y, w, h, node, aspect, disableShadow, paint )
Creates and returns the highlight shape for the given state.
mxCellHighlight.prototype.drawHighlight = function()
Draws this stencil inside the given bounds.
mxStencil.prototype.drawNode = function( canvas, shape, node, aspect, disableShadow, paint )
Draws the overlays for the given state.
mxImageExport.prototype.drawOverlays = function( state, canvas )
Redraws the preview edge using the color and width returned by getEdgeColor and getEdgeWidth.
mxConnectionHandler.prototype.drawPreview = function()
Redraws the preview.
mxEdgeHandler.prototype.drawPreview = function()
Redraws the preview.
mxVertexHandler.prototype.drawPreview = function()
Draws the shape of the given state.
mxImageExport.prototype.drawShape = function( state, canvas )
Draws this stencil inside the given bounds.
mxStencil.prototype.drawShape = function( canvas, shape, x, y, w, h )
Draws the given state and all its descendants to the given canvas.
mxImageExport.prototype.drawState = function( state, canvas )
Draws the text of the given state.
mxImageExport.prototype.drawText = function( state, canvas )
Holds the drill event listener for later removal.
mxConnectionHandler.prototype.drillHandler
Handles a drop from a toolbar item to the graph.
mxDefaultToolbar.prototype.drop = function( vertex, evt, target )
Returns the drop target for the given graph and coordinates.
mxDragSource.prototype.drop = function( graph, evt, dropTarget, x, y )
Defines the color to be used for the highlighting target parent cells (for drag and drop).
DROP_TARGET_COLOR: '#0000FF'
Specifies the return value for isDropEnabled.
mxGraph.prototype.dropEnabled
Holds the DOM node that is used to represent the drag preview.
mxDragSource.prototype.dropHandler
The cell width of any dummy vertices inserted
mxSwimlaneLayout.prototype.dummyVertexWidth
Holds an array of mxCell of dummy vertices inserted during the layout to pad out empty swimlanes
mxSwimlaneLayout.prototype.dummyVertices
Holds the current horizontal offset.
mxPanningHandler.prototype.dx
Holds the current vertical offset.
mxPanningHandler.prototype.dy
Specifies the event name for open.
SAVE: 'save'
Specifies the scale.
mxGraphView.prototype.scale
Holds the scale of the print preview.
mxPrintPreview.prototype.scale
Holds the scale in which the shape is being painted.
mxShape.prototype.scale
Specifies the event name for scale.
SCALE: 'scale'
Specifies the event name for scaleAndTranslate.
SCALE_AND_TRANSLATE: 'scaleAndTranslate'
Specifies if the grid should be scaled.
mxGraphHandler.prototype.scaleGrid
Screen X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenX
Screen Y-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenY
Specifies if the view should be scrolled so that a moved cell is visible.
mxGraphHandler.prototype.scrollOnMove
Array of numbers that represent the cached length of each segment of the edge.
mxCellState.prototype.segments
Specifies if new edges should be selected.
mxConnectionHandler.prototype.select
Specifies the event name for select.
SELECT: 'select'
Specifies if selecting is enabled.
mxGraphHandler.prototype.selectEnabled
Defines the dashed state to be used for the vertex selection border.
VERTEX_SELECTION_DASHED: true
Holds the mxGraphSelectionModel that models the current selection.
mxGraph.prototype.selectionModel
Specifies if cells should be selected if a popupmenu is displayed for them.
mxPopupMenuHandler.prototype.selectOnPopup
Specifies if the text should be selected when editing starts.
mxCellEditor.prototype.selectText
Specifies the x-offset of the shadow.
SHADOW_OFFSET_X: 2
Specifies the y-offset of the shadow.
SHADOW_OFFSET_Y: 3
Defines the opacity for shadows.
SHADOW_OPACITY: 1
Defines the color to be used to draw shadows in shapes and windows.
SHADOWCOLOR: 'gray'
Holds the mxShape that represents the cell graphically.
mxCellState.prototype.shape
Holds the mxShape that represents the preview edge.
mxEdgeHandler.prototype.shape
Reference to the mxShape that represents the preview.
mxGraphHandler.prototype.shape
Name under which mxActor is registered in mxCellRenderer.
SHAPE_ACTOR: 'actor'
Name under which mxArrow is registered in mxCellRenderer.
SHAPE_ARROW: 'arrow'
Name under which mxArrowConnector is registered in mxCellRenderer.
SHAPE_ARROW_CONNECTOR: 'arrowConnector'
Name under which mxCloud is registered in mxCellRenderer.
SHAPE_CLOUD: 'cloud'
Name under which mxConnector is registered in mxCellRenderer.
SHAPE_CONNECTOR: 'connector'
Name under which mxCylinder is registered in mxCellRenderer.
SHAPE_CYLINDER: 'cylinder'
Name under which mxDoubleEllipse is registered in mxCellRenderer.
SHAPE_DOUBLE_ELLIPSE: 'doubleEllipse'
Name under which mxEllipse is registered in mxCellRenderer.
SHAPE_ELLIPSE: 'ellipse'
Name under which mxHexagon is registered in mxCellRenderer.
SHAPE_HEXAGON: 'hexagon'
Name under which mxImageShape is registered in mxCellRenderer.
SHAPE_IMAGE: 'image'
Name under which mxLabel is registered in mxCellRenderer.
SHAPE_LABEL: 'label'
Name under which mxLine is registered in mxCellRenderer.
SHAPE_LINE: 'line'
Name under which mxRectangleShape is registered in mxCellRenderer.
SHAPE_RECTANGLE: 'rectangle'
Name under which mxRhombus is registered in mxCellRenderer.
SHAPE_RHOMBUS: 'rhombus'
Name under which mxSwimlane is registered in mxCellRenderer.
SHAPE_SWIMLANE: 'swimlane'
Name under which mxTriangle is registered in mxCellRenderer.
SHAPE_TRIANGLE: 'triangle'
Specifies if pointer events outside of shape should be handled.
mxShape.prototype.shapePointerEvents
Holds the DIV element which is used to display the rubberband.
mxRubberband.prototype.sharedDiv
Maps from keycodes to functions for pressed shift keys.
mxKeyHandler.prototype.shiftKeys
Specifies the event name for show.
SHOW: 'show'
Specifies a viewport rectangle should be shown.
mxOutline.prototype.showViewport
Specifies if the undoable change is significant.
mxUndoableEdit.prototype.significant
Specifies if only one selected item at a time is allowed.
mxGraphSelectionModel.prototype.singleSelection
Specifies if only one sizer handle at the bottom, right corner should be used.
mxVertexHandler.prototype.singleSizer
Maximum command history size.
mxUndoManager.prototype.size
Specifies the event name for size.
SIZE: 'size'
Optional mxImage to be used for the sizer.
mxOutline.prototype.sizerImage
Specifies if separators should only be added if a menu item follows them.
mxPopupMenu.prototype.smartSeparators
Specifies if waypoints should snap to the routing centers of terminals.
mxEdgeHandler.prototype.snapToTerminals
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxCompactTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxRadialTreeLayout.prototype.sortEdges
Reference to the source terminal.
mxCell.prototype.source
The node this edge is sourced at
mxGraphHierarchyEdge.prototype.source
Boolean that specifies if the rule is applied to the source or target terminal of an edge.
mxMultiplicity.prototype.source
Specifies the source of the edit.
mxUndoableEdit.prototype.source
Defines the source mxPoint of the edge.
mxGeometry.prototype.sourcePoint
High value to start source layering scan rank value from.
mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK
Holds the mxCellState that was passed to the constructor.
mxMouseEvent.prototype.sourceState
Specifies the spacing between the highlight for vertices and the vertex.
mxCellHighlight.prototype.spacing
Defines the spacing between existing and new vertices in gridSize units when a new vertex is dropped on an existing cell.
mxDefaultToolbar.prototype.spacing
Default value for image spacing.
mxLabel.prototype.spacing
Defines the spacing between the parallels.
mxParallelEdgeLayout.prototype.spacing
Integer that specifies the absolute spacing in pixels between the children.
mxPartitionLayout.prototype.spacing
Specifies the spacing between the cells.
mxStackLayout.prototype.spacing
Specifies the event name for splitEdge.
SPLIT_EDGE: 'splitEdge'
Specifies if dropping onto edges should be enabled.
mxGraph.prototype.splitEnabled
String that specifies the URL of the image.
mxImage.prototype.src
Specifies the event name for start.
START: 'start'
Specifies the event name for startEdit.
START_EDIT: 'startEdit'
Specifies the event name for startEditing.
START_EDITING: 'startEditing'
Holds the x-coordinate of the start point.
mxPanningHandler.prototype.startX
Holds the y-coordinate of the start point.
mxPanningHandler.prototype.startY
Holds the current state.
mxAbstractCanvas2D.prototype.state
Reference to the mxCellState.
mxCellHighlight.prototype.state
Reference to the mxCellState being modified.
mxEdgeHandler.prototype.state
Holds the optional mxCellState associated with this event.
mxMouseEvent.prototype.state
Optional reference to the corresponding mxCellState.
mxShape.prototype.state
Reference to the mxCellState being modified.
mxVertexHandler.prototype.state
Stack of states.
mxAbstractCanvas2D.prototype.states
mxDictionary that maps from cell IDs to mxCellStates.
mxGraphView.prototype.states
Contains the mxCellStates that are used for alignment.
mxGuide.prototype.states
DOM container that holds the statusbar.
mxEditor.prototype.status
Holds the mxStencil that defines the shape.
mxShape.prototype.stencil
Specifies if pointer events outside of stencils should be handled.
mxShape.prototype.stencilPointerEvents
Contains the current step.
mxMorphing.prototype.step
Specifies the maximum number of steps for the morphing.
mxMorphing.prototype.steps
Defines the step size to offset the cells after each paste operation.
STEPSIZE: 10
Specifies if removing bends by creating straight segments should be enabled.
mxEdgeHandler.prototype.straightRemoveEnabled
Adds transparent paths for strokes.
mxSvgCanvas2D.prototype.strokeTolerance
Holds the strokewidth direction from the description.
mxStencil.prototype.strokewidth
Holds the style as a string of the form [(stylename|key=value);].
mxCell.prototype.style
Contains an array of key, value pairs that represent the style of the cell.
mxCellState.prototype.style
Optional reference to the style of the corresponding mxCellState.
mxShape.prototype.style
Defines the key for the absolute arc size style.
STYLE_ABSOLUTE_ARCSIZE: 'absoluteArcSize'
Defines the key for the align style.
STYLE_ALIGN: 'align'
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
STYLE_ARCSIZE: 'arcSize'
Defines the key for the aspect style.
STYLE_ASPECT: 'aspect'
Defines the key for the autosize style.
STYLE_AUTOSIZE: 'autosize'
Defines the key for the bendable style.
STYLE_BENDABLE: 'bendable'
Defines the key for the cloneable style.
STYLE_CLONEABLE: 'cloneable'
Defines the key for the curved style.
STYLE_CURVED: 'curved'
Defines the key for the dashed style.
STYLE_DASHED: 'dashed'
Defines the key for the deletable style.
STYLE_DELETABLE: 'deletable'
Defines the key for the direction style.
STYLE_DIRECTION: 'direction'
Defines the key for the edge style.
STYLE_EDGE: 'edgeStyle'
Defines the key for the editable style.
STYLE_EDITABLE: 'editable'
Defines the key for the elbow style.
STYLE_ELBOW: 'elbow'
Defines the key for the end arrow marker.
STYLE_ENDARROW: 'endArrow'
Defines the key for the endFill style.
STYLE_ENDFILL: 'endFill'
Defines the key for the endSize style.
STYLE_ENDSIZE: 'endSize'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
STYLE_ENTRY_PERIMETER: 'entryPerimeter'
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_X: 'entryX'
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_Y: 'entryY'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
STYLE_EXIT_PERIMETER: 'exitPerimeter'
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_X: 'exitX'
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_Y: 'exitY'
Defines the key for the fill opacity style.
STYLE_FILL_OPACITY: 'fillOpacity'
Defines the key for the fill color.
STYLE_FILLCOLOR: 'fillColor'
Defines the key for the fixDash style.
STYLE_FIX_DASH: 'fixDash'
Defines the key for the horizontal image flip.
STYLE_FLIPH: 'flipH'
Defines the key for the vertical flip.
STYLE_FLIPV: 'flipV'
Defines the key for the foldable style.
STYLE_FOLDABLE: 'foldable'
Defines the key for the fontColor style.
STYLE_FONTCOLOR: 'fontColor'
Defines the key for the fontFamily style.
STYLE_FONTFAMILY: 'fontFamily'
Defines the key for the fontSize style (in px).
STYLE_FONTSIZE: 'fontSize'
Defines the key for the fontStyle style.
STYLE_FONTSTYLE: 'fontStyle'
Defines the key for the glass style.
STYLE_GLASS: 'glass'
Defines the key for the gradient direction.
STYLE_GRADIENT_DIRECTION: 'gradientDirection'
Defines the key for the gradient color.
STYLE_GRADIENTCOLOR: 'gradientColor'
Defines the key for the horizontal style.
STYLE_HORIZONTAL: 'horizontal'
Defines the key for the image style.
STYLE_IMAGE: 'image'
Defines the key for the align style.
STYLE_IMAGE_ALIGN: 'imageAlign'
Defines the key for the image aspect style.
STYLE_IMAGE_ASPECT: 'imageAspect'
Defines the key for the image background color.
STYLE_IMAGE_BACKGROUND: 'imageBackground'
Defines the key for the image border color.
STYLE_IMAGE_BORDER: 'imageBorder'
Defines the key for the imageHeight style.
STYLE_IMAGE_HEIGHT: 'imageHeight'
Defines the key for the verticalAlign style.
STYLE_IMAGE_VERTICAL_ALIGN: 'imageVerticalAlign'
Defines the key for the imageWidth style.
STYLE_IMAGE_WIDTH: 'imageWidth'
Defines the key for the indicatorColor style.
STYLE_INDICATOR_COLOR: 'indicatorColor'
Defines the key for the indicatorDirection style.
STYLE_INDICATOR_DIRECTION: 'indicatorDirection'
Defines the key for the indicatorGradientColor style.
STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'
Defines the key for the indicator height.
STYLE_INDICATOR_HEIGHT: 'indicatorHeight'
Defines the key for the indicator image used within an mxLabel.
STYLE_INDICATOR_IMAGE: 'indicatorImage'
Defines the key for the indicator shape used within an mxLabel.
STYLE_INDICATOR_SHAPE: 'indicatorShape'
The defines the key for the spacing between the label and the indicator in mxLabel.
STYLE_INDICATOR_SPACING: 'indicatorSpacing'
Defines the key for the indicator stroke color in mxLabel.
STYLE_INDICATOR_STROKECOLOR: 'indicatorStrokeColor'
Defines the key for the indicator width.
STYLE_INDICATOR_WIDTH: 'indicatorWidth'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_JETTY_SIZE: 'jettySize'
Defines the key for the label background color.
STYLE_LABEL_BACKGROUNDCOLOR: 'labelBackgroundColor'
Defines the key for the label border color.
STYLE_LABEL_BORDERCOLOR: 'labelBorderColor'
Defines the key for the label padding, ie.
STYLE_LABEL_PADDING: 'labelPadding'
Defines the key for the horizontal label position of vertices.
STYLE_LABEL_POSITION: 'labelPosition'
Defines the key for the width of the label if the label position is not center.
STYLE_LABEL_WIDTH: 'labelWidth'
Defines the key for the loop style.
STYLE_LOOP: 'loopStyle'
Defines the key for the margin between the ellipses in the double ellipse shape.
STYLE_MARGIN: 'margin'
Defines the key for the movable style.
STYLE_MOVABLE: 'movable'
Defines the key for the noEdgeStyle style.
STYLE_NOEDGESTYLE: 'noEdgeStyle'
Defines the key for the noLabel style.
STYLE_NOLABEL: 'noLabel'
Defines the key for the opacity style.
STYLE_OPACITY: 'opacity'
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
STYLE_ORTHOGONAL: 'orthogonal'
Defines the key for the orthogonal loop style.
STYLE_ORTHOGONAL_LOOP: 'orthogonalLoop'
Defines the key for the overflow style.
STYLE_OVERFLOW: 'overflow'
Defines the key for the perimeter style.
STYLE_PERIMETER: 'perimeter'
Defines the key for the perimeter spacing.
STYLE_PERIMETER_SPACING: 'perimeterSpacing'
Specifies if pointer events should be fired on transparent backgrounds.
STYLE_POINTER_EVENTS: 'pointerEvents'
Defines the direction(s) that edges are allowed to connect to cells in.
STYLE_PORT_CONSTRAINT: 'portConstraint'
Define whether port constraint directions are rotated with vertex rotation.
STYLE_PORT_CONSTRAINT_ROTATION: 'portConstraintRotation'
Defines the key for the resizable style.
STYLE_RESIZABLE: 'resizable'
Defines the key for the resizeWidth style.
STYLE_RESIZE_WIDTH: 'resizeWidth'
Defines the key for the rotatable style.
STYLE_ROTATABLE: 'rotatable'
Defines the key for the rotation style.
STYLE_ROTATION: 'rotation'
Defines the key for the rounded style.
STYLE_ROUNDED: 'rounded'
Defines the key for the horizontal routing center.
STYLE_ROUTING_CENTER_X: 'routingCenterX'
Defines the key for the vertical routing center.
STYLE_ROUTING_CENTER_Y: 'routingCenterY'
Defines the key for the segment style.
STYLE_SEGMENT: 'segment'
Defines the key for the separatorColor style.
STYLE_SEPARATORCOLOR: 'separatorColor'
Defines the key for the shadow style.
STYLE_SHADOW: 'shadow'
Defines the key for the shape.
STYLE_SHAPE: 'shape'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_SOURCE_JETTY_SIZE: 'sourceJettySize'
Defines the key for the source perimeter spacing.
STYLE_SOURCE_PERIMETER_SPACING: 'sourcePerimeterSpacing'
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
STYLE_SOURCE_PORT: 'sourcePort'
Defines the direction(s) that edges are allowed to connect to sources in.
STYLE_SOURCE_PORT_CONSTRAINT: 'sourcePortConstraint'
Defines the key for the spacing.
STYLE_SPACING: 'spacing'
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_BOTTOM: 'spacingBottom'
Defines the key for the spacingLeft style.
STYLE_SPACING_LEFT: 'spacingLeft'
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_RIGHT: 'spacingRight'
Defines the key for the spacingTop style.
STYLE_SPACING_TOP: 'spacingTop'
Defines the key for the start arrow marker.
STYLE_STARTARROW: 'startArrow'
Defines the key for the startFill style.
STYLE_STARTFILL: 'startFill'
Defines the key for the startSize style.
STYLE_STARTSIZE: 'startSize'
Defines the key for the stroke opacity style.
STYLE_STROKE_OPACITY: 'strokeOpacity'
Defines the key for the strokeColor style.
STYLE_STROKECOLOR: 'strokeColor'
Defines the key for the strokeWidth style.
STYLE_STROKEWIDTH: 'strokeWidth'
Defines the key for the fill color of the swimlane background.
STYLE_SWIMLANE_FILLCOLOR: 'swimlaneFillColor'
Defines the key for the swimlaneLine style.
STYLE_SWIMLANE_LINE: 'swimlaneLine'
Defines the key for the target perimeter spacing.
STYLE_TARGET_PERIMETER_SPACING: 'targetPerimeterSpacing'
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
STYLE_TARGET_PORT: 'targetPort'
Defines the direction(s) that edges are allowed to connect to targets in.
STYLE_TARGET_PORT_CONSTRAINT: 'targetPortConstraint'
Defines the key for the text direction style.
STYLE_TEXT_DIRECTION: 'textDirection'
Defines the key for the text opacity style.
STYLE_TEXT_OPACITY: 'textOpacity'
Defines the key for the verticalAlign style.
STYLE_VERTICAL_ALIGN: 'verticalAlign'
Defines the key for the vertical label position of vertices.
STYLE_VERTICAL_LABEL_POSITION: 'verticalLabelPosition'
Defines the key for the white-space style.
STYLE_WHITE_SPACE: 'whiteSpace'
Stores the value of styleEnabled passed to the constructor.
this.styleEnabled
Holds the mxStylesheet that defines the appearance of the cells.
mxGraph.prototype.stylesheet
URL of the image to be used for the submenu icon.
mxPopupMenu.prototype.submenuImage
Specifies the event name for suspend.
SUSPEND: 'suspend'
Optional boolean flag to suspend updates.
mxOutline.prototype.suspended
Specifies if pointer events should be handled.
mxShape.prototype.svgPointerEvents
Sets stroke tolerance to 0 for SVG.
mxCylinder.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxShape.prototype.svgStrokeTolerance
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneIndicatorColorAttribute
Specifies if nesting of swimlanes is allowed.
mxGraph.prototype.swimlaneNesting
Specifies if new cells must be inserted into an existing swimlane.
mxEditor.prototype.swimlaneRequired
Holds the array of mxCell of the ordered swimlanes to lay out
mxSwimlaneLayout.prototype.swimlanes
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxGraph.prototype.swimlaneSelectionEnabled
Specifies the spacing between swimlanes if automatic layout is turned on in layoutDiagram.
mxEditor.prototype.swimlaneSpacing
Specifies the event name for open.
SAVE: 'save'
Specifies the scale.
mxGraphView.prototype.scale
Holds the scale of the print preview.
mxPrintPreview.prototype.scale
Holds the scale in which the shape is being painted.
mxShape.prototype.scale
Specifies the event name for scale.
SCALE: 'scale'
Specifies the event name for scaleAndTranslate.
SCALE_AND_TRANSLATE: 'scaleAndTranslate'
Specifies if the grid should be scaled.
mxGraphHandler.prototype.scaleGrid
Screen X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenX
Screen Y-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.screenY
Specifies if the view should be scrolled so that a moved cell is visible.
mxGraphHandler.prototype.scrollOnMove
Array of numbers that represent the cached length of each segment of the edge.
mxCellState.prototype.segments
Specifies if new edges should be selected.
mxConnectionHandler.prototype.select
Specifies the event name for select.
SELECT: 'select'
Specifies if selecting is enabled.
mxGraphHandler.prototype.selectEnabled
Defines the dashed state to be used for the vertex selection border.
VERTEX_SELECTION_DASHED: true
Holds the mxGraphSelectionModel that models the current selection.
mxGraph.prototype.selectionModel
Specifies if cells should be selected if a popupmenu is displayed for them.
mxPopupMenuHandler.prototype.selectOnPopup
Specifies if the text should be selected when editing starts.
mxCellEditor.prototype.selectText
Specifies the x-offset of the shadow.
SHADOW_OFFSET_X: 2
Specifies the y-offset of the shadow.
SHADOW_OFFSET_Y: 3
Defines the opacity for shadows.
SHADOW_OPACITY: 1
Defines the color to be used to draw shadows in shapes and windows.
SHADOWCOLOR: 'gray'
Holds the mxShape that represents the cell graphically.
mxCellState.prototype.shape
Holds the mxShape that represents the preview edge.
mxEdgeHandler.prototype.shape
Reference to the mxShape that represents the preview.
mxGraphHandler.prototype.shape
Name under which mxActor is registered in mxCellRenderer.
SHAPE_ACTOR: 'actor'
Name under which mxArrow is registered in mxCellRenderer.
SHAPE_ARROW: 'arrow'
Name under which mxArrowConnector is registered in mxCellRenderer.
SHAPE_ARROW_CONNECTOR: 'arrowConnector'
Name under which mxCloud is registered in mxCellRenderer.
SHAPE_CLOUD: 'cloud'
Name under which mxConnector is registered in mxCellRenderer.
SHAPE_CONNECTOR: 'connector'
Name under which mxCylinder is registered in mxCellRenderer.
SHAPE_CYLINDER: 'cylinder'
Name under which mxDoubleEllipse is registered in mxCellRenderer.
SHAPE_DOUBLE_ELLIPSE: 'doubleEllipse'
Name under which mxEllipse is registered in mxCellRenderer.
SHAPE_ELLIPSE: 'ellipse'
Name under which mxHexagon is registered in mxCellRenderer.
SHAPE_HEXAGON: 'hexagon'
Name under which mxImageShape is registered in mxCellRenderer.
SHAPE_IMAGE: 'image'
Name under which mxLabel is registered in mxCellRenderer.
SHAPE_LABEL: 'label'
Name under which mxLine is registered in mxCellRenderer.
SHAPE_LINE: 'line'
Name under which mxRectangleShape is registered in mxCellRenderer.
SHAPE_RECTANGLE: 'rectangle'
Name under which mxRhombus is registered in mxCellRenderer.
SHAPE_RHOMBUS: 'rhombus'
Name under which mxSwimlane is registered in mxCellRenderer.
SHAPE_SWIMLANE: 'swimlane'
Name under which mxTriangle is registered in mxCellRenderer.
SHAPE_TRIANGLE: 'triangle'
Specifies if pointer events outside of shape should be handled.
mxShape.prototype.shapePointerEvents
Holds the DIV element which is used to display the rubberband.
mxRubberband.prototype.sharedDiv
Maps from keycodes to functions for pressed shift keys.
mxKeyHandler.prototype.shiftKeys
Specifies the event name for show.
SHOW: 'show'
Specifies a viewport rectangle should be shown.
mxOutline.prototype.showViewport
Specifies if the undoable change is significant.
mxUndoableEdit.prototype.significant
Specifies if only one selected item at a time is allowed.
mxGraphSelectionModel.prototype.singleSelection
Specifies if only one sizer handle at the bottom, right corner should be used.
mxVertexHandler.prototype.singleSizer
Maximum command history size.
mxUndoManager.prototype.size
Specifies the event name for size.
SIZE: 'size'
Optional mxImage to be used for the sizer.
mxOutline.prototype.sizerImage
Specifies if separators should only be added if a menu item follows them.
mxPopupMenu.prototype.smartSeparators
Specifies if waypoints should snap to the routing centers of terminals.
mxEdgeHandler.prototype.snapToTerminals
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxCompactTreeLayout.prototype.sortEdges
Specifies if edges should be sorted according to the order of their opposite terminal cell in the model.
mxRadialTreeLayout.prototype.sortEdges
Reference to the source terminal.
mxCell.prototype.source
The node this edge is sourced at
mxGraphHierarchyEdge.prototype.source
Boolean that specifies if the rule is applied to the source or target terminal of an edge.
mxMultiplicity.prototype.source
Specifies the source of the edit.
mxUndoableEdit.prototype.source
Defines the source mxPoint of the edge.
mxGeometry.prototype.sourcePoint
High value to start source layering scan rank value from.
mxGraphHierarchyModel.prototype.SOURCESCANSTARTRANK
High value to start source layering scan rank value from.
mxSwimlaneModel.prototype.SOURCESCANSTARTRANK
Holds the mxCellState that was passed to the constructor.
mxMouseEvent.prototype.sourceState
Specifies the spacing between the highlight for vertices and the vertex.
mxCellHighlight.prototype.spacing
Defines the spacing between existing and new vertices in gridSize units when a new vertex is dropped on an existing cell.
mxDefaultToolbar.prototype.spacing
Default value for image spacing.
mxLabel.prototype.spacing
Defines the spacing between the parallels.
mxParallelEdgeLayout.prototype.spacing
Integer that specifies the absolute spacing in pixels between the children.
mxPartitionLayout.prototype.spacing
Specifies the spacing between the cells.
mxStackLayout.prototype.spacing
Specifies the event name for splitEdge.
SPLIT_EDGE: 'splitEdge'
Specifies if dropping onto edges should be enabled.
mxGraph.prototype.splitEnabled
String that specifies the URL of the image.
mxImage.prototype.src
Specifies the event name for start.
START: 'start'
Specifies the event name for startEdit.
START_EDIT: 'startEdit'
Specifies the event name for startEditing.
START_EDITING: 'startEditing'
Holds the x-coordinate of the start point.
mxPanningHandler.prototype.startX
Holds the y-coordinate of the start point.
mxPanningHandler.prototype.startY
Holds the current state.
mxAbstractCanvas2D.prototype.state
Reference to the mxCellState.
mxCellHighlight.prototype.state
Reference to the mxCellState being modified.
mxEdgeHandler.prototype.state
Holds the optional mxCellState associated with this event.
mxMouseEvent.prototype.state
Optional reference to the corresponding mxCellState.
mxShape.prototype.state
Reference to the mxCellState being modified.
mxVertexHandler.prototype.state
Stack of states.
mxAbstractCanvas2D.prototype.states
mxDictionary that maps from cell IDs to mxCellStates.
mxGraphView.prototype.states
Contains the mxCellStates that are used for alignment.
mxGuide.prototype.states
DOM container that holds the statusbar.
mxEditor.prototype.status
Holds the mxStencil that defines the shape.
mxShape.prototype.stencil
Specifies if pointer events outside of stencils should be handled.
mxShape.prototype.stencilPointerEvents
Contains the current step.
mxMorphing.prototype.step
Specifies the maximum number of steps for the morphing.
mxMorphing.prototype.steps
Defines the step size to offset the cells after each paste operation.
STEPSIZE: 10
Specifies if removing bends by creating straight segments should be enabled.
mxEdgeHandler.prototype.straightRemoveEnabled
Adds transparent paths for strokes.
mxSvgCanvas2D.prototype.strokeTolerance
Holds the strokewidth direction from the description.
mxStencil.prototype.strokewidth
Holds the style as a string of the form [(stylename|key=value);].
mxCell.prototype.style
Contains an array of key, value pairs that represent the style of the cell.
mxCellState.prototype.style
Optional reference to the style of the corresponding mxCellState.
mxShape.prototype.style
Defines the key for the absolute arc size style.
STYLE_ABSOLUTE_ARCSIZE: 'absoluteArcSize'
Defines the key for the align style.
STYLE_ALIGN: 'align'
Defines the key for the anchorPointDirection style.
STYLE_ANCHOR_POINT_DIRECTION: 'anchorPointDirection'
Defines the rounding factor for a rounded rectangle in percent (without the percent sign).
STYLE_ARCSIZE: 'arcSize'
Defines the key for the aspect style.
STYLE_ASPECT: 'aspect'
Defines the key for the autosize style.
STYLE_AUTOSIZE: 'autosize'
Defines the key for the backgroundOutline style.
STYLE_BACKGROUND_OUTLINE: 'backgroundOutline'
Defines the key for the bendable style.
STYLE_BENDABLE: 'bendable'
Defines the key for the cloneable style.
STYLE_CLONEABLE: 'cloneable'
Defines the key for the curved style.
STYLE_CURVED: 'curved'
Defines the key for the dashed style.
STYLE_DASHED: 'dashed'
Defines the key for the deletable style.
STYLE_DELETABLE: 'deletable'
Defines the key for the direction style.
STYLE_DIRECTION: 'direction'
Defines the key for the edge style.
STYLE_EDGE: 'edgeStyle'
Defines the key for the editable style.
STYLE_EDITABLE: 'editable'
Defines the key for the elbow style.
STYLE_ELBOW: 'elbow'
Defines the key for the end arrow marker.
STYLE_ENDARROW: 'endArrow'
Defines the key for the endFill style.
STYLE_ENDFILL: 'endFill'
Defines the key for the endSize style.
STYLE_ENDSIZE: 'endSize'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the target.
STYLE_ENTRY_PERIMETER: 'entryPerimeter'
Defines the key for the horizontal relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_X: 'entryX'
Defines the key for the vertical relative coordinate connection point of an edge with its target terminal.
STYLE_ENTRY_Y: 'entryY'
Defines if the perimeter should be used to find the exact entry point along the perimeter of the source.
STYLE_EXIT_PERIMETER: 'exitPerimeter'
Defines the key for the horizontal relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_X: 'exitX'
Defines the key for the vertical relative coordinate connection point of an edge with its source terminal.
STYLE_EXIT_Y: 'exitY'
Defines the key for the fill opacity style.
STYLE_FILL_OPACITY: 'fillOpacity'
Defines the key for the fill color.
STYLE_FILLCOLOR: 'fillColor'
Defines the key for the fixDash style.
STYLE_FIX_DASH: 'fixDash'
Defines the key for the horizontal image flip.
STYLE_FLIPH: 'flipH'
Defines the key for the vertical flip.
STYLE_FLIPV: 'flipV'
Defines the key for the foldable style.
STYLE_FOLDABLE: 'foldable'
Defines the key for the fontColor style.
STYLE_FONTCOLOR: 'fontColor'
Defines the key for the fontFamily style.
STYLE_FONTFAMILY: 'fontFamily'
Defines the key for the fontSize style (in px).
STYLE_FONTSIZE: 'fontSize'
Defines the key for the fontStyle style.
STYLE_FONTSTYLE: 'fontStyle'
Defines the key for the glass style.
STYLE_GLASS: 'glass'
Defines the key for the gradient direction.
STYLE_GRADIENT_DIRECTION: 'gradientDirection'
Defines the key for the gradient color.
STYLE_GRADIENTCOLOR: 'gradientColor'
Defines the key for the horizontal style.
STYLE_HORIZONTAL: 'horizontal'
Defines the key for the image style.
STYLE_IMAGE: 'image'
Defines the key for the align style.
STYLE_IMAGE_ALIGN: 'imageAlign'
Defines the key for the image aspect style.
STYLE_IMAGE_ASPECT: 'imageAspect'
Defines the key for the image background color.
STYLE_IMAGE_BACKGROUND: 'imageBackground'
Defines the key for the image border color.
STYLE_IMAGE_BORDER: 'imageBorder'
Defines the key for the imageHeight style.
STYLE_IMAGE_HEIGHT: 'imageHeight'
Defines the key for the verticalAlign style.
STYLE_IMAGE_VERTICAL_ALIGN: 'imageVerticalAlign'
Defines the key for the imageWidth style.
STYLE_IMAGE_WIDTH: 'imageWidth'
Defines the key for the indicatorColor style.
STYLE_INDICATOR_COLOR: 'indicatorColor'
Defines the key for the indicatorDirection style.
STYLE_INDICATOR_DIRECTION: 'indicatorDirection'
Defines the key for the indicatorGradientColor style.
STYLE_INDICATOR_GRADIENTCOLOR: 'indicatorGradientColor'
Defines the key for the indicator height.
STYLE_INDICATOR_HEIGHT: 'indicatorHeight'
Defines the key for the indicator image used within an mxLabel.
STYLE_INDICATOR_IMAGE: 'indicatorImage'
Defines the key for the indicator shape used within an mxLabel.
STYLE_INDICATOR_SHAPE: 'indicatorShape'
The defines the key for the spacing between the label and the indicator in mxLabel.
STYLE_INDICATOR_SPACING: 'indicatorSpacing'
Defines the key for the indicator stroke color in mxLabel.
STYLE_INDICATOR_STROKECOLOR: 'indicatorStrokeColor'
Defines the key for the indicator width.
STYLE_INDICATOR_WIDTH: 'indicatorWidth'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_JETTY_SIZE: 'jettySize'
Defines the key for the label background color.
STYLE_LABEL_BACKGROUNDCOLOR: 'labelBackgroundColor'
Defines the key for the label border color.
STYLE_LABEL_BORDERCOLOR: 'labelBorderColor'
Defines the key for the label padding, ie.
STYLE_LABEL_PADDING: 'labelPadding'
Defines the key for the horizontal label position of vertices.
STYLE_LABEL_POSITION: 'labelPosition'
Defines the key for the width of the label if the label position is not center.
STYLE_LABEL_WIDTH: 'labelWidth'
Defines the key for the loop style.
STYLE_LOOP: 'loopStyle'
Defines the key for the margin between the ellipses in the double ellipse shape.
STYLE_MARGIN: 'margin'
Defines the key for the movable style.
STYLE_MOVABLE: 'movable'
Defines the key for the noEdgeStyle style.
STYLE_NOEDGESTYLE: 'noEdgeStyle'
Defines the key for the noLabel style.
STYLE_NOLABEL: 'noLabel'
Defines the key for the opacity style.
STYLE_OPACITY: 'opacity'
Defines if the connection points on either end of the edge should be computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location.
STYLE_ORTHOGONAL: 'orthogonal'
Defines the key for the orthogonal loop style.
STYLE_ORTHOGONAL_LOOP: 'orthogonalLoop'
Defines the key for the overflow style.
STYLE_OVERFLOW: 'overflow'
Defines the key for the perimeter style.
STYLE_PERIMETER: 'perimeter'
Defines the key for the perimeter spacing.
STYLE_PERIMETER_SPACING: 'perimeterSpacing'
Specifies if pointer events should be fired on transparent backgrounds.
STYLE_POINTER_EVENTS: 'pointerEvents'
Defines the direction(s) that edges are allowed to connect to cells in.
STYLE_PORT_CONSTRAINT: 'portConstraint'
Define whether port constraint directions are rotated with vertex rotation.
STYLE_PORT_CONSTRAINT_ROTATION: 'portConstraintRotation'
Defines the key for the resizable style.
STYLE_RESIZABLE: 'resizable'
Defines the key for the resizeWidth style.
STYLE_RESIZE_WIDTH: 'resizeWidth'
Defines the key for the rotatable style.
STYLE_ROTATABLE: 'rotatable'
Defines the key for the rotation style.
STYLE_ROTATION: 'rotation'
Defines the key for the rounded style.
STYLE_ROUNDED: 'rounded'
Defines the key for the horizontal routing center.
STYLE_ROUTING_CENTER_X: 'routingCenterX'
Defines the key for the vertical routing center.
STYLE_ROUTING_CENTER_Y: 'routingCenterY'
Defines the key for the segment style.
STYLE_SEGMENT: 'segment'
Defines the key for the separatorColor style.
STYLE_SEPARATORCOLOR: 'separatorColor'
Defines the key for the shadow style.
STYLE_SHADOW: 'shadow'
Defines the key for the shape.
STYLE_SHAPE: 'shape'
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_SOURCE_JETTY_SIZE: 'sourceJettySize'
Defines the key for the source perimeter spacing.
STYLE_SOURCE_PERIMETER_SPACING: 'sourcePerimeterSpacing'
Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge.
STYLE_SOURCE_PORT: 'sourcePort'
Defines the direction(s) that edges are allowed to connect to sources in.
STYLE_SOURCE_PORT_CONSTRAINT: 'sourcePortConstraint'
Defines the key for the spacing.
STYLE_SPACING: 'spacing'
Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_BOTTOM: 'spacingBottom'
Defines the key for the spacingLeft style.
STYLE_SPACING_LEFT: 'spacingLeft'
Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).
STYLE_SPACING_RIGHT: 'spacingRight'
Defines the key for the spacingTop style.
STYLE_SPACING_TOP: 'spacingTop'
Defines the key for the start arrow marker.
STYLE_STARTARROW: 'startArrow'
Defines the key for the startFill style.
STYLE_STARTFILL: 'startFill'
Defines the key for the startSize style.
STYLE_STARTSIZE: 'startSize'
Defines the key for the stroke opacity style.
STYLE_STROKE_OPACITY: 'strokeOpacity'
Defines the key for the strokeColor style.
STYLE_STROKECOLOR: 'strokeColor'
Defines the key for the strokeWidth style.
STYLE_STROKEWIDTH: 'strokeWidth'
Defines the key for the fill color of the swimlane background.
STYLE_SWIMLANE_FILLCOLOR: 'swimlaneFillColor'
Defines the key for the swimlaneLine style.
STYLE_SWIMLANE_LINE: 'swimlaneLine'
Defines the key for the target perimeter spacing.
STYLE_TARGET_PERIMETER_SPACING: 'targetPerimeterSpacing'
Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge.
STYLE_TARGET_PORT: 'targetPort'
Defines the direction(s) that edges are allowed to connect to targets in.
STYLE_TARGET_PORT_CONSTRAINT: 'targetPortConstraint'
Defines the key for the text direction style.
STYLE_TEXT_DIRECTION: 'textDirection'
Defines the key for the text opacity style.
STYLE_TEXT_OPACITY: 'textOpacity'
Defines the key for the verticalAlign style.
STYLE_VERTICAL_ALIGN: 'verticalAlign'
Defines the key for the vertical label position of vertices.
STYLE_VERTICAL_LABEL_POSITION: 'verticalLabelPosition'
Defines the key for the white-space style.
STYLE_WHITE_SPACE: 'whiteSpace'
Stores the value of styleEnabled passed to the constructor.
this.styleEnabled
Holds the mxStylesheet that defines the appearance of the cells.
mxGraph.prototype.stylesheet
URL of the image to be used for the submenu icon.
mxPopupMenu.prototype.submenuImage
Specifies the event name for suspend.
SUSPEND: 'suspend'
Optional boolean flag to suspend updates.
mxOutline.prototype.suspended
Specifies if pointer events should be handled.
mxShape.prototype.svgPointerEvents
Sets stroke tolerance to 0 for SVG.
mxCylinder.prototype.svgStrokeTolerance
Event-tolerance for SVG strokes (in px).
mxShape.prototype.svgStrokeTolerance
The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’.
mxGraph.prototype.swimlaneIndicatorColorAttribute
Specifies if nesting of swimlanes is allowed.
mxGraph.prototype.swimlaneNesting
Specifies if new cells must be inserted into an existing swimlane.
mxEditor.prototype.swimlaneRequired
Holds the array of mxCell of the ordered swimlanes to lay out
mxSwimlaneLayout.prototype.swimlanes
Specifies if swimlanes should be selectable via the content if the mouse is released.
mxGraph.prototype.swimlaneSelectionEnabled
Specifies the spacing between swimlanes if automatic layout is turned on in layoutDiagram.
mxEditor.prototype.swimlaneSpacing
T | |
table, mxForm | |
TAP_AND_HOLD, mxEvent | |
tapAndHoldDelay, mxGraph | |
tapAndHoldEnabled, mxGraph | |
tapAndHoldInProgress, mxGraph | |
tapAndHoldValid, mxGraph | |
target | |
TARGET_HIGHLIGHT_COLOR, mxConstants | |
targetConnectImage, mxConnectionHandler | |
targetJettySize, mxConstants | |
targetPoint, mxGeometry | |
targetWindow, mxPrintPreview | |
tasks, mxEditor | |
tasksResource, mxEditor | |
tasksTop, mxEditor | |
tasksWindowImage, mxEditor | |
temp, mxGraphAbstractHierarchyCell | |
temperature, mxFastOrganicLayout | |
template, mxObjectCodec | |
templates, mxEditor | |
terminalDistance, mxCellState | |
text, mxCellState | |
TEXT_DIRECTION_AUTO, mxConstants | |
TEXT_DIRECTION_DEFAULT, mxConstants | |
TEXT_DIRECTION_LTR, mxConstants | |
TEXT_DIRECTION_RTL, mxConstants | |
textarea, mxCellEditor | |
textEnabled | |
textNode, mxCellEditor | |
textOffset, mxSvgCanvas2D | |
textWidthPadding, mxText | |
thread, mxAnimation | |
tightenToSource | |
timerAutoScroll, mxGraph | |
title | |
TOGGLE_CELLS, mxEvent | |
tolerance | |
toolbar | |
tooltip, mxCellOverlay | |
TOOLTIP_VERTICAL_OFFSET, mxConstants | |
TRACE, mxLog | |
translate, mxGraphView | |
TRANSLATE, mxEvent | |
TRANSLATE_CONTROL_POINTS, mxGeometry | |
translateToScrollPosition, mxGraph | |
traverseAncestors | |
trigger, mxCellEditor | |
triggerX, mxPopupMenuHandler | |
triggerY, mxPopupMenuHandler | |
type, mxMultiplicity | |
typeError, mxMultiplicity |
T | |
table, mxForm | |
TAP_AND_HOLD, mxEvent | |
tapAndHoldDelay, mxGraph | |
tapAndHoldEnabled, mxGraph | |
tapAndHoldInProgress, mxGraph | |
tapAndHoldValid, mxGraph | |
target | |
TARGET_HIGHLIGHT_COLOR, mxConstants | |
targetConnectImage, mxConnectionHandler | |
targetJettySize, mxConstants | |
targetPoint, mxGeometry | |
targetWindow, mxPrintPreview | |
tasks, mxEditor | |
tasksResource, mxEditor | |
tasksTop, mxEditor | |
tasksWindowImage, mxEditor | |
temp, mxGraphAbstractHierarchyCell | |
temperature, mxFastOrganicLayout | |
template, mxObjectCodec | |
templates, mxEditor | |
terminalDistance, mxCellState | |
text, mxCellState | |
TEXT_DIRECTION_AUTO, mxConstants | |
TEXT_DIRECTION_DEFAULT, mxConstants | |
TEXT_DIRECTION_LTR, mxConstants | |
TEXT_DIRECTION_RTL, mxConstants | |
textarea, mxCellEditor | |
textEnabled | |
textNode, mxCellEditor | |
textOffset, mxSvgCanvas2D | |
textWidthPadding, mxText | |
thread, mxAnimation | |
tightenToSource | |
timerAutoScroll, mxGraph | |
title | |
TOGGLE_CELLS, mxEvent | |
tolerance | |
toolbar | |
tooltip, mxCellOverlay | |
TOOLTIP_VERTICAL_OFFSET, mxConstants | |
TRACE, mxLog | |
translate, mxGraphView | |
TRANSLATE, mxEvent | |
TRANSLATE_CONTROL_POINTS, mxGeometry | |
translateToScrollPosition, mxGraph | |
traverseAncestors | |
trigger, mxCellEditor | |
triggerX, mxPopupMenuHandler | |
triggerY, mxPopupMenuHandler | |
type, mxMultiplicity | |
typeError, mxMultiplicity |
Holds the DOM node that represents the table.
mxForm.prototype.table
Specifies the event name for tapAndHold.
TAP_AND_HOLD: 'tapAndHold'
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldDelay
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldEnabled
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldInProgress
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxGraph.prototype.tapAndHoldValid
Reference to the target terminal.
mxCell.prototype.target
The node this edge targets
mxGraphHierarchyEdge.prototype.target
Reference to the target DOM, that is, the DOM node where the key event listeners are installed.
mxKeyHandler.prototype.target
Specifies if the connect icon should be centered on the target state while connections are being previewed.
mxConnectionHandler.prototype.targetConnectImage
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_TARGET_JETTY_SIZE: 'targetJettySize'
Defines the target mxPoint of the edge.
mxGeometry.prototype.targetPoint
Assign any window here to redirect the rendering in open.
mxPrintPreview.prototype.targetWindow
Holds the mxWindow created in showTasks.
mxEditor.prototype.tasks
Specifies the resource key for the tasks window title.
mxEditor.prototype.tasksResource
Specifies the top coordinate of the tasks window in pixels.
mxEditor.prototype.tasksTop
Icon for the tasks window.
mxEditor.prototype.tasksWindowImage
Temporary variable for general use.
mxGraphAbstractHierarchyCell.prototype.temp
Temperature to limit displacement at later stages of layout.
mxFastOrganicLayout.prototype.temperature
Holds the template object associated with this codec.
mxObjectCodec.prototype.template
Maps from names to protoype cells to be used in the toolbar for inserting new cells into the diagram.
mxEditor.prototype.templates
Caches the distance between the end points for an edge.
mxCellState.prototype.terminalDistance
Holds the mxText that represents the label of the cell.
mxCellState.prototype.text
Constant for text direction automatic.
TEXT_DIRECTION_AUTO: 'auto'
Constant for text direction default.
TEXT_DIRECTION_DEFAULT: ''
Constant for text direction left to right.
TEXT_DIRECTION_LTR: 'ltr'
Constant for text direction right to left.
TEXT_DIRECTION_RTL: 'rtl'
Holds the DIV that is used for text editing.
mxCellEditor.prototype.textarea
Specifies if text output should be enabled.
mxSvgCanvas2D.prototype.textEnabled
Specifies if text output should be enabledetB.
mxVmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxXmlCanvas2D.prototype.textEnabled
Reference to the label DOM node that has been hidden.
mxCellEditor.prototype.textNode
Offset to be used for text elements.
mxSvgCanvas2D.prototype.textOffset
Specifies the padding to be added to the text width for the bounding box.
mxText.prototype.textWidthPadding
Reference to the thread while the animation is running.
mxAnimation.prototype.thread
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxHierarchicalLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneModel.prototype.tightenToSource
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars.
mxGraph.prototype.timerAutoScroll
Holds the title of the preview window.
mxPrintPreview.prototype.title
Reference to the DOM node (TD) that contains the title.
mxWindow.prototype.title
Specifies the event name for toggleCells.
TOGGLE_CELLS: 'toggleCells'
Optional tolerance for hit-detection in getHandleForEvent.
mxEdgeHandler.prototype.tolerance
Tolerance for a move to be handled as a single click.
mxGraph.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxVertexHandler.prototype.tolerance
Holds the internal mxToolbar.
mxDefaultToolbar.prototype.toolbar
Holds a mxDefaultToolbar for displaying the toolbar.
mxEditor.prototype.toolbar
Holds the optional string to be used as the tooltip.
mxCellOverlay.prototype.tooltip
Defines the vertical offset for the tooltip.
TOOLTIP_VERTICAL_OFFSET: 16
Specified if the output for enter and leave should be visible in the console.
TRACE: false
mxPoint that specifies the current translation.
mxGraphView.prototype.translate
Specifies the event name for translate.
TRANSLATE: 'translate'
Global switch to translate the points in translate.
mxGeometry.prototype.TRANSLATE_CONTROL_POINTS
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received.
mxGraph.prototype.translateToScrollPosition
Whether or not to drill into child cells and layout in reverse group order.
mxHierarchicalLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxSwimlaneLayout.prototype.traverseAncestors
Reference to the event that was used to start editing.
mxCellEditor.prototype.trigger
X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerX
Y-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerY
Defines the type of the source or target terminal.
mxMultiplicity.prototype.type
Holds the localized error message to be displayed if the type of the neighbor for a connection does not match the rule.
mxMultiplicity.prototype.typeError
Holds the DOM node that represents the table.
mxForm.prototype.table
Specifies the event name for tapAndHold.
TAP_AND_HOLD: 'tapAndHold'
Specifies the time for a tap and hold.
mxGraph.prototype.tapAndHoldDelay
Specifies if tap and hold should be used for starting connections on touch-based devices.
mxGraph.prototype.tapAndHoldEnabled
True if the timer for tap and hold events is running.
mxGraph.prototype.tapAndHoldInProgress
True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.
mxGraph.prototype.tapAndHoldValid
Reference to the target terminal.
mxCell.prototype.target
The node this edge targets
mxGraphHierarchyEdge.prototype.target
Reference to the target DOM, that is, the DOM node where the key event listeners are installed.
mxKeyHandler.prototype.target
Specifies if the connect icon should be centered on the target state while connections are being previewed.
mxConnectionHandler.prototype.targetConnectImage
Defines the key for the jetty size in mxEdgeStyle.OrthConnector.
STYLE_TARGET_JETTY_SIZE: 'targetJettySize'
Defines the target mxPoint of the edge.
mxGeometry.prototype.targetPoint
Assign any window here to redirect the rendering in open.
mxPrintPreview.prototype.targetWindow
Holds the mxWindow created in showTasks.
mxEditor.prototype.tasks
Specifies the resource key for the tasks window title.
mxEditor.prototype.tasksResource
Specifies the top coordinate of the tasks window in pixels.
mxEditor.prototype.tasksTop
Icon for the tasks window.
mxEditor.prototype.tasksWindowImage
Temporary variable for general use.
mxGraphAbstractHierarchyCell.prototype.temp
Temperature to limit displacement at later stages of layout.
mxFastOrganicLayout.prototype.temperature
Holds the template object associated with this codec.
mxObjectCodec.prototype.template
Maps from names to protoype cells to be used in the toolbar for inserting new cells into the diagram.
mxEditor.prototype.templates
Caches the distance between the end points for an edge.
mxCellState.prototype.terminalDistance
Holds the mxText that represents the label of the cell.
mxCellState.prototype.text
Constant for text direction automatic.
TEXT_DIRECTION_AUTO: 'auto'
Constant for text direction default.
TEXT_DIRECTION_DEFAULT: ''
Constant for text direction left to right.
TEXT_DIRECTION_LTR: 'ltr'
Constant for text direction right to left.
TEXT_DIRECTION_RTL: 'rtl'
Holds the DIV that is used for text editing.
mxCellEditor.prototype.textarea
Specifies if text output should be enabled.
mxSvgCanvas2D.prototype.textEnabled
Specifies if text output should be enabledetB.
mxVmlCanvas2D.prototype.textEnabled
Specifies if text output should be enabled.
mxXmlCanvas2D.prototype.textEnabled
Reference to the label DOM node that has been hidden.
mxCellEditor.prototype.textNode
Offset to be used for text elements.
mxSvgCanvas2D.prototype.textOffset
Specifies the padding to be added to the text width for the bounding box.
mxText.prototype.textWidthPadding
Reference to the thread while the animation is running.
mxAnimation.prototype.thread
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxGraphHierarchyModel.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxHierarchicalLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneLayout.prototype.tightenToSource
Whether or not to tighten the assigned ranks of vertices up towards the source cells.
mxSwimlaneModel.prototype.tightenToSource
Specifies if autoscrolling should be carried out via mxPanningManager even if the container has scrollbars.
mxGraph.prototype.timerAutoScroll
Holds the title of the preview window.
mxPrintPreview.prototype.title
Reference to the DOM node (TD) that contains the title.
mxWindow.prototype.title
Specifies the event name for toggleCells.
TOGGLE_CELLS: 'toggleCells'
Optional tolerance for hit-detection in getHandleForEvent.
mxEdgeHandler.prototype.tolerance
Tolerance for a move to be handled as a single click.
mxGraph.prototype.tolerance
Optional tolerance for hit-detection in getHandleForEvent.
mxVertexHandler.prototype.tolerance
Holds the internal mxToolbar.
mxDefaultToolbar.prototype.toolbar
Holds a mxDefaultToolbar for displaying the toolbar.
mxEditor.prototype.toolbar
Holds the optional string to be used as the tooltip.
mxCellOverlay.prototype.tooltip
Defines the vertical offset for the tooltip.
TOOLTIP_VERTICAL_OFFSET: 16
Specified if the output for enter and leave should be visible in the console.
TRACE: false
mxPoint that specifies the current translation.
mxGraphView.prototype.translate
Specifies the event name for translate.
TRANSLATE: 'translate'
Global switch to translate the points in translate.
mxGeometry.prototype.TRANSLATE_CONTROL_POINTS
Specifies if the graph should automatically convert the current scroll position to a translate in the graph view when a mouseUp event is received.
mxGraph.prototype.translateToScrollPosition
Whether or not to drill into child cells and layout in reverse group order.
mxHierarchicalLayout.prototype.traverseAncestors
Whether or not to drill into child cells and layout in reverse group order.
mxSwimlaneLayout.prototype.traverseAncestors
Reference to the event that was used to start editing.
mxCellEditor.prototype.trigger
X-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerX
Y-coordinate of the mouse down event.
mxPopupMenuHandler.prototype.triggerY
Defines the type of the source or target terminal.
mxMultiplicity.prototype.type
Holds the localized error message to be displayed if the type of the neighbor for a connection does not match the rule.
mxMultiplicity.prototype.typeError
U | |
UNDO, mxEvent | |
undoManager, mxEditor | |
undone, mxUndoableEdit | |
UNGROUP_CELLS, mxEvent | |
unscaledWidth, mxCellState | |
UP, mxEvent | |
UPDATE_CELL_SIZE, mxEvent | |
updateCursor, mxGraphHandler | |
updateDefaultMode, mxToolbar | |
updateHandler, mxLayoutManager | |
updateLevel, mxGraphModel | |
updateOnPan, mxOutline | |
updateStyle, mxGraphView | |
updatingSelectionResource, mxGraphSelectionModel | |
url, mxXmlRequest | |
urlHelp, mxEditor | |
urlImage, mxEditor | |
urlPost, mxEditor | |
useBoundingBox, mxGraphLayout | |
useGrid, mxPanningHandler | |
useInputOrigin, mxFastOrganicLayout | |
useLeftButtonForPanning, mxPanningHandler | |
useLeftButtonForPopup, mxPopupMenu | |
usePopupTrigger, mxPanningHandler | |
username, mxXmlRequest | |
useScrollbarsForPanning, mxGraph | |
useSvgBoundingBox | |
V | |
VALID_COLOR, mxConstants | |
validating, mxEditor | |
validColor, mxCellMarker | |
validNeighbors, mxMultiplicity | |
validNeighborsAllowed, mxMultiplicity | |
validState, mxCellMarker | |
value | |
values, mxStyleRegistry | |
VERSION, mxClient | |
vertex, mxCell | |
VERTEX_SELECTION_COLOR, mxConstants | |
VERTEX_SELECTION_STROKEWIDTH, mxConstants | |
vertexArray, mxFastOrganicLayout | |
vertexLabelsMovable, mxGraph | |
vertexMapper | |
vertical, mxGuide | |
verticalAlign, mxCellOverlay | |
verticalOffset, mxVertexHandler | |
verticalTextRotation, mxText | |
view | |
VIRTUAL_HANDLE, mxEvent | |
virtualBendOpacity, mxEdgeHandler | |
virtualBendsEnabled, mxEdgeHandler | |
visible | |
visibleSourceState, mxCellState | |
visibleTargetState, mxCellState | |
visited | |
VML_PREFIX, mxClient | |
VML_SHADOWCOLOR, mxConstants | |
vmlScale | |
W | |
w0, mxStencil | |
WARN, mxLog | |
warningImage, mxGraph | |
waypointsEnabled, mxConnectionHandler | |
weightedValue, WeightedCellSorter | |
widestRank, mxCoordinateAssignment | |
widestRankValue, mxCoordinateAssignment | |
width | |
withCredentials, mxXmlRequest | |
wnd, mxPrintPreview | |
WORD_WRAP, mxConstants | |
wordWrapPadding, mxCellEditor | |
wrap, mxStackLayout |
U | |
UNDO, mxEvent | |
undoManager, mxEditor | |
undone, mxUndoableEdit | |
UNGROUP_CELLS, mxEvent | |
unscaledWidth, mxCellState | |
UP, mxEvent | |
UPDATE_CELL_SIZE, mxEvent | |
updateCursor, mxGraphHandler | |
updateDefaultMode, mxToolbar | |
updateHandler, mxLayoutManager | |
updateLevel, mxGraphModel | |
updateOnPan, mxOutline | |
updateStyle, mxGraphView | |
updatingSelectionResource, mxGraphSelectionModel | |
url, mxXmlRequest | |
urlHelp, mxEditor | |
urlImage, mxEditor | |
urlPost, mxEditor | |
useBoundingBox, mxGraphLayout | |
useGrid, mxPanningHandler | |
useInputOrigin, mxFastOrganicLayout | |
useLeftButtonForPanning, mxPanningHandler | |
useLeftButtonForPopup, mxPopupMenu | |
usePopupTrigger, mxPanningHandler | |
username, mxXmlRequest | |
useScrollbarsForPanning, mxGraph | |
useSvgBoundingBox | |
V | |
VALID_COLOR, mxConstants | |
validating, mxEditor | |
validColor, mxCellMarker | |
validNeighbors, mxMultiplicity | |
validNeighborsAllowed, mxMultiplicity | |
validState, mxCellMarker | |
value | |
values, mxStyleRegistry | |
VERSION, mxClient | |
vertex, mxCell | |
VERTEX_SELECTION_COLOR, mxConstants | |
VERTEX_SELECTION_STROKEWIDTH, mxConstants | |
vertexArray, mxFastOrganicLayout | |
vertexLabelsMovable, mxGraph | |
vertexMapper | |
vertical, mxGuide | |
verticalAlign, mxCellOverlay | |
verticalOffset, mxVertexHandler | |
verticalTextRotation, mxText | |
view | |
VIRTUAL_HANDLE, mxEvent | |
virtualBendOpacity, mxEdgeHandler | |
virtualBendsEnabled, mxEdgeHandler | |
visible | |
visibleSourceState, mxCellState | |
visibleTargetState, mxCellState | |
visited | |
VML_PREFIX, mxClient | |
VML_SHADOWCOLOR, mxConstants | |
vmlScale | |
W | |
w0, mxStencil | |
WARN, mxLog | |
warningImage, mxGraph | |
waypointsEnabled, mxConnectionHandler | |
weightedValue, WeightedCellSorter | |
widestRank, mxCoordinateAssignment | |
widestRankValue, mxCoordinateAssignment | |
width | |
withCredentials, mxXmlRequest | |
wnd, mxPrintPreview | |
WORD_WRAP, mxConstants | |
wordWrapPadding, mxCellEditor | |
wrap, mxStackLayout |
Specifies the event name for undo.
UNDO: 'undo'
Holds an mxUndoManager for the command history.
mxEditor.prototype.undoManager
Specifies if this edit has been undone.
mxUndoableEdit.prototype.undone
Specifies the event name for ungroupCells.
UNGROUP_CELLS: 'ungroupCells'
Holds the unscaled width of the state.
mxCellState.prototype.unscaledWidth
Specifies the event name for up.
UP: 'up'
Specifies the event name for updateCellSize.
UPDATE_CELL_SIZE: 'updateCellSize'
Specifies if a move cursor should be shown if the mouse is over a movable cell.
mxGraphHandler.prototype.updateCursor
Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.
mxToolbar.prototype.updateDefaultMode
Holds the function that handles the endUpdate event.
mxLayoutManager.prototype.updateHandler
Counter for the depth of nested transactions.
mxGraphModel.prototype.updateLevel
Specifies if update should be called for mxEvent.PAN in the source graph.
mxOutline.prototype.updateOnPan
Specifies if the style should be updated in each validation step.
mxGraphView.prototype.updateStyle
Specifies the resource key for the status message while the selection is being updated.
mxGraphSelectionModel.prototype.updatingSelectionResource
Holds the target URL of the request.
mxXmlRequest.prototype.url
Specifies the URL to be used for the contents of the Online Help window.
mxEditor.prototype.urlHelp
Specifies the URL to be used for creating a bitmap of the graph in the image action.
mxEditor.prototype.urlImage
Specifies the URL to be used for posting the diagram to a backend in save.
mxEditor.prototype.urlPost
Boolean indicating if the bounding box of the label should be used if its available.
mxGraphLayout.prototype.useBoundingBox
Specifies if the panning steps should be aligned to the grid size.
mxPanningHandler.prototype.useGrid
Specifies if the top left corner of the input cells should be the origin of the layout result.
mxFastOrganicLayout.prototype.useInputOrigin
Specifies if panning should be active for the left mouse button.
mxPanningHandler.prototype.useLeftButtonForPanning
Specifies if popupmenus should be activated by clicking the left mouse button.
mxPopupMenu.prototype.useLeftButtonForPopup
Specifies if mxEvent.isPopupTrigger should also be used for panning.
mxPanningHandler.prototype.usePopupTrigger
Specifies the username to be used for authentication.
mxXmlRequest.prototype.username
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
mxGraph.prototype.useScrollbarsForPanning
Allows to use the SVG bounding box in SVG.
mxArrowConnector.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
mxShape.prototype.useSvgBoundingBox
Specifies the event name for undo.
UNDO: 'undo'
Holds an mxUndoManager for the command history.
mxEditor.prototype.undoManager
Specifies if this edit has been undone.
mxUndoableEdit.prototype.undone
Specifies the event name for ungroupCells.
UNGROUP_CELLS: 'ungroupCells'
Holds the unscaled width of the state.
mxCellState.prototype.unscaledWidth
Specifies the event name for up.
UP: 'up'
Specifies the event name for updateCellSize.
UPDATE_CELL_SIZE: 'updateCellSize'
Specifies if a move cursor should be shown if the mouse is over a movable cell.
mxGraphHandler.prototype.updateCursor
Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.
mxToolbar.prototype.updateDefaultMode
Holds the function that handles the endUpdate event.
mxLayoutManager.prototype.updateHandler
Counter for the depth of nested transactions.
mxGraphModel.prototype.updateLevel
Specifies if update should be called for mxEvent.PAN in the source graph.
mxOutline.prototype.updateOnPan
Specifies if the style should be updated in each validation step.
mxGraphView.prototype.updateStyle
Specifies the resource key for the status message while the selection is being updated.
mxGraphSelectionModel.prototype.updatingSelectionResource
Holds the target URL of the request.
mxXmlRequest.prototype.url
Specifies the URL to be used for the contents of the Online Help window.
mxEditor.prototype.urlHelp
Specifies the URL to be used for creating a bitmap of the graph in the image action.
mxEditor.prototype.urlImage
Specifies the URL to be used for posting the diagram to a backend in save.
mxEditor.prototype.urlPost
Boolean indicating if the bounding box of the label should be used if its available.
mxGraphLayout.prototype.useBoundingBox
Specifies if the panning steps should be aligned to the grid size.
mxPanningHandler.prototype.useGrid
Specifies if the top left corner of the input cells should be the origin of the layout result.
mxFastOrganicLayout.prototype.useInputOrigin
Specifies if panning should be active for the left mouse button.
mxPanningHandler.prototype.useLeftButtonForPanning
Specifies if popupmenus should be activated by clicking the left mouse button.
mxPopupMenu.prototype.useLeftButtonForPopup
Specifies if mxEvent.isPopupTrigger should also be used for panning.
mxPanningHandler.prototype.usePopupTrigger
Specifies the username to be used for authentication.
mxXmlRequest.prototype.username
Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available.
mxGraph.prototype.useScrollbarsForPanning
Allows to use the SVG bounding box in SVG.
mxArrowConnector.prototype.useSvgBoundingBox
Allows to use the SVG bounding box in SVG.
mxShape.prototype.useSvgBoundingBox
Defines the color to be used for the coloring valid connection previews.
VALID_COLOR: '#00FF00'
Specifies if mxGraph.validateGraph should automatically be invoked after each change.
mxEditor.prototype.validating
Holds the valid marker color.
mxCellMarker.prototype.validColor
Holds an array of strings that specify the type of neighbor for which this rule applies.
mxMultiplicity.prototype.validNeighbors
Boolean indicating if the list of validNeighbors are those that are allowed for this rule or those that are not allowed for this rule.
mxMultiplicity.prototype.validNeighborsAllowed
Holds the marked mxCellState if it is valid.
mxCellMarker.prototype.validState
Holds the user object.
mxCell.prototype.value
Optional string that specifies the value of the attribute to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxMultiplicity.prototype.value
Maps from strings to objects.
values: []
Contains the current version of the mxGraph library.
VERSION: '3.9.6'
Specifies whether the cell is a vertex.
mxCell.prototype.vertex
Defines the color to be used for the selection border of vertices.
VERTEX_SELECTION_COLOR: '#00FF00'
Defines the strokewidth to be used for vertex selections.
VERTEX_SELECTION_STROKEWIDTH: 1
An array of all vertices to be laid out.
mxFastOrganicLayout.prototype.vertexArray
Specifies the return value for vertices in isLabelMovable.
mxGraph.prototype.vertexLabelsMovable
Map from graph vertices to internal model nodes.
mxGraphHierarchyModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxSwimlaneModel.prototype.vertexMapper
Specifies if vertical guides are enabled.
mxGuide.prototype.vertical
Holds the vertical alignment for the overlay.
mxCellOverlay.prototype.verticalAlign
The horizontal offset for the handles.
mxVertexHandler.prototype.verticalOffset
Rotation for vertical text.
mxText.prototype.verticalTextRotation
Reference to the enclosing mxGraphView.
mxCellState.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxGraph.prototype.view
Holds the width of the rectangle.
mxTemporaryCellStates.prototype.view
Start index for the virtual handles in an mxMouseEvent.
VIRTUAL_HANDLE: -100000
Opacity to be used for virtual bends (see virtualBendsEnabled).
mxEdgeHandler.prototype.virtualBendOpacity
Specifies if virtual bends should be added in the center of each segments.
mxEdgeHandler.prototype.virtualBendsEnabled
Specifies whether the cell is visible.
mxCell.prototype.visible
Specifies if the shape is visible.
mxShape.prototype.visible
Boolean flag that represents the visible state of the window.
mxWindow.prototype.visible
Caches the visible source terminal state.
mxCellState.prototype.visibleSourceState
Caches the visible target terminal state.
mxCellState.prototype.visibleTargetState
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
mxCompactTreeLayout.prototype.visited
Whether or not this cell has been visited in the current assignment.
WeightedCellSorter.prototype.visited
Prefix for VML namespace in node names.
VML_PREFIX: 'v'
Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
VML_SHADOWCOLOR: 'gray'
Scale for improving the precision of VML rendering.
mxDoubleEllipse.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.vmlScale
Specifies the scale used to draw VML shapes.
mxVmlCanvas2D.prototype.vmlScale
Defines the color to be used for the coloring valid connection previews.
VALID_COLOR: '#00FF00'
Specifies if mxGraph.validateGraph should automatically be invoked after each change.
mxEditor.prototype.validating
Holds the valid marker color.
mxCellMarker.prototype.validColor
Holds an array of strings that specify the type of neighbor for which this rule applies.
mxMultiplicity.prototype.validNeighbors
Boolean indicating if the list of validNeighbors are those that are allowed for this rule or those that are not allowed for this rule.
mxMultiplicity.prototype.validNeighborsAllowed
Holds the marked mxCellState if it is valid.
mxCellMarker.prototype.validState
Holds the user object.
mxCell.prototype.value
Optional string that specifies the value of the attribute to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxMultiplicity.prototype.value
Maps from strings to objects.
values: []
Contains the current version of the mxGraph library.
VERSION: '3.9.7'
Specifies whether the cell is a vertex.
mxCell.prototype.vertex
Defines the color to be used for the selection border of vertices.
VERTEX_SELECTION_COLOR: '#00FF00'
Defines the strokewidth to be used for vertex selections.
VERTEX_SELECTION_STROKEWIDTH: 1
An array of all vertices to be laid out.
mxFastOrganicLayout.prototype.vertexArray
Specifies the return value for vertices in isLabelMovable.
mxGraph.prototype.vertexLabelsMovable
Map from graph vertices to internal model nodes.
mxGraphHierarchyModel.prototype.vertexMapper
Map from graph vertices to internal model nodes.
mxSwimlaneModel.prototype.vertexMapper
Specifies if vertical guides are enabled.
mxGuide.prototype.vertical
Holds the vertical alignment for the overlay.
mxCellOverlay.prototype.verticalAlign
The horizontal offset for the handles.
mxVertexHandler.prototype.verticalOffset
Rotation for vertical text.
mxText.prototype.verticalTextRotation
Reference to the enclosing mxGraphView.
mxCellState.prototype.view
Holds the mxGraphView that caches the mxCellStates for the cells.
mxGraph.prototype.view
Holds the width of the rectangle.
mxTemporaryCellStates.prototype.view
Start index for the virtual handles in an mxMouseEvent.
VIRTUAL_HANDLE: -100000
Opacity to be used for virtual bends (see virtualBendsEnabled).
mxEdgeHandler.prototype.virtualBendOpacity
Specifies if virtual bends should be added in the center of each segments.
mxEdgeHandler.prototype.virtualBendsEnabled
Specifies whether the cell is visible.
mxCell.prototype.visible
Specifies if the shape is visible.
mxShape.prototype.visible
Boolean flag that represents the visible state of the window.
mxWindow.prototype.visible
Caches the visible source terminal state.
mxCellState.prototype.visibleSourceState
Caches the visible target terminal state.
mxCellState.prototype.visibleTargetState
Specifies if the tree should be moved to the top, left corner if it is inside a top-level layer.
mxCompactTreeLayout.prototype.visited
Whether or not this cell has been visited in the current assignment.
WeightedCellSorter.prototype.visited
Prefix for VML namespace in node names.
VML_PREFIX: 'v'
Used for shadow color in filters where transparency is not supported (Microsoft Internet Explorer).
VML_SHADOWCOLOR: 'gray'
Scale for improving the precision of VML rendering.
mxDoubleEllipse.prototype.vmlScale
Scale for improving the precision of VML rendering.
mxShape.prototype.vmlScale
Specifies the scale used to draw VML shapes.
mxVmlCanvas2D.prototype.vmlScale
Holds the width of the shape.
mxStencil.prototype.w0
Specifies if the output for warn should be visible in the console.
WARN: true
Specifies the mxImage for the image to be used to display a warning overlay.
mxGraph.prototype.warningImage
Specifies if single clicks should add waypoints on the new edge.
mxConnectionHandler.prototype.waypointsEnabled
The weighted value of the cell stored.
WeightedCellSorter.prototype.weightedValue
The rank that has the widest x position
mxCoordinateAssignment.prototype.widestRank
The X-coordinate of the edge of the widest rank
mxCoordinateAssignment.prototype.widestRankValue
The width of this cell
mxGraphAbstractHierarchyCell.prototype.width
Integer that specifies the width of the image.
mxImage.prototype.width
Holds the width of the rectangle.
mxRectangle.prototype.width
Specifies if withCredentials should be used in HTML5-compliant browsers.
mxXmlRequest.prototype.withCredentials
Reference to the preview window.
mxPrintPreview.prototype.wnd
Defines the CSS value for the word-wrap property.
WORD_WRAP: 'normal'
Correction factor for word wrapping width.
mxCellEditor.prototype.wordWrapPadding
Value at which a new column or row should be created.
mxStackLayout.prototype.wrap
Holds the width of the shape.
mxStencil.prototype.w0
Specifies if the output for warn should be visible in the console.
WARN: true
Specifies the mxImage for the image to be used to display a warning overlay.
mxGraph.prototype.warningImage
Specifies if single clicks should add waypoints on the new edge.
mxConnectionHandler.prototype.waypointsEnabled
The weighted value of the cell stored.
WeightedCellSorter.prototype.weightedValue
The rank that has the widest x position
mxCoordinateAssignment.prototype.widestRank
The X-coordinate of the edge of the widest rank
mxCoordinateAssignment.prototype.widestRankValue
The width of this cell
mxGraphAbstractHierarchyCell.prototype.width
Integer that specifies the width of the image.
mxImage.prototype.width
Holds the width of the rectangle.
mxRectangle.prototype.width
Specifies if withCredentials should be used in HTML5-compliant browsers.
mxXmlRequest.prototype.withCredentials
Reference to the preview window.
mxPrintPreview.prototype.wnd
Defines the CSS value for the word-wrap property.
WORD_WRAP: 'normal'
Correction factor for word wrapping width.
mxCellEditor.prototype.wordWrapPadding
Value at which a new column or row should be created.
mxStackLayout.prototype.wrap
X | |
x | |
x0 | |
Y | |
y | |
y0 | |
Z | |
zIndex | |
zoomFactor, mxGraph |
X | |
x | |
x0 | |
Y | |
y | |
y0 | |
Z | |
zIndex | |
zoomFactor, mxGraph |
The x position of this cell for each layer it occupies
mxGraphAbstractHierarchyCell.prototype.x
Holds the x-coordinate of the point.
mxPoint.prototype.x
Integer specifying the left coordinate of the circle.
mxCircleLayout.prototype.x0
Holds the horizontal offset of the output.
mxPrintPreview.prototype.x0
Specifies the horizontal origin of the layout.
mxStackLayout.prototype.x0
The x position of this cell for each layer it occupies
mxGraphAbstractHierarchyCell.prototype.x
Holds the x-coordinate of the point.
mxPoint.prototype.x
Integer specifying the left coordinate of the circle.
mxCircleLayout.prototype.x0
Holds the horizontal offset of the output.
mxPrintPreview.prototype.x0
Specifies the horizontal origin of the layout.
mxStackLayout.prototype.x0
The y position of this cell for each layer it occupies
mxGraphAbstractHierarchyCell.prototype.y
Holds the y-coordinate of the point.
mxPoint.prototype.y
Integer specifying the top coordinate of the circle.
mxCircleLayout.prototype.y0
Holds the vertical offset of the output.
mxPrintPreview.prototype.y0
Specifies the vertical origin of the layout.
mxStackLayout.prototype.y0
The y position of this cell for each layer it occupies
mxGraphAbstractHierarchyCell.prototype.y
Holds the y-coordinate of the point.
mxPoint.prototype.y
Integer specifying the top coordinate of the circle.
mxCircleLayout.prototype.y0
Holds the vertical offset of the output.
mxPrintPreview.prototype.y0
Specifies the vertical origin of the layout.
mxStackLayout.prototype.y0
Specifies the zIndex for the textarea.
mxCellEditor.prototype.zIndex
Specifies the zIndex for the popupmenu and its shadow.
mxPopupMenu.prototype.zIndex
Specifies the zIndex for the tooltip and its shadow.
mxTooltipHandler.prototype.zIndex
Specifies the factor used for zoomIn and zoomOut.
mxGraph.prototype.zoomFactor
Specifies the zIndex for the textarea.
mxCellEditor.prototype.zIndex
Specifies the zIndex for the popupmenu and its shadow.
mxPopupMenu.prototype.zIndex
Specifies the zIndex for the tooltip and its shadow.
mxTooltipHandler.prototype.zIndex
Specifies the factor used for zoomIn and zoomOut.
mxGraph.prototype.zoomFactor
Public Attributes | |
const String | VERSION = "3.9.6" |
Holds the version number of this release. Current version is 3.9.6. More... | |
const String | VERSION = "3.9.7" |
Holds the version number of this release. Current version is 3.9.7. More... | |