maxGraph/docs/js-api/files/view/mxGraph-js.html

1339 lines
895 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxGraph</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/prettify.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="mxGraph"></a>mxGraph</h1><div class=CBody><p>Extends <a href="../util/mxEventSource-js.html#mxEventSource" class=LClass id=link682 onMouseOver="ShowTip(event, 'tt1', 'link682')" onMouseOut="HideTip('tt1')">mxEventSource</a> to implement a graph component for the browser.&nbsp; This is the main class of the package.&nbsp; To activate panning and connections use <a href="#mxGraph.setPanning" class=LFunction id=link683 onMouseOver="ShowTip(event, 'tt404', 'link683')" onMouseOut="HideTip('tt404')">setPanning</a> and <a href="#mxGraph.setConnectable" class=LFunction id=link684 onMouseOver="ShowTip(event, 'tt401', 'link684')" onMouseOut="HideTip('tt401')">setConnectable</a>.&nbsp; For rubberband selection you must create a new instance of <a href="../handler/mxRubberband-js.html#mxRubberband" class=LClass id=link685 onMouseOver="ShowTip(event, 'tt482', 'link685')" onMouseOut="HideTip('tt482')">mxRubberband</a>.&nbsp; The following listeners are added to <a href="#mxGraph.mouseListeners" class=LVariable id=link686 onMouseOver="ShowTip(event, 'tt37', 'link686')" onMouseOut="HideTip('tt37')">mouseListeners</a> by default:</p><ul><li>&lt;tooltipHandler&gt;: <a href="../handler/mxTooltipHandler-js.html#mxTooltipHandler" class=LClass id=link687 onMouseOver="ShowTip(event, 'tt483', 'link687')" onMouseOut="HideTip('tt483')">mxTooltipHandler</a> that displays tooltips</li><li>&lt;panningHandler&gt;: <a href="../handler/mxPanningHandler-js.html#mxPanningHandler" class=LClass id=link688 onMouseOver="ShowTip(event, 'tt484', 'link688')" onMouseOut="HideTip('tt484')">mxPanningHandler</a> for panning and popup menus</li><li>&lt;connectionHandler&gt;: <a href="../handler/mxConnectionHandler-js.html#mxConnectionHandler" class=LClass id=link689 onMouseOver="ShowTip(event, 'tt485', 'link689')" onMouseOut="HideTip('tt485')">mxConnectionHandler</a> for creating connections</li><li>&lt;graphHandler&gt;: <a href="../handler/mxGraphHandler-js.html#mxGraphHandler" class=LClass id=link690 onMouseOver="ShowTip(event, 'tt486', 'link690')" onMouseOut="HideTip('tt486')">mxGraphHandler</a> for moving and cloning cells</li></ul><p>These listeners will be called in the above order if they are enabled.</p><h4 class=CHeading>Background Images</h4><p>To display a background image, set the image, image width and image height using <a href="#mxGraph.setBackgroundImage" class=LFunction id=link691 onMouseOver="ShowTip(event, 'tt312', 'link691')" onMouseOut="HideTip('tt312')">setBackgroundImage</a>.&nbsp; If one of the above values has changed then the <a href="#mxGraph.view" class=LVariable id=link692 onMouseOver="ShowTip(event, 'tt41', 'link692')" onMouseOut="HideTip('tt41')">view</a>&rsquo;s <a href="mxGraphView-js.html#mxGraphView.validate" class=LFunction id=link693 onMouseOver="ShowTip(event, 'tt487', 'link693')" onMouseOut="HideTip('tt487')">mxGraphView.validate</a> should be invoked.</p><h4 class=CHeading>Cell Images</h4><p>To use images in cells, a shape must be specified in the default vertex style (or any named style).&nbsp; Possible shapes are <a href="../util/mxConstants-js.html#mxConstants.SHAPE_IMAGE" class=LVariable id=link694 onMouseOver="ShowTip(event, 'tt488', 'link694')" onMouseOut="HideTip('tt488')">mxConstants.SHAPE_IMAGE</a> and <a href="../util/mxConstants-js.html#mxConstants.SHAPE_LABEL" class=LVariable id=link695 onMouseOver="ShowTip(event, 'tt489', 'link695')" onMouseOut="HideTip('tt489')">mxConstants.SHAPE_LABEL</a>.&nbsp; The code to change the shape used in the default vertex style, the following code is used:</p><blockquote><pre class="prettyprint">var style = graph.getStylesheet().getDefaultVertexStyle();
style[mxConstants.STYLE_SHAPE] = mxConstants.SHAPE_IMAGE;</pre></blockquote><p>For the default vertex style, the image to be displayed can be specified in a cell&rsquo;s style using the <a href="../util/mxConstants-js.html#mxConstants.STYLE_IMAGE" class=LVariable id=link696 onMouseOver="ShowTip(event, 'tt490', 'link696')" onMouseOut="HideTip('tt490')">mxConstants.STYLE_IMAGE</a> key and the image URL as a value, for example:</p><blockquote><pre class="prettyprint">image=http://www.example.com/image.gif</pre></blockquote><p>For a named style, the the stylename must be the first element of the cell style:</p><blockquote><pre class="prettyprint">stylename;image=http://www.example.com/image.gif</pre></blockquote><p>A cell style can have any number of key=value pairs added, divided by a semicolon as follows:</p><blockquote><pre class="prettyprint">[stylename;|key=value;]</pre></blockquote><h4 class=CHeading>Labels</h4><p>The cell labels are defined by <a href="#mxGraph.getLabel" class=LFunction id=link697 onMouseOver="ShowTip(event, 'tt315', 'link697')" onMouseOut="HideTip('tt315')">getLabel</a> which uses <a href="#mxGraph.convertValueToString" class=LFunction id=link698 onMouseOver="ShowTip(event, 'tt314', 'link698')" onMouseOut="HideTip('tt314')">convertValueToString</a> if <a href="#mxGraph.labelsVisible" class=LVariable id=link699 onMouseOver="ShowTip(event, 'tt165', 'link699')" onMouseOut="HideTip('tt165')">labelsVisible</a> is true.&nbsp; If a label must be rendered as HTML markup, then <a href="#mxGraph.isHtmlLabel" class=LFunction id=link700 onMouseOver="ShowTip(event, 'tt167', 'link700')" onMouseOut="HideTip('tt167')">isHtmlLabel</a> should return true for the respective cell.&nbsp; If all labels contain HTML markup, <a href="#mxGraph.htmlLabels" class=LVariable id=link701 onMouseOver="ShowTip(event, 'tt166', 'link701')" onMouseOut="HideTip('tt166')">htmlLabels</a> can be set to true.&nbsp; NOTE: Enabling HTML labels carries a possible security risk (see the section on security in the manual).</p><p>If wrapping is needed for a label, then <a href="#mxGraph.isHtmlLabel" class=LFunction id=link702 onMouseOver="ShowTip(event, 'tt167', 'link702')" onMouseOut="HideTip('tt167')">isHtmlLabel</a> and <a href="#mxGraph.isWrapping" class=LFunction id=link703 onMouseOver="ShowTip(event, 'tt318', 'link703')" onMouseOut="HideTip('tt318')">isWrapping</a> must return true for the cell whose label should be wrapped.&nbsp; See <a href="#mxGraph.isWrapping" class=LFunction id=link704 onMouseOver="ShowTip(event, 'tt318', 'link704')" onMouseOut="HideTip('tt318')">isWrapping</a> for an example.</p><p>If clipping is needed to keep the rendering of a HTML label inside the bounds of its vertex, then &lt;isClipping&gt; should return true for the respective cell.</p><p>By default, edge labels are movable and vertex labels are fixed.&nbsp; This can be changed by setting <a href="#mxGraph.edgeLabelsMovable" class=LVariable id=link705 onMouseOver="ShowTip(event, 'tt110', 'link705')" onMouseOut="HideTip('tt110')">edgeLabelsMovable</a> and <a href="#mxGraph.vertexLabelsMovable" class=LVariable id=link706 onMouseOver="ShowTip(event, 'tt112', 'link706')" onMouseOut="HideTip('tt112')">vertexLabelsMovable</a>, or by overriding <a href="#mxGraph.isLabelMovable" class=LFunction id=link707 onMouseOver="ShowTip(event, 'tt111', 'link707')" onMouseOut="HideTip('tt111')">isLabelMovable</a>.</p><h4 class=CHeading>In-place Editing</h4><p>In-place editing is started with a doubleclick or by typing F2.&nbsp; Programmatically, &lt;edit&gt; is used to check if the cell is editable (<a href="#mxGraph.isCellEditable" class=LFunction id=link708 onMouseOver="ShowTip(event, 'tt105', 'link708')" onMouseOut="HideTip('tt105')">isCellEditable</a>) and call <a href="#mxGraph.startEditingAtCell" class=LFunction id=link709 onMouseOver="ShowTip(event, 'tt30', 'link709')" onMouseOut="HideTip('tt30')">startEditingAtCell</a>, which invokes <a href="mxCellEditor-js.html#mxCellEditor.startEditing" class=LFunction id=link710 onMouseOver="ShowTip(event, 'tt206', 'link710')" onMouseOut="HideTip('tt206')">mxCellEditor.startEditing</a>.&nbsp; The editor uses the value returned by <a href="#mxGraph.getEditingValue" class=LFunction id=link711 onMouseOver="ShowTip(event, 'tt207', 'link711')" onMouseOut="HideTip('tt207')">getEditingValue</a> as the editing value.</p><p>After in-place editing, <a href="#mxGraph.labelChanged" class=LFunction id=link712 onMouseOver="ShowTip(event, 'tt209', 'link712')" onMouseOut="HideTip('tt209')">labelChanged</a> is called, which invokes <a href="../model/mxGraphModel-js.html#mxGraphModel.setValue" class=LFunction id=link713 onMouseOver="ShowTip(event, 'tt491', 'link713')" onMouseOut="HideTip('tt491')">mxGraphModel.setValue</a>, which in turn calls <a href="../model/mxGraphModel-js.html#mxGraphModel.valueForCellChanged" class=LFunction id=link714 onMouseOver="ShowTip(event, 'tt492', 'link714')" onMouseOut="HideTip('tt492')">mxGraphModel.valueForCellChanged</a> via <a href="../model/mxGraphModel-js.html#mxValueChange" class=LClass id=link715 onMouseOver="ShowTip(event, 'tt493', 'link715')" onMouseOut="HideTip('tt493')">mxValueChange</a>.</p><p>The event that triggers in-place editing is passed through to the <a href="#mxGraph.cellEditor" class=LVariable id=link716 onMouseOver="ShowTip(event, 'tt48', 'link716')" onMouseOut="HideTip('tt48')">cellEditor</a>, which may take special actions depending on the type of the event or mouse location, and is also passed to <a href="#mxGraph.getEditingValue" class=LFunction id=link717 onMouseOver="ShowTip(event, 'tt207', 'link717')" onMouseOut="HideTip('tt207')">getEditingValue</a>.&nbsp; The event is then passed back to the event processing functions which can perform specific actions based on the trigger event.</p><h4 class=CHeading>Tooltips</h4><p>Tooltips are implemented by <a href="#mxGraph.getTooltip" class=LFunction id=link718 onMouseOver="ShowTip(event, 'tt320', 'link718')" onMouseOut="HideTip('tt320')">getTooltip</a>, which calls <a href="#mxGraph.getTooltipForCell" class=LFunction id=link719 onMouseOver="ShowTip(event, 'tt321', 'link719')" onMouseOut="HideTip('tt321')">getTooltipForCell</a> if a cell is under the mousepointer.&nbsp; The default implementation checks if the cell has a getTooltip function and calls it if it exists.&nbsp; Hence, in order to provide custom tooltips, the cell must provide a getTooltip function, or one of the two above functions must be overridden.</p><p>Typically, for custom cell tooltips, the latter function is overridden as follows:</p><blockquote><pre class="prettyprint">graph.getTooltipForCell = function(cell)
{
var label = this.convertValueToString(cell);
return 'Tooltip for '+label;
}</pre></blockquote><p>When using a config file, the function is overridden in the mxGraph section using the following entry:</p><blockquote><pre class="prettyprint">&lt;add as=&quot;getTooltipForCell&quot;&gt;&lt;![CDATA[
function(cell)
{
var label = this.convertValueToString(cell);
return 'Tooltip for '+label;
}
]]&gt;&lt;/add&gt;</pre></blockquote><p>&rdquo;this&rdquo; refers to the graph in the implementation, so for example to check if a cell is an edge, you use this.getModel().isEdge(cell)</p><p>For replacing the default implementation of <a href="#mxGraph.getTooltipForCell" class=LFunction id=link720 onMouseOver="ShowTip(event, 'tt321', 'link720')" onMouseOut="HideTip('tt321')">getTooltipForCell</a> (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 <a href="#mxGraph.mxGraph" class=LFunction id=link721 onMouseOver="ShowTip(event, 'tt35', 'link721')" onMouseOut="HideTip('tt35')">mxGraph</a>:</p><blockquote><pre class="prettyprint">mxGraph.prototype.getTooltipForCell = function(cell)
{
var label = this.convertValueToString(cell);
return 'Tooltip for '+label;
}</pre></blockquote><h4 class=CHeading>Shapes &amp; Styles</h4><p>The implementation of new shapes is demonstrated in the examples.&nbsp; We&rsquo;ll assume that we have implemented a custom shape with the name BoxShape which we want to use for drawing vertices.&nbsp; To use this shape, it must first be registered in the cell renderer as follows:</p><blockquote><pre class="prettyprint">mxCellRenderer.registerShape('box', BoxShape);</pre></blockquote><p>The code registers the BoxShape constructor under the name box in the cell renderer of the graph.&nbsp; The shape can now be referenced using the shape-key in a style definition.&nbsp; (The cell renderer contains a set of additional shapes, namely one for each constant with a SHAPE-prefix in <a href="../util/mxConstants-js.html#mxConstants" class=LClass id=link722 onMouseOver="ShowTip(event, 'tt494', 'link722')" onMouseOut="HideTip('tt494')">mxConstants</a>.)</p><p>Styles are a collection of key, value pairs and a stylesheet is a collection of named styles.&nbsp; The names are referenced by the cellstyle, which is stored in <a href="../model/mxCell-js.html#mxCell.style" class=LVariable id=link723 onMouseOver="ShowTip(event, 'tt495', 'link723')" onMouseOut="HideTip('tt495')">mxCell.style</a> with the following format: [stylename;|key=value;].&nbsp; The string is resolved to a collection of key, value pairs, where the keys are overridden with the values in the string.</p><p>When introducing a new shape, the name under which the shape is registered must be used in the stylesheet.&nbsp; There are three ways of doing this:</p><ul><li>By changing the default style, so that all vertices will use the new shape</li><li>By defining a new style, so that only vertices with the respective cellstyle will use the new shape</li><li>By using shape=box in the cellstyle&rsquo;s optional list of key, value pairs to be overridden</li></ul><p>In the first case, the code to fetch and modify the default style for vertices is as follows:</p><blockquote><pre class="prettyprint">var style = graph.getStylesheet().getDefaultVertexStyle();
style[mxConstants.STYLE_SHAPE] = 'box';</pre></blockquote><p>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.&nbsp; This is done by assigning the box value in the second line, which refers to the name of the BoxShape in the cell renderer.</p><p>In the second case, a collection of key, value pairs is created and then added to the stylesheet under a new name.&nbsp; In order to distinguish the shapename and the stylename we&rsquo;ll use boxstyle for the stylename:</p><blockquote><pre class="prettyprint">var style = new Object();
style[mxConstants.STYLE_SHAPE] = 'box';
style[mxConstants.STYLE_STROKECOLOR] = '#000000';
style[mxConstants.STYLE_FONTCOLOR] = '#000000';
graph.getStylesheet().putCellStyle('boxstyle', style);</pre></blockquote><p>The code adds a new style with the name boxstyle to the stylesheet.&nbsp; To use this style with a cell, it must be referenced from the cellstyle as follows:</p><blockquote><pre class="prettyprint">var vertex = graph.insertVertex(parent, null, 'Hello, World!', 20, 20, 80, 20,
'boxstyle');</pre></blockquote><p>To summarize, each new shape must be registered in the <a href="mxCellRenderer-js.html#mxCellRenderer" class=LClass id=link724 onMouseOver="ShowTip(event, 'tt51', 'link724')" onMouseOut="HideTip('tt51')">mxCellRenderer</a> with a unique name.&nbsp; That name is then used as the value of the shape-key in a default or custom style.&nbsp; If there are multiple custom shapes, then there should be a separate style for each shape.</p><h4 class=CHeading>Inheriting Styles</h4><p>For fill-, stroke-, gradient- and indicatorColors special keywords can be used.&nbsp; The inherit keyword for one of these colors will inherit the color for the same key from the parent cell.&nbsp; The swimlane keyword does the same, but inherits from the nearest swimlane in the ancestor hierarchy.&nbsp; Finally, the indicated keyword will use the color of the indicator as the color for the given key.</p><h4 class=CHeading>Scrollbars</h4><p>The &lt;containers&gt; overflow CSS property defines if scrollbars are used to display the graph.&nbsp; For values of &lsquo;auto&rsquo; or &lsquo;scroll&rsquo;, the scrollbars will be shown.&nbsp; Note that the <a href="#mxGraph.resizeContainer" class=LVariable id=link725 onMouseOver="ShowTip(event, 'tt135', 'link725')" onMouseOut="HideTip('tt135')">resizeContainer</a> flag is normally not used together with scrollbars, as it will resize the container to match the size of the graph after each change.</p><h4 class=CHeading>Multiplicities and Validation</h4><p>To control the possible connections in mxGraph, <a href="#mxGraph.getEdgeValidationError" class=LFunction id=link726 onMouseOver="ShowTip(event, 'tt307', 'link726')" onMouseOut="HideTip('tt307')">getEdgeValidationError</a> is used.&nbsp; The default implementation of the function uses <a href="#mxGraph.multiplicities" class=LVariable id=link727 onMouseOver="ShowTip(event, 'tt52', 'link727')" onMouseOut="HideTip('tt52')">multiplicities</a>, which is an array of <a href="mxMultiplicity-js.html#mxMultiplicity" class=LClass id=link728 onMouseOver="ShowTip(event, 'tt53', 'link728')" onMouseOut="HideTip('tt53')">mxMultiplicity</a>.&nbsp; Using this class allows to establish simple multiplicities, which are enforced by the graph.</p><p>The <a href="mxMultiplicity-js.html#mxMultiplicity" class=LClass id=link729 onMouseOver="ShowTip(event, 'tt53', 'link729')" onMouseOut="HideTip('tt53')">mxMultiplicity</a> uses &lt;mxCell.is&gt; to determine for which terminals it applies.&nbsp; The default implementation of &lt;mxCell.is&gt; works with DOM nodes (XML nodes) and checks if the given type parameter matches the nodeName of the node (case insensitive).&nbsp; Optionally, an attributename and value can be specified which are also checked.</p><p><a href="#mxGraph.getEdgeValidationError" class=LFunction id=link730 onMouseOver="ShowTip(event, 'tt307', 'link730')" onMouseOut="HideTip('tt307')">getEdgeValidationError</a> is called whenever the connectivity of an edge changes.&nbsp; It returns an empty string or an error message if the edge is invalid or null if the edge is valid.&nbsp; If the returned string is not empty then it is displayed as an error message.</p><p><a href="mxMultiplicity-js.html#mxMultiplicity" class=LClass id=link731 onMouseOver="ShowTip(event, 'tt53', 'link731')" onMouseOut="HideTip('tt53')">mxMultiplicity</a> allows to specify the multiplicity between a terminal and its possible neighbors.&nbsp; For example, if any rectangle may only be connected to, say, a maximum of two circles you can add the following rule to <a href="#mxGraph.multiplicities" class=LVariable id=link732 onMouseOver="ShowTip(event, 'tt52', 'link732')" onMouseOut="HideTip('tt52')">multiplicities</a>:</p><blockquote><pre class="prettyprint">graph.multiplicities.push(new mxMultiplicity(
true, 'rectangle', null, null, 0, 2, ['circle'],
'Only 2 targets allowed',
'Only shape targets allowed'));</pre></blockquote><p>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.</p><p>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 &lt;validate&gt; which checks all multiplicities for all cells and displays the respective error messages in an overlay icon on the cells.</p><p>If a cell is collapsed and contains validation errors, a respective warning icon is attached to the collapsed cell.</p><h4 class=CHeading>Auto-Layout</h4><p>For automatic layout, the &lt;getLayout&gt; hook is provided in <a href="mxLayoutManager-js.html#mxLayoutManager" class=LClass >mxLayoutManager</a>.&nbsp; It can be overridden to return a layout algorithm for the children of a given cell.</p><h4 class=CHeading>Unconnected edges</h4><p>The default values for all switches are designed to meet the requirements of general diagram drawing applications.&nbsp; A very typical set of settings to avoid edges that are not connected is the following:</p><blockquote><pre class="prettyprint">graph.setAllowDanglingEdges(false);
graph.setDisconnectOnMove(false);</pre></blockquote><p>Setting the <a href="#mxGraph.cloneInvalidEdges" class=LVariable id=link733 onMouseOver="ShowTip(event, 'tt163', 'link733')" onMouseOut="HideTip('tt163')">cloneInvalidEdges</a> switch to true is optional.&nbsp; This switch controls if edges are inserted after a copy, paste or clone-drag if they are invalid.&nbsp; 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.</p><h4 class=CHeading>Output</h4><p>To produce an XML representation for a diagram, the following code can be used.</p><blockquote><pre class="prettyprint">var enc = new mxCodec(mxUtils.createXmlDocument());
var node = enc.encode(graph.getModel());</pre></blockquote><p>This will produce an XML node than can be handled using the DOM API or turned into a string representation using the following code:</p><blockquote><pre class="prettyprint">var xml = mxUtils.getXml(node);</pre></blockquote><p>To obtain a formatted string, mxUtils.getPrettyXml can be used instead.</p><p>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.&nbsp; The url variable is the URL of the Java servlet, PHP page or HTTP handler, depending on the server.</p><blockquote><pre class="prettyprint">var xmlString = encodeURIComponent(mxUtils.getXml(node));
mxUtils.post(url, 'xml='+xmlString, function(req)
{
// Process server response using req of type mxXmlRequest
});</pre></blockquote><h4 class=CHeading>Input</h4><p>To load an XML representation of a diagram into an existing graph object mxUtils.load can be used as follows.&nbsp; The url variable is the URL of the Java servlet, PHP page or HTTP handler that produces the XML string.</p><blockquote><pre class="prettyprint">var xmlDoc = mxUtils.load(url).getXml();
var node = xmlDoc.documentElement;
var dec = new mxCodec(node.ownerDocument);
dec.decode(node, graph.getModel());</pre></blockquote><p>For creating a page that loads the client and a diagram using a single request please refer to the deployment examples in the backends.</p><h4 class=CHeading>Functional dependencies</h4><img src="../../images/images/callgraph.png" width="963" height="448"><h4 class=CHeading>Resources</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>resources/graph</td><td class=CDLDescription>Language resources for mxGraph</td></tr></table><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#mxGraph" >mxGraph</a></td><td class=SDescription>Extends <a href="../util/mxEventSource-js.html#mxEventSource" class=LClass id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">mxEventSource</a> to implement a graph component for the browser. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Events" >Events</a></td><td class=SDescription></td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.ROOT" >mxEvent.ROOT</a></td><td class=SDescription>Fires if the root in the model has changed. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.ALIGN_CELLS" >mxEvent.<wbr>ALIGN_CELLS</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.alignCells" class=LFunction id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">alignCells</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.FLIP_EDGE" >mxEvent.<wbr>FLIP_EDGE</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.flipEdge" class=LFunction id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">flipEdge</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.ORDER_CELLS" >mxEvent.<wbr>ORDER_CELLS</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.orderCells" class=LFunction id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">orderCells</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.CELLS_ORDERED" >mxEvent.<wbr>CELLS_ORDERED</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.cellsOrdered" class=LFunction id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">cellsOrdered</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.GROUP_CELLS" >mxEvent.<wbr>GROUP_CELLS</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.groupCells" class=LFunction id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">groupCells</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.UNGROUP_CELLS" >mxEvent.<wbr>UNGROUP_CELLS</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.ungroupCells" class=LFunction id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">ungroupCells</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.REMOVE_CELLS_FROM_PARENT" >mxEvent.<wbr>REMOVE_CELLS_FROM_PARENT</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.removeCellsFromParent" class=LFunction id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">removeCellsFromParent</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.ADD_CELLS" >mxEvent.<wbr>ADD_CELLS</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.addCells" class=LFunction id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">addCells</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.CELLS_ADDED" >mxEvent.<wbr>CELLS_ADDED</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.cellsAdded" class=LFunction id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">cellsAdded</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.REMOVE_CELLS" >mxEvent.<wbr>REMOVE_CELLS</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.removeCells" class=LFunction id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">removeCells</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.CELLS_REMOVED" >mxEvent.<wbr>CELLS_REMOVED</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.cellsRemoved" class=LFunction id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">cellsRemoved</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.SPLIT_EDGE" >mxEvent.<wbr>SPLIT_EDGE</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.splitEdge" class=LFunction id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">splitEdge</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.TOGGLE_CELLS" >mxEvent.<wbr>TOGGLE_CELLS</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.toggleCells" class=LFunction id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">toggleCells</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.FOLD_CELLS" >mxEvent.<wbr>FOLD_CELLS</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.foldCells" class=LFunction id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">foldCells</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.CELLS_FOLDED" >mxEvent.<wbr>CELLS_FOLDED</a></td><td class=SDescription>Fires between begin- and endUpdate in cellsFolded. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.UPDATE_CELL_SIZE" >mxEvent.<wbr>UPDATE_CELL_SIZE</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.updateCellSize" class=LFunction id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')">updateCellSize</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.RESIZE_CELLS" >mxEvent.<wbr>RESIZE_CELLS</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.resizeCells" class=LFunction id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')">resizeCells</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.CELLS_RESIZED" >mxEvent.<wbr>CELLS_RESIZED</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.cellsResized" class=LFunction id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')">cellsResized</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.MOVE_CELLS" >mxEvent.<wbr>MOVE_CELLS</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.moveCells" class=LFunction id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')">moveCells</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.CELLS_MOVED" >mxEvent.<wbr>CELLS_MOVED</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.cellsMoved" class=LFunction id=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')">cellsMoved</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.CONNECT_CELL" >mxEvent.<wbr>CONNECT_CELL</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.connectCell" class=LFunction id=link21 onMouseOver="ShowTip(event, 'tt21', 'link21')" onMouseOut="HideTip('tt21')">connectCell</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.CELL_CONNECTED" >mxEvent.<wbr>CELL_CONNECTED</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.cellConnected" class=LFunction id=link22 onMouseOver="ShowTip(event, 'tt22', 'link22')" onMouseOut="HideTip('tt22')">cellConnected</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.REFRESH" >mxEvent.<wbr>REFRESH</a></td><td class=SDescription>Fires after <a href="#mxGraph.refresh" class=LFunction id=link23 onMouseOver="ShowTip(event, 'tt23', 'link23')" onMouseOut="HideTip('tt23')">refresh</a> was executed. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.CLICK" >mxEvent.<wbr>CLICK</a></td><td class=SDescription>Fires in <a href="#mxGraph.click" class=LFunction id=link24 onMouseOver="ShowTip(event, 'tt24', 'link24')" onMouseOut="HideTip('tt24')">click</a> after a click event. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.DOUBLE_CLICK" >mxEvent.<wbr>DOUBLE_CLICK</a></td><td class=SDescription>Fires in <a href="#mxGraph.dblClick" class=LFunction id=link25 onMouseOver="ShowTip(event, 'tt25', 'link25')" onMouseOut="HideTip('tt25')">dblClick</a> after a double click. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.GESTURE" >mxEvent.<wbr>GESTURE</a></td><td class=SDescription>Fires in <a href="#mxGraph.fireGestureEvent" class=LFunction id=link26 onMouseOver="ShowTip(event, 'tt26', 'link26')" onMouseOut="HideTip('tt26')">fireGestureEvent</a> after a touch gesture. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.TAP_AND_HOLD" >mxEvent.<wbr>TAP_AND_HOLD</a></td><td class=SDescription>Fires in <a href="#mxGraph.tapAndHold" class=LFunction id=link27 onMouseOver="ShowTip(event, 'tt27', 'link27')" onMouseOut="HideTip('tt27')">tapAndHold</a> if a tap and hold event was detected. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.FIRE_MOUSE_EVENT" >mxEvent.<wbr>FIRE_MOUSE_EVENT</a></td><td class=SDescription>Fires in <a href="#mxGraph.fireMouseEvent" class=LFunction id=link28 onMouseOver="ShowTip(event, 'tt28', 'link28')" onMouseOut="HideTip('tt28')">fireMouseEvent</a> before the mouse listeners are invoked. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.SIZE" >mxEvent.SIZE</a></td><td class=SDescription>Fires after <a href="#mxGraph.sizeDidChange" class=LFunction id=link29 onMouseOver="ShowTip(event, 'tt29', 'link29')" onMouseOut="HideTip('tt29')">sizeDidChange</a> was executed. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.START_EDITING" >mxEvent.<wbr>START_EDITING</a></td><td class=SDescription>Fires before the in-place editor starts in <a href="#mxGraph.startEditingAtCell" class=LFunction id=link30 onMouseOver="ShowTip(event, 'tt30', 'link30')" onMouseOut="HideTip('tt30')">startEditingAtCell</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.LABEL_CHANGED" >mxEvent.<wbr>LABEL_CHANGED</a></td><td class=SDescription>Fires between begin- and endUpdate in <a href="#mxGraph.cellLabelChanged" class=LFunction id=link31 onMouseOver="ShowTip(event, 'tt31', 'link31')" onMouseOut="HideTip('tt31')">cellLabelChanged</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxEvent.ADD_OVERLAY" >mxEvent.<wbr>ADD_OVERLAY</a></td><td class=SDescription>Fires after an overlay is added in <a href="#mxGraph.addCellOverlay" class=LFunction id=link32 onMouseOver="ShowTip(event, 'tt32', 'link32')" onMouseOut="HideTip('tt32')">addCellOverlay</a>. </td></tr><tr class="SEvent SIndent2"><td class=SEntry><a href="#mxGraph.mxEvent.REMOVE_OVERLAY" >mxEvent.<wbr>REMOVE_OVERLAY</a></td><td class=SDescription>Fires after an overlay is removed in <a href="#mxGraph.removeCellOverlay" class=LFunction id=link33 onMouseOver="ShowTip(event, 'tt33', 'link33')" onMouseOut="HideTip('tt33')">removeCellOverlay</a> and <a href="#mxGraph.removeCellOverlays" class=LFunction id=link34 onMouseOver="ShowTip(event, 'tt34', 'link34')" onMouseOut="HideTip('tt34')">removeCellOverlays</a>. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mxGraph" id=link35 onMouseOver="ShowTip(event, 'tt35', 'link35')" onMouseOut="HideTip('tt35')">mxGraph</a></td><td class=SDescription>Constructs a new mxGraph in the specified container. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.EMPTY_ARRAY" id=link36 onMouseOver="ShowTip(event, 'tt36', 'link36')" onMouseOut="HideTip('tt36')">EMPTY_ARRAY</a></td><td class=SDescription>Immutable empty array instance.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.mouseListeners" id=link37 onMouseOver="ShowTip(event, 'tt37', 'link37')" onMouseOut="HideTip('tt37')">mouseListeners</a></td><td class=SDescription>Holds the mouse event listeners. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.isMouseDown" id=link38 onMouseOver="ShowTip(event, 'tt38', 'link38')" onMouseOut="HideTip('tt38')">isMouseDown</a></td><td class=SDescription>Holds the state of the mouse button.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.model" id=link39 onMouseOver="ShowTip(event, 'tt39', 'link39')" onMouseOut="HideTip('tt39')">model</a></td><td class=SDescription>Holds the <a href="../model/mxGraphModel-js.html#mxGraphModel" class=LClass id=link40 onMouseOver="ShowTip(event, 'tt40', 'link40')" onMouseOut="HideTip('tt40')">mxGraphModel</a> that contains the cells to be displayed.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.view" id=link41 onMouseOver="ShowTip(event, 'tt41', 'link41')" onMouseOut="HideTip('tt41')">view</a></td><td class=SDescription>Holds the <a href="mxGraphView-js.html#mxGraphView" class=LClass id=link42 onMouseOver="ShowTip(event, 'tt42', 'link42')" onMouseOut="HideTip('tt42')">mxGraphView</a> that caches the <a href="mxCellState-js.html#mxCellState" class=LClass id=link43 onMouseOver="ShowTip(event, 'tt43', 'link43')" onMouseOut="HideTip('tt43')">mxCellStates</a> for the cells.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.stylesheet" id=link44 onMouseOver="ShowTip(event, 'tt44', 'link44')" onMouseOut="HideTip('tt44')">stylesheet</a></td><td class=SDescription>Holds the <a href="mxStylesheet-js.html#mxStylesheet" class=LClass id=link45 onMouseOver="ShowTip(event, 'tt45', 'link45')" onMouseOut="HideTip('tt45')">mxStylesheet</a> that defines the appearance of the cells.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.selectionModel" id=link46 onMouseOver="ShowTip(event, 'tt46', 'link46')" onMouseOut="HideTip('tt46')">selectionModel</a></td><td class=SDescription>Holds the <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel" class=LClass id=link47 onMouseOver="ShowTip(event, 'tt47', 'link47')" onMouseOut="HideTip('tt47')">mxGraphSelectionModel</a> that models the current selection.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellEditor" id=link48 onMouseOver="ShowTip(event, 'tt48', 'link48')" onMouseOut="HideTip('tt48')">cellEditor</a></td><td class=SDescription>Holds the <a href="mxCellEditor-js.html#mxCellEditor" class=LClass id=link49 onMouseOver="ShowTip(event, 'tt49', 'link49')" onMouseOut="HideTip('tt49')">mxCellEditor</a> that is used as the in-place editing.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.cellRenderer" id=link50 onMouseOver="ShowTip(event, 'tt50', 'link50')" onMouseOut="HideTip('tt50')">cellRenderer</a></td><td class=SDescription>Holds the <a href="mxCellRenderer-js.html#mxCellRenderer" class=LClass id=link51 onMouseOver="ShowTip(event, 'tt51', 'link51')" onMouseOut="HideTip('tt51')">mxCellRenderer</a> for rendering the cells in the graph.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.multiplicities" id=link52 onMouseOver="ShowTip(event, 'tt52', 'link52')" onMouseOut="HideTip('tt52')">multiplicities</a></td><td class=SDescription>An array of <a href="mxMultiplicity-js.html#mxMultiplicity" class=LClass id=link53 onMouseOver="ShowTip(event, 'tt53', 'link53')" onMouseOut="HideTip('tt53')">mxMultiplicities</a> describing the allowed connections in a graph.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.renderHint" id=link54 onMouseOver="ShowTip(event, 'tt54', 'link54')" onMouseOut="HideTip('tt54')">renderHint</a></td><td class=SDescription>RenderHint as it was passed to the constructor.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.dialect" id=link55 onMouseOver="ShowTip(event, 'tt55', 'link55')" onMouseOut="HideTip('tt55')">dialect</a></td><td class=SDescription>Dialect to be used for drawing the graph. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.gridSize" id=link56 onMouseOver="ShowTip(event, 'tt56', 'link56')" onMouseOut="HideTip('tt56')">gridSize</a></td><td class=SDescription>Specifies the grid size. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.gridEnabled" id=link57 onMouseOver="ShowTip(event, 'tt57', 'link57')" onMouseOut="HideTip('tt57')">gridEnabled</a></td><td class=SDescription>Specifies if the grid is enabled. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.portsEnabled" id=link58 onMouseOver="ShowTip(event, 'tt58', 'link58')" onMouseOut="HideTip('tt58')">portsEnabled</a></td><td class=SDescription>Specifies if ports are enabled. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.nativeDoubleClickEnabled" >nativeDoubleClickEnabled</a></td><td class=SDescription>Specifies if native double click events should be deteced. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.doubleTapEnabled" id=link59 onMouseOver="ShowTip(event, 'tt59', 'link59')" onMouseOut="HideTip('tt59')">doubleTapEnabled</a></td><td class=SDescription>Specifies if double taps on touch-based devices should be handled as a double click. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.doubleTapTimeout" id=link60 onMouseOver="ShowTip(event, 'tt60', 'link60')" onMouseOut="HideTip('tt60')">doubleTapTimeout</a></td><td class=SDescription>Specifies the timeout for double taps and non-native double clicks. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.doubleTapTolerance" id=link61 onMouseOver="ShowTip(event, 'tt61', 'link61')" onMouseOut="HideTip('tt61')">doubleTapTolerance</a></td><td class=SDescription>Specifies the tolerance for double taps and double clicks in quirks mode. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.lastTouchX" >lastTouchX</a></td><td class=SDescription>Holds the x-coordinate of the last touch event for double tap detection.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.lastTouchX" >lastTouchX</a></td><td class=SDescription>Holds the y-coordinate of the last touch event for double tap detection.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.lastTouchTime" id=link62 onMouseOver="ShowTip(event, 'tt62', 'link62')" onMouseOut="HideTip('tt62')">lastTouchTime</a></td><td class=SDescription>Holds the time of the last touch event for double click detection.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.tapAndHoldEnabled" id=link63 onMouseOver="ShowTip(event, 'tt63', 'link63')" onMouseOut="HideTip('tt63')">tapAndHoldEnabled</a></td><td class=SDescription>Specifies if tap and hold should be used for starting connections on touch-based devices. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.tapAndHoldDelay" id=link64 onMouseOver="ShowTip(event, 'tt64', 'link64')" onMouseOut="HideTip('tt64')">tapAndHoldDelay</a></td><td class=SDescription>Specifies the time for a tap and hold. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.tapAndHoldInProgress" id=link65 onMouseOver="ShowTip(event, 'tt65', 'link65')" onMouseOut="HideTip('tt65')">tapAndHoldInProgress</a></td><td class=SDescription>True if the timer for tap and hold events is running.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.tapAndHoldValid" id=link66 onMouseOver="ShowTip(event, 'tt66', 'link66')" onMouseOut="HideTip('tt66')">tapAndHoldValid</a></td><td class=SDescription>True as long as the timer is running and the touch events stay within the given &lt;tapAndHoldTolerance&gt;.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.initialTouchX" id=link67 onMouseOver="ShowTip(event, 'tt67', 'link67')" onMouseOut="HideTip('tt67')">initialTouchX</a></td><td class=SDescription>Holds the x-coordinate of the intial touch event for tap and hold.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.initialTouchY" id=link68 onMouseOver="ShowTip(event, 'tt68', 'link68')" onMouseOut="HideTip('tt68')">initialTouchY</a></td><td class=SDescription>Holds the y-coordinate of the intial touch event for tap and hold.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.tolerance" id=link69 onMouseOver="ShowTip(event, 'tt69', 'link69')" onMouseOut="HideTip('tt69')">tolerance</a></td><td class=SDescription>Tolerance for a move to be handled as a single click. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.defaultOverlap" id=link70 onMouseOver="ShowTip(event, 'tt70', 'link70')" onMouseOut="HideTip('tt70')">defaultOverlap</a></td><td class=SDescription>Value returned by <a href="#mxGraph.getOverlap" class=LFunction id=link71 onMouseOver="ShowTip(event, 'tt71', 'link71')" onMouseOut="HideTip('tt71')">getOverlap</a> if <a href="#mxGraph.isAllowOverlapParent" class=LFunction id=link72 onMouseOver="ShowTip(event, 'tt72', 'link72')" onMouseOut="HideTip('tt72')">isAllowOverlapParent</a> returns true for the given cell. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.defaultParent" id=link73 onMouseOver="ShowTip(event, 'tt73', 'link73')" onMouseOut="HideTip('tt73')">defaultParent</a></td><td class=SDescription>Specifies the default parent to be used to insert new cells. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.alternateEdgeStyle" id=link74 onMouseOver="ShowTip(event, 'tt74', 'link74')" onMouseOut="HideTip('tt74')">alternateEdgeStyle</a></td><td class=SDescription>Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.backgroundImage" id=link75 onMouseOver="ShowTip(event, 'tt75', 'link75')" onMouseOut="HideTip('tt75')">backgroundImage</a></td><td class=SDescription>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link76 onMouseOver="ShowTip(event, 'tt76', 'link76')" onMouseOut="HideTip('tt76')">mxImage</a> to be returned by <a href="#mxGraph.getBackgroundImage" class=LFunction id=link77 onMouseOver="ShowTip(event, 'tt77', 'link77')" onMouseOut="HideTip('tt77')">getBackgroundImage</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.pageVisible" id=link78 onMouseOver="ShowTip(event, 'tt78', 'link78')" onMouseOut="HideTip('tt78')">pageVisible</a></td><td class=SDescription>Specifies if the background page should be visible. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.pageBreaksVisible" id=link79 onMouseOver="ShowTip(event, 'tt79', 'link79')" onMouseOut="HideTip('tt79')">pageBreaksVisible</a></td><td class=SDescription>Specifies if a dashed line should be drawn between multiple pages. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.pageBreakColor" id=link80 onMouseOver="ShowTip(event, 'tt80', 'link80')" onMouseOut="HideTip('tt80')">pageBreakColor</a></td><td class=SDescription>Specifies the color for page breaks. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.pageBreakDashed" id=link81 onMouseOver="ShowTip(event, 'tt81', 'link81')" onMouseOut="HideTip('tt81')">pageBreakDashed</a></td><td class=SDescription>Specifies the page breaks should be dashed. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.minPageBreakDist" id=link82 onMouseOver="ShowTip(event, 'tt82', 'link82')" onMouseOut="HideTip('tt82')">minPageBreakDist</a></td><td class=SDescription>Specifies the minimum distance for page breaks to be visible. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.preferPageSize" id=link83 onMouseOver="ShowTip(event, 'tt83', 'link83')" onMouseOut="HideTip('tt83')">preferPageSize</a></td><td class=SDescription>Specifies if the graph size should be rounded to the next page number in <a href="#mxGraph.sizeDidChange" class=LFunction id=link84 onMouseOver="ShowTip(event, 'tt29', 'link84')" onMouseOut="HideTip('tt29')">sizeDidChange</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.pageFormat" id=link85 onMouseOver="ShowTip(event, 'tt84', 'link85')" onMouseOut="HideTip('tt84')">pageFormat</a></td><td class=SDescription>Specifies the page format for the background page. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.pageScale" id=link86 onMouseOver="ShowTip(event, 'tt85', 'link86')" onMouseOut="HideTip('tt85')">pageScale</a></td><td class=SDescription>Specifies the scale of the background page. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.enabled" id=link87 onMouseOver="ShowTip(event, 'tt86', 'link87')" onMouseOut="HideTip('tt86')">enabled</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isEnabled" class=LFunction id=link88 onMouseOver="ShowTip(event, 'tt87', 'link88')" onMouseOut="HideTip('tt87')">isEnabled</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.escapeEnabled" id=link89 onMouseOver="ShowTip(event, 'tt88', 'link89')" onMouseOut="HideTip('tt88')">escapeEnabled</a></td><td class=SDescription>Specifies if <a href="../handler/mxKeyHandler-js.html#mxKeyHandler" class=LClass id=link90 onMouseOver="ShowTip(event, 'tt89', 'link90')" onMouseOut="HideTip('tt89')">mxKeyHandler</a> should invoke <a href="#mxGraph.escape" class=LFunction id=link91 onMouseOver="ShowTip(event, 'tt90', 'link91')" onMouseOut="HideTip('tt90')">escape</a> when the escape key is pressed. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.invokesStopCellEditing" id=link92 onMouseOver="ShowTip(event, 'tt91', 'link92')" onMouseOut="HideTip('tt91')">invokesStopCellEditing</a></td><td class=SDescription>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. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.enterStopsCellEditing" id=link93 onMouseOver="ShowTip(event, 'tt92', 'link93')" onMouseOut="HideTip('tt92')">enterStopsCellEditing</a></td><td class=SDescription>If true, pressing the enter key without pressing control or shift will stop editing and accept the new value. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.useScrollbarsForPanning" id=link94 onMouseOver="ShowTip(event, 'tt93', 'link94')" onMouseOut="HideTip('tt93')">useScrollbarsForPanning</a></td><td class=SDescription>Specifies if scrollbars should be used for panning in <a href="#mxGraph.panGraph" class=LFunction id=link95 onMouseOver="ShowTip(event, 'tt94', 'link95')" onMouseOut="HideTip('tt94')">panGraph</a> if any scrollbars are available. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.exportEnabled" id=link96 onMouseOver="ShowTip(event, 'tt95', 'link96')" onMouseOut="HideTip('tt95')">exportEnabled</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.canExportCell" class=LFunction id=link97 onMouseOver="ShowTip(event, 'tt96', 'link97')" onMouseOut="HideTip('tt96')">canExportCell</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.importEnabled" id=link98 onMouseOver="ShowTip(event, 'tt97', 'link98')" onMouseOut="HideTip('tt97')">importEnabled</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.canImportCell" class=LFunction id=link99 onMouseOver="ShowTip(event, 'tt98', 'link99')" onMouseOut="HideTip('tt98')">canImportCell</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.cellsLocked" id=link100 onMouseOver="ShowTip(event, 'tt99', 'link100')" onMouseOut="HideTip('tt99')">cellsLocked</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellLocked" class=LFunction id=link101 onMouseOver="ShowTip(event, 'tt100', 'link101')" onMouseOut="HideTip('tt100')">isCellLocked</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellsCloneable" id=link102 onMouseOver="ShowTip(event, 'tt101', 'link102')" onMouseOut="HideTip('tt101')">cellsCloneable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellCloneable" class=LFunction id=link103 onMouseOver="ShowTip(event, 'tt102', 'link103')" onMouseOut="HideTip('tt102')">isCellCloneable</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.foldingEnabled" id=link104 onMouseOver="ShowTip(event, 'tt103', 'link104')" onMouseOut="HideTip('tt103')">foldingEnabled</a></td><td class=SDescription>Specifies if folding (collapse and expand via an image icon in the graph should be enabled). </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellsEditable" id=link105 onMouseOver="ShowTip(event, 'tt104', 'link105')" onMouseOut="HideTip('tt104')">cellsEditable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellEditable" class=LFunction id=link106 onMouseOver="ShowTip(event, 'tt105', 'link106')" onMouseOut="HideTip('tt105')">isCellEditable</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.cellsDeletable" id=link107 onMouseOver="ShowTip(event, 'tt106', 'link107')" onMouseOut="HideTip('tt106')">cellsDeletable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellDeletable" class=LFunction id=link108 onMouseOver="ShowTip(event, 'tt107', 'link108')" onMouseOut="HideTip('tt107')">isCellDeletable</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellsMovable" id=link109 onMouseOver="ShowTip(event, 'tt108', 'link109')" onMouseOut="HideTip('tt108')">cellsMovable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellMovable" class=LFunction id=link110 onMouseOver="ShowTip(event, 'tt109', 'link110')" onMouseOut="HideTip('tt109')">isCellMovable</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.edgeLabelsMovable" id=link111 onMouseOver="ShowTip(event, 'tt110', 'link111')" onMouseOut="HideTip('tt110')">edgeLabelsMovable</a></td><td class=SDescription>Specifies the return value for edges in <a href="#mxGraph.isLabelMovable" class=LFunction id=link112 onMouseOver="ShowTip(event, 'tt111', 'link112')" onMouseOut="HideTip('tt111')">isLabelMovable</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.vertexLabelsMovable" id=link113 onMouseOver="ShowTip(event, 'tt112', 'link113')" onMouseOut="HideTip('tt112')">vertexLabelsMovable</a></td><td class=SDescription>Specifies the return value for vertices in <a href="#mxGraph.isLabelMovable" class=LFunction id=link114 onMouseOver="ShowTip(event, 'tt111', 'link114')" onMouseOut="HideTip('tt111')">isLabelMovable</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.dropEnabled" id=link115 onMouseOver="ShowTip(event, 'tt113', 'link115')" onMouseOut="HideTip('tt113')">dropEnabled</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isDropEnabled" class=LFunction id=link116 onMouseOver="ShowTip(event, 'tt114', 'link116')" onMouseOut="HideTip('tt114')">isDropEnabled</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.splitEnabled" id=link117 onMouseOver="ShowTip(event, 'tt115', 'link117')" onMouseOut="HideTip('tt115')">splitEnabled</a></td><td class=SDescription>Specifies if dropping onto edges should be enabled. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.cellsResizable" id=link118 onMouseOver="ShowTip(event, 'tt116', 'link118')" onMouseOut="HideTip('tt116')">cellsResizable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellResizable" class=LFunction id=link119 onMouseOver="ShowTip(event, 'tt117', 'link119')" onMouseOut="HideTip('tt117')">isCellResizable</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellsBendable" id=link120 onMouseOver="ShowTip(event, 'tt118', 'link120')" onMouseOut="HideTip('tt118')">cellsBendable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellsBendable" class=LFunction id=link121 onMouseOver="ShowTip(event, 'tt119', 'link121')" onMouseOut="HideTip('tt119')">isCellsBendable</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.cellsSelectable" id=link122 onMouseOver="ShowTip(event, 'tt120', 'link122')" onMouseOut="HideTip('tt120')">cellsSelectable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellSelectable" class=LFunction id=link123 onMouseOver="ShowTip(event, 'tt121', 'link123')" onMouseOut="HideTip('tt121')">isCellSelectable</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellsDisconnectable" id=link124 onMouseOver="ShowTip(event, 'tt122', 'link124')" onMouseOut="HideTip('tt122')">cellsDisconnectable</a></td><td class=SDescription>Specifies the return value for &lt;isCellDisconntable&gt;. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.autoSizeCells" id=link125 onMouseOver="ShowTip(event, 'tt123', 'link125')" onMouseOut="HideTip('tt123')">autoSizeCells</a></td><td class=SDescription>Specifies if the graph should automatically update the cell size after an edit. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.autoSizeCellsOnAdd" id=link126 onMouseOver="ShowTip(event, 'tt124', 'link126')" onMouseOut="HideTip('tt124')">autoSizeCellsOnAdd</a></td><td class=SDescription>Specifies if autoSize style should be applied when cells are added. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.autoScroll" id=link127 onMouseOver="ShowTip(event, 'tt125', 'link127')" onMouseOut="HideTip('tt125')">autoScroll</a></td><td class=SDescription>Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.timerAutoScroll" id=link128 onMouseOver="ShowTip(event, 'tt126', 'link128')" onMouseOut="HideTip('tt126')">timerAutoScroll</a></td><td class=SDescription>Specifies if timer-based autoscrolling should be used via mxPanningManager. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.allowAutoPanning" id=link129 onMouseOver="ShowTip(event, 'tt127', 'link129')" onMouseOut="HideTip('tt127')">allowAutoPanning</a></td><td class=SDescription>Specifies if panning via <a href="#mxGraph.panGraph" class=LFunction id=link130 onMouseOver="ShowTip(event, 'tt94', 'link130')" onMouseOut="HideTip('tt94')">panGraph</a> should be allowed to implement autoscroll if no scrollbars are available in <a href="#mxGraph.scrollPointToVisible" class=LFunction id=link131 onMouseOver="ShowTip(event, 'tt128', 'link131')" onMouseOut="HideTip('tt128')">scrollPointToVisible</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.ignoreScrollbars" id=link132 onMouseOver="ShowTip(event, 'tt129', 'link132')" onMouseOut="HideTip('tt129')">ignoreScrollbars</a></td><td class=SDescription>Specifies if the graph should automatically scroll regardless of the scrollbars.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.autoExtend" id=link133 onMouseOver="ShowTip(event, 'tt130', 'link133')" onMouseOut="HideTip('tt130')">autoExtend</a></td><td class=SDescription>Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.maximumGraphBounds" id=link134 onMouseOver="ShowTip(event, 'tt131', 'link134')" onMouseOut="HideTip('tt131')">maximumGraphBounds</a></td><td class=SDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link135 onMouseOver="ShowTip(event, 'tt132', 'link135')" onMouseOut="HideTip('tt132')">mxRectangle</a> that specifies the area in which all cells in the diagram should be placed. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.minimumGraphSize" id=link136 onMouseOver="ShowTip(event, 'tt133', 'link136')" onMouseOut="HideTip('tt133')">minimumGraphSize</a></td><td class=SDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link137 onMouseOver="ShowTip(event, 'tt132', 'link137')" onMouseOut="HideTip('tt132')">mxRectangle</a> that specifies the minimum size of the graph. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.minimumContainerSize" id=link138 onMouseOver="ShowTip(event, 'tt134', 'link138')" onMouseOut="HideTip('tt134')">minimumContainerSize</a></td><td class=SDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link139 onMouseOver="ShowTip(event, 'tt132', 'link139')" onMouseOut="HideTip('tt132')">mxRectangle</a> that specifies the minimum size of the &lt;container&gt; if <a href="#mxGraph.resizeContainer" class=LVariable id=link140 onMouseOver="ShowTip(event, 'tt135', 'link140')" onMouseOut="HideTip('tt135')">resizeContainer</a> is true.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.maximumContainerSize" id=link141 onMouseOver="ShowTip(event, 'tt136', 'link141')" onMouseOut="HideTip('tt136')">maximumContainerSize</a></td><td class=SDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link142 onMouseOver="ShowTip(event, 'tt132', 'link142')" onMouseOut="HideTip('tt132')">mxRectangle</a> that specifies the maximum size of the container if <a href="#mxGraph.resizeContainer" class=LVariable id=link143 onMouseOver="ShowTip(event, 'tt135', 'link143')" onMouseOut="HideTip('tt135')">resizeContainer</a> is true.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.resizeContainer" id=link144 onMouseOver="ShowTip(event, 'tt135', 'link144')" onMouseOut="HideTip('tt135')">resizeContainer</a></td><td class=SDescription>Specifies if the container should be resized to the graph size when the graph size has changed. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.border" id=link145 onMouseOver="ShowTip(event, 'tt137', 'link145')" onMouseOut="HideTip('tt137')">border</a></td><td class=SDescription>Border to be added to the bottom and right side when the container is being resized after the graph has been changed. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.keepEdgesInForeground" id=link146 onMouseOver="ShowTip(event, 'tt138', 'link146')" onMouseOut="HideTip('tt138')">keepEdgesInForeground</a></td><td class=SDescription>Specifies if edges should appear in the foreground regardless of their order in the model. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.keepEdgesInBackground" id=link147 onMouseOver="ShowTip(event, 'tt139', 'link147')" onMouseOut="HideTip('tt139')">keepEdgesInBackground</a></td><td class=SDescription>Specifies if edges should appear in the background regardless of their order in the model. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.allowNegativeCoordinates" id=link148 onMouseOver="ShowTip(event, 'tt140', 'link148')" onMouseOut="HideTip('tt140')">allowNegativeCoordinates</a></td><td class=SDescription>Specifies if negative coordinates for vertices are allowed. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.constrainChildren" id=link149 onMouseOver="ShowTip(event, 'tt141', 'link149')" onMouseOut="HideTip('tt141')">constrainChildren</a></td><td class=SDescription>Specifies if a child should be constrained inside the parent bounds after a move of the child. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.constrainChildrenOnResize" id=link150 onMouseOver="ShowTip(event, 'tt142', 'link150')" onMouseOut="HideTip('tt142')">constrainChildrenOnResize</a></td><td class=SDescription>Specifies if children should be constrained according to the <a href="#mxGraph.constrainChildren" class=LVariable id=link151 onMouseOver="ShowTip(event, 'tt141', 'link151')" onMouseOut="HideTip('tt141')">constrainChildren</a> switch if cells are resized. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.extendParents" id=link152 onMouseOver="ShowTip(event, 'tt143', 'link152')" onMouseOut="HideTip('tt143')">extendParents</a></td><td class=SDescription>Specifies if a parent should contain the child bounds after a resize of the child. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.extendParentsOnAdd" id=link153 onMouseOver="ShowTip(event, 'tt144', 'link153')" onMouseOut="HideTip('tt144')">extendParentsOnAdd</a></td><td class=SDescription>Specifies if parents should be extended according to the <a href="#mxGraph.extendParents" class=LVariable id=link154 onMouseOver="ShowTip(event, 'tt143', 'link154')" onMouseOut="HideTip('tt143')">extendParents</a> switch if cells are added. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.extendParentsOnAdd" >extendParentsOnAdd</a></td><td class=SDescription>Specifies if parents should be extended according to the <a href="#mxGraph.extendParents" class=LVariable id=link155 onMouseOver="ShowTip(event, 'tt143', 'link155')" onMouseOut="HideTip('tt143')">extendParents</a> switch if cells are added. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.recursiveResize" id=link156 onMouseOver="ShowTip(event, 'tt145', 'link156')" onMouseOut="HideTip('tt145')">recursiveResize</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isRecursiveResize" class=LFunction id=link157 onMouseOver="ShowTip(event, 'tt146', 'link157')" onMouseOut="HideTip('tt146')">isRecursiveResize</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.collapseToPreferredSize" id=link158 onMouseOver="ShowTip(event, 'tt147', 'link158')" onMouseOut="HideTip('tt147')">collapseToPreferredSize</a></td><td class=SDescription>Specifies if the cell size should be changed to the preferred size when a cell is first collapsed. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.zoomFactor" id=link159 onMouseOver="ShowTip(event, 'tt148', 'link159')" onMouseOut="HideTip('tt148')">zoomFactor</a></td><td class=SDescription>Specifies the factor used for <a href="#mxGraph.zoomIn" class=LFunction id=link160 onMouseOver="ShowTip(event, 'tt149', 'link160')" onMouseOut="HideTip('tt149')">zoomIn</a> and <a href="#mxGraph.zoomOut" class=LFunction id=link161 onMouseOver="ShowTip(event, 'tt150', 'link161')" onMouseOut="HideTip('tt150')">zoomOut</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.keepSelectionVisibleOnZoom" id=link162 onMouseOver="ShowTip(event, 'tt151', 'link162')" onMouseOut="HideTip('tt151')">keepSelectionVisibleOnZoom</a></td><td class=SDescription>Specifies if the viewport should automatically contain the selection cells after a zoom operation. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.centerZoom" id=link163 onMouseOver="ShowTip(event, 'tt152', 'link163')" onMouseOut="HideTip('tt152')">centerZoom</a></td><td class=SDescription>Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.resetViewOnRootChange" id=link164 onMouseOver="ShowTip(event, 'tt153', 'link164')" onMouseOut="HideTip('tt153')">resetViewOnRootChange</a></td><td class=SDescription>Specifies if the scale and translate should be reset if the root changes in the model. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.resetEdgesOnResize" id=link165 onMouseOver="ShowTip(event, 'tt154', 'link165')" onMouseOut="HideTip('tt154')">resetEdgesOnResize</a></td><td class=SDescription>Specifies if edge control points should be reset after the resize of a connected cell. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.resetEdgesOnMove" id=link166 onMouseOver="ShowTip(event, 'tt155', 'link166')" onMouseOut="HideTip('tt155')">resetEdgesOnMove</a></td><td class=SDescription>Specifies if edge control points should be reset after the move of a connected cell. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.resetEdgesOnConnect" id=link167 onMouseOver="ShowTip(event, 'tt156', 'link167')" onMouseOut="HideTip('tt156')">resetEdgesOnConnect</a></td><td class=SDescription>Specifies if edge control points should be reset after the the edge has been reconnected. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.allowLoops" id=link168 onMouseOver="ShowTip(event, 'tt157', 'link168')" onMouseOut="HideTip('tt157')">allowLoops</a></td><td class=SDescription>Specifies if loops (aka self-references) are allowed. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.defaultLoopStyle" id=link169 onMouseOver="ShowTip(event, 'tt158', 'link169')" onMouseOut="HideTip('tt158')">defaultLoopStyle</a></td><td class=SDescription><a href="mxEdgeStyle-js.html#mxEdgeStyle" class=LClass id=link170 onMouseOver="ShowTip(event, 'tt159', 'link170')" onMouseOut="HideTip('tt159')">mxEdgeStyle</a> to be used for loops. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.multigraph" id=link171 onMouseOver="ShowTip(event, 'tt160', 'link171')" onMouseOut="HideTip('tt160')">multigraph</a></td><td class=SDescription>Specifies if multiple edges in the same direction between the same pair of vertices are allowed. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.connectableEdges" id=link172 onMouseOver="ShowTip(event, 'tt161', 'link172')" onMouseOut="HideTip('tt161')">connectableEdges</a></td><td class=SDescription>Specifies if edges are connectable. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.allowDanglingEdges" id=link173 onMouseOver="ShowTip(event, 'tt162', 'link173')" onMouseOut="HideTip('tt162')">allowDanglingEdges</a></td><td class=SDescription>Specifies if edges with disconnected terminals are allowed in the graph. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cloneInvalidEdges" id=link174 onMouseOver="ShowTip(event, 'tt163', 'link174')" onMouseOut="HideTip('tt163')">cloneInvalidEdges</a></td><td class=SDescription>Specifies if edges that are cloned should be validated and only inserted if they are valid. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.disconnectOnMove" id=link175 onMouseOver="ShowTip(event, 'tt164', 'link175')" onMouseOut="HideTip('tt164')">disconnectOnMove</a></td><td class=SDescription>Specifies if edges should be disconnected from their terminals when they are moved. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.labelsVisible" id=link176 onMouseOver="ShowTip(event, 'tt165', 'link176')" onMouseOut="HideTip('tt165')">labelsVisible</a></td><td class=SDescription>Specifies if labels should be visible. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.htmlLabels" id=link177 onMouseOver="ShowTip(event, 'tt166', 'link177')" onMouseOut="HideTip('tt166')">htmlLabels</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isHtmlLabel" class=LFunction id=link178 onMouseOver="ShowTip(event, 'tt167', 'link178')" onMouseOut="HideTip('tt167')">isHtmlLabel</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.swimlaneSelectionEnabled" id=link179 onMouseOver="ShowTip(event, 'tt168', 'link179')" onMouseOut="HideTip('tt168')">swimlaneSelectionEnabled</a></td><td class=SDescription>Specifies if swimlanes should be selectable via the content if the mouse is released. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.swimlaneNesting" id=link180 onMouseOver="ShowTip(event, 'tt169', 'link180')" onMouseOut="HideTip('tt169')">swimlaneNesting</a></td><td class=SDescription>Specifies if nesting of swimlanes is allowed. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.swimlaneIndicatorColorAttribute" id=link181 onMouseOver="ShowTip(event, 'tt170', 'link181')" onMouseOut="HideTip('tt170')">swimlaneIndicatorColorAttribute</a></td><td class=SDescription>The attribute used to find the color for the indicator if the indicator color is set to &lsquo;swimlane&rsquo;. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.imageBundles" id=link182 onMouseOver="ShowTip(event, 'tt171', 'link182')" onMouseOut="HideTip('tt171')">imageBundles</a></td><td class=SDescription>Holds the list of image bundles.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.minFitScale" id=link183 onMouseOver="ShowTip(event, 'tt172', 'link183')" onMouseOut="HideTip('tt172')">minFitScale</a></td><td class=SDescription>Specifies the minimum scale to be applied in <a href="#mxGraph.fit" class=LFunction id=link184 onMouseOver="ShowTip(event, 'tt173', 'link184')" onMouseOut="HideTip('tt173')">fit</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.maxFitScale" id=link185 onMouseOver="ShowTip(event, 'tt174', 'link185')" onMouseOut="HideTip('tt174')">maxFitScale</a></td><td class=SDescription>Specifies the maximum scale to be applied in <a href="#mxGraph.fit" class=LFunction id=link186 onMouseOver="ShowTip(event, 'tt173', 'link186')" onMouseOut="HideTip('tt173')">fit</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.panDx" id=link187 onMouseOver="ShowTip(event, 'tt175', 'link187')" onMouseOut="HideTip('tt175')">panDx</a></td><td class=SDescription>Current horizontal panning value. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.panDy" id=link188 onMouseOver="ShowTip(event, 'tt176', 'link188')" onMouseOut="HideTip('tt176')">panDy</a></td><td class=SDescription>Current vertical panning value. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.collapsedImage" id=link189 onMouseOver="ShowTip(event, 'tt177', 'link189')" onMouseOut="HideTip('tt177')">collapsedImage</a></td><td class=SDescription>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link190 onMouseOver="ShowTip(event, 'tt76', 'link190')" onMouseOut="HideTip('tt76')">mxImage</a> to indicate a collapsed state. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.expandedImage" id=link191 onMouseOver="ShowTip(event, 'tt178', 'link191')" onMouseOut="HideTip('tt178')">expandedImage</a></td><td class=SDescription>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link192 onMouseOver="ShowTip(event, 'tt76', 'link192')" onMouseOut="HideTip('tt76')">mxImage</a> to indicate a expanded state. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.warningImage" id=link193 onMouseOver="ShowTip(event, 'tt179', 'link193')" onMouseOut="HideTip('tt179')">warningImage</a></td><td class=SDescription>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link194 onMouseOver="ShowTip(event, 'tt76', 'link194')" onMouseOut="HideTip('tt76')">mxImage</a> for the image to be used to display a warning overlay. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.alreadyConnectedResource" id=link195 onMouseOver="ShowTip(event, 'tt180', 'link195')" onMouseOut="HideTip('tt180')">alreadyConnectedResource</a></td><td class=SDescription>Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.containsValidationErrorsResource" id=link196 onMouseOver="ShowTip(event, 'tt181', 'link196')" onMouseOut="HideTip('tt181')">containsValidationErrorsResource</a></td><td class=SDescription>Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.collapseExpandResource" id=link197 onMouseOver="ShowTip(event, 'tt182', 'link197')" onMouseOut="HideTip('tt182')">collapseExpandResource</a></td><td class=SDescription>Specifies the resource key for the tooltip on the collapse/expand icon. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.init" id=link198 onMouseOver="ShowTip(event, 'tt183', 'link198')" onMouseOut="HideTip('tt183')">init</a></td><td class=SDescription>Initializes the &lt;container&gt; and creates the respective datastructures.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.createHandlers" id=link199 onMouseOver="ShowTip(event, 'tt184', 'link199')" onMouseOut="HideTip('tt184')">createHandlers</a></td><td class=SDescription>Creates the tooltip-, panning-, connection- and graph-handler (in this order). </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.createSelectionModel" id=link200 onMouseOver="ShowTip(event, 'tt185', 'link200')" onMouseOut="HideTip('tt185')">createSelectionModel</a></td><td class=SDescription>Creates a new <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel" class=LClass id=link201 onMouseOver="ShowTip(event, 'tt47', 'link201')" onMouseOut="HideTip('tt47')">mxGraphSelectionModel</a> to be used in this graph.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.createStylesheet" id=link202 onMouseOver="ShowTip(event, 'tt186', 'link202')" onMouseOut="HideTip('tt186')">createStylesheet</a></td><td class=SDescription>Creates a new <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel" class=LClass id=link203 onMouseOver="ShowTip(event, 'tt47', 'link203')" onMouseOut="HideTip('tt47')">mxGraphSelectionModel</a> to be used in this graph.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.createGraphView" id=link204 onMouseOver="ShowTip(event, 'tt187', 'link204')" onMouseOut="HideTip('tt187')">createGraphView</a></td><td class=SDescription>Creates a new <a href="mxGraphView-js.html#mxGraphView" class=LClass id=link205 onMouseOver="ShowTip(event, 'tt42', 'link205')" onMouseOut="HideTip('tt42')">mxGraphView</a> to be used in this graph.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.createCellRenderer" id=link206 onMouseOver="ShowTip(event, 'tt188', 'link206')" onMouseOut="HideTip('tt188')">createCellRenderer</a></td><td class=SDescription>Creates a new <a href="mxCellRenderer-js.html#mxCellRenderer" class=LClass id=link207 onMouseOver="ShowTip(event, 'tt51', 'link207')" onMouseOut="HideTip('tt51')">mxCellRenderer</a> to be used in this graph.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.createCellEditor" id=link208 onMouseOver="ShowTip(event, 'tt189', 'link208')" onMouseOut="HideTip('tt189')">createCellEditor</a></td><td class=SDescription>Creates a new <a href="mxCellEditor-js.html#mxCellEditor" class=LClass id=link209 onMouseOver="ShowTip(event, 'tt49', 'link209')" onMouseOut="HideTip('tt49')">mxCellEditor</a> to be used in this graph.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getModel" id=link210 onMouseOver="ShowTip(event, 'tt190', 'link210')" onMouseOut="HideTip('tt190')">getModel</a></td><td class=SDescription>Returns the <a href="../model/mxGraphModel-js.html#mxGraphModel" class=LClass id=link211 onMouseOver="ShowTip(event, 'tt40', 'link211')" onMouseOut="HideTip('tt40')">mxGraphModel</a> that contains the cells.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getView" id=link212 onMouseOver="ShowTip(event, 'tt191', 'link212')" onMouseOut="HideTip('tt191')">getView</a></td><td class=SDescription>Returns the <a href="mxGraphView-js.html#mxGraphView" class=LClass id=link213 onMouseOver="ShowTip(event, 'tt42', 'link213')" onMouseOut="HideTip('tt42')">mxGraphView</a> that contains the <a href="mxCellState-js.html#mxCellState" class=LClass id=link214 onMouseOver="ShowTip(event, 'tt43', 'link214')" onMouseOut="HideTip('tt43')">mxCellStates</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getStylesheet" id=link215 onMouseOver="ShowTip(event, 'tt192', 'link215')" onMouseOut="HideTip('tt192')">getStylesheet</a></td><td class=SDescription>Returns the <a href="mxStylesheet-js.html#mxStylesheet" class=LClass id=link216 onMouseOver="ShowTip(event, 'tt45', 'link216')" onMouseOut="HideTip('tt45')">mxStylesheet</a> that defines the style.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setStylesheet" id=link217 onMouseOver="ShowTip(event, 'tt193', 'link217')" onMouseOut="HideTip('tt193')">setStylesheet</a></td><td class=SDescription>Sets the <a href="mxStylesheet-js.html#mxStylesheet" class=LClass id=link218 onMouseOver="ShowTip(event, 'tt45', 'link218')" onMouseOut="HideTip('tt45')">mxStylesheet</a> that defines the style.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getSelectionModel" id=link219 onMouseOver="ShowTip(event, 'tt194', 'link219')" onMouseOut="HideTip('tt194')">getSelectionModel</a></td><td class=SDescription>Returns the <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel" class=LClass id=link220 onMouseOver="ShowTip(event, 'tt47', 'link220')" onMouseOut="HideTip('tt47')">mxGraphSelectionModel</a> that contains the selection.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setSelectionModel" id=link221 onMouseOver="ShowTip(event, 'tt195', 'link221')" onMouseOut="HideTip('tt195')">setSelectionModel</a></td><td class=SDescription>Sets the &lt;mxSelectionModel&gt; that contains the selection.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getSelectionCellsForChanges" id=link222 onMouseOver="ShowTip(event, 'tt196', 'link222')" onMouseOut="HideTip('tt196')">getSelectionCellsForChanges</a></td><td class=SDescription>Returns the cells to be selected for the given array of changes.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.graphModelChanged" id=link223 onMouseOver="ShowTip(event, 'tt197', 'link223')" onMouseOut="HideTip('tt197')">graphModelChanged</a></td><td class=SDescription>Called when the graph model changes. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getRemovedCellsForChanges" id=link224 onMouseOver="ShowTip(event, 'tt198', 'link224')" onMouseOut="HideTip('tt198')">getRemovedCellsForChanges</a></td><td class=SDescription>Returns the cells that have been removed from the model.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.processChange" id=link225 onMouseOver="ShowTip(event, 'tt199', 'link225')" onMouseOut="HideTip('tt199')">processChange</a></td><td class=SDescription>Processes the given change and invalidates the respective cached data in <a href="#mxGraph.view" class=LVariable id=link226 onMouseOver="ShowTip(event, 'tt41', 'link226')" onMouseOut="HideTip('tt41')">view</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.removeStateForCell" id=link227 onMouseOver="ShowTip(event, 'tt200', 'link227')" onMouseOut="HideTip('tt200')">removeStateForCell</a></td><td class=SDescription>Removes all cached information for the given cell and its descendants. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Overlays" >Overlays</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.addCellOverlay" id=link228 onMouseOver="ShowTip(event, 'tt32', 'link228')" onMouseOut="HideTip('tt32')">addCellOverlay</a></td><td class=SDescription>Adds an <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link229 onMouseOver="ShowTip(event, 'tt201', 'link229')" onMouseOut="HideTip('tt201')">mxCellOverlay</a> for the specified cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getCellOverlays" id=link230 onMouseOver="ShowTip(event, 'tt202', 'link230')" onMouseOut="HideTip('tt202')">getCellOverlays</a></td><td class=SDescription>Returns the array of <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link231 onMouseOver="ShowTip(event, 'tt201', 'link231')" onMouseOut="HideTip('tt201')">mxCellOverlays</a> for the given cell or null, if no overlays are defined.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.removeCellOverlay" id=link232 onMouseOver="ShowTip(event, 'tt33', 'link232')" onMouseOut="HideTip('tt33')">removeCellOverlay</a></td><td class=SDescription>Removes and returns the given <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link233 onMouseOver="ShowTip(event, 'tt201', 'link233')" onMouseOut="HideTip('tt201')">mxCellOverlay</a> from the given cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.removeCellOverlays" id=link234 onMouseOver="ShowTip(event, 'tt34', 'link234')" onMouseOut="HideTip('tt34')">removeCellOverlays</a></td><td class=SDescription>Removes all <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link235 onMouseOver="ShowTip(event, 'tt201', 'link235')" onMouseOut="HideTip('tt201')">mxCellOverlays</a> from the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.clearCellOverlays" id=link236 onMouseOver="ShowTip(event, 'tt203', 'link236')" onMouseOut="HideTip('tt203')">clearCellOverlays</a></td><td class=SDescription>Removes all <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link237 onMouseOver="ShowTip(event, 'tt201', 'link237')" onMouseOut="HideTip('tt201')">mxCellOverlays</a> in the graph for the given cell and all its descendants. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCellWarning" id=link238 onMouseOver="ShowTip(event, 'tt204', 'link238')" onMouseOut="HideTip('tt204')">setCellWarning</a></td><td class=SDescription>Creates an overlay for the given cell using the warning and image or <a href="#mxGraph.warningImage" class=LVariable id=link239 onMouseOver="ShowTip(event, 'tt179', 'link239')" onMouseOut="HideTip('tt179')">warningImage</a> and returns the new <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link240 onMouseOver="ShowTip(event, 'tt201', 'link240')" onMouseOut="HideTip('tt201')">mxCellOverlay</a>. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.In-place_editing" >In-place editing</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.startEditing" id=link241 onMouseOver="ShowTip(event, 'tt205', 'link241')" onMouseOut="HideTip('tt205')">startEditing</a></td><td class=SDescription>Calls <a href="#mxGraph.startEditingAtCell" class=LFunction id=link242 onMouseOver="ShowTip(event, 'tt30', 'link242')" onMouseOut="HideTip('tt30')">startEditingAtCell</a> using the given cell or the first selection cell.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.startEditingAtCell" id=link243 onMouseOver="ShowTip(event, 'tt30', 'link243')" onMouseOut="HideTip('tt30')">startEditingAtCell</a></td><td class=SDescription>Fires a <a href="#mxGraph.startEditing" class=LFunction id=link244 onMouseOver="ShowTip(event, 'tt205', 'link244')" onMouseOut="HideTip('tt205')">startEditing</a> event and invokes <a href="mxCellEditor-js.html#mxCellEditor.startEditing" class=LFunction id=link245 onMouseOver="ShowTip(event, 'tt206', 'link245')" onMouseOut="HideTip('tt206')">mxCellEditor.startEditing</a> on &lt;editor&gt;.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getEditingValue" id=link246 onMouseOver="ShowTip(event, 'tt207', 'link246')" onMouseOut="HideTip('tt207')">getEditingValue</a></td><td class=SDescription>Returns the initial value for in-place editing. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.stopEditing" id=link247 onMouseOver="ShowTip(event, 'tt208', 'link247')" onMouseOut="HideTip('tt208')">stopEditing</a></td><td class=SDescription>Stops the current editing.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.labelChanged" id=link248 onMouseOver="ShowTip(event, 'tt209', 'link248')" onMouseOut="HideTip('tt209')">labelChanged</a></td><td class=SDescription>Sets the label of the specified cell to the given value using <a href="#mxGraph.cellLabelChanged" class=LFunction id=link249 onMouseOver="ShowTip(event, 'tt31', 'link249')" onMouseOut="HideTip('tt31')">cellLabelChanged</a> and fires <a href="#mxGraph.mxEvent.LABEL_CHANGED" class=LEvent id=link250 onMouseOver="ShowTip(event, 'tt210', 'link250')" onMouseOut="HideTip('tt210')">mxEvent.LABEL_CHANGED</a> while the transaction is in progress. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.cellLabelChanged" id=link251 onMouseOver="ShowTip(event, 'tt31', 'link251')" onMouseOut="HideTip('tt31')">cellLabelChanged</a></td><td class=SDescription>Sets the new label for a cell. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Event_processing" >Event processing</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.escape" id=link252 onMouseOver="ShowTip(event, 'tt90', 'link252')" onMouseOut="HideTip('tt90')">escape</a></td><td class=SDescription>Processes an escape keystroke.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.click" id=link253 onMouseOver="ShowTip(event, 'tt24', 'link253')" onMouseOut="HideTip('tt24')">click</a></td><td class=SDescription>Processes a singleclick on an optional cell and fires a <a href="#mxGraph.click" class=LFunction id=link254 onMouseOver="ShowTip(event, 'tt24', 'link254')" onMouseOut="HideTip('tt24')">click</a> event. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.dblClick" id=link255 onMouseOver="ShowTip(event, 'tt25', 'link255')" onMouseOut="HideTip('tt25')">dblClick</a></td><td class=SDescription>Processes a doubleclick on an optional cell and fires a &lt;dblclick&gt; event. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.tapAndHold" id=link256 onMouseOver="ShowTip(event, 'tt27', 'link256')" onMouseOut="HideTip('tt27')">tapAndHold</a></td><td class=SDescription>Handles the <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link257 onMouseOver="ShowTip(event, 'tt211', 'link257')" onMouseOut="HideTip('tt211')">mxMouseEvent</a> by highlighting the <a href="mxCellState-js.html#mxCellState" class=LClass id=link258 onMouseOver="ShowTip(event, 'tt43', 'link258')" onMouseOut="HideTip('tt43')">mxCellState</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.scrollPointToVisible" id=link259 onMouseOver="ShowTip(event, 'tt128', 'link259')" onMouseOut="HideTip('tt128')">scrollPointToVisible</a></td><td class=SDescription>Scrolls the graph to the given point, extending the graph container if specified.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.createPanningManager" id=link260 onMouseOver="ShowTip(event, 'tt212', 'link260')" onMouseOut="HideTip('tt212')">createPanningManager</a></td><td class=SDescription>Creates and returns an <a href="../util/mxPanningManager-js.html#mxPanningManager" class=LClass id=link261 onMouseOver="ShowTip(event, 'tt213', 'link261')" onMouseOut="HideTip('tt213')">mxPanningManager</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getBorderSizes" id=link262 onMouseOver="ShowTip(event, 'tt214', 'link262')" onMouseOut="HideTip('tt214')">getBorderSizes</a></td><td class=SDescription>Returns the size of the border and padding on all four sides of the container. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getPreferredPageSize" id=link263 onMouseOver="ShowTip(event, 'tt215', 'link263')" onMouseOut="HideTip('tt215')">getPreferredPageSize</a></td><td class=SDescription>Returns the preferred size of the background page if <a href="#mxGraph.preferPageSize" class=LVariable id=link264 onMouseOver="ShowTip(event, 'tt83', 'link264')" onMouseOut="HideTip('tt83')">preferPageSize</a> is true.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.sizeDidChange" id=link265 onMouseOver="ShowTip(event, 'tt29', 'link265')" onMouseOut="HideTip('tt29')">sizeDidChange</a></td><td class=SDescription>Called when the size of the graph has changed. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.doResizeContainer" id=link266 onMouseOver="ShowTip(event, 'tt216', 'link266')" onMouseOut="HideTip('tt216')">doResizeContainer</a></td><td class=SDescription>Resizes the container for the given graph width and height.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.updatePageBreaks" id=link267 onMouseOver="ShowTip(event, 'tt217', 'link267')" onMouseOut="HideTip('tt217')">updatePageBreaks</a></td><td class=SDescription>Invokes from <a href="#mxGraph.sizeDidChange" class=LFunction id=link268 onMouseOver="ShowTip(event, 'tt29', 'link268')" onMouseOut="HideTip('tt29')">sizeDidChange</a> to redraw the page breaks.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Cell_styles" >Cell styles</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getCellStyle" id=link269 onMouseOver="ShowTip(event, 'tt218', 'link269')" onMouseOut="HideTip('tt218')">getCellStyle</a></td><td class=SDescription>Returns an array of key, value pairs representing the cell style for the given cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.postProcessCellStyle" id=link270 onMouseOver="ShowTip(event, 'tt219', 'link270')" onMouseOut="HideTip('tt219')">postProcessCellStyle</a></td><td class=SDescription>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.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setCellStyle" id=link271 onMouseOver="ShowTip(event, 'tt220', 'link271')" onMouseOut="HideTip('tt220')">setCellStyle</a></td><td class=SDescription>Sets the style of the specified cells. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.toggleCellStyle" id=link272 onMouseOver="ShowTip(event, 'tt221', 'link272')" onMouseOut="HideTip('tt221')">toggleCellStyle</a></td><td class=SDescription>Toggles the boolean value for the given key in the style of the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.toggleCellStyles" id=link273 onMouseOver="ShowTip(event, 'tt222', 'link273')" onMouseOut="HideTip('tt222')">toggleCellStyles</a></td><td class=SDescription>Toggles the boolean value for the given key in the style of the given cells. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCellStyles" id=link274 onMouseOver="ShowTip(event, 'tt223', 'link274')" onMouseOut="HideTip('tt223')">setCellStyles</a></td><td class=SDescription>Sets the key to value in the styles of the given cells. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.toggleCellStyleFlags" id=link275 onMouseOver="ShowTip(event, 'tt224', 'link275')" onMouseOut="HideTip('tt224')">toggleCellStyleFlags</a></td><td class=SDescription>Toggles the given bit for the given key in the styles of the specified cells.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCellStyleFlags" id=link276 onMouseOver="ShowTip(event, 'tt225', 'link276')" onMouseOut="HideTip('tt225')">setCellStyleFlags</a></td><td class=SDescription>Sets or toggles the given bit for the given key in the styles of the specified cells.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Cell_alignment_and_orientation" >Cell alignment and orientation</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.alignCells" id=link277 onMouseOver="ShowTip(event, 'tt2', 'link277')" onMouseOut="HideTip('tt2')">alignCells</a></td><td class=SDescription>Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.flipEdge" id=link278 onMouseOver="ShowTip(event, 'tt3', 'link278')" onMouseOut="HideTip('tt3')">flipEdge</a></td><td class=SDescription>Toggles the style of the given edge between null (or empty) and <a href="#mxGraph.alternateEdgeStyle" class=LVariable id=link279 onMouseOver="ShowTip(event, 'tt74', 'link279')" onMouseOut="HideTip('tt74')">alternateEdgeStyle</a>. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.addImageBundle" id=link280 onMouseOver="ShowTip(event, 'tt226', 'link280')" onMouseOut="HideTip('tt226')">addImageBundle</a></td><td class=SDescription>Adds the specified <a href="../util/mxImageBundle-js.html#mxImageBundle" class=LClass id=link281 onMouseOver="ShowTip(event, 'tt227', 'link281')" onMouseOut="HideTip('tt227')">mxImageBundle</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.removeImageBundle" id=link282 onMouseOver="ShowTip(event, 'tt228', 'link282')" onMouseOut="HideTip('tt228')">removeImageBundle</a></td><td class=SDescription>Removes the specified <a href="../util/mxImageBundle-js.html#mxImageBundle" class=LClass id=link283 onMouseOver="ShowTip(event, 'tt227', 'link283')" onMouseOut="HideTip('tt227')">mxImageBundle</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getImageFromBundles" id=link284 onMouseOver="ShowTip(event, 'tt229', 'link284')" onMouseOut="HideTip('tt229')">getImageFromBundles</a></td><td class=SDescription>Searches all <a href="#mxGraph.imageBundles" class=LVariable id=link285 onMouseOver="ShowTip(event, 'tt171', 'link285')" onMouseOut="HideTip('tt171')">imageBundles</a> for the specified key and returns the value for the first match or null if the key is not found.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Order" >Order</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.orderCells" id=link286 onMouseOver="ShowTip(event, 'tt4', 'link286')" onMouseOut="HideTip('tt4')">orderCells</a></td><td class=SDescription>Moves the given cells to the front or back. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.cellsOrdered" id=link287 onMouseOver="ShowTip(event, 'tt5', 'link287')" onMouseOut="HideTip('tt5')">cellsOrdered</a></td><td class=SDescription>Moves the given cells to the front or back. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Grouping" >Grouping</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.groupCells" id=link288 onMouseOver="ShowTip(event, 'tt6', 'link288')" onMouseOut="HideTip('tt6')">groupCells</a></td><td class=SDescription>Adds the cells into the given group. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getCellsForGroup" id=link289 onMouseOver="ShowTip(event, 'tt230', 'link289')" onMouseOut="HideTip('tt230')">getCellsForGroup</a></td><td class=SDescription>Returns the cells with the same parent as the first cell in the given array.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getBoundsForGroup" id=link290 onMouseOver="ShowTip(event, 'tt231', 'link290')" onMouseOut="HideTip('tt231')">getBoundsForGroup</a></td><td class=SDescription>Returns the bounds to be used for the given group and children.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.createGroupCell" id=link291 onMouseOver="ShowTip(event, 'tt232', 'link291')" onMouseOut="HideTip('tt232')">createGroupCell</a></td><td class=SDescription>Hook for creating the group cell to hold the given array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link292 onMouseOver="ShowTip(event, 'tt233', 'link292')" onMouseOut="HideTip('tt233')">mxCells</a> if no group cell was given to the &lt;group&gt; function.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.ungroupCells" id=link293 onMouseOver="ShowTip(event, 'tt7', 'link293')" onMouseOut="HideTip('tt7')">ungroupCells</a></td><td class=SDescription>Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.removeCellsFromParent" id=link294 onMouseOver="ShowTip(event, 'tt8', 'link294')" onMouseOut="HideTip('tt8')">removeCellsFromParent</a></td><td class=SDescription>Removes the specified cells from their parents and adds them to the default parent. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.updateGroupBounds" id=link295 onMouseOver="ShowTip(event, 'tt234', 'link295')" onMouseOut="HideTip('tt234')">updateGroupBounds</a></td><td class=SDescription>Updates the bounds of the given array of groups so that it includes all child vertices.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Cell_cloning,insertion_and_removal" >Cell cloning, insertion and removal</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cloneCells" id=link296 onMouseOver="ShowTip(event, 'tt235', 'link296')" onMouseOut="HideTip('tt235')">cloneCells</a></td><td class=SDescription>Returns the clones for the given cells. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.insertVertex" id=link297 onMouseOver="ShowTip(event, 'tt236', 'link297')" onMouseOut="HideTip('tt236')">insertVertex</a></td><td class=SDescription>Adds a new vertex into the given parent <a href="../model/mxCell-js.html#mxCell" class=LClass id=link298 onMouseOver="ShowTip(event, 'tt233', 'link298')" onMouseOut="HideTip('tt233')">mxCell</a> using value as the user object and the given coordinates as the <a href="../model/mxGeometry-js.html#mxGeometry" class=LClass id=link299 onMouseOver="ShowTip(event, 'tt237', 'link299')" onMouseOut="HideTip('tt237')">mxGeometry</a> of the new vertex. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.createVertex" id=link300 onMouseOver="ShowTip(event, 'tt238', 'link300')" onMouseOut="HideTip('tt238')">createVertex</a></td><td class=SDescription>Hook method that creates the new vertex for <a href="#mxGraph.insertVertex" class=LFunction id=link301 onMouseOver="ShowTip(event, 'tt236', 'link301')" onMouseOut="HideTip('tt236')">insertVertex</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.insertEdge" id=link302 onMouseOver="ShowTip(event, 'tt239', 'link302')" onMouseOut="HideTip('tt239')">insertEdge</a></td><td class=SDescription>Adds a new edge into the given parent <a href="../model/mxCell-js.html#mxCell" class=LClass id=link303 onMouseOver="ShowTip(event, 'tt233', 'link303')" onMouseOut="HideTip('tt233')">mxCell</a> using value as the user object and the given source and target as the terminals of the new edge. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.createEdge" id=link304 onMouseOver="ShowTip(event, 'tt240', 'link304')" onMouseOut="HideTip('tt240')">createEdge</a></td><td class=SDescription>Hook method that creates the new edge for <a href="#mxGraph.insertEdge" class=LFunction id=link305 onMouseOver="ShowTip(event, 'tt239', 'link305')" onMouseOut="HideTip('tt239')">insertEdge</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.addEdge" id=link306 onMouseOver="ShowTip(event, 'tt241', 'link306')" onMouseOut="HideTip('tt241')">addEdge</a></td><td class=SDescription>Adds the edge to the parent and connects it to the given source and target terminals. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.addCell" id=link307 onMouseOver="ShowTip(event, 'tt242', 'link307')" onMouseOut="HideTip('tt242')">addCell</a></td><td class=SDescription>Adds the cell to the parent and connects it to the given source and target terminals. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.addCells" id=link308 onMouseOver="ShowTip(event, 'tt9', 'link308')" onMouseOut="HideTip('tt9')">addCells</a></td><td class=SDescription>Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellsAdded" id=link309 onMouseOver="ShowTip(event, 'tt10', 'link309')" onMouseOut="HideTip('tt10')">cellsAdded</a></td><td class=SDescription>Adds the specified cells to the given parent. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.autoSizeCell" id=link310 onMouseOver="ShowTip(event, 'tt243', 'link310')" onMouseOut="HideTip('tt243')">autoSizeCell</a></td><td class=SDescription>Removes the given cells from the graph including all connected edges if includeEdges is true. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.removeCells" id=link311 onMouseOver="ShowTip(event, 'tt11', 'link311')" onMouseOut="HideTip('tt11')">removeCells</a></td><td class=SDescription>Removes the given cells from the graph including all connected edges if includeEdges is true. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.cellsRemoved" id=link312 onMouseOver="ShowTip(event, 'tt12', 'link312')" onMouseOut="HideTip('tt12')">cellsRemoved</a></td><td class=SDescription>Removes the given cells from the model. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.splitEdge" id=link313 onMouseOver="ShowTip(event, 'tt13', 'link313')" onMouseOut="HideTip('tt13')">splitEdge</a></td><td class=SDescription>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. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Cell_visibility" >Cell visibility</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.toggleCells" id=link314 onMouseOver="ShowTip(event, 'tt14', 'link314')" onMouseOut="HideTip('tt14')">toggleCells</a></td><td class=SDescription>Sets the visible state of the specified cells and all connected edges if includeEdges is true. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.cellsToggled" id=link315 onMouseOver="ShowTip(event, 'tt244', 'link315')" onMouseOut="HideTip('tt244')">cellsToggled</a></td><td class=SDescription>Sets the visible state of the specified cells.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Folding" >Folding</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.foldCells" id=link316 onMouseOver="ShowTip(event, 'tt15', 'link316')" onMouseOut="HideTip('tt15')">foldCells</a></td><td class=SDescription>Sets the collapsed state of the specified cells and all descendants if recurse is true. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.cellsFolded" id=link317 onMouseOver="ShowTip(event, 'tt245', 'link317')" onMouseOut="HideTip('tt245')">cellsFolded</a></td><td class=SDescription>Sets the collapsed state of the specified cells. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.swapBounds" id=link318 onMouseOver="ShowTip(event, 'tt246', 'link318')" onMouseOut="HideTip('tt246')">swapBounds</a></td><td class=SDescription>Swaps the alternate and the actual bounds in the geometry of the given cell invoking <a href="#mxGraph.updateAlternateBounds" class=LFunction id=link319 onMouseOver="ShowTip(event, 'tt247', 'link319')" onMouseOut="HideTip('tt247')">updateAlternateBounds</a> before carrying out the swap.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.updateAlternateBounds" id=link320 onMouseOver="ShowTip(event, 'tt247', 'link320')" onMouseOut="HideTip('tt247')">updateAlternateBounds</a></td><td class=SDescription>Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.addAllEdges" id=link321 onMouseOver="ShowTip(event, 'tt248', 'link321')" onMouseOut="HideTip('tt248')">addAllEdges</a></td><td class=SDescription>Returns an array with the given cells and all edges that are connected to a cell or one of its descendants.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getAllEdges" id=link322 onMouseOver="ShowTip(event, 'tt249', 'link322')" onMouseOut="HideTip('tt249')">getAllEdges</a></td><td class=SDescription>Returns all edges connected to the given cells or its descendants.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Cell_sizing" >Cell sizing</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.updateCellSize" id=link323 onMouseOver="ShowTip(event, 'tt16', 'link323')" onMouseOut="HideTip('tt16')">updateCellSize</a></td><td class=SDescription>Updates the size of the given cell in the model using <a href="#mxGraph.cellSizeUpdated" class=LFunction id=link324 onMouseOver="ShowTip(event, 'tt250', 'link324')" onMouseOut="HideTip('tt250')">cellSizeUpdated</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.cellSizeUpdated" id=link325 onMouseOver="ShowTip(event, 'tt250', 'link325')" onMouseOut="HideTip('tt250')">cellSizeUpdated</a></td><td class=SDescription>Updates the size of the given cell in the model using <a href="#mxGraph.getPreferredSizeForCell" class=LFunction id=link326 onMouseOver="ShowTip(event, 'tt251', 'link326')" onMouseOut="HideTip('tt251')">getPreferredSizeForCell</a> to get the new size.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getPreferredSizeForCell" id=link327 onMouseOver="ShowTip(event, 'tt251', 'link327')" onMouseOut="HideTip('tt251')">getPreferredSizeForCell</a></td><td class=SDescription>Returns the preferred width and height of the given <a href="../model/mxCell-js.html#mxCell" class=LClass id=link328 onMouseOver="ShowTip(event, 'tt233', 'link328')" onMouseOut="HideTip('tt233')">mxCell</a> as an <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link329 onMouseOver="ShowTip(event, 'tt132', 'link329')" onMouseOut="HideTip('tt132')">mxRectangle</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.resizeCell" id=link330 onMouseOver="ShowTip(event, 'tt252', 'link330')" onMouseOut="HideTip('tt252')">resizeCell</a></td><td class=SDescription>Sets the bounds of the given cell using <a href="#mxGraph.resizeCells" class=LFunction id=link331 onMouseOver="ShowTip(event, 'tt17', 'link331')" onMouseOut="HideTip('tt17')">resizeCells</a>. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.resizeCells" id=link332 onMouseOver="ShowTip(event, 'tt17', 'link332')" onMouseOut="HideTip('tt17')">resizeCells</a></td><td class=SDescription>Sets the bounds of the given cells and fires a <a href="#mxGraph.mxEvent.RESIZE_CELLS" class=LEvent id=link333 onMouseOver="ShowTip(event, 'tt253', 'link333')" onMouseOut="HideTip('tt253')">mxEvent.RESIZE_CELLS</a> event while the transaction is in progress. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.cellsResized" id=link334 onMouseOver="ShowTip(event, 'tt18', 'link334')" onMouseOut="HideTip('tt18')">cellsResized</a></td><td class=SDescription>Sets the bounds of the given cells and fires a <a href="#mxGraph.mxEvent.CELLS_RESIZED" class=LEvent id=link335 onMouseOver="ShowTip(event, 'tt254', 'link335')" onMouseOut="HideTip('tt254')">mxEvent.CELLS_RESIZED</a> event. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellResized" id=link336 onMouseOver="ShowTip(event, 'tt255', 'link336')" onMouseOut="HideTip('tt255')">cellResized</a></td><td class=SDescription>Resizes the parents recursively so that they contain the complete area of the resized child cell.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.resizeChildCells" id=link337 onMouseOver="ShowTip(event, 'tt256', 'link337')" onMouseOut="HideTip('tt256')">resizeChildCells</a></td><td class=SDescription>Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.constrainChildCells" id=link338 onMouseOver="ShowTip(event, 'tt257', 'link338')" onMouseOut="HideTip('tt257')">constrainChildCells</a></td><td class=SDescription>Constrains the children of the given cell using <a href="#mxGraph.constrainChild" class=LFunction id=link339 onMouseOver="ShowTip(event, 'tt258', 'link339')" onMouseOut="HideTip('tt258')">constrainChild</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.scaleCell" id=link340 onMouseOver="ShowTip(event, 'tt259', 'link340')" onMouseOut="HideTip('tt259')">scaleCell</a></td><td class=SDescription>Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.extendParent" id=link341 onMouseOver="ShowTip(event, 'tt260', 'link341')" onMouseOut="HideTip('tt260')">extendParent</a></td><td class=SDescription>Resizes the parents recursively so that they contain the complete area of the resized child cell.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Cell_moving" >Cell moving</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.importCells" id=link342 onMouseOver="ShowTip(event, 'tt261', 'link342')" onMouseOut="HideTip('tt261')">importCells</a></td><td class=SDescription>Clones and inserts the given cells into the graph using the move method and returns the inserted cells. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.moveCells" id=link343 onMouseOver="ShowTip(event, 'tt19', 'link343')" onMouseOut="HideTip('tt19')">moveCells</a></td><td class=SDescription>Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellsMoved" id=link344 onMouseOver="ShowTip(event, 'tt20', 'link344')" onMouseOut="HideTip('tt20')">cellsMoved</a></td><td class=SDescription>Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.translateCell" id=link345 onMouseOver="ShowTip(event, 'tt262', 'link345')" onMouseOut="HideTip('tt262')">translateCell</a></td><td class=SDescription>Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getCellContainmentArea" id=link346 onMouseOver="ShowTip(event, 'tt263', 'link346')" onMouseOut="HideTip('tt263')">getCellContainmentArea</a></td><td class=SDescription>Returns the <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link347 onMouseOver="ShowTip(event, 'tt132', 'link347')" onMouseOut="HideTip('tt132')">mxRectangle</a> inside which a cell is to be kept.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getMaximumGraphBounds" id=link348 onMouseOver="ShowTip(event, 'tt264', 'link348')" onMouseOut="HideTip('tt264')">getMaximumGraphBounds</a></td><td class=SDescription>Returns the bounds inside which the diagram should be kept as an <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link349 onMouseOver="ShowTip(event, 'tt132', 'link349')" onMouseOut="HideTip('tt132')">mxRectangle</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.constrainChild" id=link350 onMouseOver="ShowTip(event, 'tt258', 'link350')" onMouseOut="HideTip('tt258')">constrainChild</a></td><td class=SDescription>Keeps the given cell inside the bounds returned by <a href="#mxGraph.getCellContainmentArea" class=LFunction id=link351 onMouseOver="ShowTip(event, 'tt263', 'link351')" onMouseOut="HideTip('tt263')">getCellContainmentArea</a> for its parent, according to the rules defined by <a href="#mxGraph.getOverlap" class=LFunction id=link352 onMouseOver="ShowTip(event, 'tt71', 'link352')" onMouseOut="HideTip('tt71')">getOverlap</a> and <a href="#mxGraph.isConstrainChild" class=LFunction id=link353 onMouseOver="ShowTip(event, 'tt265', 'link353')" onMouseOut="HideTip('tt265')">isConstrainChild</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.resetEdges" id=link354 onMouseOver="ShowTip(event, 'tt266', 'link354')" onMouseOut="HideTip('tt266')">resetEdges</a></td><td class=SDescription>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.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.resetEdge" id=link355 onMouseOver="ShowTip(event, 'tt267', 'link355')" onMouseOut="HideTip('tt267')">resetEdge</a></td><td class=SDescription>Resets the control points of the given edge.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Cell_connecting_and_connection_constraints" >Cell connecting and connection constraints</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getAllConnectionConstraints" id=link356 onMouseOver="ShowTip(event, 'tt268', 'link356')" onMouseOut="HideTip('tt268')">getAllConnectionConstraints</a></td><td class=SDescription>Returns an array of all <a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link357 onMouseOver="ShowTip(event, 'tt269', 'link357')" onMouseOut="HideTip('tt269')">mxConnectionConstraints</a> for the given terminal. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getConnectionConstraint" id=link358 onMouseOver="ShowTip(event, 'tt270', 'link358')" onMouseOut="HideTip('tt270')">getConnectionConstraint</a></td><td class=SDescription>Returns an <a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link359 onMouseOver="ShowTip(event, 'tt269', 'link359')" onMouseOut="HideTip('tt269')">mxConnectionConstraint</a> that describes the given connection point. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setConnectionConstraint" id=link360 onMouseOver="ShowTip(event, 'tt271', 'link360')" onMouseOut="HideTip('tt271')">setConnectionConstraint</a></td><td class=SDescription>Sets the <a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link361 onMouseOver="ShowTip(event, 'tt269', 'link361')" onMouseOut="HideTip('tt269')">mxConnectionConstraint</a> that describes the given connection point. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getConnectionPoint" id=link362 onMouseOver="ShowTip(event, 'tt272', 'link362')" onMouseOut="HideTip('tt272')">getConnectionPoint</a></td><td class=SDescription>Returns the nearest point in the list of absolute points or the center of the opposite terminal.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.connectCell" id=link363 onMouseOver="ShowTip(event, 'tt21', 'link363')" onMouseOut="HideTip('tt21')">connectCell</a></td><td class=SDescription>Connects the specified end of the given edge to the given terminal using <a href="#mxGraph.cellConnected" class=LFunction id=link364 onMouseOver="ShowTip(event, 'tt22', 'link364')" onMouseOut="HideTip('tt22')">cellConnected</a> and fires <a href="#mxGraph.mxEvent.CONNECT_CELL" class=LEvent id=link365 onMouseOver="ShowTip(event, 'tt273', 'link365')" onMouseOut="HideTip('tt273')">mxEvent.CONNECT_CELL</a> while the transaction is in progress. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.cellConnected" id=link366 onMouseOver="ShowTip(event, 'tt22', 'link366')" onMouseOut="HideTip('tt22')">cellConnected</a></td><td class=SDescription>Sets the new terminal for the given edge and resets the edge points if <a href="#mxGraph.resetEdgesOnConnect" class=LVariable id=link367 onMouseOver="ShowTip(event, 'tt156', 'link367')" onMouseOut="HideTip('tt156')">resetEdgesOnConnect</a> is true. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.disconnectGraph" id=link368 onMouseOver="ShowTip(event, 'tt274', 'link368')" onMouseOut="HideTip('tt274')">disconnectGraph</a></td><td class=SDescription>Disconnects the given edges from the terminals which are not in the given array.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Drilldown" >Drilldown</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getCurrentRoot" id=link369 onMouseOver="ShowTip(event, 'tt275', 'link369')" onMouseOut="HideTip('tt275')">getCurrentRoot</a></td><td class=SDescription>Returns the current root of the displayed cell hierarchy. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getTranslateForRoot" id=link370 onMouseOver="ShowTip(event, 'tt276', 'link370')" onMouseOut="HideTip('tt276')">getTranslateForRoot</a></td><td class=SDescription>Returns the translation to be used if the given cell is the root cell as an <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link371 onMouseOver="ShowTip(event, 'tt277', 'link371')" onMouseOut="HideTip('tt277')">mxPoint</a>. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isPort" id=link372 onMouseOver="ShowTip(event, 'tt278', 'link372')" onMouseOut="HideTip('tt278')">isPort</a></td><td class=SDescription>Returns true if the given cell is a &ldquo;port&rdquo;, 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. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getTerminalForPort" id=link373 onMouseOver="ShowTip(event, 'tt279', 'link373')" onMouseOut="HideTip('tt279')">getTerminalForPort</a></td><td class=SDescription>Returns the terminal to be used for a given port. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getChildOffsetForCell" id=link374 onMouseOver="ShowTip(event, 'tt280', 'link374')" onMouseOut="HideTip('tt280')">getChildOffsetForCell</a></td><td class=SDescription>Returns the offset to be used for the cells inside the given cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.enterGroup" id=link375 onMouseOver="ShowTip(event, 'tt281', 'link375')" onMouseOut="HideTip('tt281')">enterGroup</a></td><td class=SDescription>Uses the given cell as the root of the displayed cell hierarchy. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.exitGroup" id=link376 onMouseOver="ShowTip(event, 'tt282', 'link376')" onMouseOut="HideTip('tt282')">exitGroup</a></td><td class=SDescription>Changes the current root to the next valid root in the displayed cell hierarchy.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.home" id=link377 onMouseOver="ShowTip(event, 'tt283', 'link377')" onMouseOut="HideTip('tt283')">home</a></td><td class=SDescription>Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isValidRoot" id=link378 onMouseOver="ShowTip(event, 'tt284', 'link378')" onMouseOut="HideTip('tt284')">isValidRoot</a></td><td class=SDescription>Returns true if the given cell is a valid root for the cell display hierarchy. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Graph_display" >Graph display</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getGraphBounds" id=link379 onMouseOver="ShowTip(event, 'tt285', 'link379')" onMouseOut="HideTip('tt285')">getGraphBounds</a></td><td class=SDescription>Returns the bounds of the visible graph. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getCellBounds" id=link380 onMouseOver="ShowTip(event, 'tt286', 'link380')" onMouseOut="HideTip('tt286')">getCellBounds</a></td><td class=SDescription>Returns the scaled, translated bounds for the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getBoundingBoxFromGeometry" id=link381 onMouseOver="ShowTip(event, 'tt287', 'link381')" onMouseOut="HideTip('tt287')">getBoundingBoxFromGeometry</a></td><td class=SDescription>Returns the bounding box for the geometries of the vertices in the given array of cells. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.refresh" id=link382 onMouseOver="ShowTip(event, 'tt23', 'link382')" onMouseOut="HideTip('tt23')">refresh</a></td><td class=SDescription>Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.snap" id=link383 onMouseOver="ShowTip(event, 'tt288', 'link383')" onMouseOut="HideTip('tt288')">snap</a></td><td class=SDescription>Snaps the given numeric value to the grid if <a href="#mxGraph.gridEnabled" class=LVariable id=link384 onMouseOver="ShowTip(event, 'tt57', 'link384')" onMouseOut="HideTip('tt57')">gridEnabled</a> is true.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.panGraph" id=link385 onMouseOver="ShowTip(event, 'tt94', 'link385')" onMouseOut="HideTip('tt94')">panGraph</a></td><td class=SDescription>Shifts the graph display by the given amount. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.zoomIn" id=link386 onMouseOver="ShowTip(event, 'tt149', 'link386')" onMouseOut="HideTip('tt149')">zoomIn</a></td><td class=SDescription>Zooms into the graph by <a href="#mxGraph.zoomFactor" class=LVariable id=link387 onMouseOver="ShowTip(event, 'tt148', 'link387')" onMouseOut="HideTip('tt148')">zoomFactor</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.zoomOut" id=link388 onMouseOver="ShowTip(event, 'tt150', 'link388')" onMouseOut="HideTip('tt150')">zoomOut</a></td><td class=SDescription>Zooms out of the graph by <a href="#mxGraph.zoomFactor" class=LVariable id=link389 onMouseOver="ShowTip(event, 'tt148', 'link389')" onMouseOut="HideTip('tt148')">zoomFactor</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.zoomActual" id=link390 onMouseOver="ShowTip(event, 'tt289', 'link390')" onMouseOut="HideTip('tt289')">zoomActual</a></td><td class=SDescription>Resets the zoom and panning in the view.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.zoomTo" id=link391 onMouseOver="ShowTip(event, 'tt290', 'link391')" onMouseOut="HideTip('tt290')">zoomTo</a></td><td class=SDescription>Zooms the graph to the given scale with an optional boolean center argument, which is passd to <a href="#mxGraph.zoom" class=LFunction id=link392 onMouseOver="ShowTip(event, 'tt291', 'link392')" onMouseOut="HideTip('tt291')">zoom</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.zoom" id=link393 onMouseOver="ShowTip(event, 'tt291', 'link393')" onMouseOut="HideTip('tt291')">zoom</a></td><td class=SDescription>Zooms the graph using the given factor. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.zoomToRect" id=link394 onMouseOver="ShowTip(event, 'tt292', 'link394')" onMouseOut="HideTip('tt292')">zoomToRect</a></td><td class=SDescription>Zooms the graph to the specified rectangle. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.fit" id=link395 onMouseOver="ShowTip(event, 'tt173', 'link395')" onMouseOut="HideTip('tt173')">fit</a></td><td class=SDescription>Scales the graph such that the complete diagram fits into &lt;container&gt; and returns the current scale in the view. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.scrollCellToVisible" id=link396 onMouseOver="ShowTip(event, 'tt293', 'link396')" onMouseOut="HideTip('tt293')">scrollCellToVisible</a></td><td class=SDescription>Pans the graph so that it shows the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.scrollRectToVisible" id=link397 onMouseOver="ShowTip(event, 'tt294', 'link397')" onMouseOut="HideTip('tt294')">scrollRectToVisible</a></td><td class=SDescription>Pans the graph so that it shows the given rectangle.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getCellGeometry" id=link398 onMouseOver="ShowTip(event, 'tt295', 'link398')" onMouseOut="HideTip('tt295')">getCellGeometry</a></td><td class=SDescription>Returns the <a href="../model/mxGeometry-js.html#mxGeometry" class=LClass id=link399 onMouseOver="ShowTip(event, 'tt237', 'link399')" onMouseOut="HideTip('tt237')">mxGeometry</a> for the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellVisible" id=link400 onMouseOver="ShowTip(event, 'tt296', 'link400')" onMouseOut="HideTip('tt296')">isCellVisible</a></td><td class=SDescription>Returns true if the given cell is visible in this graph. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellCollapsed" id=link401 onMouseOver="ShowTip(event, 'tt297', 'link401')" onMouseOut="HideTip('tt297')">isCellCollapsed</a></td><td class=SDescription>Returns true if the given cell is collapsed in this graph. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellConnectable" id=link402 onMouseOver="ShowTip(event, 'tt298', 'link402')" onMouseOut="HideTip('tt298')">isCellConnectable</a></td><td class=SDescription>Returns true if the given cell is connectable in this graph. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isOrthogonal" id=link403 onMouseOver="ShowTip(event, 'tt299', 'link403')" onMouseOut="HideTip('tt299')">isOrthogonal</a></td><td class=SDescription>Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isLoop" id=link404 onMouseOver="ShowTip(event, 'tt300', 'link404')" onMouseOut="HideTip('tt300')">isLoop</a></td><td class=SDescription>Returns true if the given cell state is a loop.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCloneEvent" id=link405 onMouseOver="ShowTip(event, 'tt301', 'link405')" onMouseOut="HideTip('tt301')">isCloneEvent</a></td><td class=SDescription>Returns true if the given event is a clone event. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isToggleEvent" id=link406 onMouseOver="ShowTip(event, 'tt302', 'link406')" onMouseOut="HideTip('tt302')">isToggleEvent</a></td><td class=SDescription>Returns true if the given event is a toggle event. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isGridEnabledEvent" id=link407 onMouseOver="ShowTip(event, 'tt303', 'link407')" onMouseOut="HideTip('tt303')">isGridEnabledEvent</a></td><td class=SDescription>Returns true if the given mouse event should be aligned to the grid.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isConstrainedEvent" id=link408 onMouseOver="ShowTip(event, 'tt304', 'link408')" onMouseOut="HideTip('tt304')">isConstrainedEvent</a></td><td class=SDescription>Returns true if the given mouse event should be aligned to the grid.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Validation" >Validation</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.validationAlert" id=link409 onMouseOver="ShowTip(event, 'tt305', 'link409')" onMouseOut="HideTip('tt305')">validationAlert</a></td><td class=SDescription>Displays the given validation error in a dialog. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isEdgeValid" id=link410 onMouseOver="ShowTip(event, 'tt306', 'link410')" onMouseOut="HideTip('tt306')">isEdgeValid</a></td><td class=SDescription>Checks if the return value of <a href="#mxGraph.getEdgeValidationError" class=LFunction id=link411 onMouseOver="ShowTip(event, 'tt307', 'link411')" onMouseOut="HideTip('tt307')">getEdgeValidationError</a> for the given arguments is null.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getEdgeValidationError" id=link412 onMouseOver="ShowTip(event, 'tt307', 'link412')" onMouseOut="HideTip('tt307')">getEdgeValidationError</a></td><td class=SDescription>Returns the validation error message to be displayed when inserting or changing an edges&rsquo; connectivity. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.validateEdge" id=link413 onMouseOver="ShowTip(event, 'tt308', 'link413')" onMouseOut="HideTip('tt308')">validateEdge</a></td><td class=SDescription>Hook method for subclassers to return an error message for the given edge and terminals. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.validateGraph" id=link414 onMouseOver="ShowTip(event, 'tt309', 'link414')" onMouseOut="HideTip('tt309')">validateGraph</a></td><td class=SDescription>Validates the graph by validating each descendant of the given cell or the root of the model. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getCellValidationError" id=link415 onMouseOver="ShowTip(event, 'tt310', 'link415')" onMouseOut="HideTip('tt310')">getCellValidationError</a></td><td class=SDescription>Checks all <a href="#mxGraph.multiplicities" class=LVariable id=link416 onMouseOver="ShowTip(event, 'tt52', 'link416')" onMouseOut="HideTip('tt52')">multiplicities</a> that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.validateCell" id=link417 onMouseOver="ShowTip(event, 'tt311', 'link417')" onMouseOut="HideTip('tt311')">validateCell</a></td><td class=SDescription>Hook method for subclassers to return an error message for the given cell and validation context. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Graph_appearance" >Graph appearance</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getBackgroundImage" id=link418 onMouseOver="ShowTip(event, 'tt77', 'link418')" onMouseOut="HideTip('tt77')">getBackgroundImage</a></td><td class=SDescription>Returns the <a href="#mxGraph.backgroundImage" class=LVariable id=link419 onMouseOver="ShowTip(event, 'tt75', 'link419')" onMouseOut="HideTip('tt75')">backgroundImage</a> as an <a href="../util/mxImage-js.html#mxImage" class=LClass id=link420 onMouseOver="ShowTip(event, 'tt76', 'link420')" onMouseOut="HideTip('tt76')">mxImage</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setBackgroundImage" id=link421 onMouseOver="ShowTip(event, 'tt312', 'link421')" onMouseOut="HideTip('tt312')">setBackgroundImage</a></td><td class=SDescription>Sets the new <a href="#mxGraph.backgroundImage" class=LVariable id=link422 onMouseOver="ShowTip(event, 'tt75', 'link422')" onMouseOut="HideTip('tt75')">backgroundImage</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getFoldingImage" id=link423 onMouseOver="ShowTip(event, 'tt313', 'link423')" onMouseOut="HideTip('tt313')">getFoldingImage</a></td><td class=SDescription>Returns the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link424 onMouseOver="ShowTip(event, 'tt76', 'link424')" onMouseOut="HideTip('tt76')">mxImage</a> used to display the collapsed state of the specified cell state. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.convertValueToString" id=link425 onMouseOver="ShowTip(event, 'tt314', 'link425')" onMouseOut="HideTip('tt314')">convertValueToString</a></td><td class=SDescription>Returns the textual representation for the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getLabel" id=link426 onMouseOver="ShowTip(event, 'tt315', 'link426')" onMouseOut="HideTip('tt315')">getLabel</a></td><td class=SDescription>Returns a string or DOM node that represents the label for the given cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isHtmlLabel" id=link427 onMouseOver="ShowTip(event, 'tt167', 'link427')" onMouseOut="HideTip('tt167')">isHtmlLabel</a></td><td class=SDescription>Returns true if the label must be rendered as HTML markup. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isHtmlLabels" id=link428 onMouseOver="ShowTip(event, 'tt316', 'link428')" onMouseOut="HideTip('tt316')">isHtmlLabels</a></td><td class=SDescription>Returns <a href="#mxGraph.htmlLabels" class=LVariable id=link429 onMouseOver="ShowTip(event, 'tt166', 'link429')" onMouseOut="HideTip('tt166')">htmlLabels</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setHtmlLabels" id=link430 onMouseOver="ShowTip(event, 'tt317', 'link430')" onMouseOut="HideTip('tt317')">setHtmlLabels</a></td><td class=SDescription>Sets <a href="#mxGraph.htmlLabels" class=LVariable id=link431 onMouseOver="ShowTip(event, 'tt166', 'link431')" onMouseOut="HideTip('tt166')">htmlLabels</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isWrapping" id=link432 onMouseOver="ShowTip(event, 'tt318', 'link432')" onMouseOut="HideTip('tt318')">isWrapping</a></td><td class=SDescription>This enables wrapping for HTML labels.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isLabelClipped" id=link433 onMouseOver="ShowTip(event, 'tt319', 'link433')" onMouseOut="HideTip('tt319')">isLabelClipped</a></td><td class=SDescription>Returns true if the overflow portion of labels should be hidden. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getTooltip" id=link434 onMouseOver="ShowTip(event, 'tt320', 'link434')" onMouseOut="HideTip('tt320')">getTooltip</a></td><td class=SDescription>Returns the string or DOM node that represents the tooltip for the given state, node and coordinate pair. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getTooltipForCell" id=link435 onMouseOver="ShowTip(event, 'tt321', 'link435')" onMouseOut="HideTip('tt321')">getTooltipForCell</a></td><td class=SDescription>Returns the string or DOM node to be used as the tooltip for the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getCursorForMouseEvent" id=link436 onMouseOver="ShowTip(event, 'tt322', 'link436')" onMouseOut="HideTip('tt322')">getCursorForMouseEvent</a></td><td class=SDescription>Returns the cursor value to be used for the CSS of the shape for the given event. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getCursorForCell" id=link437 onMouseOver="ShowTip(event, 'tt323', 'link437')" onMouseOut="HideTip('tt323')">getCursorForCell</a></td><td class=SDescription>Returns the cursor value to be used for the CSS of the shape for the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getStartSize" id=link438 onMouseOver="ShowTip(event, 'tt324', 'link438')" onMouseOut="HideTip('tt324')">getStartSize</a></td><td class=SDescription>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. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getImage" id=link439 onMouseOver="ShowTip(event, 'tt325', 'link439')" onMouseOut="HideTip('tt325')">getImage</a></td><td class=SDescription>Returns the image URL for the given cell state. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getVerticalAlign" id=link440 onMouseOver="ShowTip(event, 'tt326', 'link440')" onMouseOut="HideTip('tt326')">getVerticalAlign</a></td><td class=SDescription>Returns the vertical alignment for the given cell state. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getIndicatorColor" id=link441 onMouseOver="ShowTip(event, 'tt327', 'link441')" onMouseOut="HideTip('tt327')">getIndicatorColor</a></td><td class=SDescription>Returns the indicator color for the given cell state. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getIndicatorGradientColor" id=link442 onMouseOver="ShowTip(event, 'tt328', 'link442')" onMouseOut="HideTip('tt328')">getIndicatorGradientColor</a></td><td class=SDescription>Returns the indicator gradient color for the given cell state. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getIndicatorShape" id=link443 onMouseOver="ShowTip(event, 'tt329', 'link443')" onMouseOut="HideTip('tt329')">getIndicatorShape</a></td><td class=SDescription>Returns the indicator shape for the given cell state. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getIndicatorImage" id=link444 onMouseOver="ShowTip(event, 'tt330', 'link444')" onMouseOut="HideTip('tt330')">getIndicatorImage</a></td><td class=SDescription>Returns the indicator image for the given cell state. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getBorder" id=link445 onMouseOver="ShowTip(event, 'tt331', 'link445')" onMouseOut="HideTip('tt331')">getBorder</a></td><td class=SDescription>Returns the value of <a href="#mxGraph.border" class=LVariable id=link446 onMouseOver="ShowTip(event, 'tt137', 'link446')" onMouseOut="HideTip('tt137')">border</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setBorder" id=link447 onMouseOver="ShowTip(event, 'tt332', 'link447')" onMouseOut="HideTip('tt332')">setBorder</a></td><td class=SDescription>Sets the value of <a href="#mxGraph.border" class=LVariable id=link448 onMouseOver="ShowTip(event, 'tt137', 'link448')" onMouseOut="HideTip('tt137')">border</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isSwimlane" id=link449 onMouseOver="ShowTip(event, 'tt333', 'link449')" onMouseOut="HideTip('tt333')">isSwimlane</a></td><td class=SDescription>Returns true if the given cell is a swimlane in the graph. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Graph_behaviour" >Graph behaviour</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isResizeContainer" id=link450 onMouseOver="ShowTip(event, 'tt334', 'link450')" onMouseOut="HideTip('tt334')">isResizeContainer</a></td><td class=SDescription>Returns <a href="#mxGraph.resizeContainer" class=LVariable id=link451 onMouseOver="ShowTip(event, 'tt135', 'link451')" onMouseOut="HideTip('tt135')">resizeContainer</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setResizeContainer" id=link452 onMouseOver="ShowTip(event, 'tt335', 'link452')" onMouseOut="HideTip('tt335')">setResizeContainer</a></td><td class=SDescription>Sets <a href="#mxGraph.resizeContainer" class=LVariable id=link453 onMouseOver="ShowTip(event, 'tt135', 'link453')" onMouseOut="HideTip('tt135')">resizeContainer</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isEnabled" id=link454 onMouseOver="ShowTip(event, 'tt87', 'link454')" onMouseOut="HideTip('tt87')">isEnabled</a></td><td class=SDescription>Returns true if the graph is <a href="#mxGraph.enabled" class=LVariable id=link455 onMouseOver="ShowTip(event, 'tt86', 'link455')" onMouseOut="HideTip('tt86')">enabled</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setEnabled" id=link456 onMouseOver="ShowTip(event, 'tt336', 'link456')" onMouseOut="HideTip('tt336')">setEnabled</a></td><td class=SDescription>Specifies if the graph should allow any interactions. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isEscapeEnabled" id=link457 onMouseOver="ShowTip(event, 'tt337', 'link457')" onMouseOut="HideTip('tt337')">isEscapeEnabled</a></td><td class=SDescription>Returns <a href="#mxGraph.escapeEnabled" class=LVariable id=link458 onMouseOver="ShowTip(event, 'tt88', 'link458')" onMouseOut="HideTip('tt88')">escapeEnabled</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setEscapeEnabled" id=link459 onMouseOver="ShowTip(event, 'tt338', 'link459')" onMouseOut="HideTip('tt338')">setEscapeEnabled</a></td><td class=SDescription>Sets <a href="#mxGraph.escapeEnabled" class=LVariable id=link460 onMouseOver="ShowTip(event, 'tt88', 'link460')" onMouseOut="HideTip('tt88')">escapeEnabled</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isInvokesStopCellEditing" id=link461 onMouseOver="ShowTip(event, 'tt339', 'link461')" onMouseOut="HideTip('tt339')">isInvokesStopCellEditing</a></td><td class=SDescription>Returns <a href="#mxGraph.invokesStopCellEditing" class=LVariable id=link462 onMouseOver="ShowTip(event, 'tt91', 'link462')" onMouseOut="HideTip('tt91')">invokesStopCellEditing</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setInvokesStopCellEditing" id=link463 onMouseOver="ShowTip(event, 'tt340', 'link463')" onMouseOut="HideTip('tt340')">setInvokesStopCellEditing</a></td><td class=SDescription>Sets <a href="#mxGraph.invokesStopCellEditing" class=LVariable id=link464 onMouseOver="ShowTip(event, 'tt91', 'link464')" onMouseOut="HideTip('tt91')">invokesStopCellEditing</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isEnterStopsCellEditing" id=link465 onMouseOver="ShowTip(event, 'tt341', 'link465')" onMouseOut="HideTip('tt341')">isEnterStopsCellEditing</a></td><td class=SDescription>Returns <a href="#mxGraph.enterStopsCellEditing" class=LVariable id=link466 onMouseOver="ShowTip(event, 'tt92', 'link466')" onMouseOut="HideTip('tt92')">enterStopsCellEditing</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setEnterStopsCellEditing" id=link467 onMouseOver="ShowTip(event, 'tt342', 'link467')" onMouseOut="HideTip('tt342')">setEnterStopsCellEditing</a></td><td class=SDescription>Sets <a href="#mxGraph.enterStopsCellEditing" class=LVariable id=link468 onMouseOver="ShowTip(event, 'tt92', 'link468')" onMouseOut="HideTip('tt92')">enterStopsCellEditing</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellLocked" id=link469 onMouseOver="ShowTip(event, 'tt100', 'link469')" onMouseOut="HideTip('tt100')">isCellLocked</a></td><td class=SDescription>Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellsLocked" id=link470 onMouseOver="ShowTip(event, 'tt343', 'link470')" onMouseOut="HideTip('tt343')">isCellsLocked</a></td><td class=SDescription>Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setLocked" >setLocked</a></td><td class=SDescription>Sets if any cell may be moved, sized, bended, disconnected, edited or selected.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getCloneableCells" id=link471 onMouseOver="ShowTip(event, 'tt344', 'link471')" onMouseOut="HideTip('tt344')">getCloneableCells</a></td><td class=SDescription>Returns the cells which may be exported in the given array of cells.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellCloneable" id=link472 onMouseOver="ShowTip(event, 'tt102', 'link472')" onMouseOut="HideTip('tt102')">isCellCloneable</a></td><td class=SDescription>Returns true if the given cell is cloneable. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellsCloneable" id=link473 onMouseOver="ShowTip(event, 'tt345', 'link473')" onMouseOut="HideTip('tt345')">isCellsCloneable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsCloneable" class=LVariable id=link474 onMouseOver="ShowTip(event, 'tt101', 'link474')" onMouseOut="HideTip('tt101')">cellsCloneable</a>, that is, if the graph allows cloning of cells by using control-drag.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setCellsCloneable" id=link475 onMouseOver="ShowTip(event, 'tt346', 'link475')" onMouseOut="HideTip('tt346')">setCellsCloneable</a></td><td class=SDescription>Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getExportableCells" id=link476 onMouseOver="ShowTip(event, 'tt347', 'link476')" onMouseOut="HideTip('tt347')">getExportableCells</a></td><td class=SDescription>Returns the cells which may be exported in the given array of cells.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.canExportCell" id=link477 onMouseOver="ShowTip(event, 'tt96', 'link477')" onMouseOut="HideTip('tt96')">canExportCell</a></td><td class=SDescription>Returns true if the given cell may be exported to the clipboard. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getImportableCells" id=link478 onMouseOver="ShowTip(event, 'tt348', 'link478')" onMouseOut="HideTip('tt348')">getImportableCells</a></td><td class=SDescription>Returns the cells which may be imported in the given array of cells.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.canImportCell" id=link479 onMouseOver="ShowTip(event, 'tt98', 'link479')" onMouseOut="HideTip('tt98')">canImportCell</a></td><td class=SDescription>Returns true if the given cell may be imported from the clipboard. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellSelectable" id=link480 onMouseOver="ShowTip(event, 'tt121', 'link480')" onMouseOut="HideTip('tt121')">isCellSelectable</a></td><td class=SDescription>Returns true if the given cell is selectable. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellsSelectable" id=link481 onMouseOver="ShowTip(event, 'tt349', 'link481')" onMouseOut="HideTip('tt349')">isCellsSelectable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsSelectable" class=LVariable id=link482 onMouseOver="ShowTip(event, 'tt120', 'link482')" onMouseOut="HideTip('tt120')">cellsSelectable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCellsSelectable" id=link483 onMouseOver="ShowTip(event, 'tt350', 'link483')" onMouseOut="HideTip('tt350')">setCellsSelectable</a></td><td class=SDescription>Sets <a href="#mxGraph.cellsSelectable" class=LVariable id=link484 onMouseOver="ShowTip(event, 'tt120', 'link484')" onMouseOut="HideTip('tt120')">cellsSelectable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getDeletableCells" id=link485 onMouseOver="ShowTip(event, 'tt351', 'link485')" onMouseOut="HideTip('tt351')">getDeletableCells</a></td><td class=SDescription>Returns the cells which may be exported in the given array of cells.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellDeletable" id=link486 onMouseOver="ShowTip(event, 'tt107', 'link486')" onMouseOut="HideTip('tt107')">isCellDeletable</a></td><td class=SDescription>Returns true if the given cell is moveable. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellsDeletable" id=link487 onMouseOver="ShowTip(event, 'tt352', 'link487')" onMouseOut="HideTip('tt352')">isCellsDeletable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsDeletable" class=LVariable id=link488 onMouseOver="ShowTip(event, 'tt106', 'link488')" onMouseOut="HideTip('tt106')">cellsDeletable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCellsDeletable" id=link489 onMouseOver="ShowTip(event, 'tt353', 'link489')" onMouseOut="HideTip('tt353')">setCellsDeletable</a></td><td class=SDescription>Sets <a href="#mxGraph.cellsDeletable" class=LVariable id=link490 onMouseOver="ShowTip(event, 'tt106', 'link490')" onMouseOut="HideTip('tt106')">cellsDeletable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isLabelMovable" id=link491 onMouseOver="ShowTip(event, 'tt111', 'link491')" onMouseOut="HideTip('tt111')">isLabelMovable</a></td><td class=SDescription>Returns true if the given edges&rsquo;s label is moveable. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellRotatable" id=link492 onMouseOver="ShowTip(event, 'tt354', 'link492')" onMouseOut="HideTip('tt354')">isCellRotatable</a></td><td class=SDescription>Returns true if the given cell is rotatable. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getMovableCells" id=link493 onMouseOver="ShowTip(event, 'tt355', 'link493')" onMouseOut="HideTip('tt355')">getMovableCells</a></td><td class=SDescription>Returns the cells which are movable in the given array of cells.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellMovable" id=link494 onMouseOver="ShowTip(event, 'tt109', 'link494')" onMouseOut="HideTip('tt109')">isCellMovable</a></td><td class=SDescription>Returns true if the given cell is moveable. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellsMovable" id=link495 onMouseOver="ShowTip(event, 'tt356', 'link495')" onMouseOut="HideTip('tt356')">isCellsMovable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsMovable" class=LVariable id=link496 onMouseOver="ShowTip(event, 'tt108', 'link496')" onMouseOut="HideTip('tt108')">cellsMovable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCellsMovable" id=link497 onMouseOver="ShowTip(event, 'tt357', 'link497')" onMouseOut="HideTip('tt357')">setCellsMovable</a></td><td class=SDescription>Specifies if the graph should allow moving of cells. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isGridEnabled" id=link498 onMouseOver="ShowTip(event, 'tt358', 'link498')" onMouseOut="HideTip('tt358')">isGridEnabled</a></td><td class=SDescription>Returns <a href="#mxGraph.gridEnabled" class=LVariable id=link499 onMouseOver="ShowTip(event, 'tt57', 'link499')" onMouseOut="HideTip('tt57')">gridEnabled</a> as a boolean.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setGridEnabled" id=link500 onMouseOver="ShowTip(event, 'tt359', 'link500')" onMouseOut="HideTip('tt359')">setGridEnabled</a></td><td class=SDescription>Specifies if the grid should be enabled.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isPortsEnabled" id=link501 onMouseOver="ShowTip(event, 'tt360', 'link501')" onMouseOut="HideTip('tt360')">isPortsEnabled</a></td><td class=SDescription>Returns <a href="#mxGraph.portsEnabled" class=LVariable id=link502 onMouseOver="ShowTip(event, 'tt58', 'link502')" onMouseOut="HideTip('tt58')">portsEnabled</a> as a boolean.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setPortsEnabled" id=link503 onMouseOver="ShowTip(event, 'tt361', 'link503')" onMouseOut="HideTip('tt361')">setPortsEnabled</a></td><td class=SDescription>Specifies if the ports should be enabled.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getGridSize" id=link504 onMouseOver="ShowTip(event, 'tt362', 'link504')" onMouseOut="HideTip('tt362')">getGridSize</a></td><td class=SDescription>Returns <a href="#mxGraph.gridSize" class=LVariable id=link505 onMouseOver="ShowTip(event, 'tt56', 'link505')" onMouseOut="HideTip('tt56')">gridSize</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setGridSize" id=link506 onMouseOver="ShowTip(event, 'tt363', 'link506')" onMouseOut="HideTip('tt363')">setGridSize</a></td><td class=SDescription>Sets <a href="#mxGraph.gridSize" class=LVariable id=link507 onMouseOver="ShowTip(event, 'tt56', 'link507')" onMouseOut="HideTip('tt56')">gridSize</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getTolerance" id=link508 onMouseOver="ShowTip(event, 'tt364', 'link508')" onMouseOut="HideTip('tt364')">getTolerance</a></td><td class=SDescription>Returns <a href="#mxGraph.tolerance" class=LVariable id=link509 onMouseOver="ShowTip(event, 'tt69', 'link509')" onMouseOut="HideTip('tt69')">tolerance</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setTolerance" id=link510 onMouseOver="ShowTip(event, 'tt365', 'link510')" onMouseOut="HideTip('tt365')">setTolerance</a></td><td class=SDescription>Sets <a href="#mxGraph.tolerance" class=LVariable id=link511 onMouseOver="ShowTip(event, 'tt69', 'link511')" onMouseOut="HideTip('tt69')">tolerance</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isVertexLabelsMovable" id=link512 onMouseOver="ShowTip(event, 'tt366', 'link512')" onMouseOut="HideTip('tt366')">isVertexLabelsMovable</a></td><td class=SDescription>Returns <a href="#mxGraph.vertexLabelsMovable" class=LVariable id=link513 onMouseOver="ShowTip(event, 'tt112', 'link513')" onMouseOut="HideTip('tt112')">vertexLabelsMovable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setVertexLabelsMovable" id=link514 onMouseOver="ShowTip(event, 'tt367', 'link514')" onMouseOut="HideTip('tt367')">setVertexLabelsMovable</a></td><td class=SDescription>Sets <a href="#mxGraph.vertexLabelsMovable" class=LVariable id=link515 onMouseOver="ShowTip(event, 'tt112', 'link515')" onMouseOut="HideTip('tt112')">vertexLabelsMovable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isEdgeLabelsMovable" id=link516 onMouseOver="ShowTip(event, 'tt368', 'link516')" onMouseOut="HideTip('tt368')">isEdgeLabelsMovable</a></td><td class=SDescription>Returns <a href="#mxGraph.edgeLabelsMovable" class=LVariable id=link517 onMouseOver="ShowTip(event, 'tt110', 'link517')" onMouseOut="HideTip('tt110')">edgeLabelsMovable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isEdgeLabelsMovable" >isEdgeLabelsMovable</a></td><td class=SDescription>Sets <a href="#mxGraph.edgeLabelsMovable" class=LVariable id=link518 onMouseOver="ShowTip(event, 'tt110', 'link518')" onMouseOut="HideTip('tt110')">edgeLabelsMovable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isSwimlaneNesting" id=link519 onMouseOver="ShowTip(event, 'tt369', 'link519')" onMouseOut="HideTip('tt369')">isSwimlaneNesting</a></td><td class=SDescription>Returns <a href="#mxGraph.swimlaneNesting" class=LVariable id=link520 onMouseOver="ShowTip(event, 'tt169', 'link520')" onMouseOut="HideTip('tt169')">swimlaneNesting</a> as a boolean.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setSwimlaneNesting" id=link521 onMouseOver="ShowTip(event, 'tt370', 'link521')" onMouseOut="HideTip('tt370')">setSwimlaneNesting</a></td><td class=SDescription>Specifies if swimlanes can be nested by drag and drop. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isSwimlaneSelectionEnabled" id=link522 onMouseOver="ShowTip(event, 'tt371', 'link522')" onMouseOut="HideTip('tt371')">isSwimlaneSelectionEnabled</a></td><td class=SDescription>Returns <a href="#mxGraph.swimlaneSelectionEnabled" class=LVariable id=link523 onMouseOver="ShowTip(event, 'tt168', 'link523')" onMouseOut="HideTip('tt168')">swimlaneSelectionEnabled</a> as a boolean.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setSwimlaneSelectionEnabled" id=link524 onMouseOver="ShowTip(event, 'tt372', 'link524')" onMouseOut="HideTip('tt372')">setSwimlaneSelectionEnabled</a></td><td class=SDescription>Specifies if swimlanes should be selected if the mouse is released over their content area.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isMultigraph" id=link525 onMouseOver="ShowTip(event, 'tt373', 'link525')" onMouseOut="HideTip('tt373')">isMultigraph</a></td><td class=SDescription>Returns <a href="#mxGraph.multigraph" class=LVariable id=link526 onMouseOver="ShowTip(event, 'tt160', 'link526')" onMouseOut="HideTip('tt160')">multigraph</a> as a boolean.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setMultigraph" id=link527 onMouseOver="ShowTip(event, 'tt374', 'link527')" onMouseOut="HideTip('tt374')">setMultigraph</a></td><td class=SDescription>Specifies if the graph should allow multiple connections between the same pair of vertices.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isAllowLoops" id=link528 onMouseOver="ShowTip(event, 'tt375', 'link528')" onMouseOut="HideTip('tt375')">isAllowLoops</a></td><td class=SDescription>Returns <a href="#mxGraph.allowLoops" class=LVariable id=link529 onMouseOver="ShowTip(event, 'tt157', 'link529')" onMouseOut="HideTip('tt157')">allowLoops</a> as a boolean.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setAllowDanglingEdges" id=link530 onMouseOver="ShowTip(event, 'tt376', 'link530')" onMouseOut="HideTip('tt376')">setAllowDanglingEdges</a></td><td class=SDescription>Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isAllowDanglingEdges" id=link531 onMouseOver="ShowTip(event, 'tt377', 'link531')" onMouseOut="HideTip('tt377')">isAllowDanglingEdges</a></td><td class=SDescription>Returns <a href="#mxGraph.allowDanglingEdges" class=LVariable id=link532 onMouseOver="ShowTip(event, 'tt162', 'link532')" onMouseOut="HideTip('tt162')">allowDanglingEdges</a> as a boolean.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setConnectableEdges" id=link533 onMouseOver="ShowTip(event, 'tt378', 'link533')" onMouseOut="HideTip('tt378')">setConnectableEdges</a></td><td class=SDescription>Specifies if edges should be connectable.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isConnectableEdges" id=link534 onMouseOver="ShowTip(event, 'tt379', 'link534')" onMouseOut="HideTip('tt379')">isConnectableEdges</a></td><td class=SDescription>Returns <a href="#mxGraph.connectableEdges" class=LVariable id=link535 onMouseOver="ShowTip(event, 'tt161', 'link535')" onMouseOut="HideTip('tt161')">connectableEdges</a> as a boolean.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCloneInvalidEdges" id=link536 onMouseOver="ShowTip(event, 'tt380', 'link536')" onMouseOut="HideTip('tt380')">setCloneInvalidEdges</a></td><td class=SDescription>Specifies if edges should be inserted when cloned but not valid wrt. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCloneInvalidEdges" id=link537 onMouseOver="ShowTip(event, 'tt381', 'link537')" onMouseOut="HideTip('tt381')">isCloneInvalidEdges</a></td><td class=SDescription>Returns <a href="#mxGraph.cloneInvalidEdges" class=LVariable id=link538 onMouseOver="ShowTip(event, 'tt163', 'link538')" onMouseOut="HideTip('tt163')">cloneInvalidEdges</a> as a boolean.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setAllowLoops" id=link539 onMouseOver="ShowTip(event, 'tt382', 'link539')" onMouseOut="HideTip('tt382')">setAllowLoops</a></td><td class=SDescription>Specifies if loops are allowed.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isDisconnectOnMove" id=link540 onMouseOver="ShowTip(event, 'tt383', 'link540')" onMouseOut="HideTip('tt383')">isDisconnectOnMove</a></td><td class=SDescription>Returns <a href="#mxGraph.disconnectOnMove" class=LVariable id=link541 onMouseOver="ShowTip(event, 'tt164', 'link541')" onMouseOut="HideTip('tt164')">disconnectOnMove</a> as a boolean.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setDisconnectOnMove" id=link542 onMouseOver="ShowTip(event, 'tt384', 'link542')" onMouseOut="HideTip('tt384')">setDisconnectOnMove</a></td><td class=SDescription>Specifies if edges should be disconnected when moved. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isDropEnabled" id=link543 onMouseOver="ShowTip(event, 'tt114', 'link543')" onMouseOut="HideTip('tt114')">isDropEnabled</a></td><td class=SDescription>Returns <a href="#mxGraph.dropEnabled" class=LVariable id=link544 onMouseOver="ShowTip(event, 'tt113', 'link544')" onMouseOut="HideTip('tt113')">dropEnabled</a> as a boolean.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setDropEnabled" id=link545 onMouseOver="ShowTip(event, 'tt385', 'link545')" onMouseOut="HideTip('tt385')">setDropEnabled</a></td><td class=SDescription>Specifies if the graph should allow dropping of cells onto or into other cells.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isSplitEnabled" id=link546 onMouseOver="ShowTip(event, 'tt386', 'link546')" onMouseOut="HideTip('tt386')">isSplitEnabled</a></td><td class=SDescription>Returns <a href="#mxGraph.splitEnabled" class=LVariable id=link547 onMouseOver="ShowTip(event, 'tt115', 'link547')" onMouseOut="HideTip('tt115')">splitEnabled</a> as a boolean.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setSplitEnabled" id=link548 onMouseOver="ShowTip(event, 'tt387', 'link548')" onMouseOut="HideTip('tt387')">setSplitEnabled</a></td><td class=SDescription>Specifies if the graph should allow dropping of cells onto or into other cells.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellResizable" id=link549 onMouseOver="ShowTip(event, 'tt117', 'link549')" onMouseOut="HideTip('tt117')">isCellResizable</a></td><td class=SDescription>Returns true if the given cell is resizable. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellsResizable" id=link550 onMouseOver="ShowTip(event, 'tt388', 'link550')" onMouseOut="HideTip('tt388')">isCellsResizable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsResizable" class=LVariable id=link551 onMouseOver="ShowTip(event, 'tt116', 'link551')" onMouseOut="HideTip('tt116')">cellsResizable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setCellsResizable" id=link552 onMouseOver="ShowTip(event, 'tt389', 'link552')" onMouseOut="HideTip('tt389')">setCellsResizable</a></td><td class=SDescription>Specifies if the graph should allow resizing of cells. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isTerminalPointMovable" id=link553 onMouseOver="ShowTip(event, 'tt390', 'link553')" onMouseOut="HideTip('tt390')">isTerminalPointMovable</a></td><td class=SDescription>Returns true if the given terminal point is movable. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellBendable" id=link554 onMouseOver="ShowTip(event, 'tt391', 'link554')" onMouseOut="HideTip('tt391')">isCellBendable</a></td><td class=SDescription>Returns true if the given cell is bendable. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellsBendable" id=link555 onMouseOver="ShowTip(event, 'tt119', 'link555')" onMouseOut="HideTip('tt119')">isCellsBendable</a></td><td class=SDescription>Returns &lt;cellsBenadable&gt;.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setCellsBendable" id=link556 onMouseOver="ShowTip(event, 'tt392', 'link556')" onMouseOut="HideTip('tt392')">setCellsBendable</a></td><td class=SDescription>Specifies if the graph should allow bending of edges. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellEditable" id=link557 onMouseOver="ShowTip(event, 'tt105', 'link557')" onMouseOut="HideTip('tt105')">isCellEditable</a></td><td class=SDescription>Returns true if the given cell is editable. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellsEditable" id=link558 onMouseOver="ShowTip(event, 'tt393', 'link558')" onMouseOut="HideTip('tt393')">isCellsEditable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsEditable" class=LVariable id=link559 onMouseOver="ShowTip(event, 'tt104', 'link559')" onMouseOut="HideTip('tt104')">cellsEditable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCellsEditable" id=link560 onMouseOver="ShowTip(event, 'tt394', 'link560')" onMouseOut="HideTip('tt394')">setCellsEditable</a></td><td class=SDescription>Specifies if the graph should allow in-place editing for cell labels. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellDisconnectable" id=link561 onMouseOver="ShowTip(event, 'tt395', 'link561')" onMouseOut="HideTip('tt395')">isCellDisconnectable</a></td><td class=SDescription>Returns true if the given cell is disconnectable from the source or target terminal. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellsDisconnectable" id=link562 onMouseOver="ShowTip(event, 'tt396', 'link562')" onMouseOut="HideTip('tt396')">isCellsDisconnectable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsDisconnectable" class=LVariable id=link563 onMouseOver="ShowTip(event, 'tt122', 'link563')" onMouseOut="HideTip('tt122')">cellsDisconnectable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setCellsDisconnectable" id=link564 onMouseOver="ShowTip(event, 'tt397', 'link564')" onMouseOut="HideTip('tt397')">setCellsDisconnectable</a></td><td class=SDescription>Sets <a href="#mxGraph.cellsDisconnectable" class=LVariable id=link565 onMouseOver="ShowTip(event, 'tt122', 'link565')" onMouseOut="HideTip('tt122')">cellsDisconnectable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isValidSource" id=link566 onMouseOver="ShowTip(event, 'tt398', 'link566')" onMouseOut="HideTip('tt398')">isValidSource</a></td><td class=SDescription>Returns true if the given cell is a valid source for new connections. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isValidTarget" id=link567 onMouseOver="ShowTip(event, 'tt399', 'link567')" onMouseOut="HideTip('tt399')">isValidTarget</a></td><td class=SDescription>Returns <a href="#mxGraph.isValidSource" class=LFunction id=link568 onMouseOver="ShowTip(event, 'tt398', 'link568')" onMouseOut="HideTip('tt398')">isValidSource</a> for the given cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isValidConnection" id=link569 onMouseOver="ShowTip(event, 'tt400', 'link569')" onMouseOut="HideTip('tt400')">isValidConnection</a></td><td class=SDescription>Returns true if the given target cell is a valid target for source. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setConnectable" id=link570 onMouseOver="ShowTip(event, 'tt401', 'link570')" onMouseOut="HideTip('tt401')">setConnectable</a></td><td class=SDescription>Specifies if the graph should allow new connections. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isConnectable" id=link571 onMouseOver="ShowTip(event, 'tt402', 'link571')" onMouseOut="HideTip('tt402')">isConnectable</a></td><td class=SDescription>Returns true if the &lt;connectionHandler&gt; is enabled.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setTooltips" id=link572 onMouseOver="ShowTip(event, 'tt403', 'link572')" onMouseOut="HideTip('tt403')">setTooltips</a></td><td class=SDescription>Specifies if tooltips should be enabled. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setPanning" id=link573 onMouseOver="ShowTip(event, 'tt404', 'link573')" onMouseOut="HideTip('tt404')">setPanning</a></td><td class=SDescription>Specifies if panning should be enabled. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isEditing" id=link574 onMouseOver="ShowTip(event, 'tt405', 'link574')" onMouseOut="HideTip('tt405')">isEditing</a></td><td class=SDescription>Returns true if the given cell is currently being edited. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isAutoSizeCell" id=link575 onMouseOver="ShowTip(event, 'tt406', 'link575')" onMouseOut="HideTip('tt406')">isAutoSizeCell</a></td><td class=SDescription>Returns true if the size of the given cell should automatically be updated after a change of the label. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isAutoSizeCells" id=link576 onMouseOver="ShowTip(event, 'tt407', 'link576')" onMouseOut="HideTip('tt407')">isAutoSizeCells</a></td><td class=SDescription>Returns <a href="#mxGraph.autoSizeCells" class=LVariable id=link577 onMouseOver="ShowTip(event, 'tt123', 'link577')" onMouseOut="HideTip('tt123')">autoSizeCells</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setAutoSizeCells" id=link578 onMouseOver="ShowTip(event, 'tt408', 'link578')" onMouseOut="HideTip('tt408')">setAutoSizeCells</a></td><td class=SDescription>Specifies if cell sizes should be automatically updated after a label change. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isExtendParent" id=link579 onMouseOver="ShowTip(event, 'tt409', 'link579')" onMouseOut="HideTip('tt409')">isExtendParent</a></td><td class=SDescription>Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isExtendParents" id=link580 onMouseOver="ShowTip(event, 'tt410', 'link580')" onMouseOut="HideTip('tt410')">isExtendParents</a></td><td class=SDescription>Returns <a href="#mxGraph.extendParents" class=LVariable id=link581 onMouseOver="ShowTip(event, 'tt143', 'link581')" onMouseOut="HideTip('tt143')">extendParents</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setExtendParents" id=link582 onMouseOver="ShowTip(event, 'tt411', 'link582')" onMouseOut="HideTip('tt411')">setExtendParents</a></td><td class=SDescription>Sets <a href="#mxGraph.extendParents" class=LVariable id=link583 onMouseOver="ShowTip(event, 'tt143', 'link583')" onMouseOut="HideTip('tt143')">extendParents</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isExtendParentsOnAdd" id=link584 onMouseOver="ShowTip(event, 'tt412', 'link584')" onMouseOut="HideTip('tt412')">isExtendParentsOnAdd</a></td><td class=SDescription>Returns <a href="#mxGraph.extendParentsOnAdd" class=LVariable id=link585 onMouseOver="ShowTip(event, 'tt144', 'link585')" onMouseOut="HideTip('tt144')">extendParentsOnAdd</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setExtendParentsOnAdd" id=link586 onMouseOver="ShowTip(event, 'tt413', 'link586')" onMouseOut="HideTip('tt413')">setExtendParentsOnAdd</a></td><td class=SDescription>Sets <a href="#mxGraph.extendParentsOnAdd" class=LVariable id=link587 onMouseOver="ShowTip(event, 'tt144', 'link587')" onMouseOut="HideTip('tt144')">extendParentsOnAdd</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isExtendParentsOnAdd" >isExtendParentsOnAdd</a></td><td class=SDescription>Returns <a href="#mxGraph.extendParentsOnAdd" class=LVariable id=link588 onMouseOver="ShowTip(event, 'tt144', 'link588')" onMouseOut="HideTip('tt144')">extendParentsOnAdd</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setExtendParentsOnAdd" >setExtendParentsOnAdd</a></td><td class=SDescription>Sets <a href="#mxGraph.extendParentsOnAdd" class=LVariable id=link589 onMouseOver="ShowTip(event, 'tt144', 'link589')" onMouseOut="HideTip('tt144')">extendParentsOnAdd</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isRecursiveResize" id=link590 onMouseOver="ShowTip(event, 'tt146', 'link590')" onMouseOut="HideTip('tt146')">isRecursiveResize</a></td><td class=SDescription>Returns <a href="#mxGraph.recursiveResize" class=LVariable id=link591 onMouseOver="ShowTip(event, 'tt145', 'link591')" onMouseOut="HideTip('tt145')">recursiveResize</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setRecursiveResize" id=link592 onMouseOver="ShowTip(event, 'tt414', 'link592')" onMouseOut="HideTip('tt414')">setRecursiveResize</a></td><td class=SDescription>Sets <a href="#mxGraph.recursiveResize" class=LVariable id=link593 onMouseOver="ShowTip(event, 'tt145', 'link593')" onMouseOut="HideTip('tt145')">recursiveResize</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isConstrainChild" id=link594 onMouseOver="ShowTip(event, 'tt265', 'link594')" onMouseOut="HideTip('tt265')">isConstrainChild</a></td><td class=SDescription>Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by <a href="#mxGraph.getOverlap" class=LFunction id=link595 onMouseOver="ShowTip(event, 'tt71', 'link595')" onMouseOut="HideTip('tt71')">getOverlap</a> and <a href="#mxGraph.isAllowOverlapParent" class=LFunction id=link596 onMouseOver="ShowTip(event, 'tt72', 'link596')" onMouseOut="HideTip('tt72')">isAllowOverlapParent</a>. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isConstrainChildren" id=link597 onMouseOver="ShowTip(event, 'tt415', 'link597')" onMouseOut="HideTip('tt415')">isConstrainChildren</a></td><td class=SDescription>Returns <a href="#mxGraph.constrainChildren" class=LVariable id=link598 onMouseOver="ShowTip(event, 'tt141', 'link598')" onMouseOut="HideTip('tt141')">constrainChildren</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setConstrainChildrenOnResize" id=link599 onMouseOver="ShowTip(event, 'tt416', 'link599')" onMouseOut="HideTip('tt416')">setConstrainChildrenOnResize</a></td><td class=SDescription>Sets <a href="#mxGraph.constrainChildrenOnResize" class=LVariable id=link600 onMouseOver="ShowTip(event, 'tt142', 'link600')" onMouseOut="HideTip('tt142')">constrainChildrenOnResize</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isConstrainChildrenOnResize" id=link601 onMouseOver="ShowTip(event, 'tt417', 'link601')" onMouseOut="HideTip('tt417')">isConstrainChildrenOnResize</a></td><td class=SDescription>Returns <a href="#mxGraph.constrainChildrenOnResize" class=LVariable id=link602 onMouseOver="ShowTip(event, 'tt142', 'link602')" onMouseOut="HideTip('tt142')">constrainChildrenOnResize</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setConstrainChildren" id=link603 onMouseOver="ShowTip(event, 'tt418', 'link603')" onMouseOut="HideTip('tt418')">setConstrainChildren</a></td><td class=SDescription>Sets <a href="#mxGraph.constrainChildren" class=LVariable id=link604 onMouseOver="ShowTip(event, 'tt141', 'link604')" onMouseOut="HideTip('tt141')">constrainChildren</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isConstrainChildren" >isConstrainChildren</a></td><td class=SDescription>Returns <a href="#mxGraph.allowNegativeCoordinates" class=LVariable id=link605 onMouseOver="ShowTip(event, 'tt140', 'link605')" onMouseOut="HideTip('tt140')">allowNegativeCoordinates</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setConstrainChildren" >setConstrainChildren</a></td><td class=SDescription>Sets <a href="#mxGraph.allowNegativeCoordinates" class=LVariable id=link606 onMouseOver="ShowTip(event, 'tt140', 'link606')" onMouseOut="HideTip('tt140')">allowNegativeCoordinates</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getOverlap" id=link607 onMouseOver="ShowTip(event, 'tt71', 'link607')" onMouseOut="HideTip('tt71')">getOverlap</a></td><td class=SDescription>Returns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isAllowOverlapParent" id=link608 onMouseOver="ShowTip(event, 'tt72', 'link608')" onMouseOut="HideTip('tt72')">isAllowOverlapParent</a></td><td class=SDescription>Returns true if the given cell is allowed to be placed outside of the parents area.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getFoldableCells" id=link609 onMouseOver="ShowTip(event, 'tt419', 'link609')" onMouseOut="HideTip('tt419')">getFoldableCells</a></td><td class=SDescription>Returns the cells which are movable in the given array of cells.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellFoldable" id=link610 onMouseOver="ShowTip(event, 'tt420', 'link610')" onMouseOut="HideTip('tt420')">isCellFoldable</a></td><td class=SDescription>Returns true if the given cell is foldable. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isValidDropTarget" id=link611 onMouseOver="ShowTip(event, 'tt421', 'link611')" onMouseOut="HideTip('tt421')">isValidDropTarget</a></td><td class=SDescription>Returns true if the given cell is a valid drop target for the specified cells. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isSplitTarget" id=link612 onMouseOver="ShowTip(event, 'tt422', 'link612')" onMouseOut="HideTip('tt422')">isSplitTarget</a></td><td class=SDescription>Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getDropTarget" id=link613 onMouseOver="ShowTip(event, 'tt423', 'link613')" onMouseOut="HideTip('tt423')">getDropTarget</a></td><td class=SDescription>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. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Cell_retrieval" >Cell retrieval</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getDefaultParent" id=link614 onMouseOver="ShowTip(event, 'tt424', 'link614')" onMouseOut="HideTip('tt424')">getDefaultParent</a></td><td class=SDescription>Returns <a href="#mxGraph.defaultParent" class=LVariable id=link615 onMouseOver="ShowTip(event, 'tt73', 'link615')" onMouseOut="HideTip('tt73')">defaultParent</a> or <a href="mxGraphView-js.html#mxGraphView.currentRoot" class=LVariable id=link616 onMouseOver="ShowTip(event, 'tt425', 'link616')" onMouseOut="HideTip('tt425')">mxGraphView.currentRoot</a> or the first child child of <a href="../model/mxGraphModel-js.html#mxGraphModel.root" class=LVariable id=link617 onMouseOver="ShowTip(event, 'tt426', 'link617')" onMouseOut="HideTip('tt426')">mxGraphModel.root</a> if both are null. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setDefaultParent" id=link618 onMouseOver="ShowTip(event, 'tt427', 'link618')" onMouseOut="HideTip('tt427')">setDefaultParent</a></td><td class=SDescription>Sets the <a href="#mxGraph.defaultParent" class=LVariable id=link619 onMouseOver="ShowTip(event, 'tt73', 'link619')" onMouseOut="HideTip('tt73')">defaultParent</a> to the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getSwimlane" id=link620 onMouseOver="ShowTip(event, 'tt428', 'link620')" onMouseOut="HideTip('tt428')">getSwimlane</a></td><td class=SDescription>Returns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getSwimlaneAt" id=link621 onMouseOver="ShowTip(event, 'tt429', 'link621')" onMouseOut="HideTip('tt429')">getSwimlaneAt</a></td><td class=SDescription>Returns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getCellAt" id=link622 onMouseOver="ShowTip(event, 'tt430', 'link622')" onMouseOut="HideTip('tt430')">getCellAt</a></td><td class=SDescription>Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.intersects" id=link623 onMouseOver="ShowTip(event, 'tt431', 'link623')" onMouseOut="HideTip('tt431')">intersects</a></td><td class=SDescription>Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.hitsSwimlaneContent" id=link624 onMouseOver="ShowTip(event, 'tt432', 'link624')" onMouseOut="HideTip('tt432')">hitsSwimlaneContent</a></td><td class=SDescription>Returns true if the given coordinate pair is inside the content are of the given swimlane.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getChildVertices" id=link625 onMouseOver="ShowTip(event, 'tt433', 'link625')" onMouseOut="HideTip('tt433')">getChildVertices</a></td><td class=SDescription>Returns the visible child vertices of the given parent.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getChildEdges" id=link626 onMouseOver="ShowTip(event, 'tt434', 'link626')" onMouseOut="HideTip('tt434')">getChildEdges</a></td><td class=SDescription>Returns the visible child edges of the given parent.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getChildCells" id=link627 onMouseOver="ShowTip(event, 'tt435', 'link627')" onMouseOut="HideTip('tt435')">getChildCells</a></td><td class=SDescription>Returns the visible child vertices or edges in the given parent. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getConnections" id=link628 onMouseOver="ShowTip(event, 'tt436', 'link628')" onMouseOut="HideTip('tt436')">getConnections</a></td><td class=SDescription>Returns all visible edges connected to the given cell without loops.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getIncomingEdges" id=link629 onMouseOver="ShowTip(event, 'tt437', 'link629')" onMouseOut="HideTip('tt437')">getIncomingEdges</a></td><td class=SDescription>Returns the visible incoming edges for the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getOutgoingEdges" id=link630 onMouseOver="ShowTip(event, 'tt438', 'link630')" onMouseOut="HideTip('tt438')">getOutgoingEdges</a></td><td class=SDescription>Returns the visible outgoing edges for the given cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getEdges" id=link631 onMouseOver="ShowTip(event, 'tt439', 'link631')" onMouseOut="HideTip('tt439')">getEdges</a></td><td class=SDescription>Returns the incoming and/or outgoing edges for the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isValidAncestor" id=link632 onMouseOver="ShowTip(event, 'tt440', 'link632')" onMouseOut="HideTip('tt440')">isValidAncestor</a></td><td class=SDescription>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.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getOpposites" id=link633 onMouseOver="ShowTip(event, 'tt441', 'link633')" onMouseOut="HideTip('tt441')">getOpposites</a></td><td class=SDescription>Returns all distinct visible opposite cells for the specified terminal on the given edges.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getEdgesBetween" id=link634 onMouseOver="ShowTip(event, 'tt442', 'link634')" onMouseOut="HideTip('tt442')">getEdgesBetween</a></td><td class=SDescription>Returns the edges between the given source and target. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getPointForEvent" id=link635 onMouseOver="ShowTip(event, 'tt443', 'link635')" onMouseOut="HideTip('tt443')">getPointForEvent</a></td><td class=SDescription>Returns an <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link636 onMouseOver="ShowTip(event, 'tt277', 'link636')" onMouseOut="HideTip('tt277')">mxPoint</a> representing the given event in the unscaled, non-translated coordinate space of &lt;container&gt; and applies the grid.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getCells" id=link637 onMouseOver="ShowTip(event, 'tt444', 'link637')" onMouseOut="HideTip('tt444')">getCells</a></td><td class=SDescription>Returns the children of the given parent that are contained in the given rectangle (x, y, width, height). </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getCellsBeyond" id=link638 onMouseOver="ShowTip(event, 'tt445', 'link638')" onMouseOut="HideTip('tt445')">getCellsBeyond</a></td><td class=SDescription>Returns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards and/or downwards depending on rightHalfpane and bottomHalfpane.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.findTreeRoots" id=link639 onMouseOver="ShowTip(event, 'tt446', 'link639')" onMouseOut="HideTip('tt446')">findTreeRoots</a></td><td class=SDescription>Returns all children in the given parent which do not have incoming edges. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.traverse" id=link640 onMouseOver="ShowTip(event, 'tt447', 'link640')" onMouseOut="HideTip('tt447')">traverse</a></td><td class=SDescription>Traverses the (directed) graph invoking the given function for each visited vertex and edge. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Selection" >Selection</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellSelected" id=link641 onMouseOver="ShowTip(event, 'tt448', 'link641')" onMouseOut="HideTip('tt448')">isCellSelected</a></td><td class=SDescription>Returns true if the given cell is selected.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isSelectionEmpty" id=link642 onMouseOver="ShowTip(event, 'tt449', 'link642')" onMouseOut="HideTip('tt449')">isSelectionEmpty</a></td><td class=SDescription>Returns true if the selection is empty.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.clearSelection" id=link643 onMouseOver="ShowTip(event, 'tt450', 'link643')" onMouseOut="HideTip('tt450')">clearSelection</a></td><td class=SDescription>Clears the selection using <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel.clear" class=LFunction id=link644 onMouseOver="ShowTip(event, 'tt451', 'link644')" onMouseOut="HideTip('tt451')">mxGraphSelectionModel.clear</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getSelectionCount" id=link645 onMouseOver="ShowTip(event, 'tt452', 'link645')" onMouseOut="HideTip('tt452')">getSelectionCount</a></td><td class=SDescription>Returns the number of selected cells.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getSelectionCell" id=link646 onMouseOver="ShowTip(event, 'tt453', 'link646')" onMouseOut="HideTip('tt453')">getSelectionCell</a></td><td class=SDescription>Returns the first cell from the array of selected <a href="../model/mxCell-js.html#mxCell" class=LClass id=link647 onMouseOver="ShowTip(event, 'tt233', 'link647')" onMouseOut="HideTip('tt233')">mxCells</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getSelectionCells" id=link648 onMouseOver="ShowTip(event, 'tt454', 'link648')" onMouseOut="HideTip('tt454')">getSelectionCells</a></td><td class=SDescription>Returns the array of selected <a href="../model/mxCell-js.html#mxCell" class=LClass id=link649 onMouseOver="ShowTip(event, 'tt233', 'link649')" onMouseOut="HideTip('tt233')">mxCells</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setSelectionCell" id=link650 onMouseOver="ShowTip(event, 'tt455', 'link650')" onMouseOut="HideTip('tt455')">setSelectionCell</a></td><td class=SDescription>Sets the selection cell.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setSelectionCells" id=link651 onMouseOver="ShowTip(event, 'tt456', 'link651')" onMouseOut="HideTip('tt456')">setSelectionCells</a></td><td class=SDescription>Sets the selection cell.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.addSelectionCell" id=link652 onMouseOver="ShowTip(event, 'tt457', 'link652')" onMouseOut="HideTip('tt457')">addSelectionCell</a></td><td class=SDescription>Adds the given cell to the selection.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.addSelectionCells" id=link653 onMouseOver="ShowTip(event, 'tt458', 'link653')" onMouseOut="HideTip('tt458')">addSelectionCells</a></td><td class=SDescription>Adds the given cells to the selection.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.removeSelectionCell" id=link654 onMouseOver="ShowTip(event, 'tt459', 'link654')" onMouseOut="HideTip('tt459')">removeSelectionCell</a></td><td class=SDescription>Removes the given cell from the selection.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.removeSelectionCells" id=link655 onMouseOver="ShowTip(event, 'tt460', 'link655')" onMouseOut="HideTip('tt460')">removeSelectionCells</a></td><td class=SDescription>Removes the given cells from the selection.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.selectRegion" id=link656 onMouseOver="ShowTip(event, 'tt461', 'link656')" onMouseOut="HideTip('tt461')">selectRegion</a></td><td class=SDescription>Selects and returns the cells inside the given rectangle for the specified event.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.selectNextCell" id=link657 onMouseOver="ShowTip(event, 'tt462', 'link657')" onMouseOut="HideTip('tt462')">selectNextCell</a></td><td class=SDescription>Selects the next cell.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.selectPreviousCell" id=link658 onMouseOver="ShowTip(event, 'tt463', 'link658')" onMouseOut="HideTip('tt463')">selectPreviousCell</a></td><td class=SDescription>Selects the previous cell.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.selectParentCell" id=link659 onMouseOver="ShowTip(event, 'tt464', 'link659')" onMouseOut="HideTip('tt464')">selectParentCell</a></td><td class=SDescription>Selects the parent cell.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.selectChildCell" id=link660 onMouseOver="ShowTip(event, 'tt465', 'link660')" onMouseOut="HideTip('tt465')">selectChildCell</a></td><td class=SDescription>Selects the first child cell.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.selectCell" id=link661 onMouseOver="ShowTip(event, 'tt466', 'link661')" onMouseOut="HideTip('tt466')">selectCell</a></td><td class=SDescription>Selects the next, parent, first child or previous cell, if all arguments are false.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.selectAll" id=link662 onMouseOver="ShowTip(event, 'tt467', 'link662')" onMouseOut="HideTip('tt467')">selectAll</a></td><td class=SDescription>Selects all children of the given parent cell or the children of the default parent if no parent is specified. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.selectVertices" id=link663 onMouseOver="ShowTip(event, 'tt468', 'link663')" onMouseOut="HideTip('tt468')">selectVertices</a></td><td class=SDescription>Select all vertices inside the given parent or the default parent.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.selectVertices" >selectVertices</a></td><td class=SDescription>Select all vertices inside the given parent or the default parent.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.selectCells" id=link664 onMouseOver="ShowTip(event, 'tt469', 'link664')" onMouseOut="HideTip('tt469')">selectCells</a></td><td class=SDescription>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. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.selectCellForEvent" id=link665 onMouseOver="ShowTip(event, 'tt470', 'link665')" onMouseOut="HideTip('tt470')">selectCellForEvent</a></td><td class=SDescription>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.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.selectCellsForEvent" id=link666 onMouseOver="ShowTip(event, 'tt471', 'link666')" onMouseOut="HideTip('tt471')">selectCellsForEvent</a></td><td class=SDescription>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.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Selection_state" >Selection state</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.createHandler" id=link667 onMouseOver="ShowTip(event, 'tt472', 'link667')" onMouseOut="HideTip('tt472')">createHandler</a></td><td class=SDescription>Creates a new handler for the given cell state. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxGraph.Graph_events" >Graph events</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.addMouseListener" id=link668 onMouseOver="ShowTip(event, 'tt473', 'link668')" onMouseOut="HideTip('tt473')">addMouseListener</a></td><td class=SDescription>Adds a listener to the graph event dispatch loop. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.removeMouseListener" id=link669 onMouseOver="ShowTip(event, 'tt474', 'link669')" onMouseOut="HideTip('tt474')">removeMouseListener</a></td><td class=SDescription>Removes the specified graph listener.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.updateMouseEvent" id=link670 onMouseOver="ShowTip(event, 'tt475', 'link670')" onMouseOut="HideTip('tt475')">updateMouseEvent</a></td><td class=SDescription>Sets the graphX and graphY properties if the given <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link671 onMouseOver="ShowTip(event, 'tt211', 'link671')" onMouseOut="HideTip('tt211')">mxMouseEvent</a> if required and returned the event.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getStateForEvent" >getStateForEvent</a></td><td class=SDescription>Returns the state for the given touch event.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isEventIgnored" id=link672 onMouseOver="ShowTip(event, 'tt476', 'link672')" onMouseOut="HideTip('tt476')">isEventIgnored</a></td><td class=SDescription>Returns true if the event should be ignored in <a href="#mxGraph.fireMouseEvent" class=LFunction id=link673 onMouseOver="ShowTip(event, 'tt28', 'link673')" onMouseOut="HideTip('tt28')">fireMouseEvent</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isSyntheticEventIgnored" id=link674 onMouseOver="ShowTip(event, 'tt477', 'link674')" onMouseOut="HideTip('tt477')">isSyntheticEventIgnored</a></td><td class=SDescription>Hook for ignoring synthetic mouse events after touchend in Firefox.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isEventSourceIgnored" id=link675 onMouseOver="ShowTip(event, 'tt478', 'link675')" onMouseOut="HideTip('tt478')">isEventSourceIgnored</a></td><td class=SDescription>Returns true if the event should be ignored in <a href="#mxGraph.fireMouseEvent" class=LFunction id=link676 onMouseOver="ShowTip(event, 'tt28', 'link676')" onMouseOut="HideTip('tt28')">fireMouseEvent</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.fireMouseEvent" id=link677 onMouseOver="ShowTip(event, 'tt28', 'link677')" onMouseOut="HideTip('tt28')">fireMouseEvent</a></td><td class=SDescription>Dispatches the given event in the graph event dispatch loop. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.consumeMouseEvent" id=link678 onMouseOver="ShowTip(event, 'tt479', 'link678')" onMouseOut="HideTip('tt479')">consumeMouseEvent</a></td><td class=SDescription>Destroys the graph and all its resources.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.fireGestureEvent" id=link679 onMouseOver="ShowTip(event, 'tt26', 'link679')" onMouseOut="HideTip('tt26')">fireGestureEvent</a></td><td class=SDescription>Dispatches a <a href="#mxGraph.mxEvent.GESTURE" class=LEvent id=link680 onMouseOver="ShowTip(event, 'tt480', 'link680')" onMouseOut="HideTip('tt480')">mxEvent.GESTURE</a> event. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.destroy" id=link681 onMouseOver="ShowTip(event, 'tt481', 'link681')" onMouseOut="HideTip('tt481')">destroy</a></td><td class=SDescription>Destroys the graph and all its resources.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Events"></a>Events</h3></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.ROOT"></a>mxEvent.ROOT</h3><div class=CBody><p>Fires if the root in the model has changed.&nbsp; This event has no properties.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.ALIGN_CELLS"></a>mxEvent.<wbr>ALIGN_CELLS</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.alignCells" class=LFunction id=link734 onMouseOver="ShowTip(event, 'tt2', 'link734')" onMouseOut="HideTip('tt2')">alignCells</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt; and &lt;code&gt;align&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.alignCells" class=LFunction id=link735 onMouseOver="ShowTip(event, 'tt2', 'link735')" onMouseOut="HideTip('tt2')">alignCells</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.FLIP_EDGE"></a>mxEvent.<wbr>FLIP_EDGE</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.flipEdge" class=LFunction id=link736 onMouseOver="ShowTip(event, 'tt3', 'link736')" onMouseOut="HideTip('tt3')">flipEdge</a>.&nbsp; The &lt;code&gt;edge&lt;/code&gt; property contains the edge passed to <a href="#mxGraph.flipEdge" class=LFunction id=link737 onMouseOver="ShowTip(event, 'tt3', 'link737')" onMouseOut="HideTip('tt3')">flipEdge</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.ORDER_CELLS"></a>mxEvent.<wbr>ORDER_CELLS</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.orderCells" class=LFunction id=link738 onMouseOver="ShowTip(event, 'tt4', 'link738')" onMouseOut="HideTip('tt4')">orderCells</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt; and &lt;code&gt;back&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.orderCells" class=LFunction id=link739 onMouseOver="ShowTip(event, 'tt4', 'link739')" onMouseOut="HideTip('tt4')">orderCells</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.CELLS_ORDERED"></a>mxEvent.<wbr>CELLS_ORDERED</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.cellsOrdered" class=LFunction id=link740 onMouseOver="ShowTip(event, 'tt5', 'link740')" onMouseOut="HideTip('tt5')">cellsOrdered</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt; and &lt;code&gt;back&lt;/code&gt; arguments contain the respective arguments that were passed to <a href="#mxGraph.cellsOrdered" class=LFunction id=link741 onMouseOver="ShowTip(event, 'tt5', 'link741')" onMouseOut="HideTip('tt5')">cellsOrdered</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.GROUP_CELLS"></a>mxEvent.<wbr>GROUP_CELLS</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.groupCells" class=LFunction id=link742 onMouseOver="ShowTip(event, 'tt6', 'link742')" onMouseOut="HideTip('tt6')">groupCells</a>.&nbsp; The &lt;code&gt;group&lt;/code&gt;, &lt;code&gt;cells&lt;/code&gt; and &lt;code&gt;border&lt;/code&gt; arguments contain the respective arguments that were passed to <a href="#mxGraph.groupCells" class=LFunction id=link743 onMouseOver="ShowTip(event, 'tt6', 'link743')" onMouseOut="HideTip('tt6')">groupCells</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.UNGROUP_CELLS"></a>mxEvent.<wbr>UNGROUP_CELLS</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.ungroupCells" class=LFunction id=link744 onMouseOver="ShowTip(event, 'tt7', 'link744')" onMouseOut="HideTip('tt7')">ungroupCells</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt; property contains the array of cells that was passed to <a href="#mxGraph.ungroupCells" class=LFunction id=link745 onMouseOver="ShowTip(event, 'tt7', 'link745')" onMouseOut="HideTip('tt7')">ungroupCells</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.REMOVE_CELLS_FROM_PARENT"></a>mxEvent.<wbr>REMOVE_CELLS_FROM_PARENT</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.removeCellsFromParent" class=LFunction id=link746 onMouseOver="ShowTip(event, 'tt8', 'link746')" onMouseOut="HideTip('tt8')">removeCellsFromParent</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt; property contains the array of cells that was passed to <a href="#mxGraph.removeCellsFromParent" class=LFunction id=link747 onMouseOver="ShowTip(event, 'tt8', 'link747')" onMouseOut="HideTip('tt8')">removeCellsFromParent</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.ADD_CELLS"></a>mxEvent.<wbr>ADD_CELLS</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.addCells" class=LFunction id=link748 onMouseOver="ShowTip(event, 'tt9', 'link748')" onMouseOut="HideTip('tt9')">addCells</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt;, &lt;code&gt;parent&lt;/code&gt;, &lt;code&gt;index&lt;/code&gt;, &lt;code&gt;source&lt;/code&gt; and &lt;code&gt;target&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.addCells" class=LFunction id=link749 onMouseOver="ShowTip(event, 'tt9', 'link749')" onMouseOut="HideTip('tt9')">addCells</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.CELLS_ADDED"></a>mxEvent.<wbr>CELLS_ADDED</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.cellsAdded" class=LFunction id=link750 onMouseOver="ShowTip(event, 'tt10', 'link750')" onMouseOut="HideTip('tt10')">cellsAdded</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt;, &lt;code&gt;parent&lt;/code&gt;, &lt;code&gt;index&lt;/code&gt;, &lt;code&gt;source&lt;/code&gt;, &lt;code&gt;target&lt;/code&gt; and &lt;code&gt;absolute&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.cellsAdded" class=LFunction id=link751 onMouseOver="ShowTip(event, 'tt10', 'link751')" onMouseOut="HideTip('tt10')">cellsAdded</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.REMOVE_CELLS"></a>mxEvent.<wbr>REMOVE_CELLS</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.removeCells" class=LFunction id=link752 onMouseOver="ShowTip(event, 'tt11', 'link752')" onMouseOut="HideTip('tt11')">removeCells</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt; and &lt;code&gt;includeEdges&lt;/code&gt; arguments contain the respective arguments that were passed to <a href="#mxGraph.removeCells" class=LFunction id=link753 onMouseOver="ShowTip(event, 'tt11', 'link753')" onMouseOut="HideTip('tt11')">removeCells</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.CELLS_REMOVED"></a>mxEvent.<wbr>CELLS_REMOVED</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.cellsRemoved" class=LFunction id=link754 onMouseOver="ShowTip(event, 'tt12', 'link754')" onMouseOut="HideTip('tt12')">cellsRemoved</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt; argument contains the array of cells that was removed.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.SPLIT_EDGE"></a>mxEvent.<wbr>SPLIT_EDGE</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.splitEdge" class=LFunction id=link755 onMouseOver="ShowTip(event, 'tt13', 'link755')" onMouseOut="HideTip('tt13')">splitEdge</a>.&nbsp; The &lt;code&gt;edge&lt;/code&gt; property contains the edge to be splitted, the &lt;code&gt;cells&lt;/code&gt;, &lt;code&gt;newEdge&lt;/code&gt;, &lt;code&gt;dx&lt;/code&gt; and &lt;code&gt;dy&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.splitEdge" class=LFunction id=link756 onMouseOver="ShowTip(event, 'tt13', 'link756')" onMouseOut="HideTip('tt13')">splitEdge</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.TOGGLE_CELLS"></a>mxEvent.<wbr>TOGGLE_CELLS</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.toggleCells" class=LFunction id=link757 onMouseOver="ShowTip(event, 'tt14', 'link757')" onMouseOut="HideTip('tt14')">toggleCells</a>.&nbsp; The &lt;code&gt;show&lt;/code&gt;, &lt;code&gt;cells&lt;/code&gt; and &lt;code&gt;includeEdges&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.toggleCells" class=LFunction id=link758 onMouseOver="ShowTip(event, 'tt14', 'link758')" onMouseOut="HideTip('tt14')">toggleCells</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.FOLD_CELLS"></a>mxEvent.<wbr>FOLD_CELLS</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.foldCells" class=LFunction id=link759 onMouseOver="ShowTip(event, 'tt15', 'link759')" onMouseOut="HideTip('tt15')">foldCells</a>.&nbsp; The &lt;code&gt;collapse&lt;/code&gt;, &lt;code&gt;cells&lt;/code&gt; and &lt;code&gt;recurse&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.foldCells" class=LFunction id=link760 onMouseOver="ShowTip(event, 'tt15', 'link760')" onMouseOut="HideTip('tt15')">foldCells</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.CELLS_FOLDED"></a>mxEvent.<wbr>CELLS_FOLDED</h3><div class=CBody><p>Fires between begin- and endUpdate in cellsFolded.&nbsp; The &lt;code&gt;collapse&lt;/code&gt;, &lt;code&gt;cells&lt;/code&gt; and &lt;code&gt;recurse&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.cellsFolded" class=LFunction id=link761 onMouseOver="ShowTip(event, 'tt245', 'link761')" onMouseOut="HideTip('tt245')">cellsFolded</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.UPDATE_CELL_SIZE"></a>mxEvent.<wbr>UPDATE_CELL_SIZE</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.updateCellSize" class=LFunction id=link762 onMouseOver="ShowTip(event, 'tt16', 'link762')" onMouseOut="HideTip('tt16')">updateCellSize</a>.&nbsp; The &lt;code&gt;cell&lt;/code&gt; and &lt;code&gt;ignoreChildren&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.updateCellSize" class=LFunction id=link763 onMouseOver="ShowTip(event, 'tt16', 'link763')" onMouseOut="HideTip('tt16')">updateCellSize</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.RESIZE_CELLS"></a>mxEvent.<wbr>RESIZE_CELLS</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.resizeCells" class=LFunction id=link764 onMouseOver="ShowTip(event, 'tt17', 'link764')" onMouseOut="HideTip('tt17')">resizeCells</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt; and &lt;code&gt;bounds&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.resizeCells" class=LFunction id=link765 onMouseOver="ShowTip(event, 'tt17', 'link765')" onMouseOut="HideTip('tt17')">resizeCells</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.CELLS_RESIZED"></a>mxEvent.<wbr>CELLS_RESIZED</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.cellsResized" class=LFunction id=link766 onMouseOver="ShowTip(event, 'tt18', 'link766')" onMouseOut="HideTip('tt18')">cellsResized</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt; and &lt;code&gt;bounds&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.cellsResized" class=LFunction id=link767 onMouseOver="ShowTip(event, 'tt18', 'link767')" onMouseOut="HideTip('tt18')">cellsResized</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.MOVE_CELLS"></a>mxEvent.<wbr>MOVE_CELLS</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.moveCells" class=LFunction id=link768 onMouseOver="ShowTip(event, 'tt19', 'link768')" onMouseOut="HideTip('tt19')">moveCells</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt;, &lt;code&gt;dx&lt;/code&gt;, &lt;code&gt;dy&lt;/code&gt;, &lt;code&gt;clone&lt;/code&gt;, &lt;code&gt;target&lt;/code&gt; and &lt;code&gt;event&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.moveCells" class=LFunction id=link769 onMouseOver="ShowTip(event, 'tt19', 'link769')" onMouseOut="HideTip('tt19')">moveCells</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.CELLS_MOVED"></a>mxEvent.<wbr>CELLS_MOVED</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.cellsMoved" class=LFunction id=link770 onMouseOver="ShowTip(event, 'tt20', 'link770')" onMouseOut="HideTip('tt20')">cellsMoved</a>.&nbsp; The &lt;code&gt;cells&lt;/code&gt;, &lt;code&gt;dx&lt;/code&gt;, &lt;code&gt;dy&lt;/code&gt; and &lt;code&gt;disconnect&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.cellsMoved" class=LFunction id=link771 onMouseOver="ShowTip(event, 'tt20', 'link771')" onMouseOut="HideTip('tt20')">cellsMoved</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.CONNECT_CELL"></a>mxEvent.<wbr>CONNECT_CELL</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.connectCell" class=LFunction id=link772 onMouseOver="ShowTip(event, 'tt21', 'link772')" onMouseOut="HideTip('tt21')">connectCell</a>.&nbsp; The &lt;code&gt;edge&lt;/code&gt;, &lt;code&gt;terminal&lt;/code&gt; and &lt;code&gt;source&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.connectCell" class=LFunction id=link773 onMouseOver="ShowTip(event, 'tt21', 'link773')" onMouseOut="HideTip('tt21')">connectCell</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.CELL_CONNECTED"></a>mxEvent.<wbr>CELL_CONNECTED</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.cellConnected" class=LFunction id=link774 onMouseOver="ShowTip(event, 'tt22', 'link774')" onMouseOut="HideTip('tt22')">cellConnected</a>.&nbsp; The &lt;code&gt;edge&lt;/code&gt;, &lt;code&gt;terminal&lt;/code&gt; and &lt;code&gt;source&lt;/code&gt; properties contain the respective arguments that were passed to <a href="#mxGraph.cellConnected" class=LFunction id=link775 onMouseOver="ShowTip(event, 'tt22', 'link775')" onMouseOut="HideTip('tt22')">cellConnected</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.REFRESH"></a>mxEvent.<wbr>REFRESH</h3><div class=CBody><p>Fires after <a href="#mxGraph.refresh" class=LFunction id=link776 onMouseOver="ShowTip(event, 'tt23', 'link776')" onMouseOut="HideTip('tt23')">refresh</a> was executed.&nbsp; This event has no properties.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.CLICK"></a>mxEvent.<wbr>CLICK</h3><div class=CBody><p>Fires in <a href="#mxGraph.click" class=LFunction id=link777 onMouseOver="ShowTip(event, 'tt24', 'link777')" onMouseOut="HideTip('tt24')">click</a> after a click event.&nbsp; The &lt;code&gt;event&lt;/code&gt; property contains the original mouse event and &lt;code&gt;cell&lt;/code&gt; property contains the cell under the mouse or null if the background was clicked.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.DOUBLE_CLICK"></a>mxEvent.<wbr>DOUBLE_CLICK</h3><div class=CBody><p>Fires in <a href="#mxGraph.dblClick" class=LFunction id=link778 onMouseOver="ShowTip(event, 'tt25', 'link778')" onMouseOut="HideTip('tt25')">dblClick</a> after a double click.&nbsp; The &lt;code&gt;event&lt;/code&gt; property contains the original mouse event and the &lt;code&gt;cell&lt;/code&gt; property contains the cell under the mouse or null if the background was clicked.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.GESTURE"></a>mxEvent.<wbr>GESTURE</h3><div class=CBody><p>Fires in <a href="#mxGraph.fireGestureEvent" class=LFunction id=link779 onMouseOver="ShowTip(event, 'tt26', 'link779')" onMouseOut="HideTip('tt26')">fireGestureEvent</a> after a touch gesture.&nbsp; The &lt;code&gt;event&lt;/code&gt; property contains the original gesture end event and the &lt;code&gt;cell&lt;/code&gt; property contains the optional cell associated with the gesture.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.TAP_AND_HOLD"></a>mxEvent.<wbr>TAP_AND_HOLD</h3><div class=CBody><p>Fires in <a href="#mxGraph.tapAndHold" class=LFunction id=link780 onMouseOver="ShowTip(event, 'tt27', 'link780')" onMouseOut="HideTip('tt27')">tapAndHold</a> if a tap and hold event was detected.&nbsp; The &lt;code&gt;event&lt;/code&gt; property contains the initial touch event and the &lt;code&gt;cell&lt;/code&gt; property contains the cell under the mouse or null if the background was clicked.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.FIRE_MOUSE_EVENT"></a>mxEvent.<wbr>FIRE_MOUSE_EVENT</h3><div class=CBody><p>Fires in <a href="#mxGraph.fireMouseEvent" class=LFunction id=link781 onMouseOver="ShowTip(event, 'tt28', 'link781')" onMouseOut="HideTip('tt28')">fireMouseEvent</a> before the mouse listeners are invoked.&nbsp; The &lt;code&gt;eventName&lt;/code&gt; property contains the event name and the &lt;code&gt;event&lt;/code&gt; property contains the <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link782 onMouseOver="ShowTip(event, 'tt211', 'link782')" onMouseOut="HideTip('tt211')">mxMouseEvent</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.SIZE"></a>mxEvent.SIZE</h3><div class=CBody><p>Fires after <a href="#mxGraph.sizeDidChange" class=LFunction id=link783 onMouseOver="ShowTip(event, 'tt29', 'link783')" onMouseOut="HideTip('tt29')">sizeDidChange</a> was executed.&nbsp; The &lt;code&gt;bounds&lt;/code&gt; property contains the new graph bounds.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.START_EDITING"></a>mxEvent.<wbr>START_EDITING</h3><div class=CBody><p>Fires before the in-place editor starts in <a href="#mxGraph.startEditingAtCell" class=LFunction id=link784 onMouseOver="ShowTip(event, 'tt30', 'link784')" onMouseOut="HideTip('tt30')">startEditingAtCell</a>.&nbsp; The &lt;code&gt;cell&lt;/code&gt; property contains the cell that is being edited and the &lt;code&gt;event&lt;/code&gt; property contains the optional event argument that was passed to <a href="#mxGraph.startEditingAtCell" class=LFunction id=link785 onMouseOver="ShowTip(event, 'tt30', 'link785')" onMouseOut="HideTip('tt30')">startEditingAtCell</a>.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.LABEL_CHANGED"></a>mxEvent.<wbr>LABEL_CHANGED</h3><div class=CBody><p>Fires between begin- and endUpdate in <a href="#mxGraph.cellLabelChanged" class=LFunction id=link786 onMouseOver="ShowTip(event, 'tt31', 'link786')" onMouseOut="HideTip('tt31')">cellLabelChanged</a>.&nbsp; The &lt;code&gt;cell&lt;/code&gt; property contains the cell, the &lt;code&gt;value&lt;/code&gt; property contains the new value for the cell, the &lt;code&gt;old&lt;/code&gt; property contains the old value and the optional &lt;code&gt;event&lt;/code&gt; property contains the mouse event that started the edit.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.ADD_OVERLAY"></a>mxEvent.<wbr>ADD_OVERLAY</h3><div class=CBody><p>Fires after an overlay is added in <a href="#mxGraph.addCellOverlay" class=LFunction id=link787 onMouseOver="ShowTip(event, 'tt32', 'link787')" onMouseOut="HideTip('tt32')">addCellOverlay</a>.&nbsp; The &lt;code&gt;cell&lt;/code&gt; property contains the cell and the &lt;code&gt;overlay&lt;/code&gt; property contains the <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link788 onMouseOver="ShowTip(event, 'tt201', 'link788')" onMouseOut="HideTip('tt201')">mxCellOverlay</a> that was added.</p></div></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxEvent.REMOVE_OVERLAY"></a>mxEvent.<wbr>REMOVE_OVERLAY</h3><div class=CBody><p>Fires after an overlay is removed in <a href="#mxGraph.removeCellOverlay" class=LFunction id=link789 onMouseOver="ShowTip(event, 'tt33', 'link789')" onMouseOut="HideTip('tt33')">removeCellOverlay</a> and <a href="#mxGraph.removeCellOverlays" class=LFunction id=link790 onMouseOver="ShowTip(event, 'tt34', 'link790')" onMouseOut="HideTip('tt34')">removeCellOverlays</a>.&nbsp; The &lt;code&gt;cell&lt;/code&gt; property contains the cell and the &lt;code&gt;overlay&lt;/code&gt; property contains the <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link791 onMouseOver="ShowTip(event, 'tt201', 'link791')" onMouseOut="HideTip('tt201')">mxCellOverlay</a> that was removed.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mxGraph"></a>mxGraph</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function mxGraph(</td><td class=PParameter nowrap>container,</td></tr><tr><td></td><td class=PParameter nowrap>model,</td></tr><tr><td></td><td class=PParameter nowrap>renderHint,</td></tr><tr><td></td><td class=PParameter nowrap>stylesheet</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new mxGraph in the specified container.&nbsp; Model is an optional mxGraphModel.&nbsp; If no model is provided, a new mxGraphModel instance is used as the model.&nbsp; The container must have a valid owner document prior to calling this function in Internet Explorer.&nbsp; RenderHint is a string to affect the display performance and rendering in IE, but not in SVG-based browsers.&nbsp; The parameter is mapped to <a href="#mxGraph.dialect" class=LVariable id=link792 onMouseOver="ShowTip(event, 'tt55', 'link792')" onMouseOut="HideTip('tt55')">dialect</a>, which may be one of <a href="../util/mxConstants-js.html#mxConstants.DIALECT_SVG" class=LVariable id=link793 onMouseOver="ShowTip(event, 'tt496', 'link793')" onMouseOut="HideTip('tt496')">mxConstants.DIALECT_SVG</a> for SVG-based browsers, <a href="../util/mxConstants-js.html#mxConstants.DIALECT_STRICTHTML" class=LVariable id=link794 onMouseOver="ShowTip(event, 'tt497', 'link794')" onMouseOut="HideTip('tt497')">mxConstants.DIALECT_STRICTHTML</a> for fastest display mode, <a href="../util/mxConstants-js.html#mxConstants.DIALECT_PREFERHTML" class=LVariable id=link795 onMouseOver="ShowTip(event, 'tt498', 'link795')" onMouseOut="HideTip('tt498')">mxConstants.DIALECT_PREFERHTML</a> for faster display mode, <a href="../util/mxConstants-js.html#mxConstants.DIALECT_MIXEDHTML" class=LVariable id=link796 onMouseOver="ShowTip(event, 'tt499', 'link796')" onMouseOut="HideTip('tt499')">mxConstants.DIALECT_MIXEDHTML</a> for fast and <a href="../util/mxConstants-js.html#mxConstants.DIALECT_VML" class=LVariable id=link797 onMouseOver="ShowTip(event, 'tt500', 'link797')" onMouseOut="HideTip('tt500')">mxConstants.DIALECT_VML</a> for exact display mode (slowest).&nbsp; The dialects are defined in mxConstants.&nbsp; The default values are DIALECT_SVG for SVG-based browsers and DIALECT_MIXED for IE.</p><h4 class=CHeading>The possible values for the renderingHint parameter are explained below</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>fast</td><td class=CDLDescription>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.&nbsp; 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.&nbsp; This also allows to render certain shapes as HTML if the display accuracy is not affected, which is implemented by &lt;mxShape.isMixedModeHtml&gt;.&nbsp; This is the default setting and is mapped to DIALECT_MIXEDHTML.</td></tr><tr><td class=CDLEntry>faster</td><td class=CDLDescription>Same as fast, but more expensive shapes are avoided.&nbsp; This is controlled by &lt;mxShape.preferModeHtml&gt;.&nbsp; The default implementation will avoid gradients and rounded rectangles, but more significant shapes, such as rhombus, ellipse, actor and cylinder will be rendered accurately.&nbsp; This setting is mapped to DIALECT_PREFERHTML.</td></tr><tr><td class=CDLEntry>fastest</td><td class=CDLDescription>Almost anything will be rendered in Html.&nbsp; This allows for rectangles, labels and images.&nbsp; This setting is mapped to DIALECT_STRICTHTML.</td></tr><tr><td class=CDLEntry>exact</td><td class=CDLDescription>If accurate panning is required and if the diagram is small (up to 100 cells), then this value should be used.&nbsp; In this mode, a group is created that contains the VML.&nbsp; This allows for accurate panning and is mapped to DIALECT_VML.</td></tr></table><h4 class=CHeading>Example</h4><h4 class=CHeading>To create a graph inside a DOM node with an id of graph</h4><blockquote><pre class="prettyprint">var container = document.getElementById('graph');
var graph = new mxGraph(container);</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>container</td><td class=CDLDescription>Optional DOM node that acts as a container for the graph.&nbsp; If this is null then the container can be initialized later using <a href="#mxGraph.init" class=LFunction id=link798 onMouseOver="ShowTip(event, 'tt183', 'link798')" onMouseOut="HideTip('tt183')">init</a>.</td></tr><tr><td class=CDLEntry>model</td><td class=CDLDescription>Optional <a href="../model/mxGraphModel-js.html#mxGraphModel" class=LClass id=link799 onMouseOver="ShowTip(event, 'tt40', 'link799')" onMouseOut="HideTip('tt40')">mxGraphModel</a> that constitutes the graph data.</td></tr><tr><td class=CDLEntry>renderHint</td><td class=CDLDescription>Optional string that specifies the display accuracy and performance.&nbsp; Default is mxConstants.DIALECT_MIXEDHTML (for IE).</td></tr><tr><td class=CDLEntry>stylesheet</td><td class=CDLDescription>Optional <a href="mxStylesheet-js.html#mxStylesheet" class=LClass id=link800 onMouseOver="ShowTip(event, 'tt45', 'link800')" onMouseOut="HideTip('tt45')">mxStylesheet</a> to be used in the graph.</td></tr></table></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.EMPTY_ARRAY"></a>EMPTY_ARRAY</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.EMPTY_ARRAY</td></tr></table></blockquote><p>Immutable empty array instance.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.mouseListeners"></a>mouseListeners</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.mouseListeners</td></tr></table></blockquote><p>Holds the mouse event listeners.&nbsp; See <a href="#mxGraph.fireMouseEvent" class=LFunction id=link801 onMouseOver="ShowTip(event, 'tt28', 'link801')" onMouseOut="HideTip('tt28')">fireMouseEvent</a>.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isMouseDown"></a>isMouseDown</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isMouseDown</td></tr></table></blockquote><p>Holds the state of the mouse button.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.model"></a>model</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.model</td></tr></table></blockquote><p>Holds the <a href="../model/mxGraphModel-js.html#mxGraphModel" class=LClass id=link802 onMouseOver="ShowTip(event, 'tt40', 'link802')" onMouseOut="HideTip('tt40')">mxGraphModel</a> that contains the cells to be displayed.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.view"></a>view</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.view</td></tr></table></blockquote><p>Holds the <a href="mxGraphView-js.html#mxGraphView" class=LClass id=link803 onMouseOver="ShowTip(event, 'tt42', 'link803')" onMouseOut="HideTip('tt42')">mxGraphView</a> that caches the <a href="mxCellState-js.html#mxCellState" class=LClass id=link804 onMouseOver="ShowTip(event, 'tt43', 'link804')" onMouseOut="HideTip('tt43')">mxCellStates</a> for the cells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.stylesheet"></a>stylesheet</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.stylesheet</td></tr></table></blockquote><p>Holds the <a href="mxStylesheet-js.html#mxStylesheet" class=LClass id=link805 onMouseOver="ShowTip(event, 'tt45', 'link805')" onMouseOut="HideTip('tt45')">mxStylesheet</a> that defines the appearance of the cells.</p><h4 class=CHeading>Example</h4><p>Use the following code to read a stylesheet into an existing graph.</p><blockquote><pre class="prettyprint">var req = mxUtils.load('stylesheet.xml');
var root = req.getDocumentElement();
var dec = new mxCodec(root.ownerDocument);
dec.decode(root, graph.stylesheet);</pre></blockquote></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectionModel"></a>selectionModel</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.selectionModel</td></tr></table></blockquote><p>Holds the <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel" class=LClass id=link806 onMouseOver="ShowTip(event, 'tt47', 'link806')" onMouseOut="HideTip('tt47')">mxGraphSelectionModel</a> that models the current selection.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellEditor"></a>cellEditor</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellEditor</td></tr></table></blockquote><p>Holds the <a href="mxCellEditor-js.html#mxCellEditor" class=LClass id=link807 onMouseOver="ShowTip(event, 'tt49', 'link807')" onMouseOut="HideTip('tt49')">mxCellEditor</a> that is used as the in-place editing.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellRenderer"></a>cellRenderer</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellRenderer</td></tr></table></blockquote><p>Holds the <a href="mxCellRenderer-js.html#mxCellRenderer" class=LClass id=link808 onMouseOver="ShowTip(event, 'tt51', 'link808')" onMouseOut="HideTip('tt51')">mxCellRenderer</a> for rendering the cells in the graph.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.multiplicities"></a>multiplicities</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.multiplicities</td></tr></table></blockquote><p>An array of <a href="mxMultiplicity-js.html#mxMultiplicity" class=LClass id=link809 onMouseOver="ShowTip(event, 'tt53', 'link809')" onMouseOut="HideTip('tt53')">mxMultiplicities</a> describing the allowed connections in a graph.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.renderHint"></a>renderHint</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.renderHint</td></tr></table></blockquote><p>RenderHint as it was passed to the constructor.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.dialect"></a>dialect</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.dialect</td></tr></table></blockquote><p>Dialect to be used for drawing the graph.&nbsp; Possible values are all constants in <a href="../util/mxConstants-js.html#mxConstants" class=LClass id=link810 onMouseOver="ShowTip(event, 'tt494', 'link810')" onMouseOut="HideTip('tt494')">mxConstants</a> with a DIALECT-prefix.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.gridSize"></a>gridSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.gridSize</td></tr></table></blockquote><p>Specifies the grid size.&nbsp; Default is 10.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.gridEnabled"></a>gridEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.gridEnabled</td></tr></table></blockquote><p>Specifies if the grid is enabled.&nbsp; This is used in <a href="#mxGraph.snap" class=LFunction id=link811 onMouseOver="ShowTip(event, 'tt288', 'link811')" onMouseOut="HideTip('tt288')">snap</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.portsEnabled"></a>portsEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.portsEnabled</td></tr></table></blockquote><p>Specifies if ports are enabled.&nbsp; This is used in <a href="#mxGraph.cellConnected" class=LFunction id=link812 onMouseOver="ShowTip(event, 'tt22', 'link812')" onMouseOut="HideTip('tt22')">cellConnected</a> to update the respective style.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.nativeDoubleClickEnabled"></a>nativeDoubleClickEnabled</h3><div class=CBody><p>Specifies if native double click events should be deteced.&nbsp; Default is false for IE in quirks mode or IE10+, true for all other browsers.&nbsp; The <a href="#mxGraph.doubleTapTimeout" class=LVariable id=link813 onMouseOver="ShowTip(event, 'tt60', 'link813')" onMouseOut="HideTip('tt60')">doubleTapTimeout</a> value is used to specify the double click speed.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.doubleTapEnabled"></a>doubleTapEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.doubleTapEnabled</td></tr></table></blockquote><p>Specifies if double taps on touch-based devices should be handled as a double click.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.doubleTapTimeout"></a>doubleTapTimeout</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.doubleTapTimeout</td></tr></table></blockquote><p>Specifies the timeout for double taps and non-native double clicks.&nbsp; Default is 500 ms.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.doubleTapTolerance"></a>doubleTapTolerance</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.doubleTapTolerance</td></tr></table></blockquote><p>Specifies the tolerance for double taps and double clicks in quirks mode.&nbsp; Default is 25 pixels.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.lastTouchX"></a>lastTouchX</h3><div class=CBody><p>Holds the x-coordinate of the last touch event for double tap detection.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.lastTouchX"></a>lastTouchX</h3><div class=CBody><p>Holds the y-coordinate of the last touch event for double tap detection.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.lastTouchTime"></a>lastTouchTime</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.lastTouchTime</td></tr></table></blockquote><p>Holds the time of the last touch event for double click detection.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.tapAndHoldEnabled"></a>tapAndHoldEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.tapAndHoldEnabled</td></tr></table></blockquote><p>Specifies if tap and hold should be used for starting connections on touch-based devices.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.tapAndHoldDelay"></a>tapAndHoldDelay</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.tapAndHoldDelay</td></tr></table></blockquote><p>Specifies the time for a tap and hold.&nbsp; Default is 500 ms.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.tapAndHoldInProgress"></a>tapAndHoldInProgress</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.tapAndHoldInProgress</td></tr></table></blockquote><p>True if the timer for tap and hold events is running.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.tapAndHoldValid"></a>tapAndHoldValid</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.tapAndHoldValid</td></tr></table></blockquote><p>True as long as the timer is running and the touch events stay within the given &lt;tapAndHoldTolerance&gt;.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.initialTouchX"></a>initialTouchX</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.initialTouchX</td></tr></table></blockquote><p>Holds the x-coordinate of the intial touch event for tap and hold.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.initialTouchY"></a>initialTouchY</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.initialTouchY</td></tr></table></blockquote><p>Holds the y-coordinate of the intial touch event for tap and hold.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.tolerance"></a>tolerance</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.tolerance</td></tr></table></blockquote><p>Tolerance for a move to be handled as a single click.&nbsp; Default is 4 pixels.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.defaultOverlap"></a>defaultOverlap</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.defaultOverlap</td></tr></table></blockquote><p>Value returned by <a href="#mxGraph.getOverlap" class=LFunction id=link814 onMouseOver="ShowTip(event, 'tt71', 'link814')" onMouseOut="HideTip('tt71')">getOverlap</a> if <a href="#mxGraph.isAllowOverlapParent" class=LFunction id=link815 onMouseOver="ShowTip(event, 'tt72', 'link815')" onMouseOut="HideTip('tt72')">isAllowOverlapParent</a> returns true for the given cell.&nbsp; <a href="#mxGraph.getOverlap" class=LFunction id=link816 onMouseOver="ShowTip(event, 'tt71', 'link816')" onMouseOut="HideTip('tt71')">getOverlap</a> is used in <a href="#mxGraph.constrainChild" class=LFunction id=link817 onMouseOver="ShowTip(event, 'tt258', 'link817')" onMouseOut="HideTip('tt258')">constrainChild</a> if <a href="#mxGraph.isConstrainChild" class=LFunction id=link818 onMouseOver="ShowTip(event, 'tt265', 'link818')" onMouseOut="HideTip('tt265')">isConstrainChild</a> returns true.&nbsp; The value specifies the portion of the child which is allowed to overlap the parent.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.defaultParent"></a>defaultParent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.defaultParent</td></tr></table></blockquote><p>Specifies the default parent to be used to insert new cells.&nbsp; This is used in <a href="#mxGraph.getDefaultParent" class=LFunction id=link819 onMouseOver="ShowTip(event, 'tt424', 'link819')" onMouseOut="HideTip('tt424')">getDefaultParent</a>.&nbsp; Default is null.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.alternateEdgeStyle"></a>alternateEdgeStyle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.alternateEdgeStyle</td></tr></table></blockquote><p>Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.&nbsp; Default is null.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.backgroundImage"></a>backgroundImage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.backgroundImage</td></tr></table></blockquote><p>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link820 onMouseOver="ShowTip(event, 'tt76', 'link820')" onMouseOut="HideTip('tt76')">mxImage</a> to be returned by <a href="#mxGraph.getBackgroundImage" class=LFunction id=link821 onMouseOver="ShowTip(event, 'tt77', 'link821')" onMouseOut="HideTip('tt77')">getBackgroundImage</a>.&nbsp; Default is null.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">var img = new mxImage('http://www.example.com/maps/examplemap.jpg', 1024, 768);
graph.setBackgroundImage(img);
graph.view.validate();</pre></blockquote></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.pageVisible"></a>pageVisible</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.pageVisible</td></tr></table></blockquote><p>Specifies if the background page should be visible.&nbsp; Default is false.&nbsp; Not yet implemented.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.pageBreaksVisible"></a>pageBreaksVisible</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.pageBreaksVisible</td></tr></table></blockquote><p>Specifies if a dashed line should be drawn between multiple pages.&nbsp; Default is false.&nbsp; If you change this value while a graph is being displayed then you should call <a href="#mxGraph.sizeDidChange" class=LFunction id=link822 onMouseOver="ShowTip(event, 'tt29', 'link822')" onMouseOut="HideTip('tt29')">sizeDidChange</a> to force an update of the display.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.pageBreakColor"></a>pageBreakColor</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.pageBreakColor</td></tr></table></blockquote><p>Specifies the color for page breaks.&nbsp; Default is &lsquo;gray&rsquo;.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.pageBreakDashed"></a>pageBreakDashed</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.pageBreakDashed</td></tr></table></blockquote><p>Specifies the page breaks should be dashed.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.minPageBreakDist"></a>minPageBreakDist</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.minPageBreakDist</td></tr></table></blockquote><p>Specifies the minimum distance for page breaks to be visible.&nbsp; Default is 20 (in pixels).</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.preferPageSize"></a>preferPageSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.preferPageSize</td></tr></table></blockquote><p>Specifies if the graph size should be rounded to the next page number in <a href="#mxGraph.sizeDidChange" class=LFunction id=link823 onMouseOver="ShowTip(event, 'tt29', 'link823')" onMouseOut="HideTip('tt29')">sizeDidChange</a>.&nbsp; This is only used if the graph container has scrollbars.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.pageFormat"></a>pageFormat</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.pageFormat</td></tr></table></blockquote><p>Specifies the page format for the background page.&nbsp; Default is <a href="../util/mxConstants-js.html#mxConstants.PAGE_FORMAT_A4_PORTRAIT" class=LVariable id=link824 onMouseOver="ShowTip(event, 'tt501', 'link824')" onMouseOut="HideTip('tt501')">mxConstants.PAGE_FORMAT_A4_PORTRAIT</a>.&nbsp; This is used as the default in <a href="mxPrintPreview-js.html#mxPrintPreview" class=LClass id=link825 onMouseOver="ShowTip(event, 'tt502', 'link825')" onMouseOut="HideTip('tt502')">mxPrintPreview</a> and for painting the background page if <a href="#mxGraph.pageVisible" class=LVariable id=link826 onMouseOver="ShowTip(event, 'tt78', 'link826')" onMouseOut="HideTip('tt78')">pageVisible</a> is true and the pagebreaks if <a href="#mxGraph.pageBreaksVisible" class=LVariable id=link827 onMouseOver="ShowTip(event, 'tt79', 'link827')" onMouseOut="HideTip('tt79')">pageBreaksVisible</a> is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.pageScale"></a>pageScale</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.pageScale</td></tr></table></blockquote><p>Specifies the scale of the background page.&nbsp; Default is 1.5.&nbsp; Not yet implemented.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.enabled"></a>enabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.enabled</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.isEnabled" class=LFunction id=link828 onMouseOver="ShowTip(event, 'tt87', 'link828')" onMouseOut="HideTip('tt87')">isEnabled</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.escapeEnabled"></a>escapeEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.escapeEnabled</td></tr></table></blockquote><p>Specifies if <a href="../handler/mxKeyHandler-js.html#mxKeyHandler" class=LClass id=link829 onMouseOver="ShowTip(event, 'tt89', 'link829')" onMouseOut="HideTip('tt89')">mxKeyHandler</a> should invoke <a href="#mxGraph.escape" class=LFunction id=link830 onMouseOver="ShowTip(event, 'tt90', 'link830')" onMouseOut="HideTip('tt90')">escape</a> when the escape key is pressed.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.invokesStopCellEditing"></a>invokesStopCellEditing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.invokesStopCellEditing</td></tr></table></blockquote><p>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.&nbsp; This is implemented in a focus handler in <a href="mxCellEditor-js.html#mxCellEditor" class=LClass id=link831 onMouseOver="ShowTip(event, 'tt49', 'link831')" onMouseOut="HideTip('tt49')">mxCellEditor</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.enterStopsCellEditing"></a>enterStopsCellEditing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.enterStopsCellEditing</td></tr></table></blockquote><p>If true, pressing the enter key without pressing control or shift will stop editing and accept the new value.&nbsp; This is used in <a href="mxCellEditor-js.html#mxCellEditor" class=LClass id=link832 onMouseOver="ShowTip(event, 'tt49', 'link832')" onMouseOut="HideTip('tt49')">mxCellEditor</a> to stop cell editing.&nbsp; Note: You can always use F2 and escape to stop editing.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.useScrollbarsForPanning"></a>useScrollbarsForPanning</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.useScrollbarsForPanning</td></tr></table></blockquote><p>Specifies if scrollbars should be used for panning in <a href="#mxGraph.panGraph" class=LFunction id=link833 onMouseOver="ShowTip(event, 'tt94', 'link833')" onMouseOut="HideTip('tt94')">panGraph</a> if any scrollbars are available.&nbsp; 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.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.exportEnabled"></a>exportEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.exportEnabled</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.canExportCell" class=LFunction id=link834 onMouseOver="ShowTip(event, 'tt96', 'link834')" onMouseOut="HideTip('tt96')">canExportCell</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.importEnabled"></a>importEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.importEnabled</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.canImportCell" class=LFunction id=link835 onMouseOver="ShowTip(event, 'tt98', 'link835')" onMouseOut="HideTip('tt98')">canImportCell</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsLocked"></a>cellsLocked</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsLocked</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.isCellLocked" class=LFunction id=link836 onMouseOver="ShowTip(event, 'tt100', 'link836')" onMouseOut="HideTip('tt100')">isCellLocked</a>.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsCloneable"></a>cellsCloneable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsCloneable</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.isCellCloneable" class=LFunction id=link837 onMouseOver="ShowTip(event, 'tt102', 'link837')" onMouseOut="HideTip('tt102')">isCellCloneable</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.foldingEnabled"></a>foldingEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.foldingEnabled</td></tr></table></blockquote><p>Specifies if folding (collapse and expand via an image icon in the graph should be enabled).&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsEditable"></a>cellsEditable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsEditable</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.isCellEditable" class=LFunction id=link838 onMouseOver="ShowTip(event, 'tt105', 'link838')" onMouseOut="HideTip('tt105')">isCellEditable</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsDeletable"></a>cellsDeletable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsDeletable</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.isCellDeletable" class=LFunction id=link839 onMouseOver="ShowTip(event, 'tt107', 'link839')" onMouseOut="HideTip('tt107')">isCellDeletable</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsMovable"></a>cellsMovable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsMovable</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.isCellMovable" class=LFunction id=link840 onMouseOver="ShowTip(event, 'tt109', 'link840')" onMouseOut="HideTip('tt109')">isCellMovable</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.edgeLabelsMovable"></a>edgeLabelsMovable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.edgeLabelsMovable</td></tr></table></blockquote><p>Specifies the return value for edges in <a href="#mxGraph.isLabelMovable" class=LFunction id=link841 onMouseOver="ShowTip(event, 'tt111', 'link841')" onMouseOut="HideTip('tt111')">isLabelMovable</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.vertexLabelsMovable"></a>vertexLabelsMovable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.vertexLabelsMovable</td></tr></table></blockquote><p>Specifies the return value for vertices in <a href="#mxGraph.isLabelMovable" class=LFunction id=link842 onMouseOver="ShowTip(event, 'tt111', 'link842')" onMouseOut="HideTip('tt111')">isLabelMovable</a>.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.dropEnabled"></a>dropEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.dropEnabled</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.isDropEnabled" class=LFunction id=link843 onMouseOver="ShowTip(event, 'tt114', 'link843')" onMouseOut="HideTip('tt114')">isDropEnabled</a>.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.splitEnabled"></a>splitEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.splitEnabled</td></tr></table></blockquote><p>Specifies if dropping onto edges should be enabled.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsResizable"></a>cellsResizable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsResizable</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.isCellResizable" class=LFunction id=link844 onMouseOver="ShowTip(event, 'tt117', 'link844')" onMouseOut="HideTip('tt117')">isCellResizable</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsBendable"></a>cellsBendable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsBendable</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.isCellsBendable" class=LFunction id=link845 onMouseOver="ShowTip(event, 'tt119', 'link845')" onMouseOut="HideTip('tt119')">isCellsBendable</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsSelectable"></a>cellsSelectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsSelectable</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.isCellSelectable" class=LFunction id=link846 onMouseOver="ShowTip(event, 'tt121', 'link846')" onMouseOut="HideTip('tt121')">isCellSelectable</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsDisconnectable"></a>cellsDisconnectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsDisconnectable</td></tr></table></blockquote><p>Specifies the return value for &lt;isCellDisconntable&gt;.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.autoSizeCells"></a>autoSizeCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.autoSizeCells</td></tr></table></blockquote><p>Specifies if the graph should automatically update the cell size after an edit.&nbsp; This is used in <a href="#mxGraph.isAutoSizeCell" class=LFunction id=link847 onMouseOver="ShowTip(event, 'tt406', 'link847')" onMouseOut="HideTip('tt406')">isAutoSizeCell</a>.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.autoSizeCellsOnAdd"></a>autoSizeCellsOnAdd</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.autoSizeCellsOnAdd</td></tr></table></blockquote><p>Specifies if autoSize style should be applied when cells are added.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.autoScroll"></a>autoScroll</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.autoScroll</td></tr></table></blockquote><p>Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.&nbsp; This is only taken into account if the container has scrollbars.&nbsp; Default is true.</p><p>If you need this to work without scrollbars then set <a href="#mxGraph.ignoreScrollbars" class=LVariable id=link848 onMouseOver="ShowTip(event, 'tt129', 'link848')" onMouseOut="HideTip('tt129')">ignoreScrollbars</a> to true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.timerAutoScroll"></a>timerAutoScroll</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.timerAutoScroll</td></tr></table></blockquote><p>Specifies if timer-based autoscrolling should be used via mxPanningManager.&nbsp; Note that this disables the code in <a href="#mxGraph.scrollPointToVisible" class=LFunction id=link849 onMouseOver="ShowTip(event, 'tt128', 'link849')" onMouseOut="HideTip('tt128')">scrollPointToVisible</a> and uses code in mxPanningManager instead.&nbsp; Note that <a href="#mxGraph.autoExtend" class=LVariable id=link850 onMouseOver="ShowTip(event, 'tt130', 'link850')" onMouseOut="HideTip('tt130')">autoExtend</a> is disabled if this is true and that this should only be used with a scroll buffer or when scollbars are visible and scrollable in all directions.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.allowAutoPanning"></a>allowAutoPanning</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.allowAutoPanning</td></tr></table></blockquote><p>Specifies if panning via <a href="#mxGraph.panGraph" class=LFunction id=link851 onMouseOver="ShowTip(event, 'tt94', 'link851')" onMouseOut="HideTip('tt94')">panGraph</a> should be allowed to implement autoscroll if no scrollbars are available in <a href="#mxGraph.scrollPointToVisible" class=LFunction id=link852 onMouseOver="ShowTip(event, 'tt128', 'link852')" onMouseOut="HideTip('tt128')">scrollPointToVisible</a>.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.ignoreScrollbars"></a>ignoreScrollbars</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.ignoreScrollbars</td></tr></table></blockquote><p>Specifies if the graph should automatically scroll regardless of the scrollbars.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.autoExtend"></a>autoExtend</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.autoExtend</td></tr></table></blockquote><p>Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.&nbsp; This is only taken into account if the container has scrollbars.&nbsp; Default is true.&nbsp; See <a href="#mxGraph.autoScroll" class=LVariable id=link853 onMouseOver="ShowTip(event, 'tt125', 'link853')" onMouseOut="HideTip('tt125')">autoScroll</a>.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.maximumGraphBounds"></a>maximumGraphBounds</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.maximumGraphBounds</td></tr></table></blockquote><p><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link854 onMouseOver="ShowTip(event, 'tt132', 'link854')" onMouseOut="HideTip('tt132')">mxRectangle</a> that specifies the area in which all cells in the diagram should be placed.&nbsp; Uses in <a href="#mxGraph.getMaximumGraphBounds" class=LFunction id=link855 onMouseOver="ShowTip(event, 'tt264', 'link855')" onMouseOut="HideTip('tt264')">getMaximumGraphBounds</a>.&nbsp; Use a width or height of 0 if you only want to give a upper, left corner.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.minimumGraphSize"></a>minimumGraphSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.minimumGraphSize</td></tr></table></blockquote><p><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link856 onMouseOver="ShowTip(event, 'tt132', 'link856')" onMouseOut="HideTip('tt132')">mxRectangle</a> that specifies the minimum size of the graph.&nbsp; This is ignored if the graph container has no scrollbars.&nbsp; Default is null.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.minimumContainerSize"></a>minimumContainerSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.minimumContainerSize</td></tr></table></blockquote><p><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link857 onMouseOver="ShowTip(event, 'tt132', 'link857')" onMouseOut="HideTip('tt132')">mxRectangle</a> that specifies the minimum size of the &lt;container&gt; if <a href="#mxGraph.resizeContainer" class=LVariable id=link858 onMouseOver="ShowTip(event, 'tt135', 'link858')" onMouseOut="HideTip('tt135')">resizeContainer</a> is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.maximumContainerSize"></a>maximumContainerSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.maximumContainerSize</td></tr></table></blockquote><p><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link859 onMouseOver="ShowTip(event, 'tt132', 'link859')" onMouseOut="HideTip('tt132')">mxRectangle</a> that specifies the maximum size of the container if <a href="#mxGraph.resizeContainer" class=LVariable id=link860 onMouseOver="ShowTip(event, 'tt135', 'link860')" onMouseOut="HideTip('tt135')">resizeContainer</a> is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.resizeContainer"></a>resizeContainer</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.resizeContainer</td></tr></table></blockquote><p>Specifies if the container should be resized to the graph size when the graph size has changed.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.border"></a>border</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.border</td></tr></table></blockquote><p>Border to be added to the bottom and right side when the container is being resized after the graph has been changed.&nbsp; Default is 0.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.keepEdgesInForeground"></a>keepEdgesInForeground</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.keepEdgesInForeground</td></tr></table></blockquote><p>Specifies if edges should appear in the foreground regardless of their order in the model.&nbsp; If <a href="#mxGraph.keepEdgesInForeground" class=LVariable id=link861 onMouseOver="ShowTip(event, 'tt138', 'link861')" onMouseOut="HideTip('tt138')">keepEdgesInForeground</a> and <a href="#mxGraph.keepEdgesInBackground" class=LVariable id=link862 onMouseOver="ShowTip(event, 'tt139', 'link862')" onMouseOut="HideTip('tt139')">keepEdgesInBackground</a> are both true then the normal order is applied.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.keepEdgesInBackground"></a>keepEdgesInBackground</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.keepEdgesInBackground</td></tr></table></blockquote><p>Specifies if edges should appear in the background regardless of their order in the model.&nbsp; If <a href="#mxGraph.keepEdgesInForeground" class=LVariable id=link863 onMouseOver="ShowTip(event, 'tt138', 'link863')" onMouseOut="HideTip('tt138')">keepEdgesInForeground</a> and <a href="#mxGraph.keepEdgesInBackground" class=LVariable id=link864 onMouseOver="ShowTip(event, 'tt139', 'link864')" onMouseOut="HideTip('tt139')">keepEdgesInBackground</a> are both true then the normal order is applied.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.allowNegativeCoordinates"></a>allowNegativeCoordinates</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.allowNegativeCoordinates</td></tr></table></blockquote><p>Specifies if negative coordinates for vertices are allowed.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.constrainChildren"></a>constrainChildren</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.constrainChildren</td></tr></table></blockquote><p>Specifies if a child should be constrained inside the parent bounds after a move of the child.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.constrainChildrenOnResize"></a>constrainChildrenOnResize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.constrainChildrenOnResize</td></tr></table></blockquote><p>Specifies if children should be constrained according to the <a href="#mxGraph.constrainChildren" class=LVariable id=link865 onMouseOver="ShowTip(event, 'tt141', 'link865')" onMouseOut="HideTip('tt141')">constrainChildren</a> switch if cells are resized.&nbsp; Default is false for backwards compatiblity.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.extendParents"></a>extendParents</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.extendParents</td></tr></table></blockquote><p>Specifies if a parent should contain the child bounds after a resize of the child.&nbsp; Default is true.&nbsp; This has precedence over <a href="#mxGraph.constrainChildren" class=LVariable id=link866 onMouseOver="ShowTip(event, 'tt141', 'link866')" onMouseOut="HideTip('tt141')">constrainChildren</a>.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.extendParentsOnAdd"></a>extendParentsOnAdd</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.extendParentsOnAdd</td></tr></table></blockquote><p>Specifies if parents should be extended according to the <a href="#mxGraph.extendParents" class=LVariable id=link867 onMouseOver="ShowTip(event, 'tt143', 'link867')" onMouseOut="HideTip('tt143')">extendParents</a> switch if cells are added.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.extendParentsOnAdd"></a>extendParentsOnAdd</h3><div class=CBody><p>Specifies if parents should be extended according to the <a href="#mxGraph.extendParents" class=LVariable id=link868 onMouseOver="ShowTip(event, 'tt143', 'link868')" onMouseOut="HideTip('tt143')">extendParents</a> switch if cells are added.&nbsp; Default is false for backwards compatiblity.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.recursiveResize"></a>recursiveResize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.recursiveResize</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.isRecursiveResize" class=LFunction id=link869 onMouseOver="ShowTip(event, 'tt146', 'link869')" onMouseOut="HideTip('tt146')">isRecursiveResize</a>.&nbsp; Default is false for backwards compatiblity.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.collapseToPreferredSize"></a>collapseToPreferredSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.collapseToPreferredSize</td></tr></table></blockquote><p>Specifies if the cell size should be changed to the preferred size when a cell is first collapsed.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.zoomFactor"></a>zoomFactor</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.zoomFactor</td></tr></table></blockquote><p>Specifies the factor used for <a href="#mxGraph.zoomIn" class=LFunction id=link870 onMouseOver="ShowTip(event, 'tt149', 'link870')" onMouseOut="HideTip('tt149')">zoomIn</a> and <a href="#mxGraph.zoomOut" class=LFunction id=link871 onMouseOver="ShowTip(event, 'tt150', 'link871')" onMouseOut="HideTip('tt150')">zoomOut</a>.&nbsp; Default is 1.2 (120%).</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.keepSelectionVisibleOnZoom"></a>keepSelectionVisibleOnZoom</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.keepSelectionVisibleOnZoom</td></tr></table></blockquote><p>Specifies if the viewport should automatically contain the selection cells after a zoom operation.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.centerZoom"></a>centerZoom</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.centerZoom</td></tr></table></blockquote><p>Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.resetViewOnRootChange"></a>resetViewOnRootChange</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.resetViewOnRootChange</td></tr></table></blockquote><p>Specifies if the scale and translate should be reset if the root changes in the model.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.resetEdgesOnResize"></a>resetEdgesOnResize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.resetEdgesOnResize</td></tr></table></blockquote><p>Specifies if edge control points should be reset after the resize of a connected cell.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.resetEdgesOnMove"></a>resetEdgesOnMove</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.resetEdgesOnMove</td></tr></table></blockquote><p>Specifies if edge control points should be reset after the move of a connected cell.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.resetEdgesOnConnect"></a>resetEdgesOnConnect</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.resetEdgesOnConnect</td></tr></table></blockquote><p>Specifies if edge control points should be reset after the the edge has been reconnected.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.allowLoops"></a>allowLoops</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.allowLoops</td></tr></table></blockquote><p>Specifies if loops (aka self-references) are allowed.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.defaultLoopStyle"></a>defaultLoopStyle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.defaultLoopStyle</td></tr></table></blockquote><p><a href="mxEdgeStyle-js.html#mxEdgeStyle" class=LClass id=link872 onMouseOver="ShowTip(event, 'tt159', 'link872')" onMouseOut="HideTip('tt159')">mxEdgeStyle</a> to be used for loops.&nbsp; This is a fallback for loops if the <a href="../util/mxConstants-js.html#mxConstants.STYLE_LOOP" class=LVariable id=link873 onMouseOver="ShowTip(event, 'tt503', 'link873')" onMouseOut="HideTip('tt503')">mxConstants.STYLE_LOOP</a> is undefined.&nbsp; Default is <a href="mxEdgeStyle-js.html#mxEdgeStyle.Loop" class=LFunction id=link874 onMouseOver="ShowTip(event, 'tt504', 'link874')" onMouseOut="HideTip('tt504')">mxEdgeStyle.Loop</a>.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.multigraph"></a>multigraph</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.multigraph</td></tr></table></blockquote><p>Specifies if multiple edges in the same direction between the same pair of vertices are allowed.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.connectableEdges"></a>connectableEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.connectableEdges</td></tr></table></blockquote><p>Specifies if edges are connectable.&nbsp; Default is false.&nbsp; This overrides the connectable field in edges.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.allowDanglingEdges"></a>allowDanglingEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.allowDanglingEdges</td></tr></table></blockquote><p>Specifies if edges with disconnected terminals are allowed in the graph.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cloneInvalidEdges"></a>cloneInvalidEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cloneInvalidEdges</td></tr></table></blockquote><p>Specifies if edges that are cloned should be validated and only inserted if they are valid.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.disconnectOnMove"></a>disconnectOnMove</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.disconnectOnMove</td></tr></table></blockquote><p>Specifies if edges should be disconnected from their terminals when they are moved.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.labelsVisible"></a>labelsVisible</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.labelsVisible</td></tr></table></blockquote><p>Specifies if labels should be visible.&nbsp; This is used in <a href="#mxGraph.getLabel" class=LFunction id=link875 onMouseOver="ShowTip(event, 'tt315', 'link875')" onMouseOut="HideTip('tt315')">getLabel</a>.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.htmlLabels"></a>htmlLabels</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.htmlLabels</td></tr></table></blockquote><p>Specifies the return value for <a href="#mxGraph.isHtmlLabel" class=LFunction id=link876 onMouseOver="ShowTip(event, 'tt167', 'link876')" onMouseOut="HideTip('tt167')">isHtmlLabel</a>.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.swimlaneSelectionEnabled"></a>swimlaneSelectionEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.swimlaneSelectionEnabled</td></tr></table></blockquote><p>Specifies if swimlanes should be selectable via the content if the mouse is released.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.swimlaneNesting"></a>swimlaneNesting</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.swimlaneNesting</td></tr></table></blockquote><p>Specifies if nesting of swimlanes is allowed.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.swimlaneIndicatorColorAttribute"></a>swimlaneIndicatorColorAttribute</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.swimlaneIndicatorColorAttribute</td></tr></table></blockquote><p>The attribute used to find the color for the indicator if the indicator color is set to &lsquo;swimlane&rsquo;.&nbsp; Default is <a href="../util/mxConstants-js.html#mxConstants.STYLE_FILLCOLOR" class=LVariable id=link877 onMouseOver="ShowTip(event, 'tt505', 'link877')" onMouseOut="HideTip('tt505')">mxConstants.STYLE_FILLCOLOR</a>.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.imageBundles"></a>imageBundles</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.imageBundles</td></tr></table></blockquote><p>Holds the list of image bundles.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.minFitScale"></a>minFitScale</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.minFitScale</td></tr></table></blockquote><p>Specifies the minimum scale to be applied in <a href="#mxGraph.fit" class=LFunction id=link878 onMouseOver="ShowTip(event, 'tt173', 'link878')" onMouseOut="HideTip('tt173')">fit</a>.&nbsp; Default is 0.1.&nbsp; Set this to null to allow any value.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.maxFitScale"></a>maxFitScale</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.maxFitScale</td></tr></table></blockquote><p>Specifies the maximum scale to be applied in <a href="#mxGraph.fit" class=LFunction id=link879 onMouseOver="ShowTip(event, 'tt173', 'link879')" onMouseOut="HideTip('tt173')">fit</a>.&nbsp; Default is 8.&nbsp; Set this to null to allow any value.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.panDx"></a>panDx</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.panDx</td></tr></table></blockquote><p>Current horizontal panning value.&nbsp; Default is 0.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.panDy"></a>panDy</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.panDy</td></tr></table></blockquote><p>Current vertical panning value.&nbsp; Default is 0.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.collapsedImage"></a>collapsedImage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.collapsedImage</td></tr></table></blockquote><p>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link880 onMouseOver="ShowTip(event, 'tt76', 'link880')" onMouseOut="HideTip('tt76')">mxImage</a> to indicate a collapsed state.&nbsp; Default value is mxClient.imageBasePath + &lsquo;/collapsed.gif&rsquo;</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.expandedImage"></a>expandedImage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.expandedImage</td></tr></table></blockquote><p>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link881 onMouseOver="ShowTip(event, 'tt76', 'link881')" onMouseOut="HideTip('tt76')">mxImage</a> to indicate a expanded state.&nbsp; Default value is mxClient.imageBasePath + &lsquo;/expanded.gif&rsquo;</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.warningImage"></a>warningImage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.warningImage</td></tr></table></blockquote><p>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link882 onMouseOver="ShowTip(event, 'tt76', 'link882')" onMouseOut="HideTip('tt76')">mxImage</a> for the image to be used to display a warning overlay.&nbsp; See <a href="#mxGraph.setCellWarning" class=LFunction id=link883 onMouseOver="ShowTip(event, 'tt204', 'link883')" onMouseOut="HideTip('tt204')">setCellWarning</a>.&nbsp; Default value is mxClient.imageBasePath + &lsquo;/warning&rsquo;.&nbsp; The extension for the image depends on the platform.&nbsp; It is &lsquo;.png&rsquo; on the Mac and &lsquo;.gif&rsquo; on all other platforms.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.alreadyConnectedResource"></a>alreadyConnectedResource</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.alreadyConnectedResource</td></tr></table></blockquote><p>Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.&nbsp; If the resource for this key does not exist then the value is used as the error message.&nbsp; Default is &lsquo;alreadyConnected&rsquo;.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.containsValidationErrorsResource"></a>containsValidationErrorsResource</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.containsValidationErrorsResource</td></tr></table></blockquote><p>Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors.&nbsp; If the resource for this key does not exist then the value is used as the warning message.&nbsp; Default is &lsquo;containsValidationErrors&rsquo;.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.collapseExpandResource"></a>collapseExpandResource</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.collapseExpandResource</td></tr></table></blockquote><p>Specifies the resource key for the tooltip on the collapse/expand icon.&nbsp; If the resource for this key does not exist then the value is used as the tooltip.&nbsp; Default is &lsquo;collapse-expand&rsquo;.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.init"></a>init</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.init = function(</td><td class=PParameter nowrap>container</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Initializes the &lt;container&gt; and creates the respective datastructures.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>container</td><td class=CDLDescription>DOM node that will contain the graph display.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.createHandlers"></a>createHandlers</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.createHandlers = function(</td><td class=PParameter nowrap>container</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates the tooltip-, panning-, connection- and graph-handler (in this order).&nbsp; This is called in the constructor before <a href="#mxGraph.init" class=LFunction id=link884 onMouseOver="ShowTip(event, 'tt183', 'link884')" onMouseOut="HideTip('tt183')">init</a> is called.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.createSelectionModel"></a>createSelectionModel</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.createSelectionModel = function()</td></tr></table></blockquote><p>Creates a new <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel" class=LClass id=link885 onMouseOver="ShowTip(event, 'tt47', 'link885')" onMouseOut="HideTip('tt47')">mxGraphSelectionModel</a> to be used in this graph.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.createStylesheet"></a>createStylesheet</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.createStylesheet = function()</td></tr></table></blockquote><p>Creates a new <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel" class=LClass id=link886 onMouseOver="ShowTip(event, 'tt47', 'link886')" onMouseOut="HideTip('tt47')">mxGraphSelectionModel</a> to be used in this graph.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.createGraphView"></a>createGraphView</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.createGraphView = function()</td></tr></table></blockquote><p>Creates a new <a href="mxGraphView-js.html#mxGraphView" class=LClass id=link887 onMouseOver="ShowTip(event, 'tt42', 'link887')" onMouseOut="HideTip('tt42')">mxGraphView</a> to be used in this graph.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.createCellRenderer"></a>createCellRenderer</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.createCellRenderer = function()</td></tr></table></blockquote><p>Creates a new <a href="mxCellRenderer-js.html#mxCellRenderer" class=LClass id=link888 onMouseOver="ShowTip(event, 'tt51', 'link888')" onMouseOut="HideTip('tt51')">mxCellRenderer</a> to be used in this graph.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.createCellEditor"></a>createCellEditor</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.createCellEditor = function()</td></tr></table></blockquote><p>Creates a new <a href="mxCellEditor-js.html#mxCellEditor" class=LClass id=link889 onMouseOver="ShowTip(event, 'tt49', 'link889')" onMouseOut="HideTip('tt49')">mxCellEditor</a> to be used in this graph.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getModel"></a>getModel</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getModel = function()</td></tr></table></blockquote><p>Returns the <a href="../model/mxGraphModel-js.html#mxGraphModel" class=LClass id=link890 onMouseOver="ShowTip(event, 'tt40', 'link890')" onMouseOut="HideTip('tt40')">mxGraphModel</a> that contains the cells.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getView"></a>getView</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getView = function()</td></tr></table></blockquote><p>Returns the <a href="mxGraphView-js.html#mxGraphView" class=LClass id=link891 onMouseOver="ShowTip(event, 'tt42', 'link891')" onMouseOut="HideTip('tt42')">mxGraphView</a> that contains the <a href="mxCellState-js.html#mxCellState" class=LClass id=link892 onMouseOver="ShowTip(event, 'tt43', 'link892')" onMouseOut="HideTip('tt43')">mxCellStates</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getStylesheet"></a>getStylesheet</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getStylesheet = function()</td></tr></table></blockquote><p>Returns the <a href="mxStylesheet-js.html#mxStylesheet" class=LClass id=link893 onMouseOver="ShowTip(event, 'tt45', 'link893')" onMouseOut="HideTip('tt45')">mxStylesheet</a> that defines the style.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setStylesheet"></a>setStylesheet</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setStylesheet = function(</td><td class=PParameter nowrap>stylesheet</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the <a href="mxStylesheet-js.html#mxStylesheet" class=LClass id=link894 onMouseOver="ShowTip(event, 'tt45', 'link894')" onMouseOut="HideTip('tt45')">mxStylesheet</a> that defines the style.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getSelectionModel"></a>getSelectionModel</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getSelectionModel = function()</td></tr></table></blockquote><p>Returns the <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel" class=LClass id=link895 onMouseOver="ShowTip(event, 'tt47', 'link895')" onMouseOut="HideTip('tt47')">mxGraphSelectionModel</a> that contains the selection.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setSelectionModel"></a>setSelectionModel</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setSelectionModel = function(</td><td class=PParameter nowrap>selectionModel</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the &lt;mxSelectionModel&gt; that contains the selection.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getSelectionCellsForChanges"></a>getSelectionCellsForChanges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getSelectionCellsForChanges = function(</td><td class=PParameter nowrap>changes</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cells to be selected for the given array of changes.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.graphModelChanged"></a>graphModelChanged</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.graphModelChanged = function(</td><td class=PParameter nowrap>changes</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Called when the graph model changes.&nbsp; Invokes <a href="#mxGraph.processChange" class=LFunction id=link896 onMouseOver="ShowTip(event, 'tt199', 'link896')" onMouseOut="HideTip('tt199')">processChange</a> on each item of the given array to update the view accordingly.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>changes</td><td class=CDLDescription>Array that contains the individual changes.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getRemovedCellsForChanges"></a>getRemovedCellsForChanges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getRemovedCellsForChanges = function(</td><td class=PParameter nowrap>changes</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cells that have been removed from the model.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.processChange"></a>processChange</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.processChange = function(</td><td class=PParameter nowrap>change</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Processes the given change and invalidates the respective cached data in <a href="#mxGraph.view" class=LVariable id=link897 onMouseOver="ShowTip(event, 'tt41', 'link897')" onMouseOut="HideTip('tt41')">view</a>.&nbsp; This fires a &lt;root&gt; event if the root has changed in the model.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>change</td><td class=CDLDescription>Object that represents the change on the model.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.removeStateForCell"></a>removeStateForCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeStateForCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes all cached information for the given cell and its descendants.&nbsp; This is called when a cell was removed from the model.</p><h4 class=CHeading>Paramters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link898 onMouseOver="ShowTip(event, 'tt233', 'link898')" onMouseOut="HideTip('tt233')">mxCell</a> that was removed from the model.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Overlays"></a>Overlays</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.addCellOverlay"></a>addCellOverlay</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addCellOverlay = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>overlay</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds an <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link899 onMouseOver="ShowTip(event, 'tt201', 'link899')" onMouseOut="HideTip('tt201')">mxCellOverlay</a> for the specified cell.&nbsp; This method fires an &lt;addoverlay&gt; event and returns the new <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link900 onMouseOver="ShowTip(event, 'tt201', 'link900')" onMouseOut="HideTip('tt201')">mxCellOverlay</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link901 onMouseOver="ShowTip(event, 'tt233', 'link901')" onMouseOut="HideTip('tt233')">mxCell</a> to add the overlay for.</td></tr><tr><td class=CDLEntry>overlay</td><td class=CDLDescription><a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link902 onMouseOver="ShowTip(event, 'tt201', 'link902')" onMouseOut="HideTip('tt201')">mxCellOverlay</a> to be added for the cell.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCellOverlays"></a>getCellOverlays</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellOverlays = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the array of <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link903 onMouseOver="ShowTip(event, 'tt201', 'link903')" onMouseOut="HideTip('tt201')">mxCellOverlays</a> for the given cell or null, if no overlays are defined.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link904 onMouseOver="ShowTip(event, 'tt233', 'link904')" onMouseOut="HideTip('tt233')">mxCell</a> whose overlays should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.removeCellOverlay"></a>removeCellOverlay</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeCellOverlay = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>overlay</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes and returns the given <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link905 onMouseOver="ShowTip(event, 'tt201', 'link905')" onMouseOut="HideTip('tt201')">mxCellOverlay</a> from the given cell.&nbsp; This method fires a &lt;removeoverlay&gt; event.&nbsp; If no overlay is given, then all overlays are removed using &lt;removeOverlays&gt;.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link906 onMouseOver="ShowTip(event, 'tt233', 'link906')" onMouseOut="HideTip('tt233')">mxCell</a> whose overlay should be removed.</td></tr><tr><td class=CDLEntry>overlay</td><td class=CDLDescription>Optional <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link907 onMouseOver="ShowTip(event, 'tt201', 'link907')" onMouseOut="HideTip('tt201')">mxCellOverlay</a> to be removed.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.removeCellOverlays"></a>removeCellOverlays</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeCellOverlays = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes all <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link908 onMouseOver="ShowTip(event, 'tt201', 'link908')" onMouseOut="HideTip('tt201')">mxCellOverlays</a> from the given cell.&nbsp; This method fires a &lt;removeoverlay&gt; event for each <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link909 onMouseOver="ShowTip(event, 'tt201', 'link909')" onMouseOut="HideTip('tt201')">mxCellOverlay</a> and returns the array of <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link910 onMouseOver="ShowTip(event, 'tt201', 'link910')" onMouseOut="HideTip('tt201')">mxCellOverlays</a> that was removed from the cell.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link911 onMouseOver="ShowTip(event, 'tt233', 'link911')" onMouseOut="HideTip('tt233')">mxCell</a> whose overlays should be removed</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.clearCellOverlays"></a>clearCellOverlays</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.clearCellOverlays = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes all <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link912 onMouseOver="ShowTip(event, 'tt201', 'link912')" onMouseOut="HideTip('tt201')">mxCellOverlays</a> in the graph for the given cell and all its descendants.&nbsp; If no cell is specified then all overlays are removed from the graph.&nbsp; This implementation uses <a href="#mxGraph.removeCellOverlays" class=LFunction id=link913 onMouseOver="ShowTip(event, 'tt34', 'link913')" onMouseOut="HideTip('tt34')">removeCellOverlays</a> to remove the overlays from the individual cells.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link914 onMouseOver="ShowTip(event, 'tt233', 'link914')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the root of the subtree to remove the overlays from.&nbsp; Default is the root in the model.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCellWarning"></a>setCellWarning</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellWarning = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>warning,</td></tr><tr><td></td><td class=PParameter nowrap>img,</td></tr><tr><td></td><td class=PParameter nowrap>isSelect</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates an overlay for the given cell using the warning and image or <a href="#mxGraph.warningImage" class=LVariable id=link915 onMouseOver="ShowTip(event, 'tt179', 'link915')" onMouseOut="HideTip('tt179')">warningImage</a> and returns the new <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link916 onMouseOver="ShowTip(event, 'tt201', 'link916')" onMouseOut="HideTip('tt201')">mxCellOverlay</a>.&nbsp; The warning is displayed as a tooltip in a red font and may contain HTML markup.&nbsp; If the warning is null or a zero length string, then all overlays are removed from the cell.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">graph.setCellWarning(cell, '&lt;b&gt;Warning:&lt;/b&gt;: Hello, World!');</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link917 onMouseOver="ShowTip(event, 'tt233', 'link917')" onMouseOut="HideTip('tt233')">mxCell</a> whose warning should be set.</td></tr><tr><td class=CDLEntry>warning</td><td class=CDLDescription>String that represents the warning to be displayed.</td></tr><tr><td class=CDLEntry>img</td><td class=CDLDescription>Optional <a href="../util/mxImage-js.html#mxImage" class=LClass id=link918 onMouseOver="ShowTip(event, 'tt76', 'link918')" onMouseOut="HideTip('tt76')">mxImage</a> to be used for the overlay.&nbsp; Default is <a href="#mxGraph.warningImage" class=LVariable id=link919 onMouseOver="ShowTip(event, 'tt179', 'link919')" onMouseOut="HideTip('tt179')">warningImage</a>.</td></tr><tr><td class=CDLEntry>isSelect</td><td class=CDLDescription>Optional boolean indicating if a click on the overlay should select the corresponding cell.&nbsp; Default is false.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.In-place_editing"></a>In-place editing</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.startEditing"></a>startEditing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.startEditing = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Calls <a href="#mxGraph.startEditingAtCell" class=LFunction id=link920 onMouseOver="ShowTip(event, 'tt30', 'link920')" onMouseOut="HideTip('tt30')">startEditingAtCell</a> using the given cell or the first selection cell.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Optional mouse event that triggered the editing.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.startEditingAtCell"></a>startEditingAtCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.startEditingAtCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Fires a <a href="#mxGraph.startEditing" class=LFunction id=link921 onMouseOver="ShowTip(event, 'tt205', 'link921')" onMouseOut="HideTip('tt205')">startEditing</a> event and invokes <a href="mxCellEditor-js.html#mxCellEditor.startEditing" class=LFunction id=link922 onMouseOver="ShowTip(event, 'tt206', 'link922')" onMouseOut="HideTip('tt206')">mxCellEditor.startEditing</a> on &lt;editor&gt;.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link923 onMouseOver="ShowTip(event, 'tt233', 'link923')" onMouseOut="HideTip('tt233')">mxCell</a> to start the in-place editor for.</td></tr><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Optional mouse event that triggered the editing.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getEditingValue"></a>getEditingValue</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getEditingValue = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the initial value for in-place editing.&nbsp; This implementation returns <a href="#mxGraph.convertValueToString" class=LFunction id=link924 onMouseOver="ShowTip(event, 'tt314', 'link924')" onMouseOut="HideTip('tt314')">convertValueToString</a> for the given cell.&nbsp; If this function is overridden, then <a href="../model/mxGraphModel-js.html#mxGraphModel.valueForCellChanged" class=LFunction id=link925 onMouseOver="ShowTip(event, 'tt492', 'link925')" onMouseOut="HideTip('tt492')">mxGraphModel.valueForCellChanged</a> should take care of correctly storing the actual new value inside the user object.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link926 onMouseOver="ShowTip(event, 'tt233', 'link926')" onMouseOut="HideTip('tt233')">mxCell</a> for which the initial editing value should be returned.</td></tr><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Optional mouse event that triggered the editor.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.stopEditing"></a>stopEditing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.stopEditing = function(</td><td class=PParameter nowrap>cancel</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Stops the current editing.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cancel</td><td class=CDLDescription>Boolean that specifies if the current editing value should be stored.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.labelChanged"></a>labelChanged</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.labelChanged = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the label of the specified cell to the given value using <a href="#mxGraph.cellLabelChanged" class=LFunction id=link927 onMouseOver="ShowTip(event, 'tt31', 'link927')" onMouseOut="HideTip('tt31')">cellLabelChanged</a> and fires <a href="#mxGraph.mxEvent.LABEL_CHANGED" class=LEvent id=link928 onMouseOver="ShowTip(event, 'tt210', 'link928')" onMouseOut="HideTip('tt210')">mxEvent.LABEL_CHANGED</a> while the transaction is in progress.&nbsp; Returns the cell whose label was changed.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link929 onMouseOver="ShowTip(event, 'tt233', 'link929')" onMouseOut="HideTip('tt233')">mxCell</a> whose label should be changed.</td></tr><tr><td class=CDLEntry>value</td><td class=CDLDescription>New label to be assigned.</td></tr><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Optional event that triggered the change.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellLabelChanged"></a>cellLabelChanged</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellLabelChanged = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>autoSize</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the new label for a cell.&nbsp; If autoSize is true then <a href="#mxGraph.cellSizeUpdated" class=LFunction id=link930 onMouseOver="ShowTip(event, 'tt250', 'link930')" onMouseOut="HideTip('tt250')">cellSizeUpdated</a> will be called.</p><p>In the following example, the function is extended to map changes to attributes in an XML node, as shown in <a href="#mxGraph.convertValueToString" class=LFunction id=link931 onMouseOver="ShowTip(event, 'tt314', 'link931')" onMouseOut="HideTip('tt314')">convertValueToString</a>.&nbsp; Alternatively, the handling of this can be implemented as shown in <a href="../model/mxGraphModel-js.html#mxGraphModel.valueForCellChanged" class=LFunction id=link932 onMouseOver="ShowTip(event, 'tt492', 'link932')" onMouseOut="HideTip('tt492')">mxGraphModel.valueForCellChanged</a> without the need to clone the user object.</p><blockquote><pre class="prettyprint">var graphCellLabelChanged = graph.cellLabelChanged;
graph.cellLabelChanged = function(cell, newValue, autoSize)
{
// Cloned for correct undo/redo
var elt = cell.value.cloneNode(true);
elt.setAttribute('label', newValue);
newValue = elt;
graphCellLabelChanged.apply(this, arguments);
};</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link933 onMouseOver="ShowTip(event, 'tt233', 'link933')" onMouseOut="HideTip('tt233')">mxCell</a> whose label should be changed.</td></tr><tr><td class=CDLEntry>value</td><td class=CDLDescription>New label to be assigned.</td></tr><tr><td class=CDLEntry>autoSize</td><td class=CDLDescription>Boolean that specifies if <a href="#mxGraph.cellSizeUpdated" class=LFunction id=link934 onMouseOver="ShowTip(event, 'tt250', 'link934')" onMouseOut="HideTip('tt250')">cellSizeUpdated</a> should be called.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Event_processing"></a>Event processing</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.escape"></a>escape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.escape = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Processes an escape keystroke.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Mouseevent that represents the keystroke.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.click"></a>click</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.click = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Processes a singleclick on an optional cell and fires a <a href="#mxGraph.click" class=LFunction id=link935 onMouseOver="ShowTip(event, 'tt24', 'link935')" onMouseOut="HideTip('tt24')">click</a> event.&nbsp; The click event is fired initially.&nbsp; If the graph is enabled and the event has not been consumed, then the cell is selected using <a href="#mxGraph.selectCellForEvent" class=LFunction id=link936 onMouseOver="ShowTip(event, 'tt470', 'link936')" onMouseOut="HideTip('tt470')">selectCellForEvent</a> or the selection is cleared using <a href="#mxGraph.clearSelection" class=LFunction id=link937 onMouseOver="ShowTip(event, 'tt450', 'link937')" onMouseOut="HideTip('tt450')">clearSelection</a>.&nbsp; The events consumed state is set to true if the corresponding <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link938 onMouseOver="ShowTip(event, 'tt211', 'link938')" onMouseOut="HideTip('tt211')">mxMouseEvent</a> has been consumed.</p><p>To handle a click event, use the following code.</p><blockquote><pre class="prettyprint">graph.addListener(mxEvent.CLICK, function(sender, evt)
{
var e = evt.getProperty('event'); // mouse event
var cell = evt.getProperty('cell'); // cell may be null
if (cell != null)
{
// Do something useful with cell and consume the event
evt.consume();
}
});</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>me</td><td class=CDLDescription><a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link939 onMouseOver="ShowTip(event, 'tt211', 'link939')" onMouseOut="HideTip('tt211')">mxMouseEvent</a> that represents the single click.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.dblClick"></a>dblClick</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.dblClick = function(</td><td class=PParameter nowrap>evt,</td></tr><tr><td></td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Processes a doubleclick on an optional cell and fires a &lt;dblclick&gt; event.&nbsp; The event is fired initially.&nbsp; If the graph is enabled and the event has not been consumed, then &lt;edit&gt; is called with the given cell.&nbsp; The event is ignored if no cell was specified.</p><p>Example for overriding this method.</p><blockquote><pre class="prettyprint">graph.dblClick = function(evt, cell)
{
var mxe = new mxEventObject(mxEvent.DOUBLE_CLICK, 'event', evt, 'cell', cell);
this.fireEvent(mxe);
if (this.isEnabled() &amp;&amp; !mxEvent.isConsumed(evt) &amp;&amp; !mxe.isConsumed())
{
mxUtils.alert('Hello, World!');
mxe.consume();
}
}</pre></blockquote><p>Example listener for this event.</p><blockquote><pre class="prettyprint">graph.addListener(mxEvent.DOUBLE_CLICK, function(sender, evt)
{
var cell = evt.getProperty('cell');
// do something with the cell...
});</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Mouseevent that represents the doubleclick.</td></tr><tr><td class=CDLEntry>cell</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link940 onMouseOver="ShowTip(event, 'tt233', 'link940')" onMouseOut="HideTip('tt233')">mxCell</a> under the mousepointer.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.tapAndHold"></a>tapAndHold</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.tapAndHold = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Handles the <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link941 onMouseOver="ShowTip(event, 'tt211', 'link941')" onMouseOut="HideTip('tt211')">mxMouseEvent</a> by highlighting the <a href="mxCellState-js.html#mxCellState" class=LClass id=link942 onMouseOver="ShowTip(event, 'tt43', 'link942')" onMouseOut="HideTip('tt43')">mxCellState</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>me</td><td class=CDLDescription><a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link943 onMouseOver="ShowTip(event, 'tt211', 'link943')" onMouseOut="HideTip('tt211')">mxMouseEvent</a> that represents the touch event.</td></tr><tr><td class=CDLEntry>state</td><td class=CDLDescription>Optional <a href="mxCellState-js.html#mxCellState" class=LClass id=link944 onMouseOver="ShowTip(event, 'tt43', 'link944')" onMouseOut="HideTip('tt43')">mxCellState</a> that is associated with the event.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.scrollPointToVisible"></a>scrollPointToVisible</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.scrollPointToVisible = function(</td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>extend,</td></tr><tr><td></td><td class=PParameter nowrap>border</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Scrolls the graph to the given point, extending the graph container if specified.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.createPanningManager"></a>createPanningManager</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.createPanningManager = function()</td></tr></table></blockquote><p>Creates and returns an <a href="../util/mxPanningManager-js.html#mxPanningManager" class=LClass id=link945 onMouseOver="ShowTip(event, 'tt213', 'link945')" onMouseOut="HideTip('tt213')">mxPanningManager</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getBorderSizes"></a>getBorderSizes</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getBorderSizes = function()</td></tr></table></blockquote><p>Returns the size of the border and padding on all four sides of the container.&nbsp; The left, top, right and bottom borders are stored in the x, y, width and height of the returned <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link946 onMouseOver="ShowTip(event, 'tt132', 'link946')" onMouseOut="HideTip('tt132')">mxRectangle</a>, respectively.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getPreferredPageSize"></a>getPreferredPageSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getPreferredPageSize = function(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>width,</td></tr><tr><td></td><td class=PParameter nowrap>height</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the preferred size of the background page if <a href="#mxGraph.preferPageSize" class=LVariable id=link947 onMouseOver="ShowTip(event, 'tt83', 'link947')" onMouseOut="HideTip('tt83')">preferPageSize</a> is true.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.sizeDidChange"></a>sizeDidChange</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.sizeDidChange = function()</td></tr></table></blockquote><p>Called when the size of the graph has changed.&nbsp; This implementation fires a &lt;size&gt; event after updating the clipping region of the SVG element in SVG-bases browsers.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.doResizeContainer"></a>doResizeContainer</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.doResizeContainer = function(</td><td class=PParameter nowrap>width,</td></tr><tr><td></td><td class=PParameter nowrap>height</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Resizes the container for the given graph width and height.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.updatePageBreaks"></a>updatePageBreaks</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.updatePageBreaks = function(</td><td class=PParameter nowrap>visible,</td></tr><tr><td></td><td class=PParameter nowrap>width,</td></tr><tr><td></td><td class=PParameter nowrap>height</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Invokes from <a href="#mxGraph.sizeDidChange" class=LFunction id=link948 onMouseOver="ShowTip(event, 'tt29', 'link948')" onMouseOut="HideTip('tt29')">sizeDidChange</a> to redraw the page breaks.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>visible</td><td class=CDLDescription>Boolean that specifies if page breaks should be shown.</td></tr><tr><td class=CDLEntry>width</td><td class=CDLDescription>Specifies the width of the container in pixels.</td></tr><tr><td class=CDLEntry>height</td><td class=CDLDescription>Specifies the height of the container in pixels.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Cell_styles"></a>Cell styles</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCellStyle"></a>getCellStyle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellStyle = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns an array of key, value pairs representing the cell style for the given cell.&nbsp; If no string is defined in the model that specifies the style, then the default style for the cell is returned or <a href="#mxGraph.EMPTY_ARRAY" class=LVariable id=link949 onMouseOver="ShowTip(event, 'tt36', 'link949')" onMouseOut="HideTip('tt36')">EMPTY_ARRAY</a>, if not style can be found.&nbsp; 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.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link950 onMouseOver="ShowTip(event, 'tt233', 'link950')" onMouseOut="HideTip('tt233')">mxCell</a> whose style should be returned as an array.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.postProcessCellStyle"></a>postProcessCellStyle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.postProcessCellStyle = function(</td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>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.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCellStyle"></a>setCellStyle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellStyle = function(</td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the style of the specified cells.&nbsp; If no cells are given, then the selection cells are changed.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>style</td><td class=CDLDescription>String representing the new style of the cells.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Optional array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link951 onMouseOver="ShowTip(event, 'tt233', 'link951')" onMouseOut="HideTip('tt233')">mxCells</a> to set the style for.&nbsp; Default is the selection cells.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.toggleCellStyle"></a>toggleCellStyle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.toggleCellStyle = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>defaultValue,</td></tr><tr><td></td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Toggles the boolean value for the given key in the style of the given cell.&nbsp; If no cell is specified then the selection cell is used.</p><h4 class=CHeading>Parameter</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>key</td><td class=CDLDescription>String representing the key for the boolean value to be toggled.</td></tr><tr><td class=CDLEntry>defaultValue</td><td class=CDLDescription>Optional boolean default value if no value is defined.&nbsp; Default is false.</td></tr><tr><td class=CDLEntry>cell</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link952 onMouseOver="ShowTip(event, 'tt233', 'link952')" onMouseOut="HideTip('tt233')">mxCell</a> whose style should be modified.&nbsp; Default is the selection cell.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.toggleCellStyles"></a>toggleCellStyles</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.toggleCellStyles = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>defaultValue,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Toggles the boolean value for the given key in the style of the given cells.&nbsp; If no cells are specified, then the selection cells are used.&nbsp; For example, this can be used to toggle <a href="../util/mxConstants-js.html#mxConstants.STYLE_ROUNDED" class=LVariable id=link953 onMouseOver="ShowTip(event, 'tt506', 'link953')" onMouseOut="HideTip('tt506')">mxConstants.STYLE_ROUNDED</a> or any other style with a boolean value.</p><h4 class=CHeading>Parameter</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>key</td><td class=CDLDescription>String representing the key for the boolean value to be toggled.</td></tr><tr><td class=CDLEntry>defaultValue</td><td class=CDLDescription>Optional boolean default value if no value is defined.&nbsp; Default is false.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Optional array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link954 onMouseOver="ShowTip(event, 'tt233', 'link954')" onMouseOut="HideTip('tt233')">mxCells</a> whose styles should be modified.&nbsp; Default is the selection cells.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCellStyles"></a>setCellStyles</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellStyles = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the key to value in the styles of the given cells.&nbsp; This will modify the existing cell styles in-place and override any existing assignment for the given key.&nbsp; If no cells are specified, then the selection cells are changed.&nbsp; If no value is specified, then the respective key is removed from the styles.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>key</td><td class=CDLDescription>String representing the key to be assigned.</td></tr><tr><td class=CDLEntry>value</td><td class=CDLDescription>String representing the new value for the key.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Optional array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link955 onMouseOver="ShowTip(event, 'tt233', 'link955')" onMouseOut="HideTip('tt233')">mxCells</a> to change the style for.&nbsp; Default is the selection cells.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.toggleCellStyleFlags"></a>toggleCellStyleFlags</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.toggleCellStyleFlags = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>flag,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Toggles the given bit for the given key in the styles of the specified cells.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>key</td><td class=CDLDescription>String representing the key to toggle the flag in.</td></tr><tr><td class=CDLEntry>flag</td><td class=CDLDescription>Integer that represents the bit to be toggled.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Optional array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link956 onMouseOver="ShowTip(event, 'tt233', 'link956')" onMouseOut="HideTip('tt233')">mxCells</a> to change the style for.&nbsp; Default is the selection cells.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCellStyleFlags"></a>setCellStyleFlags</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellStyleFlags = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>flag,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets or toggles the given bit for the given key in the styles of the specified cells.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>key</td><td class=CDLDescription>String representing the key to toggle the flag in.</td></tr><tr><td class=CDLEntry>flag</td><td class=CDLDescription>Integer that represents the bit to be toggled.</td></tr><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean value to be used or null if the value should be toggled.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Optional array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link957 onMouseOver="ShowTip(event, 'tt233', 'link957')" onMouseOut="HideTip('tt233')">mxCells</a> to change the style for.&nbsp; Default is the selection cells.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Cell_alignment_and_orientation"></a>Cell alignment and orientation</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.alignCells"></a>alignCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.alignCells = function(</td><td class=PParameter nowrap>align,</td></tr><tr><td></td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>param</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>align</td><td class=CDLDescription>Specifies the alignment.&nbsp; Possible values are all constants in mxConstants with an ALIGN prefix.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link958 onMouseOver="ShowTip(event, 'tt233', 'link958')" onMouseOut="HideTip('tt233')">mxCells</a> to be aligned.</td></tr><tr><td class=CDLEntry>param</td><td class=CDLDescription>Optional coordinate for the alignment.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.flipEdge"></a>flipEdge</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.flipEdge = function(</td><td class=PParameter nowrap>edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Toggles the style of the given edge between null (or empty) and <a href="#mxGraph.alternateEdgeStyle" class=LVariable id=link959 onMouseOver="ShowTip(event, 'tt74', 'link959')" onMouseOut="HideTip('tt74')">alternateEdgeStyle</a>.&nbsp; This method fires <a href="#mxGraph.mxEvent.FLIP_EDGE" class=LEvent id=link960 onMouseOver="ShowTip(event, 'tt507', 'link960')" onMouseOut="HideTip('tt507')">mxEvent.FLIP_EDGE</a> while the transaction is in progress.&nbsp; Returns the edge that was flipped.</p><p>Here is an example that overrides this implementation to invert the value of <a href="../util/mxConstants-js.html#mxConstants.STYLE_ELBOW" class=LVariable id=link961 onMouseOver="ShowTip(event, 'tt508', 'link961')" onMouseOut="HideTip('tt508')">mxConstants.STYLE_ELBOW</a> without removing any existing styles.</p><blockquote><pre class="prettyprint">graph.flipEdge = function(edge)
{
if (edge != null)
{
var state = this.view.getState(edge);
var style = (state != null) ? state.style : this.getCellStyle(edge);
if (style != null)
{
var elbow = mxUtils.getValue(style, mxConstants.STYLE_ELBOW,
mxConstants.ELBOW_HORIZONTAL);
var value = (elbow == mxConstants.ELBOW_HORIZONTAL) ?
mxConstants.ELBOW_VERTICAL : mxConstants.ELBOW_HORIZONTAL;
this.setCellStyles(mxConstants.STYLE_ELBOW, value, [edge]);
}
}
};</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link962 onMouseOver="ShowTip(event, 'tt233', 'link962')" onMouseOut="HideTip('tt233')">mxCell</a> whose style should be changed.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.addImageBundle"></a>addImageBundle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addImageBundle = function(</td><td class=PParameter nowrap>bundle</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the specified <a href="../util/mxImageBundle-js.html#mxImageBundle" class=LClass id=link963 onMouseOver="ShowTip(event, 'tt227', 'link963')" onMouseOut="HideTip('tt227')">mxImageBundle</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.removeImageBundle"></a>removeImageBundle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeImageBundle = function(</td><td class=PParameter nowrap>bundle</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the specified <a href="../util/mxImageBundle-js.html#mxImageBundle" class=LClass id=link964 onMouseOver="ShowTip(event, 'tt227', 'link964')" onMouseOut="HideTip('tt227')">mxImageBundle</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getImageFromBundles"></a>getImageFromBundles</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getImageFromBundles = function(</td><td class=PParameter nowrap>key</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Searches all <a href="#mxGraph.imageBundles" class=LVariable id=link965 onMouseOver="ShowTip(event, 'tt171', 'link965')" onMouseOut="HideTip('tt171')">imageBundles</a> for the specified key and returns the value for the first match or null if the key is not found.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Order"></a>Order</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.orderCells"></a>orderCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.orderCells = function(</td><td class=PParameter nowrap>back,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Moves the given cells to the front or back.&nbsp; The change is carried out using <a href="#mxGraph.cellsOrdered" class=LFunction id=link966 onMouseOver="ShowTip(event, 'tt5', 'link966')" onMouseOut="HideTip('tt5')">cellsOrdered</a>.&nbsp; This method fires <a href="#mxGraph.mxEvent.ORDER_CELLS" class=LEvent id=link967 onMouseOver="ShowTip(event, 'tt509', 'link967')" onMouseOut="HideTip('tt509')">mxEvent.ORDER_CELLS</a> while the transaction is in progress.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>back</td><td class=CDLDescription>Boolean that specifies if the cells should be moved to back.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link968 onMouseOver="ShowTip(event, 'tt233', 'link968')" onMouseOut="HideTip('tt233')">mxCells</a> to move to the background.&nbsp; If null is specified then the selection cells are used.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsOrdered"></a>cellsOrdered</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsOrdered = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>back</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Moves the given cells to the front or back.&nbsp; This method fires <a href="#mxGraph.mxEvent.CELLS_ORDERED" class=LEvent id=link969 onMouseOver="ShowTip(event, 'tt510', 'link969')" onMouseOut="HideTip('tt510')">mxEvent.CELLS_ORDERED</a> while the transaction is in progress.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link970 onMouseOver="ShowTip(event, 'tt233', 'link970')" onMouseOut="HideTip('tt233')">mxCells</a> whose order should be changed.</td></tr><tr><td class=CDLEntry>back</td><td class=CDLDescription>Boolean that specifies if the cells should be moved to back.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Grouping"></a>Grouping</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.groupCells"></a>groupCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.groupCells = function(</td><td class=PParameter nowrap>group,</td></tr><tr><td></td><td class=PParameter nowrap>border,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the cells into the given group.&nbsp; The change is carried out using <a href="#mxGraph.cellsAdded" class=LFunction id=link971 onMouseOver="ShowTip(event, 'tt10', 'link971')" onMouseOut="HideTip('tt10')">cellsAdded</a>, <a href="#mxGraph.cellsMoved" class=LFunction id=link972 onMouseOver="ShowTip(event, 'tt20', 'link972')" onMouseOut="HideTip('tt20')">cellsMoved</a> and <a href="#mxGraph.cellsResized" class=LFunction id=link973 onMouseOver="ShowTip(event, 'tt18', 'link973')" onMouseOut="HideTip('tt18')">cellsResized</a>.&nbsp; This method fires <a href="#mxGraph.mxEvent.GROUP_CELLS" class=LEvent id=link974 onMouseOver="ShowTip(event, 'tt511', 'link974')" onMouseOut="HideTip('tt511')">mxEvent.GROUP_CELLS</a> while the transaction is in progress.&nbsp; Returns the new group.&nbsp; A group is only created if there is at least one entry in the given array of cells.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>group</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link975 onMouseOver="ShowTip(event, 'tt233', 'link975')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the target group.&nbsp; If null is specified then a new group is created using <a href="#mxGraph.createGroupCell" class=LFunction id=link976 onMouseOver="ShowTip(event, 'tt232', 'link976')" onMouseOut="HideTip('tt232')">createGroupCell</a>.</td></tr><tr><td class=CDLEntry>border</td><td class=CDLDescription>Optional integer that specifies the border between the child area and the group bounds.&nbsp; Default is 0.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Optional array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link977 onMouseOver="ShowTip(event, 'tt233', 'link977')" onMouseOut="HideTip('tt233')">mxCells</a> to be grouped.&nbsp; If null is specified then the selection cells are used.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCellsForGroup"></a>getCellsForGroup</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellsForGroup = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cells with the same parent as the first cell in the given array.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getBoundsForGroup"></a>getBoundsForGroup</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getBoundsForGroup = function(</td><td class=PParameter nowrap>group,</td></tr><tr><td></td><td class=PParameter nowrap>children,</td></tr><tr><td></td><td class=PParameter nowrap>border</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the bounds to be used for the given group and children.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.createGroupCell"></a>createGroupCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.createGroupCell = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Hook for creating the group cell to hold the given array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link978 onMouseOver="ShowTip(event, 'tt233', 'link978')" onMouseOut="HideTip('tt233')">mxCells</a> if no group cell was given to the &lt;group&gt; function.</p><p>The following code can be used to set the style of new group cells.</p><blockquote><pre class="prettyprint">var graphCreateGroupCell = graph.createGroupCell;
graph.createGroupCell = function(cells)
{
var group = graphCreateGroupCell.apply(this, arguments);
group.setStyle('group');
return group;
};</pre></blockquote></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.ungroupCells"></a>ungroupCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.ungroupCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups.&nbsp; Returns the children that have been removed from the groups.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of cells to be ungrouped.&nbsp; If null is specified then the selection cells are used.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.removeCellsFromParent"></a>removeCellsFromParent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeCellsFromParent = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the specified cells from their parents and adds them to the default parent.&nbsp; Returns the cells that were removed from their parents.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link979 onMouseOver="ShowTip(event, 'tt233', 'link979')" onMouseOut="HideTip('tt233')">mxCells</a> to be removed from their parents.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.updateGroupBounds"></a>updateGroupBounds</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.updateGroupBounds = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>border,</td></tr><tr><td></td><td class=PParameter nowrap>moveGroup</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the bounds of the given array of groups so that it includes all child vertices.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>The groups whose bounds should be updated.</td></tr><tr><td class=CDLEntry>border</td><td class=CDLDescription>Optional border to be added in the group.&nbsp; Default is 0.</td></tr><tr><td class=CDLEntry>moveGroup</td><td class=CDLDescription>Optional boolean that allows the group to be moved.&nbsp; Default is false.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Cell_cloning,insertion_and_removal"></a>Cell cloning, insertion and removal</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cloneCells"></a>cloneCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cloneCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>allowInvalidEdges</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the clones for the given cells.&nbsp; 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.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link980 onMouseOver="ShowTip(event, 'tt233', 'link980')" onMouseOut="HideTip('tt233')">mxCells</a> to be cloned.</td></tr><tr><td class=CDLEntry>allowInvalidEdges</td><td class=CDLDescription>Optional boolean that specifies if invalid edges should be cloned.&nbsp; Default is true.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.insertVertex"></a>insertVertex</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.insertVertex = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>width,</td></tr><tr><td></td><td class=PParameter nowrap>height,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>relative</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds a new vertex into the given parent <a href="../model/mxCell-js.html#mxCell" class=LClass id=link981 onMouseOver="ShowTip(event, 'tt233', 'link981')" onMouseOut="HideTip('tt233')">mxCell</a> using value as the user object and the given coordinates as the <a href="../model/mxGeometry-js.html#mxGeometry" class=LClass id=link982 onMouseOver="ShowTip(event, 'tt237', 'link982')" onMouseOut="HideTip('tt237')">mxGeometry</a> of the new vertex.&nbsp; The id and style are used for the respective properties of the new <a href="../model/mxCell-js.html#mxCell" class=LClass id=link983 onMouseOver="ShowTip(event, 'tt233', 'link983')" onMouseOut="HideTip('tt233')">mxCell</a>, which is returned.</p><p>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 <a href="#mxGraph.getPointForEvent" class=LFunction id=link984 onMouseOver="ShowTip(event, 'tt443', 'link984')" onMouseOut="HideTip('tt443')">mxGraph.getPointForEvent</a> as follows:</p><blockquote><pre class="prettyprint">var pt = graph.getPointForEvent(evt);
var parent = graph.getDefaultParent();
graph.insertVertex(parent, null,
'Hello, World!', x, y, 220, 30);</pre></blockquote><p>For adding image cells, the style parameter can be assigned as</p><blockquote><pre class="prettyprint">stylename;image=imageUrl</pre></blockquote><p>See <a href="#mxGraph.mxGraph" class=LFunction id=link985 onMouseOver="ShowTip(event, 'tt35', 'link985')" onMouseOut="HideTip('tt35')">mxGraph</a> for more information on using images.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link986 onMouseOver="ShowTip(event, 'tt233', 'link986')" onMouseOut="HideTip('tt233')">mxCell</a> that specifies the parent of the new vertex.</td></tr><tr><td class=CDLEntry>id</td><td class=CDLDescription>Optional string that defines the Id of the new vertex.</td></tr><tr><td class=CDLEntry>value</td><td class=CDLDescription>Object to be used as the user object.</td></tr><tr><td class=CDLEntry>x</td><td class=CDLDescription>Integer that defines the x coordinate of the vertex.</td></tr><tr><td class=CDLEntry>y</td><td class=CDLDescription>Integer that defines the y coordinate of the vertex.</td></tr><tr><td class=CDLEntry>width</td><td class=CDLDescription>Integer that defines the width of the vertex.</td></tr><tr><td class=CDLEntry>height</td><td class=CDLDescription>Integer that defines the height of the vertex.</td></tr><tr><td class=CDLEntry>style</td><td class=CDLDescription>Optional string that defines the cell style.</td></tr><tr><td class=CDLEntry>relative</td><td class=CDLDescription>Optional boolean that specifies if the geometry is relative.&nbsp; Default is false.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.createVertex"></a>createVertex</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.createVertex = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>width,</td></tr><tr><td></td><td class=PParameter nowrap>height,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>relative</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Hook method that creates the new vertex for <a href="#mxGraph.insertVertex" class=LFunction id=link987 onMouseOver="ShowTip(event, 'tt236', 'link987')" onMouseOut="HideTip('tt236')">insertVertex</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.insertEdge"></a>insertEdge</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.insertEdge = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds a new edge into the given parent <a href="../model/mxCell-js.html#mxCell" class=LClass id=link988 onMouseOver="ShowTip(event, 'tt233', 'link988')" onMouseOut="HideTip('tt233')">mxCell</a> using value as the user object and the given source and target as the terminals of the new edge.&nbsp; The id and style are used for the respective properties of the new <a href="../model/mxCell-js.html#mxCell" class=LClass id=link989 onMouseOver="ShowTip(event, 'tt233', 'link989')" onMouseOut="HideTip('tt233')">mxCell</a>, which is returned.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link990 onMouseOver="ShowTip(event, 'tt233', 'link990')" onMouseOut="HideTip('tt233')">mxCell</a> that specifies the parent of the new edge.</td></tr><tr><td class=CDLEntry>id</td><td class=CDLDescription>Optional string that defines the Id of the new edge.</td></tr><tr><td class=CDLEntry>value</td><td class=CDLDescription>JavaScript object to be used as the user object.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link991 onMouseOver="ShowTip(event, 'tt233', 'link991')" onMouseOut="HideTip('tt233')">mxCell</a> that defines the source of the edge.</td></tr><tr><td class=CDLEntry>target</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link992 onMouseOver="ShowTip(event, 'tt233', 'link992')" onMouseOut="HideTip('tt233')">mxCell</a> that defines the target of the edge.</td></tr><tr><td class=CDLEntry>style</td><td class=CDLDescription>Optional string that defines the cell style.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.createEdge"></a>createEdge</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.createEdge = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Hook method that creates the new edge for <a href="#mxGraph.insertEdge" class=LFunction id=link993 onMouseOver="ShowTip(event, 'tt239', 'link993')" onMouseOut="HideTip('tt239')">insertEdge</a>.&nbsp; This implementation does not set the source and target of the edge, these are set when the edge is added to the model.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.addEdge"></a>addEdge</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addEdge = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>index</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the edge to the parent and connects it to the given source and target terminals.&nbsp; This is a shortcut method.&nbsp; Returns the edge that was added.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link994 onMouseOver="ShowTip(event, 'tt233', 'link994')" onMouseOut="HideTip('tt233')">mxCell</a> to be inserted into the given parent.</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link995 onMouseOver="ShowTip(event, 'tt233', 'link995')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the new parent.&nbsp; If no parent is given then the default parent is used.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link996 onMouseOver="ShowTip(event, 'tt233', 'link996')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the source terminal.</td></tr><tr><td class=CDLEntry>target</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link997 onMouseOver="ShowTip(event, 'tt233', 'link997')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the target terminal.</td></tr><tr><td class=CDLEntry>index</td><td class=CDLDescription>Optional index to insert the cells at.&nbsp; Default is to append.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.addCell"></a>addCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>index,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the cell to the parent and connects it to the given source and target terminals.&nbsp; This is a shortcut method.&nbsp; Returns the cell that was added.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link998 onMouseOver="ShowTip(event, 'tt233', 'link998')" onMouseOut="HideTip('tt233')">mxCell</a> to be inserted into the given parent.</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link999 onMouseOver="ShowTip(event, 'tt233', 'link999')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the new parent.&nbsp; If no parent is given then the default parent is used.</td></tr><tr><td class=CDLEntry>index</td><td class=CDLDescription>Optional index to insert the cells at.&nbsp; Default is to append.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1000 onMouseOver="ShowTip(event, 'tt233', 'link1000')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the source terminal.</td></tr><tr><td class=CDLEntry>target</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1001 onMouseOver="ShowTip(event, 'tt233', 'link1001')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the target terminal.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.addCells"></a>addCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>index,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal.&nbsp; The change is carried out using <a href="#mxGraph.cellsAdded" class=LFunction id=link1002 onMouseOver="ShowTip(event, 'tt10', 'link1002')" onMouseOut="HideTip('tt10')">cellsAdded</a>.&nbsp; This method fires <a href="#mxGraph.mxEvent.ADD_CELLS" class=LEvent id=link1003 onMouseOver="ShowTip(event, 'tt512', 'link1003')" onMouseOut="HideTip('tt512')">mxEvent.ADD_CELLS</a> while the transaction is in progress.&nbsp; Returns the cells that were added.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1004 onMouseOver="ShowTip(event, 'tt233', 'link1004')" onMouseOut="HideTip('tt233')">mxCells</a> to be inserted.</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1005 onMouseOver="ShowTip(event, 'tt233', 'link1005')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the new parent.&nbsp; If no parent is given then the default parent is used.</td></tr><tr><td class=CDLEntry>index</td><td class=CDLDescription>Optional index to insert the cells at.&nbsp; Default is to append.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>Optional source <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1006 onMouseOver="ShowTip(event, 'tt233', 'link1006')" onMouseOut="HideTip('tt233')">mxCell</a> for all inserted cells.</td></tr><tr><td class=CDLEntry>target</td><td class=CDLDescription>Optional target <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1007 onMouseOver="ShowTip(event, 'tt233', 'link1007')" onMouseOut="HideTip('tt233')">mxCell</a> for all inserted cells.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsAdded"></a>cellsAdded</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsAdded = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>index,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>absolute,</td></tr><tr><td></td><td class=PParameter nowrap>constrain</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the specified cells to the given parent.&nbsp; This method fires <a href="#mxGraph.mxEvent.CELLS_ADDED" class=LEvent id=link1008 onMouseOver="ShowTip(event, 'tt513', 'link1008')" onMouseOut="HideTip('tt513')">mxEvent.CELLS_ADDED</a> while the transaction is in progress.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.autoSizeCell"></a>autoSizeCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.autoSizeCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the given cells from the graph including all connected edges if includeEdges is true.&nbsp; The change is carried out using <a href="#mxGraph.cellsRemoved" class=LFunction id=link1009 onMouseOver="ShowTip(event, 'tt12', 'link1009')" onMouseOut="HideTip('tt12')">cellsRemoved</a>.&nbsp; This method fires <a href="#mxGraph.mxEvent.REMOVE_CELLS" class=LEvent id=link1010 onMouseOver="ShowTip(event, 'tt514', 'link1010')" onMouseOut="HideTip('tt514')">mxEvent.REMOVE_CELLS</a> while the transaction is in progress.&nbsp; The removed cells are returned as an array.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1011 onMouseOver="ShowTip(event, 'tt233', 'link1011')" onMouseOut="HideTip('tt233')">mxCells</a> to be resized.</td></tr><tr><td class=CDLEntry>recurse</td><td class=CDLDescription>Optional boolean which specifies if all descendants should be autosized.&nbsp; Default is true.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.removeCells"></a>removeCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>includeEdges</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the given cells from the graph including all connected edges if includeEdges is true.&nbsp; The change is carried out using <a href="#mxGraph.cellsRemoved" class=LFunction id=link1012 onMouseOver="ShowTip(event, 'tt12', 'link1012')" onMouseOut="HideTip('tt12')">cellsRemoved</a>.&nbsp; This method fires <a href="#mxGraph.mxEvent.REMOVE_CELLS" class=LEvent id=link1013 onMouseOver="ShowTip(event, 'tt514', 'link1013')" onMouseOut="HideTip('tt514')">mxEvent.REMOVE_CELLS</a> while the transaction is in progress.&nbsp; The removed cells are returned as an array.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1014 onMouseOver="ShowTip(event, 'tt233', 'link1014')" onMouseOut="HideTip('tt233')">mxCells</a> to remove.&nbsp; If null is specified then the selection cells which are deletable are used.</td></tr><tr><td class=CDLEntry>includeEdges</td><td class=CDLDescription>Optional boolean which specifies if all connected edges should be removed as well.&nbsp; Default is true.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsRemoved"></a>cellsRemoved</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsRemoved = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the given cells from the model.&nbsp; This method fires <a href="#mxGraph.mxEvent.CELLS_REMOVED" class=LEvent id=link1015 onMouseOver="ShowTip(event, 'tt515', 'link1015')" onMouseOut="HideTip('tt515')">mxEvent.CELLS_REMOVED</a> while the transaction is in progress.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1016 onMouseOver="ShowTip(event, 'tt233', 'link1016')" onMouseOut="HideTip('tt233')">mxCells</a> to remove.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.splitEdge"></a>splitEdge</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.splitEdge = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>newEdge,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>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.&nbsp; This method fires <a href="#mxGraph.mxEvent.SPLIT_EDGE" class=LEvent id=link1017 onMouseOver="ShowTip(event, 'tt516', 'link1017')" onMouseOut="HideTip('tt516')">mxEvent.SPLIT_EDGE</a> while the transaction is in progress.&nbsp; Returns the new edge that was inserted.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1018 onMouseOver="ShowTip(event, 'tt233', 'link1018')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the edge to be splitted.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1019 onMouseOver="ShowTip(event, 'tt233', 'link1019')" onMouseOut="HideTip('tt233')">mxCells</a> that represents the cells to insert into the edge.</td></tr><tr><td class=CDLEntry>newEdge</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1020 onMouseOver="ShowTip(event, 'tt233', 'link1020')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the edge to be inserted.</td></tr><tr><td class=CDLEntry>dx</td><td class=CDLDescription>Optional integer that specifies the vector to move the cells.</td></tr><tr><td class=CDLEntry>dy</td><td class=CDLDescription>Optional integer that specifies the vector to move the cells.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Cell_visibility"></a>Cell visibility</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.toggleCells"></a>toggleCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.toggleCells = function(</td><td class=PParameter nowrap>show,</td></tr><tr><td></td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>includeEdges</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the visible state of the specified cells and all connected edges if includeEdges is true.&nbsp; The change is carried out using <a href="#mxGraph.cellsToggled" class=LFunction id=link1021 onMouseOver="ShowTip(event, 'tt244', 'link1021')" onMouseOut="HideTip('tt244')">cellsToggled</a>.&nbsp; This method fires <a href="#mxGraph.mxEvent.TOGGLE_CELLS" class=LEvent id=link1022 onMouseOver="ShowTip(event, 'tt517', 'link1022')" onMouseOut="HideTip('tt517')">mxEvent.TOGGLE_CELLS</a> while the transaction is in progress.&nbsp; Returns the cells whose visible state was changed.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>show</td><td class=CDLDescription>Boolean that specifies the visible state to be assigned.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1023 onMouseOver="ShowTip(event, 'tt233', 'link1023')" onMouseOut="HideTip('tt233')">mxCells</a> whose visible state should be changed.&nbsp; If null is specified then the selection cells are used.</td></tr><tr><td class=CDLEntry>includeEdges</td><td class=CDLDescription>Optional boolean indicating if the visible state of all connected edges should be changed as well.&nbsp; Default is true.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsToggled"></a>cellsToggled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsToggled = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>show</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the visible state of the specified cells.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1024 onMouseOver="ShowTip(event, 'tt233', 'link1024')" onMouseOut="HideTip('tt233')">mxCells</a> whose visible state should be changed.</td></tr><tr><td class=CDLEntry>show</td><td class=CDLDescription>Boolean that specifies the visible state to be assigned.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Folding"></a>Folding</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.foldCells"></a>foldCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.foldCells = function(</td><td class=PParameter nowrap>collapse,</td></tr><tr><td></td><td class=PParameter nowrap>recurse,</td></tr><tr><td></td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>checkFoldable</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the collapsed state of the specified cells and all descendants if recurse is true.&nbsp; The change is carried out using <a href="#mxGraph.cellsFolded" class=LFunction id=link1025 onMouseOver="ShowTip(event, 'tt245', 'link1025')" onMouseOut="HideTip('tt245')">cellsFolded</a>.&nbsp; This method fires <a href="#mxGraph.mxEvent.FOLD_CELLS" class=LEvent id=link1026 onMouseOver="ShowTip(event, 'tt518', 'link1026')" onMouseOut="HideTip('tt518')">mxEvent.FOLD_CELLS</a> while the transaction is in progress.&nbsp; Returns the cells whose collapsed state was changed.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>collapsed</td><td class=CDLDescription>Boolean indicating the collapsed state to be assigned.</td></tr><tr><td class=CDLEntry>recurse</td><td class=CDLDescription>Optional boolean indicating if the collapsed state of all descendants should be set.&nbsp; Default is false.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1027 onMouseOver="ShowTip(event, 'tt233', 'link1027')" onMouseOut="HideTip('tt233')">mxCells</a> whose collapsed state should be set.&nbsp; If null is specified then the foldable selection cells are used.</td></tr><tr><td class=CDLEntry>checkFoldable</td><td class=CDLDescription>Optional boolean indicating of isCellFoldable should be checked.&nbsp; Default is false.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsFolded"></a>cellsFolded</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsFolded = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>collapse,</td></tr><tr><td></td><td class=PParameter nowrap>recurse,</td></tr><tr><td></td><td class=PParameter nowrap>checkFoldable</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the collapsed state of the specified cells.&nbsp; This method fires <a href="#mxGraph.mxEvent.CELLS_FOLDED" class=LEvent id=link1028 onMouseOver="ShowTip(event, 'tt519', 'link1028')" onMouseOut="HideTip('tt519')">mxEvent.CELLS_FOLDED</a> while the transaction is in progress.&nbsp; Returns the cells whose collapsed state was changed.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1029 onMouseOver="ShowTip(event, 'tt233', 'link1029')" onMouseOut="HideTip('tt233')">mxCells</a> whose collapsed state should be set.</td></tr><tr><td class=CDLEntry>collapsed</td><td class=CDLDescription>Boolean indicating the collapsed state to be assigned.</td></tr><tr><td class=CDLEntry>recurse</td><td class=CDLDescription>Boolean indicating if the collapsed state of all descendants should be set.</td></tr><tr><td class=CDLEntry>checkFoldable</td><td class=CDLDescription>Optional boolean indicating of isCellFoldable should be checked.&nbsp; Default is false.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.swapBounds"></a>swapBounds</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.swapBounds = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>willCollapse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Swaps the alternate and the actual bounds in the geometry of the given cell invoking <a href="#mxGraph.updateAlternateBounds" class=LFunction id=link1030 onMouseOver="ShowTip(event, 'tt247', 'link1030')" onMouseOut="HideTip('tt247')">updateAlternateBounds</a> before carrying out the swap.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1031 onMouseOver="ShowTip(event, 'tt233', 'link1031')" onMouseOut="HideTip('tt233')">mxCell</a> for which the bounds should be swapped.</td></tr><tr><td class=CDLEntry>willCollapse</td><td class=CDLDescription>Boolean indicating if the cell is going to be collapsed.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.updateAlternateBounds"></a>updateAlternateBounds</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.updateAlternateBounds = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>geo,</td></tr><tr><td></td><td class=PParameter nowrap>willCollapse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed.&nbsp; If no alternate bounds are defined in the geometry and <a href="#mxGraph.collapseToPreferredSize" class=LVariable id=link1032 onMouseOver="ShowTip(event, 'tt147', 'link1032')" onMouseOut="HideTip('tt147')">collapseToPreferredSize</a> is true, then the preferred size is used for the alternate bounds.&nbsp; The top, left corner is always kept at the same location.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1033 onMouseOver="ShowTip(event, 'tt233', 'link1033')" onMouseOut="HideTip('tt233')">mxCell</a> for which the geometry is being udpated.</td></tr><tr><td class=CDLEntry>g</td><td class=CDLDescription><a href="../model/mxGeometry-js.html#mxGeometry" class=LClass id=link1034 onMouseOver="ShowTip(event, 'tt237', 'link1034')" onMouseOut="HideTip('tt237')">mxGeometry</a> for which the alternate bounds should be updated.</td></tr><tr><td class=CDLEntry>willCollapse</td><td class=CDLDescription>Boolean indicating if the cell is going to be collapsed.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.addAllEdges"></a>addAllEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addAllEdges = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns an array with the given cells and all edges that are connected to a cell or one of its descendants.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getAllEdges"></a>getAllEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getAllEdges = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns all edges connected to the given cells or its descendants.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Cell_sizing"></a>Cell sizing</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.updateCellSize"></a>updateCellSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.updateCellSize = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>ignoreChildren</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the size of the given cell in the model using <a href="#mxGraph.cellSizeUpdated" class=LFunction id=link1035 onMouseOver="ShowTip(event, 'tt250', 'link1035')" onMouseOut="HideTip('tt250')">cellSizeUpdated</a>.&nbsp; This method fires <a href="#mxGraph.mxEvent.UPDATE_CELL_SIZE" class=LEvent id=link1036 onMouseOver="ShowTip(event, 'tt520', 'link1036')" onMouseOut="HideTip('tt520')">mxEvent.UPDATE_CELL_SIZE</a> while the transaction is in progress.&nbsp; Returns the cell whose size was updated.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1037 onMouseOver="ShowTip(event, 'tt233', 'link1037')" onMouseOut="HideTip('tt233')">mxCell</a> whose size should be updated.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellSizeUpdated"></a>cellSizeUpdated</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellSizeUpdated = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>ignoreChildren</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the size of the given cell in the model using <a href="#mxGraph.getPreferredSizeForCell" class=LFunction id=link1038 onMouseOver="ShowTip(event, 'tt251', 'link1038')" onMouseOut="HideTip('tt251')">getPreferredSizeForCell</a> to get the new size.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1039 onMouseOver="ShowTip(event, 'tt233', 'link1039')" onMouseOut="HideTip('tt233')">mxCell</a> for which the size should be changed.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getPreferredSizeForCell"></a>getPreferredSizeForCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getPreferredSizeForCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the preferred width and height of the given <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1040 onMouseOver="ShowTip(event, 'tt233', 'link1040')" onMouseOut="HideTip('tt233')">mxCell</a> as an <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link1041 onMouseOver="ShowTip(event, 'tt132', 'link1041')" onMouseOut="HideTip('tt132')">mxRectangle</a>.&nbsp; To implement a minimum width, add a new style eg. minWidth in the vertex and override this method as follows.</p><blockquote><pre class="prettyprint">var graphGetPreferredSizeForCell = graph.getPreferredSizeForCell;
graph.getPreferredSizeForCell = function(cell)
{
var result = graphGetPreferredSizeForCell.apply(this, arguments);
var style = this.getCellStyle(cell);
if (style['minWidth'] &gt; 0)
{
result.width = Math.max(style['minWidth'], result.width);
}
return result;
};</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1042 onMouseOver="ShowTip(event, 'tt233', 'link1042')" onMouseOut="HideTip('tt233')">mxCell</a> for which the preferred size should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.resizeCell"></a>resizeCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.resizeCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the bounds of the given cell using <a href="#mxGraph.resizeCells" class=LFunction id=link1043 onMouseOver="ShowTip(event, 'tt17', 'link1043')" onMouseOut="HideTip('tt17')">resizeCells</a>.&nbsp; Returns the cell which was passed to the function.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1044 onMouseOver="ShowTip(event, 'tt233', 'link1044')" onMouseOut="HideTip('tt233')">mxCell</a> whose bounds should be changed.</td></tr><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link1045 onMouseOver="ShowTip(event, 'tt132', 'link1045')" onMouseOut="HideTip('tt132')">mxRectangle</a> that represents the new bounds.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.resizeCells"></a>resizeCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.resizeCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the bounds of the given cells and fires a <a href="#mxGraph.mxEvent.RESIZE_CELLS" class=LEvent id=link1046 onMouseOver="ShowTip(event, 'tt253', 'link1046')" onMouseOut="HideTip('tt253')">mxEvent.RESIZE_CELLS</a> event while the transaction is in progress.&nbsp; Returns the cells which have been passed to the function.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1047 onMouseOver="ShowTip(event, 'tt233', 'link1047')" onMouseOut="HideTip('tt233')">mxCells</a> whose bounds should be changed.</td></tr><tr><td class=CDLEntry>bounds</td><td class=CDLDescription>Array of <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link1048 onMouseOver="ShowTip(event, 'tt132', 'link1048')" onMouseOut="HideTip('tt132')">mxRectangles</a> that represent the new bounds.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsResized"></a>cellsResized</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsResized = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the bounds of the given cells and fires a <a href="#mxGraph.mxEvent.CELLS_RESIZED" class=LEvent id=link1049 onMouseOver="ShowTip(event, 'tt254', 'link1049')" onMouseOut="HideTip('tt254')">mxEvent.CELLS_RESIZED</a> event.&nbsp; If <a href="#mxGraph.extendParents" class=LVariable id=link1050 onMouseOver="ShowTip(event, 'tt143', 'link1050')" onMouseOut="HideTip('tt143')">extendParents</a> is true, then the parent is extended if a child size is changed so that it overlaps with the parent.</p><p>The following example shows how to control group resizes to make sure that all child cells stay within the group.</p><blockquote><pre class="prettyprint">graph.addListener(mxEvent.CELLS_RESIZED, function(sender, evt)
{
var cells = evt.getProperty('cells');
if (cells != null)
{
for (var i = 0; i &lt; cells.length; i++)
{
if (graph.getModel().getChildCount(cells[i]) &gt; 0)
{
var geo = graph.getCellGeometry(cells[i]);
if (geo != null)
{
var children = graph.getChildCells(cells[i], true, true);
var bounds = graph.getBoundingBoxFromGeometry(children, true);
geo = geo.clone();
geo.width = Math.max(geo.width, bounds.width);
geo.height = Math.max(geo.height, bounds.height);
graph.getModel().setGeometry(cells[i], geo);
}
}
}
}
});</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1051 onMouseOver="ShowTip(event, 'tt233', 'link1051')" onMouseOut="HideTip('tt233')">mxCells</a> whose bounds should be changed.</td></tr><tr><td class=CDLEntry>bounds</td><td class=CDLDescription>Array of <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link1052 onMouseOver="ShowTip(event, 'tt132', 'link1052')" onMouseOut="HideTip('tt132')">mxRectangles</a> that represent the new bounds.</td></tr><tr><td class=CDLEntry>recurse</td><td class=CDLDescription>Optional boolean that specifies if the children should be resized.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellResized"></a>cellResized</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellResized = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>ignoreRelative,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Resizes the parents recursively so that they contain the complete area of the resized child cell.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1053 onMouseOver="ShowTip(event, 'tt233', 'link1053')" onMouseOut="HideTip('tt233')">mxCell</a> whose bounds should be changed.</td></tr><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link1054 onMouseOver="ShowTip(event, 'tt132', 'link1054')" onMouseOut="HideTip('tt132')">mxRectangles</a> that represent the new bounds.</td></tr><tr><td class=CDLEntry>ignoreRelative</td><td class=CDLDescription>Boolean that indicates if relative cells should be ignored.</td></tr><tr><td class=CDLEntry>recurse</td><td class=CDLDescription>Optional boolean that specifies if the children should be resized.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.resizeChildCells"></a>resizeChildCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.resizeChildCells = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>newGeo</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1055 onMouseOver="ShowTip(event, 'tt233', 'link1055')" onMouseOut="HideTip('tt233')">mxCell</a> that has been resized.</td></tr><tr><td class=CDLEntry>newGeo</td><td class=CDLDescription><a href="../model/mxGeometry-js.html#mxGeometry" class=LClass id=link1056 onMouseOver="ShowTip(event, 'tt237', 'link1056')" onMouseOut="HideTip('tt237')">mxGeometry</a> that represents the new bounds.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.constrainChildCells"></a>constrainChildCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.constrainChildCells = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constrains the children of the given cell using <a href="#mxGraph.constrainChild" class=LFunction id=link1057 onMouseOver="ShowTip(event, 'tt258', 'link1057')" onMouseOut="HideTip('tt258')">constrainChild</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1058 onMouseOver="ShowTip(event, 'tt233', 'link1058')" onMouseOut="HideTip('tt233')">mxCell</a> that has been resized.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.scaleCell"></a>scaleCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.scaleCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1059 onMouseOver="ShowTip(event, 'tt233', 'link1059')" onMouseOut="HideTip('tt233')">mxCell</a> whose geometry should be scaled.</td></tr><tr><td class=CDLEntry>dx</td><td class=CDLDescription>Horizontal scaling factor.</td></tr><tr><td class=CDLEntry>dy</td><td class=CDLDescription>Vertical scaling factor.</td></tr><tr><td class=CDLEntry>recurse</td><td class=CDLDescription>Boolean indicating if the child cells should be scaled.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.extendParent"></a>extendParent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.extendParent = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Resizes the parents recursively so that they contain the complete area of the resized child cell.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1060 onMouseOver="ShowTip(event, 'tt233', 'link1060')" onMouseOut="HideTip('tt233')">mxCell</a> that has been resized.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Cell_moving"></a>Cell moving</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.importCells"></a>importCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.importCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Clones and inserts the given cells into the graph using the move method and returns the inserted cells.&nbsp; This shortcut is used if cells are inserted via datatransfer.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.moveCells"></a>moveCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.moveCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy,</td></tr><tr><td></td><td class=PParameter nowrap>clone,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell.&nbsp; The evt is the mouse event as the mouse was released.&nbsp; The change is carried out using <a href="#mxGraph.cellsMoved" class=LFunction id=link1061 onMouseOver="ShowTip(event, 'tt20', 'link1061')" onMouseOut="HideTip('tt20')">cellsMoved</a>.&nbsp; This method fires <a href="#mxGraph.mxEvent.MOVE_CELLS" class=LEvent id=link1062 onMouseOver="ShowTip(event, 'tt521', 'link1062')" onMouseOut="HideTip('tt521')">mxEvent.MOVE_CELLS</a> while the transaction is in progress.&nbsp; Returns the cells that were moved.</p><p>Use the following code to move all cells in the graph.</p><blockquote><pre class="prettyprint">graph.moveCells(graph.getChildCells(null, true, true), 10, 10);</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1063 onMouseOver="ShowTip(event, 'tt233', 'link1063')" onMouseOut="HideTip('tt233')">mxCells</a> to be moved, cloned or added to the target.</td></tr><tr><td class=CDLEntry>dx</td><td class=CDLDescription>Integer that specifies the x-coordinate of the vector.&nbsp; Default is 0.</td></tr><tr><td class=CDLEntry>dy</td><td class=CDLDescription>Integer that specifies the y-coordinate of the vector.&nbsp; Default is 0.</td></tr><tr><td class=CDLEntry>clone</td><td class=CDLDescription>Boolean indicating if the cells should be cloned.&nbsp; Default is false.</td></tr><tr><td class=CDLEntry>target</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1064 onMouseOver="ShowTip(event, 'tt233', 'link1064')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the new parent of the cells.</td></tr><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Mouseevent that triggered the invocation.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellsMoved"></a>cellsMoved</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsMoved = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy,</td></tr><tr><td></td><td class=PParameter nowrap>disconnect,</td></tr><tr><td></td><td class=PParameter nowrap>constrain,</td></tr><tr><td></td><td class=PParameter nowrap>extend</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true.&nbsp; This method fires <a href="#mxGraph.mxEvent.CELLS_MOVED" class=LEvent id=link1065 onMouseOver="ShowTip(event, 'tt522', 'link1065')" onMouseOut="HideTip('tt522')">mxEvent.CELLS_MOVED</a> while the transaction is in progress.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.translateCell"></a>translateCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.translateCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCellContainmentArea"></a>getCellContainmentArea</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellContainmentArea = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link1066 onMouseOver="ShowTip(event, 'tt132', 'link1066')" onMouseOut="HideTip('tt132')">mxRectangle</a> inside which a cell is to be kept.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1067 onMouseOver="ShowTip(event, 'tt233', 'link1067')" onMouseOut="HideTip('tt233')">mxCell</a> for which the area should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getMaximumGraphBounds"></a>getMaximumGraphBounds</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getMaximumGraphBounds = function()</td></tr></table></blockquote><p>Returns the bounds inside which the diagram should be kept as an <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link1068 onMouseOver="ShowTip(event, 'tt132', 'link1068')" onMouseOut="HideTip('tt132')">mxRectangle</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.constrainChild"></a>constrainChild</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.constrainChild = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Keeps the given cell inside the bounds returned by <a href="#mxGraph.getCellContainmentArea" class=LFunction id=link1069 onMouseOver="ShowTip(event, 'tt263', 'link1069')" onMouseOut="HideTip('tt263')">getCellContainmentArea</a> for its parent, according to the rules defined by <a href="#mxGraph.getOverlap" class=LFunction id=link1070 onMouseOver="ShowTip(event, 'tt71', 'link1070')" onMouseOut="HideTip('tt71')">getOverlap</a> and <a href="#mxGraph.isConstrainChild" class=LFunction id=link1071 onMouseOver="ShowTip(event, 'tt265', 'link1071')" onMouseOut="HideTip('tt265')">isConstrainChild</a>.&nbsp; This modifies the cell&rsquo;s geometry in-place and does not clone it.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1072 onMouseOver="ShowTip(event, 'tt233', 'link1072')" onMouseOut="HideTip('tt233')">mxCell</a> which should be constrained.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.resetEdges"></a>resetEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.resetEdges = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>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.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1073 onMouseOver="ShowTip(event, 'tt233', 'link1073')" onMouseOut="HideTip('tt233')">mxCells</a> for which the connected edges should be reset.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.resetEdge"></a>resetEdge</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.resetEdge = function(</td><td class=PParameter nowrap>edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Resets the control points of the given edge.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1074 onMouseOver="ShowTip(event, 'tt233', 'link1074')" onMouseOut="HideTip('tt233')">mxCell</a> whose points should be reset.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Cell_connecting_and_connection_constraints"></a>Cell connecting and connection constraints</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getAllConnectionConstraints"></a>getAllConnectionConstraints</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getAllConnectionConstraints = function(</td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns an array of all <a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link1075 onMouseOver="ShowTip(event, 'tt269', 'link1075')" onMouseOut="HideTip('tt269')">mxConnectionConstraints</a> for the given terminal.&nbsp; If the shape of the given terminal is a &lt;mxStencilShape&gt; then the constraints of the corresponding <a href="../shape/mxStencil-js.html#mxStencil" class=LClass id=link1076 onMouseOver="ShowTip(event, 'tt523', 'link1076')" onMouseOut="HideTip('tt523')">mxStencil</a> are returned.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>terminal</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1077 onMouseOver="ShowTip(event, 'tt43', 'link1077')" onMouseOut="HideTip('tt43')">mxCellState</a> that represents the terminal.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>Boolean that specifies if the terminal is the source or target.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getConnectionConstraint"></a>getConnectionConstraint</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getConnectionConstraint = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns an <a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link1078 onMouseOver="ShowTip(event, 'tt269', 'link1078')" onMouseOut="HideTip('tt269')">mxConnectionConstraint</a> that describes the given connection point.&nbsp; This result can then be passed to <a href="#mxGraph.getConnectionPoint" class=LFunction id=link1079 onMouseOver="ShowTip(event, 'tt272', 'link1079')" onMouseOut="HideTip('tt272')">getConnectionPoint</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1080 onMouseOver="ShowTip(event, 'tt43', 'link1080')" onMouseOut="HideTip('tt43')">mxCellState</a> that represents the edge.</td></tr><tr><td class=CDLEntry>terminal</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1081 onMouseOver="ShowTip(event, 'tt43', 'link1081')" onMouseOut="HideTip('tt43')">mxCellState</a> that represents the terminal.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>Boolean indicating if the terminal is the source or target.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setConnectionConstraint"></a>setConnectionConstraint</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setConnectionConstraint = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>constraint</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the <a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link1082 onMouseOver="ShowTip(event, 'tt269', 'link1082')" onMouseOut="HideTip('tt269')">mxConnectionConstraint</a> that describes the given connection point.&nbsp; If no constraint is given then nothing is changed.&nbsp; To remove an existing constraint from the given edge, use an empty constraint instead.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1083 onMouseOver="ShowTip(event, 'tt233', 'link1083')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the edge.</td></tr><tr><td class=CDLEntry>terminal</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1084 onMouseOver="ShowTip(event, 'tt233', 'link1084')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the terminal.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>Boolean indicating if the terminal is the source or target.</td></tr><tr><td class=CDLEntry>constraint</td><td class=CDLDescription>Optional <a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link1085 onMouseOver="ShowTip(event, 'tt269', 'link1085')" onMouseOut="HideTip('tt269')">mxConnectionConstraint</a> to be used for this connection.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getConnectionPoint"></a>getConnectionPoint</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getConnectionPoint = function(</td><td class=PParameter nowrap>vertex,</td></tr><tr><td></td><td class=PParameter nowrap>constraint</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the nearest point in the list of absolute points or the center of the opposite terminal.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>vertex</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1086 onMouseOver="ShowTip(event, 'tt43', 'link1086')" onMouseOut="HideTip('tt43')">mxCellState</a> that represents the vertex.</td></tr><tr><td class=CDLEntry>constraint</td><td class=CDLDescription><a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link1087 onMouseOver="ShowTip(event, 'tt269', 'link1087')" onMouseOut="HideTip('tt269')">mxConnectionConstraint</a> that represents the connection point constraint as returned by <a href="#mxGraph.getConnectionConstraint" class=LFunction id=link1088 onMouseOver="ShowTip(event, 'tt270', 'link1088')" onMouseOut="HideTip('tt270')">getConnectionConstraint</a>.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.connectCell"></a>connectCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.connectCell = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>constraint</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Connects the specified end of the given edge to the given terminal using <a href="#mxGraph.cellConnected" class=LFunction id=link1089 onMouseOver="ShowTip(event, 'tt22', 'link1089')" onMouseOut="HideTip('tt22')">cellConnected</a> and fires <a href="#mxGraph.mxEvent.CONNECT_CELL" class=LEvent id=link1090 onMouseOver="ShowTip(event, 'tt273', 'link1090')" onMouseOut="HideTip('tt273')">mxEvent.CONNECT_CELL</a> while the transaction is in progress.&nbsp; Returns the updated edge.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1091 onMouseOver="ShowTip(event, 'tt233', 'link1091')" onMouseOut="HideTip('tt233')">mxCell</a> whose terminal should be updated.</td></tr><tr><td class=CDLEntry>terminal</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1092 onMouseOver="ShowTip(event, 'tt233', 'link1092')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the new terminal to be used.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>Boolean indicating if the new terminal is the source or target.</td></tr><tr><td class=CDLEntry>constraint</td><td class=CDLDescription>Optional <a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link1093 onMouseOver="ShowTip(event, 'tt269', 'link1093')" onMouseOut="HideTip('tt269')">mxConnectionConstraint</a> to be used for this connection.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.cellConnected"></a>cellConnected</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellConnected = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>constraint</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the new terminal for the given edge and resets the edge points if <a href="#mxGraph.resetEdgesOnConnect" class=LVariable id=link1094 onMouseOver="ShowTip(event, 'tt156', 'link1094')" onMouseOut="HideTip('tt156')">resetEdgesOnConnect</a> is true.&nbsp; This method fires <a href="#mxGraph.mxEvent.CELL_CONNECTED" class=LEvent id=link1095 onMouseOver="ShowTip(event, 'tt524', 'link1095')" onMouseOut="HideTip('tt524')">mxEvent.CELL_CONNECTED</a> while the transaction is in progress.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1096 onMouseOver="ShowTip(event, 'tt233', 'link1096')" onMouseOut="HideTip('tt233')">mxCell</a> whose terminal should be updated.</td></tr><tr><td class=CDLEntry>terminal</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1097 onMouseOver="ShowTip(event, 'tt233', 'link1097')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the new terminal to be used.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>Boolean indicating if the new terminal is the source or target.</td></tr><tr><td class=CDLEntry>constraint</td><td class=CDLDescription><a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link1098 onMouseOver="ShowTip(event, 'tt269', 'link1098')" onMouseOut="HideTip('tt269')">mxConnectionConstraint</a> to be used for this connection.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.disconnectGraph"></a>disconnectGraph</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.disconnectGraph = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Disconnects the given edges from the terminals which are not in the given array.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1099 onMouseOver="ShowTip(event, 'tt233', 'link1099')" onMouseOut="HideTip('tt233')">mxCells</a> to be disconnected.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Drilldown"></a>Drilldown</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCurrentRoot"></a>getCurrentRoot</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getCurrentRoot = function()</td></tr></table></blockquote><p>Returns the current root of the displayed cell hierarchy.&nbsp; This is a shortcut to <a href="mxGraphView-js.html#mxGraphView.currentRoot" class=LVariable id=link1100 onMouseOver="ShowTip(event, 'tt425', 'link1100')" onMouseOut="HideTip('tt425')">mxGraphView.currentRoot</a> in <a href="#mxGraph.view" class=LVariable id=link1101 onMouseOver="ShowTip(event, 'tt41', 'link1101')" onMouseOut="HideTip('tt41')">view</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getTranslateForRoot"></a>getTranslateForRoot</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getTranslateForRoot = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the translation to be used if the given cell is the root cell as an <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link1102 onMouseOver="ShowTip(event, 'tt277', 'link1102')" onMouseOut="HideTip('tt277')">mxPoint</a>.&nbsp; This implementation returns null.</p><h4 class=CHeading>Example</h4><p>To keep the children at their absolute position while stepping into groups, this function can be overridden as follows.</p><blockquote><pre class="prettyprint">var offset = new mxPoint(0, 0);
while (cell != null)
{
var geo = this.model.getGeometry(cell);
if (geo != null)
{
offset.x -= geo.x;
offset.y -= geo.y;
}
cell = this.model.getParent(cell);
}
return offset;</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1103 onMouseOver="ShowTip(event, 'tt233', 'link1103')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the root.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isPort"></a>isPort</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isPort = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is a &ldquo;port&rdquo;, 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.&nbsp; Note that a port should not be movable.&nbsp; This implementation always returns false.</p><h4 class=CHeading>A typical implementation is the following</h4><blockquote><pre class="prettyprint">graph.isPort = function(cell)
{
var geo = this.getCellGeometry(cell);
return (geo != null) ? geo.relative : false;
};</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1104 onMouseOver="ShowTip(event, 'tt233', 'link1104')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the port.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getTerminalForPort"></a>getTerminalForPort</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getTerminalForPort = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the terminal to be used for a given port.&nbsp; This implementation always returns the parent cell.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1105 onMouseOver="ShowTip(event, 'tt233', 'link1105')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the port.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>If the cell is the source or target port.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getChildOffsetForCell"></a>getChildOffsetForCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getChildOffsetForCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the offset to be used for the cells inside the given cell.&nbsp; The root and layer cells may be identified using <a href="../model/mxGraphModel-js.html#mxGraphModel.isRoot" class=LFunction id=link1106 onMouseOver="ShowTip(event, 'tt525', 'link1106')" onMouseOut="HideTip('tt525')">mxGraphModel.isRoot</a> and <a href="../model/mxGraphModel-js.html#mxGraphModel.isLayer" class=LFunction id=link1107 onMouseOver="ShowTip(event, 'tt526', 'link1107')" onMouseOut="HideTip('tt526')">mxGraphModel.isLayer</a>.&nbsp; For all other current roots, the <a href="mxGraphView-js.html#mxGraphView.currentRoot" class=LVariable id=link1108 onMouseOver="ShowTip(event, 'tt425', 'link1108')" onMouseOut="HideTip('tt425')">mxGraphView.currentRoot</a> field points to the respective cell, so that the following holds: cell == this.view.currentRoot.&nbsp; This implementation returns null.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1109 onMouseOver="ShowTip(event, 'tt233', 'link1109')" onMouseOut="HideTip('tt233')">mxCell</a> whose offset should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.enterGroup"></a>enterGroup</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.enterGroup = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Uses the given cell as the root of the displayed cell hierarchy.&nbsp; If no cell is specified then the selection cell is used.&nbsp; The cell is only used if <a href="#mxGraph.isValidRoot" class=LFunction id=link1110 onMouseOver="ShowTip(event, 'tt284', 'link1110')" onMouseOut="HideTip('tt284')">isValidRoot</a> returns true.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1111 onMouseOver="ShowTip(event, 'tt233', 'link1111')" onMouseOut="HideTip('tt233')">mxCell</a> to be used as the new root.&nbsp; Default is the selection cell.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.exitGroup"></a>exitGroup</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.exitGroup = function()</td></tr></table></blockquote><p>Changes the current root to the next valid root in the displayed cell hierarchy.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.home"></a>home</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.home = function()</td></tr></table></blockquote><p>Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isValidRoot"></a>isValidRoot</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isValidRoot = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is a valid root for the cell display hierarchy.&nbsp; This implementation returns true for all non-null values.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1112 onMouseOver="ShowTip(event, 'tt233', 'link1112')" onMouseOut="HideTip('tt233')">mxCell</a> which should be checked as a possible root.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Graph_display"></a>Graph display</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getGraphBounds"></a>getGraphBounds</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getGraphBounds = function()</td></tr></table></blockquote><p>Returns the bounds of the visible graph.&nbsp; Shortcut to <a href="mxGraphView-js.html#mxGraphView.getGraphBounds" class=LFunction id=link1113 onMouseOver="ShowTip(event, 'tt527', 'link1113')" onMouseOut="HideTip('tt527')">mxGraphView.getGraphBounds</a>.&nbsp; See also: <a href="#mxGraph.getBoundingBoxFromGeometry" class=LFunction id=link1114 onMouseOver="ShowTip(event, 'tt287', 'link1114')" onMouseOut="HideTip('tt287')">getBoundingBoxFromGeometry</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCellBounds"></a>getCellBounds</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellBounds = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>includeEdges,</td></tr><tr><td></td><td class=PParameter nowrap>includeDescendants</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the scaled, translated bounds for the given cell.&nbsp; See <a href="mxGraphView-js.html#mxGraphView.getBounds" class=LFunction id=link1115 onMouseOver="ShowTip(event, 'tt528', 'link1115')" onMouseOut="HideTip('tt528')">mxGraphView.getBounds</a> for arrays.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1116 onMouseOver="ShowTip(event, 'tt233', 'link1116')" onMouseOut="HideTip('tt233')">mxCell</a> whose bounds should be returned.</td></tr><tr><td class=CDLEntry>includeEdge</td><td class=CDLDescription>Optional boolean that specifies if the bounds of the connected edges should be included.&nbsp; Default is false.</td></tr><tr><td class=CDLEntry>includeDescendants</td><td class=CDLDescription>Optional boolean that specifies if the bounds of all descendants should be included.&nbsp; Default is false.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getBoundingBoxFromGeometry"></a>getBoundingBoxFromGeometry</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getBoundingBoxFromGeometry = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>includeEdges</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the bounding box for the geometries of the vertices in the given array of cells.&nbsp; This can be used to find the graph bounds during a layout operation (ie. before the last endUpdate) as follows:</p><blockquote><pre class="prettyprint">var cells = graph.getChildCells(graph.getDefaultParent(), true, true);
var bounds = graph.getBoundingBoxFromGeometry(cells, true);</pre></blockquote><h4 class=CHeading>This can then be used to move cells to the origin</h4><blockquote><pre class="prettyprint">if (bounds.x &lt; 0 || bounds.y &lt; 0)
{
graph.moveCells(cells, -Math.min(bounds.x, 0), -Math.min(bounds.y, 0))
}</pre></blockquote><h4 class=CHeading>Or to translate the graph view</h4><blockquote><pre class="prettyprint">if (bounds.x &lt; 0 || bounds.y &lt; 0)
{
graph.view.setTranslate(-Math.min(bounds.x, 0), -Math.min(bounds.y, 0));
}</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1117 onMouseOver="ShowTip(event, 'tt233', 'link1117')" onMouseOut="HideTip('tt233')">mxCells</a> whose bounds should be returned.</td></tr><tr><td class=CDLEntry>includeEdges</td><td class=CDLDescription>Specifies if edge bounds should be included by computing the bounding box for all points its geometry.&nbsp; Default is false.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.refresh"></a>refresh</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.refresh = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph.&nbsp; This fires a refresh event as the last step.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1118 onMouseOver="ShowTip(event, 'tt233', 'link1118')" onMouseOut="HideTip('tt233')">mxCell</a> for which the cell states should be cleared.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.snap"></a>snap</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.snap = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Snaps the given numeric value to the grid if <a href="#mxGraph.gridEnabled" class=LVariable id=link1119 onMouseOver="ShowTip(event, 'tt57', 'link1119')" onMouseOut="HideTip('tt57')">gridEnabled</a> is true.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Numeric value to be snapped to the grid.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.panGraph"></a>panGraph</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.panGraph = function(</td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Shifts the graph display by the given amount.&nbsp; This is used to preview panning operations, use <a href="mxGraphView-js.html#mxGraphView.setTranslate" class=LFunction id=link1120 onMouseOver="ShowTip(event, 'tt529', 'link1120')" onMouseOut="HideTip('tt529')">mxGraphView.setTranslate</a> to set a persistent translation of the view.&nbsp; Fires <a href="../util/mxEvent-js.html#mxEvent.PAN" class=LVariable id=link1121 onMouseOver="ShowTip(event, 'tt530', 'link1121')" onMouseOut="HideTip('tt530')">mxEvent.PAN</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>dx</td><td class=CDLDescription>Amount to shift the graph along the x-axis.</td></tr><tr><td class=CDLEntry>dy</td><td class=CDLDescription>Amount to shift the graph along the y-axis.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.zoomIn"></a>zoomIn</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.zoomIn = function()</td></tr></table></blockquote><p>Zooms into the graph by <a href="#mxGraph.zoomFactor" class=LVariable id=link1122 onMouseOver="ShowTip(event, 'tt148', 'link1122')" onMouseOut="HideTip('tt148')">zoomFactor</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.zoomOut"></a>zoomOut</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.zoomOut = function()</td></tr></table></blockquote><p>Zooms out of the graph by <a href="#mxGraph.zoomFactor" class=LVariable id=link1123 onMouseOver="ShowTip(event, 'tt148', 'link1123')" onMouseOut="HideTip('tt148')">zoomFactor</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.zoomActual"></a>zoomActual</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.zoomActual = function()</td></tr></table></blockquote><p>Resets the zoom and panning in the view.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.zoomTo"></a>zoomTo</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.zoomTo = function(</td><td class=PParameter nowrap>scale,</td></tr><tr><td></td><td class=PParameter nowrap>center</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Zooms the graph to the given scale with an optional boolean center argument, which is passd to <a href="#mxGraph.zoom" class=LFunction id=link1124 onMouseOver="ShowTip(event, 'tt291', 'link1124')" onMouseOut="HideTip('tt291')">zoom</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.zoom"></a>zoom</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.zoom = function(</td><td class=PParameter nowrap>factor,</td></tr><tr><td></td><td class=PParameter nowrap>center</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Zooms the graph using the given factor.&nbsp; Center is an optional boolean argument that keeps the graph scrolled to the center.&nbsp; If the center argument is omitted, then <a href="#mxGraph.centerZoom" class=LVariable id=link1125 onMouseOver="ShowTip(event, 'tt152', 'link1125')" onMouseOut="HideTip('tt152')">centerZoom</a> will be used as its value.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.zoomToRect"></a>zoomToRect</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.zoomToRect = function(</td><td class=PParameter nowrap>rect</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Zooms the graph to the specified rectangle.&nbsp; 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.&nbsp; The original rectangle is centralised within this expanded one.</p><p>Note that the input rectangular must be un-scaled and un-translated.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>rect</td><td class=CDLDescription>The un-scaled and un-translated rectangluar region that should be just visible after the operation</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.fit"></a>fit</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.fit = function(</td><td class=PParameter nowrap>border,</td></tr><tr><td></td><td class=PParameter nowrap>keepOrigin</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Scales the graph such that the complete diagram fits into &lt;container&gt; and returns the current scale in the view.&nbsp; To fit an initial graph prior to rendering, set <a href="mxGraphView-js.html#mxGraphView.rendering" class=LVariable id=link1126 onMouseOver="ShowTip(event, 'tt531', 'link1126')" onMouseOut="HideTip('tt531')">mxGraphView.rendering</a> to false prior to changing the model and execute the following after changing the model.</p><blockquote><pre class="prettyprint">graph.fit();
graph.view.rendering = true;
graph.refresh();</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>border</td><td class=CDLDescription>Optional number that specifies the border.&nbsp; Default is 0.</td></tr><tr><td class=CDLEntry>keepOrigin</td><td class=CDLDescription>Optional boolean that specifies if the translate should be changed.&nbsp; Default is false.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.scrollCellToVisible"></a>scrollCellToVisible</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.scrollCellToVisible = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>center</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Pans the graph so that it shows the given cell.&nbsp; Optionally the cell may be centered in the container.</p><p>To center a given graph if the &lt;container&gt; has no scrollbars, use the following code.</p><p>[code] var bounds = graph.getGraphBounds(); graph.view.setTranslate(-bounds.x - (bounds.width - container.clientWidth) / 2, -bounds.y - (bounds.height - container.clientHeight) / 2); [/code]</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1127 onMouseOver="ShowTip(event, 'tt233', 'link1127')" onMouseOut="HideTip('tt233')">mxCell</a> to be made visible.</td></tr><tr><td class=CDLEntry>center</td><td class=CDLDescription>Optional boolean flag.&nbsp; Default is false.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.scrollRectToVisible"></a>scrollRectToVisible</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.scrollRectToVisible = function(</td><td class=PParameter nowrap>rect</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Pans the graph so that it shows the given rectangle.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>rect</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link1128 onMouseOver="ShowTip(event, 'tt132', 'link1128')" onMouseOut="HideTip('tt132')">mxRectangle</a> to be made visible.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCellGeometry"></a>getCellGeometry</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellGeometry = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the <a href="../model/mxGeometry-js.html#mxGeometry" class=LClass id=link1129 onMouseOver="ShowTip(event, 'tt237', 'link1129')" onMouseOut="HideTip('tt237')">mxGeometry</a> for the given cell.&nbsp; This implementation uses <a href="../model/mxGraphModel-js.html#mxGraphModel.getGeometry" class=LFunction id=link1130 onMouseOver="ShowTip(event, 'tt532', 'link1130')" onMouseOut="HideTip('tt532')">mxGraphModel.getGeometry</a>.&nbsp; 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.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1131 onMouseOver="ShowTip(event, 'tt233', 'link1131')" onMouseOut="HideTip('tt233')">mxCell</a> whose geometry should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellVisible"></a>isCellVisible</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellVisible = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is visible in this graph.&nbsp; This implementation uses <a href="../model/mxGraphModel-js.html#mxGraphModel.isVisible" class=LFunction id=link1132 onMouseOver="ShowTip(event, 'tt533', 'link1132')" onMouseOut="HideTip('tt533')">mxGraphModel.isVisible</a>.&nbsp; Subclassers can override this to implement specific visibility for cells in only one graph, that is, without affecting the visible state of the cell.</p><p>When using dynamic filter expressions for cell visibility, then the graph should be revalidated after the filter expression has changed.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1133 onMouseOver="ShowTip(event, 'tt233', 'link1133')" onMouseOut="HideTip('tt233')">mxCell</a> whose visible state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellCollapsed"></a>isCellCollapsed</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellCollapsed = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is collapsed in this graph.&nbsp; This implementation uses <a href="../model/mxGraphModel-js.html#mxGraphModel.isCollapsed" class=LFunction id=link1134 onMouseOver="ShowTip(event, 'tt534', 'link1134')" onMouseOut="HideTip('tt534')">mxGraphModel.isCollapsed</a>.&nbsp; 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.</p><p>When using dynamic filter expressions for the collapsed state, then the graph should be revalidated after the filter expression has changed.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1135 onMouseOver="ShowTip(event, 'tt233', 'link1135')" onMouseOut="HideTip('tt233')">mxCell</a> whose collapsed state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellConnectable"></a>isCellConnectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellConnectable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is connectable in this graph.&nbsp; This implementation uses <a href="../model/mxGraphModel-js.html#mxGraphModel.isConnectable" class=LFunction id=link1136 onMouseOver="ShowTip(event, 'tt535', 'link1136')" onMouseOut="HideTip('tt535')">mxGraphModel.isConnectable</a>.&nbsp; 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.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1137 onMouseOver="ShowTip(event, 'tt233', 'link1137')" onMouseOut="HideTip('tt233')">mxCell</a> whose connectable state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isOrthogonal"></a>isOrthogonal</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isOrthogonal = function(</td><td class=PParameter nowrap>edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1138 onMouseOver="ShowTip(event, 'tt43', 'link1138')" onMouseOut="HideTip('tt43')">mxCellState</a> that represents the edge.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isLoop"></a>isLoop</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isLoop = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell state is a loop.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1139 onMouseOver="ShowTip(event, 'tt43', 'link1139')" onMouseOut="HideTip('tt43')">mxCellState</a> that represents a potential loop.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCloneEvent"></a>isCloneEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCloneEvent = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given event is a clone event.&nbsp; This implementation returns true if control is pressed.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isToggleEvent"></a>isToggleEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isToggleEvent = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given event is a toggle event.&nbsp; This implementation returns true if the meta key (Cmd) is pressed on Macs or if control is pressed on any other platform.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isGridEnabledEvent"></a>isGridEnabledEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isGridEnabledEvent = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given mouse event should be aligned to the grid.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isConstrainedEvent"></a>isConstrainedEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isConstrainedEvent = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given mouse event should be aligned to the grid.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Validation"></a>Validation</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.validationAlert"></a>validationAlert</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.validationAlert = function(</td><td class=PParameter nowrap>message</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Displays the given validation error in a dialog.&nbsp; This implementation uses mxUtils.alert.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isEdgeValid"></a>isEdgeValid</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isEdgeValid = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Checks if the return value of <a href="#mxGraph.getEdgeValidationError" class=LFunction id=link1140 onMouseOver="ShowTip(event, 'tt307', 'link1140')" onMouseOut="HideTip('tt307')">getEdgeValidationError</a> for the given arguments is null.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1141 onMouseOver="ShowTip(event, 'tt233', 'link1141')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the edge to validate.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1142 onMouseOver="ShowTip(event, 'tt233', 'link1142')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the source terminal.</td></tr><tr><td class=CDLEntry>target</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1143 onMouseOver="ShowTip(event, 'tt233', 'link1143')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the target terminal.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getEdgeValidationError"></a>getEdgeValidationError</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getEdgeValidationError = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the validation error message to be displayed when inserting or changing an edges&rsquo; connectivity.&nbsp; A return value of null means the edge is valid, a return value of &lsquo;&rsquo; means it&rsquo;s not valid, but do not display an error message.&nbsp; 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.&nbsp; This implementation uses the <a href="#mxGraph.multiplicities" class=LVariable id=link1144 onMouseOver="ShowTip(event, 'tt52', 'link1144')" onMouseOut="HideTip('tt52')">multiplicities</a>, and checks <a href="#mxGraph.multigraph" class=LVariable id=link1145 onMouseOver="ShowTip(event, 'tt160', 'link1145')" onMouseOut="HideTip('tt160')">multigraph</a>, <a href="#mxGraph.allowDanglingEdges" class=LVariable id=link1146 onMouseOver="ShowTip(event, 'tt162', 'link1146')" onMouseOut="HideTip('tt162')">allowDanglingEdges</a> and <a href="#mxGraph.allowLoops" class=LVariable id=link1147 onMouseOver="ShowTip(event, 'tt157', 'link1147')" onMouseOut="HideTip('tt157')">allowLoops</a> to generate validation errors.</p><p>For extending this method with specific checks for source/target cells, the method can be extended as follows.&nbsp; 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.</p><blockquote><pre class="prettyprint">graph.getEdgeValidationError = function(edge, source, target)
{
if (source != null &amp;&amp; target != null &amp;&amp;
this.model.getValue(source) != null &amp;&amp;
this.model.getValue(target) != null)
{
if (target is not valid for source)
{
return 'Invalid Target';
}
}
// &quot;Supercall&quot;
return mxGraph.prototype.getEdgeValidationError.apply(this, arguments);
}</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1148 onMouseOver="ShowTip(event, 'tt233', 'link1148')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the edge to validate.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1149 onMouseOver="ShowTip(event, 'tt233', 'link1149')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the source terminal.</td></tr><tr><td class=CDLEntry>target</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1150 onMouseOver="ShowTip(event, 'tt233', 'link1150')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the target terminal.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.validateEdge"></a>validateEdge</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.validateEdge = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Hook method for subclassers to return an error message for the given edge and terminals.&nbsp; This implementation returns null.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1151 onMouseOver="ShowTip(event, 'tt233', 'link1151')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the edge to validate.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1152 onMouseOver="ShowTip(event, 'tt233', 'link1152')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the source terminal.</td></tr><tr><td class=CDLEntry>target</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1153 onMouseOver="ShowTip(event, 'tt233', 'link1153')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the target terminal.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.validateGraph"></a>validateGraph</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.validateGraph = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>context</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Validates the graph by validating each descendant of the given cell or the root of the model.&nbsp; Context is an object that contains the validation state for the complete validation run.&nbsp; The validation errors are attached to their cells using <a href="#mxGraph.setCellWarning" class=LFunction id=link1154 onMouseOver="ShowTip(event, 'tt204', 'link1154')" onMouseOut="HideTip('tt204')">setCellWarning</a>.&nbsp; This function returns true if no validation errors exist in the graph.</p><h4 class=CHeading>Paramters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1155 onMouseOver="ShowTip(event, 'tt233', 'link1155')" onMouseOut="HideTip('tt233')">mxCell</a> to start the validation recursion.&nbsp; Default is the graph root.</td></tr><tr><td class=CDLEntry>context</td><td class=CDLDescription>Object that represents the global validation state.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCellValidationError"></a>getCellValidationError</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellValidationError = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Checks all <a href="#mxGraph.multiplicities" class=LVariable id=link1156 onMouseOver="ShowTip(event, 'tt52', 'link1156')" onMouseOut="HideTip('tt52')">multiplicities</a> that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1157 onMouseOver="ShowTip(event, 'tt233', 'link1157')" onMouseOut="HideTip('tt233')">mxCell</a> for which the multiplicities should be checked.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.validateCell"></a>validateCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.validateCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>context</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Hook method for subclassers to return an error message for the given cell and validation context.&nbsp; This implementation returns null.&nbsp; Any HTML breaks will be converted to linefeeds in the calling method.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1158 onMouseOver="ShowTip(event, 'tt233', 'link1158')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the cell to validate.</td></tr><tr><td class=CDLEntry>context</td><td class=CDLDescription>Object that represents the global validation state.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Graph_appearance"></a>Graph appearance</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getBackgroundImage"></a>getBackgroundImage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getBackgroundImage = function()</td></tr></table></blockquote><p>Returns the <a href="#mxGraph.backgroundImage" class=LVariable id=link1159 onMouseOver="ShowTip(event, 'tt75', 'link1159')" onMouseOut="HideTip('tt75')">backgroundImage</a> as an <a href="../util/mxImage-js.html#mxImage" class=LClass id=link1160 onMouseOver="ShowTip(event, 'tt76', 'link1160')" onMouseOut="HideTip('tt76')">mxImage</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setBackgroundImage"></a>setBackgroundImage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setBackgroundImage = function(</td><td class=PParameter nowrap>image</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the new <a href="#mxGraph.backgroundImage" class=LVariable id=link1161 onMouseOver="ShowTip(event, 'tt75', 'link1161')" onMouseOut="HideTip('tt75')">backgroundImage</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>image</td><td class=CDLDescription>New <a href="../util/mxImage-js.html#mxImage" class=LClass id=link1162 onMouseOver="ShowTip(event, 'tt76', 'link1162')" onMouseOut="HideTip('tt76')">mxImage</a> to be used for the background.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getFoldingImage"></a>getFoldingImage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getFoldingImage = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link1163 onMouseOver="ShowTip(event, 'tt76', 'link1163')" onMouseOut="HideTip('tt76')">mxImage</a> used to display the collapsed state of the specified cell state.&nbsp; This returns null for all edges.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.convertValueToString"></a>convertValueToString</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.convertValueToString = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the textual representation for the given cell.&nbsp; This implementation returns the nodename or string-representation of the user object.</p><h4 class=CHeading>Example</h4><p>The following returns the label attribute from the cells user object if it is an XML node.</p><blockquote><pre class="prettyprint">graph.convertValueToString = function(cell)
{
return cell.getAttribute('label');
}</pre></blockquote><p>See also: <a href="#mxGraph.cellLabelChanged" class=LFunction id=link1164 onMouseOver="ShowTip(event, 'tt31', 'link1164')" onMouseOut="HideTip('tt31')">cellLabelChanged</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1165 onMouseOver="ShowTip(event, 'tt233', 'link1165')" onMouseOut="HideTip('tt233')">mxCell</a> whose textual representation should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getLabel"></a>getLabel</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getLabel = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns a string or DOM node that represents the label for the given cell.&nbsp; This implementation uses <a href="#mxGraph.convertValueToString" class=LFunction id=link1166 onMouseOver="ShowTip(event, 'tt314', 'link1166')" onMouseOut="HideTip('tt314')">convertValueToString</a> if <a href="#mxGraph.labelsVisible" class=LVariable id=link1167 onMouseOver="ShowTip(event, 'tt165', 'link1167')" onMouseOut="HideTip('tt165')">labelsVisible</a> is true.&nbsp; Otherwise it returns an empty string.</p><p>To truncate a label to match the size of the cell, the following code can be used.</p><blockquote><pre class="prettyprint">graph.getLabel = function(cell)
{
var label = mxGraph.prototype.getLabel.apply(this, arguments);
if (label != null &amp;&amp; this.model.isVertex(cell))
{
var geo = this.getCellGeometry(cell);
if (geo != null)
{
var max = parseInt(geo.width / 8);
if (label.length &gt; max)
{
label = label.substring(0, max)+'...';
}
}
}
return mxUtils.htmlEntities(label);
}</pre></blockquote><p>A resize listener is needed in the graph to force a repaint of the label after a resize.</p><blockquote><pre class="prettyprint">graph.addListener(mxEvent.RESIZE_CELLS, function(sender, evt)
{
var cells = evt.getProperty('cells');
for (var i = 0; i &lt; cells.length; i++)
{
this.view.removeState(cells[i]);
}
});</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1168 onMouseOver="ShowTip(event, 'tt233', 'link1168')" onMouseOut="HideTip('tt233')">mxCell</a> whose label should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isHtmlLabel"></a>isHtmlLabel</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isHtmlLabel = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the label must be rendered as HTML markup.&nbsp; The default implementation returns <a href="#mxGraph.htmlLabels" class=LVariable id=link1169 onMouseOver="ShowTip(event, 'tt166', 'link1169')" onMouseOut="HideTip('tt166')">htmlLabels</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1170 onMouseOver="ShowTip(event, 'tt233', 'link1170')" onMouseOut="HideTip('tt233')">mxCell</a> whose label should be displayed as HTML markup.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isHtmlLabels"></a>isHtmlLabels</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isHtmlLabels = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.htmlLabels" class=LVariable id=link1171 onMouseOver="ShowTip(event, 'tt166', 'link1171')" onMouseOut="HideTip('tt166')">htmlLabels</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setHtmlLabels"></a>setHtmlLabels</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setHtmlLabels = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.htmlLabels" class=LVariable id=link1172 onMouseOver="ShowTip(event, 'tt166', 'link1172')" onMouseOut="HideTip('tt166')">htmlLabels</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isWrapping"></a>isWrapping</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isWrapping = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>This enables wrapping for HTML labels.</p><p>Returns true if no white-space CSS style directive should be used for displaying the given cells label.&nbsp; This implementation returns true if <a href="../util/mxConstants-js.html#mxConstants.STYLE_WHITE_SPACE" class=LVariable id=link1173 onMouseOver="ShowTip(event, 'tt536', 'link1173')" onMouseOut="HideTip('tt536')">mxConstants.STYLE_WHITE_SPACE</a> in the style of the given cell is &lsquo;wrap&rsquo;.</p><p>This is used as a workaround for IE ignoring the white-space directive of child elements if the directive appears in a parent element.&nbsp; It should be overridden to return true if a white-space directive is used in the HTML markup that represents the given cells label.&nbsp; In order for HTML markup to work in labels, <a href="#mxGraph.isHtmlLabel" class=LFunction id=link1174 onMouseOver="ShowTip(event, 'tt167', 'link1174')" onMouseOut="HideTip('tt167')">isHtmlLabel</a> must also return true for the given cell.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">graph.getLabel = function(cell)
{
var tmp = mxGraph.prototype.getLabel.apply(this, arguments); // &quot;supercall&quot;
if (this.model.isEdge(cell))
{
tmp = '&lt;div style=&quot;width: 150px; white-space:normal;&quot;&gt;'+tmp+'&lt;/div&gt;';
}
return tmp;
}
graph.isWrapping = function(state)
{
return this.model.isEdge(state.cell);
}</pre></blockquote><p>Makes sure no edge label is wider than 150 pixels, otherwise the content is wrapped.&nbsp; Note: No width must be specified for wrapped vertex labels as the vertex defines the width in its geometry.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1175 onMouseOver="ShowTip(event, 'tt233', 'link1175')" onMouseOut="HideTip('tt233')">mxCell</a> whose label should be wrapped.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isLabelClipped"></a>isLabelClipped</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isLabelClipped = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the overflow portion of labels should be hidden.&nbsp; If this returns true then vertex labels will be clipped to the size of the vertices.&nbsp; This implementation returns true if <a href="../util/mxConstants-js.html#mxConstants.STYLE_OVERFLOW" class=LVariable id=link1176 onMouseOver="ShowTip(event, 'tt537', 'link1176')" onMouseOut="HideTip('tt537')">mxConstants.STYLE_OVERFLOW</a> in the style of the given cell is &lsquo;hidden&rsquo;.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1177 onMouseOver="ShowTip(event, 'tt233', 'link1177')" onMouseOut="HideTip('tt233')">mxCell</a> whose label should be clipped.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getTooltip"></a>getTooltip</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getTooltip = function(</td><td class=PParameter nowrap>state,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the string or DOM node that represents the tooltip for the given state, node and coordinate pair.&nbsp; This implementation checks if the given node is a folding icon or overlay and returns the respective tooltip.&nbsp; If this does not result in a tooltip, the handler for the cell is retrieved from &lt;selectionCellsHandler&gt; and the optional getTooltipForNode method is called.&nbsp; If no special tooltip exists here then <a href="#mxGraph.getTooltipForCell" class=LFunction id=link1178 onMouseOver="ShowTip(event, 'tt321', 'link1178')" onMouseOut="HideTip('tt321')">getTooltipForCell</a> is used with the cell in the given state as the argument to return a tooltip for the given state.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1179 onMouseOver="ShowTip(event, 'tt43', 'link1179')" onMouseOut="HideTip('tt43')">mxCellState</a> whose tooltip should be returned.</td></tr><tr><td class=CDLEntry>node</td><td class=CDLDescription>DOM node that is currently under the mouse.</td></tr><tr><td class=CDLEntry>x</td><td class=CDLDescription>X-coordinate of the mouse.</td></tr><tr><td class=CDLEntry>y</td><td class=CDLDescription>Y-coordinate of the mouse.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getTooltipForCell"></a>getTooltipForCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getTooltipForCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the string or DOM node to be used as the tooltip for the given cell.&nbsp; This implementation uses the cells getTooltip function if it exists, or else it returns <a href="#mxGraph.convertValueToString" class=LFunction id=link1180 onMouseOver="ShowTip(event, 'tt314', 'link1180')" onMouseOut="HideTip('tt314')">convertValueToString</a> for the cell.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">graph.getTooltipForCell = function(cell)
{
return 'Hello, World!';
}</pre></blockquote><p>Replaces all tooltips with the string Hello, World!</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1181 onMouseOver="ShowTip(event, 'tt233', 'link1181')" onMouseOut="HideTip('tt233')">mxCell</a> whose tooltip should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCursorForMouseEvent"></a>getCursorForMouseEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCursorForMouseEvent = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cursor value to be used for the CSS of the shape for the given event.&nbsp; This implementation calls <a href="#mxGraph.getCursorForCell" class=LFunction id=link1182 onMouseOver="ShowTip(event, 'tt323', 'link1182')" onMouseOut="HideTip('tt323')">getCursorForCell</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>me</td><td class=CDLDescription><a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link1183 onMouseOver="ShowTip(event, 'tt211', 'link1183')" onMouseOut="HideTip('tt211')">mxMouseEvent</a> whose cursor should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCursorForCell"></a>getCursorForCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCursorForCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cursor value to be used for the CSS of the shape for the given cell.&nbsp; This implementation returns null.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1184 onMouseOver="ShowTip(event, 'tt233', 'link1184')" onMouseOut="HideTip('tt233')">mxCell</a> whose cursor should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getStartSize"></a>getStartSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getStartSize = function(</td><td class=PParameter nowrap>swimlane</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>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.&nbsp; The return value is an <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link1185 onMouseOver="ShowTip(event, 'tt132', 'link1185')" onMouseOut="HideTip('tt132')">mxRectangle</a> with either width or height set as appropriate.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>swimlane</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1186 onMouseOver="ShowTip(event, 'tt233', 'link1186')" onMouseOut="HideTip('tt233')">mxCell</a> whose start size should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getImage"></a>getImage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getImage = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the image URL for the given cell state.&nbsp; This implementation returns the value stored under <a href="../util/mxConstants-js.html#mxConstants.STYLE_IMAGE" class=LVariable id=link1187 onMouseOver="ShowTip(event, 'tt490', 'link1187')" onMouseOut="HideTip('tt490')">mxConstants.STYLE_IMAGE</a> in the cell style.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1188 onMouseOver="ShowTip(event, 'tt43', 'link1188')" onMouseOut="HideTip('tt43')">mxCellState</a> whose image URL should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getVerticalAlign"></a>getVerticalAlign</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getVerticalAlign = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the vertical alignment for the given cell state.&nbsp; This implementation returns the value stored under <a href="../util/mxConstants-js.html#mxConstants.STYLE_VERTICAL_ALIGN" class=LVariable id=link1189 onMouseOver="ShowTip(event, 'tt538', 'link1189')" onMouseOut="HideTip('tt538')">mxConstants.STYLE_VERTICAL_ALIGN</a> in the cell style.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1190 onMouseOver="ShowTip(event, 'tt43', 'link1190')" onMouseOut="HideTip('tt43')">mxCellState</a> whose vertical alignment should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getIndicatorColor"></a>getIndicatorColor</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getIndicatorColor = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the indicator color for the given cell state.&nbsp; This implementation returns the value stored under <a href="../util/mxConstants-js.html#mxConstants.STYLE_INDICATOR_COLOR" class=LVariable id=link1191 onMouseOver="ShowTip(event, 'tt539', 'link1191')" onMouseOut="HideTip('tt539')">mxConstants.STYLE_INDICATOR_COLOR</a> in the cell style.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1192 onMouseOver="ShowTip(event, 'tt43', 'link1192')" onMouseOut="HideTip('tt43')">mxCellState</a> whose indicator color should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getIndicatorGradientColor"></a>getIndicatorGradientColor</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getIndicatorGradientColor = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the indicator gradient color for the given cell state.&nbsp; This implementation returns the value stored under <a href="../util/mxConstants-js.html#mxConstants.STYLE_INDICATOR_GRADIENTCOLOR" class=LVariable id=link1193 onMouseOver="ShowTip(event, 'tt540', 'link1193')" onMouseOut="HideTip('tt540')">mxConstants.STYLE_INDICATOR_GRADIENTCOLOR</a> in the cell style.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1194 onMouseOver="ShowTip(event, 'tt43', 'link1194')" onMouseOut="HideTip('tt43')">mxCellState</a> whose indicator gradient color should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getIndicatorShape"></a>getIndicatorShape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getIndicatorShape = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the indicator shape for the given cell state.&nbsp; This implementation returns the value stored under <a href="../util/mxConstants-js.html#mxConstants.STYLE_INDICATOR_SHAPE" class=LVariable id=link1195 onMouseOver="ShowTip(event, 'tt541', 'link1195')" onMouseOut="HideTip('tt541')">mxConstants.STYLE_INDICATOR_SHAPE</a> in the cell style.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1196 onMouseOver="ShowTip(event, 'tt43', 'link1196')" onMouseOut="HideTip('tt43')">mxCellState</a> whose indicator shape should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getIndicatorImage"></a>getIndicatorImage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getIndicatorImage = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the indicator image for the given cell state.&nbsp; This implementation returns the value stored under <a href="../util/mxConstants-js.html#mxConstants.STYLE_INDICATOR_IMAGE" class=LVariable id=link1197 onMouseOver="ShowTip(event, 'tt542', 'link1197')" onMouseOut="HideTip('tt542')">mxConstants.STYLE_INDICATOR_IMAGE</a> in the cell style.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1198 onMouseOver="ShowTip(event, 'tt43', 'link1198')" onMouseOut="HideTip('tt43')">mxCellState</a> whose indicator image should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getBorder"></a>getBorder</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getBorder = function()</td></tr></table></blockquote><p>Returns the value of <a href="#mxGraph.border" class=LVariable id=link1199 onMouseOver="ShowTip(event, 'tt137', 'link1199')" onMouseOut="HideTip('tt137')">border</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setBorder"></a>setBorder</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setBorder = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the value of <a href="#mxGraph.border" class=LVariable id=link1200 onMouseOver="ShowTip(event, 'tt137', 'link1200')" onMouseOut="HideTip('tt137')">border</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Positive integer that represents the border to be used.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isSwimlane"></a>isSwimlane</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isSwimlane = function (</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is a swimlane in the graph.&nbsp; A swimlane is a container cell with some specific behaviour.&nbsp; This implementation checks if the shape associated with the given cell is a <a href="../shape/mxSwimlane-js.html#mxSwimlane" class=LClass id=link1201 onMouseOver="ShowTip(event, 'tt543', 'link1201')" onMouseOut="HideTip('tt543')">mxSwimlane</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1202 onMouseOver="ShowTip(event, 'tt233', 'link1202')" onMouseOut="HideTip('tt233')">mxCell</a> to be checked.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Graph_behaviour"></a>Graph behaviour</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isResizeContainer"></a>isResizeContainer</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isResizeContainer = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.resizeContainer" class=LVariable id=link1203 onMouseOver="ShowTip(event, 'tt135', 'link1203')" onMouseOut="HideTip('tt135')">resizeContainer</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setResizeContainer"></a>setResizeContainer</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setResizeContainer = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.resizeContainer" class=LVariable id=link1204 onMouseOver="ShowTip(event, 'tt135', 'link1204')" onMouseOut="HideTip('tt135')">resizeContainer</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if the container should be resized.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isEnabled"></a>isEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isEnabled = function()</td></tr></table></blockquote><p>Returns true if the graph is <a href="#mxGraph.enabled" class=LVariable id=link1205 onMouseOver="ShowTip(event, 'tt86', 'link1205')" onMouseOut="HideTip('tt86')">enabled</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setEnabled"></a>setEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the graph should allow any interactions.&nbsp; This implementation updates <a href="#mxGraph.enabled" class=LVariable id=link1206 onMouseOver="ShowTip(event, 'tt86', 'link1206')" onMouseOut="HideTip('tt86')">enabled</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if the graph should be enabled.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isEscapeEnabled"></a>isEscapeEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isEscapeEnabled = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.escapeEnabled" class=LVariable id=link1207 onMouseOver="ShowTip(event, 'tt88', 'link1207')" onMouseOut="HideTip('tt88')">escapeEnabled</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setEscapeEnabled"></a>setEscapeEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setEscapeEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.escapeEnabled" class=LVariable id=link1208 onMouseOver="ShowTip(event, 'tt88', 'link1208')" onMouseOut="HideTip('tt88')">escapeEnabled</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>enabled</td><td class=CDLDescription>Boolean indicating if escape should be enabled.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isInvokesStopCellEditing"></a>isInvokesStopCellEditing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isInvokesStopCellEditing = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.invokesStopCellEditing" class=LVariable id=link1209 onMouseOver="ShowTip(event, 'tt91', 'link1209')" onMouseOut="HideTip('tt91')">invokesStopCellEditing</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setInvokesStopCellEditing"></a>setInvokesStopCellEditing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setInvokesStopCellEditing = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.invokesStopCellEditing" class=LVariable id=link1210 onMouseOver="ShowTip(event, 'tt91', 'link1210')" onMouseOut="HideTip('tt91')">invokesStopCellEditing</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isEnterStopsCellEditing"></a>isEnterStopsCellEditing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isEnterStopsCellEditing = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.enterStopsCellEditing" class=LVariable id=link1211 onMouseOver="ShowTip(event, 'tt92', 'link1211')" onMouseOut="HideTip('tt92')">enterStopsCellEditing</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setEnterStopsCellEditing"></a>setEnterStopsCellEditing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setEnterStopsCellEditing = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.enterStopsCellEditing" class=LVariable id=link1212 onMouseOver="ShowTip(event, 'tt92', 'link1212')" onMouseOut="HideTip('tt92')">enterStopsCellEditing</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellLocked"></a>isCellLocked</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellLocked = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.&nbsp; This implementation returns true for all vertices with a relative geometry if &lt;locked&gt; is false.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1213 onMouseOver="ShowTip(event, 'tt233', 'link1213')" onMouseOut="HideTip('tt233')">mxCell</a> whose locked state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellsLocked"></a>isCellsLocked</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsLocked = function()</td></tr></table></blockquote><p>Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected.&nbsp; This implementation returns true for all vertices with a relative geometry if &lt;locked&gt; is false.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1214 onMouseOver="ShowTip(event, 'tt233', 'link1214')" onMouseOut="HideTip('tt233')">mxCell</a> whose locked state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setLocked"></a>setLocked</h3><div class=CBody><p>Sets if any cell may be moved, sized, bended, disconnected, edited or selected.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean that defines the new value for <a href="#mxGraph.cellsLocked" class=LVariable id=link1215 onMouseOver="ShowTip(event, 'tt99', 'link1215')" onMouseOut="HideTip('tt99')">cellsLocked</a>.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCloneableCells"></a>getCloneableCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCloneableCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cells which may be exported in the given array of cells.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellCloneable"></a>isCellCloneable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellCloneable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is cloneable.&nbsp; This implementation returns <a href="#mxGraph.isCellsCloneable" class=LFunction id=link1216 onMouseOver="ShowTip(event, 'tt345', 'link1216')" onMouseOut="HideTip('tt345')">isCellsCloneable</a> for all cells unless a cell style specifies <a href="../util/mxConstants-js.html#mxConstants.STYLE_CLONEABLE" class=LVariable id=link1217 onMouseOver="ShowTip(event, 'tt544', 'link1217')" onMouseOut="HideTip('tt544')">mxConstants.STYLE_CLONEABLE</a> to be 0.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1218 onMouseOver="ShowTip(event, 'tt233', 'link1218')" onMouseOut="HideTip('tt233')">mxCell</a> whose cloneable state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellsCloneable"></a>isCellsCloneable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsCloneable = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.cellsCloneable" class=LVariable id=link1219 onMouseOver="ShowTip(event, 'tt101', 'link1219')" onMouseOut="HideTip('tt101')">cellsCloneable</a>, that is, if the graph allows cloning of cells by using control-drag.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCellsCloneable"></a>setCellsCloneable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsCloneable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved.&nbsp; This implementation updates <a href="#mxGraph.cellsCloneable" class=LVariable id=link1220 onMouseOver="ShowTip(event, 'tt101', 'link1220')" onMouseOut="HideTip('tt101')">cellsCloneable</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if the graph should be cloneable.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getExportableCells"></a>getExportableCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getExportableCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cells which may be exported in the given array of cells.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.canExportCell"></a>canExportCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.canExportCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell may be exported to the clipboard.&nbsp; This implementation returns <a href="#mxGraph.exportEnabled" class=LVariable id=link1221 onMouseOver="ShowTip(event, 'tt95', 'link1221')" onMouseOut="HideTip('tt95')">exportEnabled</a> for all cells.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1222 onMouseOver="ShowTip(event, 'tt233', 'link1222')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the cell to be exported.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getImportableCells"></a>getImportableCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getImportableCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cells which may be imported in the given array of cells.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.canImportCell"></a>canImportCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.canImportCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell may be imported from the clipboard.&nbsp; This implementation returns <a href="#mxGraph.importEnabled" class=LVariable id=link1223 onMouseOver="ShowTip(event, 'tt97', 'link1223')" onMouseOut="HideTip('tt97')">importEnabled</a> for all cells.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1224 onMouseOver="ShowTip(event, 'tt233', 'link1224')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the cell to be imported.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellSelectable"></a>isCellSelectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellSelectable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is selectable.&nbsp; This implementation returns <a href="#mxGraph.cellsSelectable" class=LVariable id=link1225 onMouseOver="ShowTip(event, 'tt120', 'link1225')" onMouseOut="HideTip('tt120')">cellsSelectable</a>.</p><p>To add a new style for making cells (un)selectable, use the following code.</p><blockquote><pre class="prettyprint">mxGraph.prototype.isCellSelectable = function(cell)
{
var state = this.view.getState(cell);
var style = (state != null) ? state.style : this.getCellStyle(cell);
return this.isCellsSelectable() &amp;&amp; !this.isCellLocked(cell) &amp;&amp; style['selectable'] != 0;
};</pre></blockquote><p>You can then use the new style as shown in this example.</p><blockquote><pre class="prettyprint">graph.insertVertex(parent, null, 'Hello,', 20, 20, 80, 30, 'selectable=0');</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1226 onMouseOver="ShowTip(event, 'tt233', 'link1226')" onMouseOut="HideTip('tt233')">mxCell</a> whose selectable state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellsSelectable"></a>isCellsSelectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsSelectable = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.cellsSelectable" class=LVariable id=link1227 onMouseOver="ShowTip(event, 'tt120', 'link1227')" onMouseOut="HideTip('tt120')">cellsSelectable</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCellsSelectable"></a>setCellsSelectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsSelectable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.cellsSelectable" class=LVariable id=link1228 onMouseOver="ShowTip(event, 'tt120', 'link1228')" onMouseOut="HideTip('tt120')">cellsSelectable</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getDeletableCells"></a>getDeletableCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getDeletableCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cells which may be exported in the given array of cells.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellDeletable"></a>isCellDeletable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellDeletable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is moveable.&nbsp; This returns <a href="#mxGraph.cellsDeletable" class=LVariable id=link1229 onMouseOver="ShowTip(event, 'tt106', 'link1229')" onMouseOut="HideTip('tt106')">cellsDeletable</a> for all given cells if a cells style does not specify <a href="../util/mxConstants-js.html#mxConstants.STYLE_DELETABLE" class=LVariable id=link1230 onMouseOver="ShowTip(event, 'tt545', 'link1230')" onMouseOut="HideTip('tt545')">mxConstants.STYLE_DELETABLE</a> to be 0.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1231 onMouseOver="ShowTip(event, 'tt233', 'link1231')" onMouseOut="HideTip('tt233')">mxCell</a> whose deletable state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellsDeletable"></a>isCellsDeletable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsDeletable = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.cellsDeletable" class=LVariable id=link1232 onMouseOver="ShowTip(event, 'tt106', 'link1232')" onMouseOut="HideTip('tt106')">cellsDeletable</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCellsDeletable"></a>setCellsDeletable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsDeletable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.cellsDeletable" class=LVariable id=link1233 onMouseOver="ShowTip(event, 'tt106', 'link1233')" onMouseOut="HideTip('tt106')">cellsDeletable</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if the graph should allow deletion of cells.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isLabelMovable"></a>isLabelMovable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isLabelMovable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given edges&rsquo;s label is moveable.&nbsp; This returns &lt;movable&gt; for all given cells if &lt;isLocked&gt; does not return true for the given cell.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1234 onMouseOver="ShowTip(event, 'tt233', 'link1234')" onMouseOut="HideTip('tt233')">mxCell</a> whose label should be moved.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellRotatable"></a>isCellRotatable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellRotatable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is rotatable.&nbsp; This returns true for the given cell if its style does not specify <a href="../util/mxConstants-js.html#mxConstants.STYLE_ROTATABLE" class=LVariable id=link1235 onMouseOver="ShowTip(event, 'tt546', 'link1235')" onMouseOut="HideTip('tt546')">mxConstants.STYLE_ROTATABLE</a> to be 0.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1236 onMouseOver="ShowTip(event, 'tt233', 'link1236')" onMouseOut="HideTip('tt233')">mxCell</a> whose rotatable state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getMovableCells"></a>getMovableCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getMovableCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cells which are movable in the given array of cells.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellMovable"></a>isCellMovable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellMovable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is moveable.&nbsp; This returns <a href="#mxGraph.cellsMovable" class=LVariable id=link1237 onMouseOver="ShowTip(event, 'tt108', 'link1237')" onMouseOut="HideTip('tt108')">cellsMovable</a> for all given cells if <a href="#mxGraph.isCellLocked" class=LFunction id=link1238 onMouseOver="ShowTip(event, 'tt100', 'link1238')" onMouseOut="HideTip('tt100')">isCellLocked</a> does not return true for the given cell and its style does not specify <a href="../util/mxConstants-js.html#mxConstants.STYLE_MOVABLE" class=LVariable id=link1239 onMouseOver="ShowTip(event, 'tt547', 'link1239')" onMouseOut="HideTip('tt547')">mxConstants.STYLE_MOVABLE</a> to be 0.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1240 onMouseOver="ShowTip(event, 'tt233', 'link1240')" onMouseOut="HideTip('tt233')">mxCell</a> whose movable state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellsMovable"></a>isCellsMovable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsMovable = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.cellsMovable" class=LVariable id=link1241 onMouseOver="ShowTip(event, 'tt108', 'link1241')" onMouseOut="HideTip('tt108')">cellsMovable</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCellsMovable"></a>setCellsMovable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsMovable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the graph should allow moving of cells.&nbsp; This implementation updates &lt;cellsMsovable&gt;.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if the graph should allow moving of cells.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isGridEnabled"></a>isGridEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isGridEnabled = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.gridEnabled" class=LVariable id=link1242 onMouseOver="ShowTip(event, 'tt57', 'link1242')" onMouseOut="HideTip('tt57')">gridEnabled</a> as a boolean.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setGridEnabled"></a>setGridEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setGridEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the grid should be enabled.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if the grid should be enabled.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isPortsEnabled"></a>isPortsEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isPortsEnabled = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.portsEnabled" class=LVariable id=link1243 onMouseOver="ShowTip(event, 'tt58', 'link1243')" onMouseOut="HideTip('tt58')">portsEnabled</a> as a boolean.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setPortsEnabled"></a>setPortsEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setPortsEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the ports should be enabled.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if the ports should be enabled.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getGridSize"></a>getGridSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getGridSize = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.gridSize" class=LVariable id=link1244 onMouseOver="ShowTip(event, 'tt56', 'link1244')" onMouseOut="HideTip('tt56')">gridSize</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setGridSize"></a>setGridSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setGridSize = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.gridSize" class=LVariable id=link1245 onMouseOver="ShowTip(event, 'tt56', 'link1245')" onMouseOut="HideTip('tt56')">gridSize</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getTolerance"></a>getTolerance</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getTolerance = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.tolerance" class=LVariable id=link1246 onMouseOver="ShowTip(event, 'tt69', 'link1246')" onMouseOut="HideTip('tt69')">tolerance</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setTolerance"></a>setTolerance</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setTolerance = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.tolerance" class=LVariable id=link1247 onMouseOver="ShowTip(event, 'tt69', 'link1247')" onMouseOut="HideTip('tt69')">tolerance</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isVertexLabelsMovable"></a>isVertexLabelsMovable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isVertexLabelsMovable = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.vertexLabelsMovable" class=LVariable id=link1248 onMouseOver="ShowTip(event, 'tt112', 'link1248')" onMouseOut="HideTip('tt112')">vertexLabelsMovable</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setVertexLabelsMovable"></a>setVertexLabelsMovable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setVertexLabelsMovable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.vertexLabelsMovable" class=LVariable id=link1249 onMouseOver="ShowTip(event, 'tt112', 'link1249')" onMouseOut="HideTip('tt112')">vertexLabelsMovable</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isEdgeLabelsMovable"></a>isEdgeLabelsMovable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isEdgeLabelsMovable = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.edgeLabelsMovable" class=LVariable id=link1250 onMouseOver="ShowTip(event, 'tt110', 'link1250')" onMouseOut="HideTip('tt110')">edgeLabelsMovable</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isEdgeLabelsMovable"></a>isEdgeLabelsMovable</h3><div class=CBody><p>Sets <a href="#mxGraph.edgeLabelsMovable" class=LVariable id=link1251 onMouseOver="ShowTip(event, 'tt110', 'link1251')" onMouseOut="HideTip('tt110')">edgeLabelsMovable</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isSwimlaneNesting"></a>isSwimlaneNesting</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isSwimlaneNesting = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.swimlaneNesting" class=LVariable id=link1252 onMouseOver="ShowTip(event, 'tt169', 'link1252')" onMouseOut="HideTip('tt169')">swimlaneNesting</a> as a boolean.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setSwimlaneNesting"></a>setSwimlaneNesting</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setSwimlaneNesting = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if swimlanes can be nested by drag and drop.&nbsp; This is only taken into account if dropEnabled is true.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if swimlanes can be nested.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isSwimlaneSelectionEnabled"></a>isSwimlaneSelectionEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isSwimlaneSelectionEnabled = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.swimlaneSelectionEnabled" class=LVariable id=link1253 onMouseOver="ShowTip(event, 'tt168', 'link1253')" onMouseOut="HideTip('tt168')">swimlaneSelectionEnabled</a> as a boolean.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setSwimlaneSelectionEnabled"></a>setSwimlaneSelectionEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setSwimlaneSelectionEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if swimlanes should be selected if the mouse is released over their content area.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if swimlanes content areas should be selected when the mouse is released over them.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isMultigraph"></a>isMultigraph</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isMultigraph = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.multigraph" class=LVariable id=link1254 onMouseOver="ShowTip(event, 'tt160', 'link1254')" onMouseOut="HideTip('tt160')">multigraph</a> as a boolean.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setMultigraph"></a>setMultigraph</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setMultigraph = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the graph should allow multiple connections between the same pair of vertices.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if the graph allows multiple connections between the same pair of vertices.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isAllowLoops"></a>isAllowLoops</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isAllowLoops = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.allowLoops" class=LVariable id=link1255 onMouseOver="ShowTip(event, 'tt157', 'link1255')" onMouseOut="HideTip('tt157')">allowLoops</a> as a boolean.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setAllowDanglingEdges"></a>setAllowDanglingEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setAllowDanglingEdges = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if dangling edges are allowed.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isAllowDanglingEdges"></a>isAllowDanglingEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isAllowDanglingEdges = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.allowDanglingEdges" class=LVariable id=link1256 onMouseOver="ShowTip(event, 'tt162', 'link1256')" onMouseOut="HideTip('tt162')">allowDanglingEdges</a> as a boolean.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setConnectableEdges"></a>setConnectableEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setConnectableEdges = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if edges should be connectable.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if edges should be connectable.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isConnectableEdges"></a>isConnectableEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isConnectableEdges = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.connectableEdges" class=LVariable id=link1257 onMouseOver="ShowTip(event, 'tt161', 'link1257')" onMouseOut="HideTip('tt161')">connectableEdges</a> as a boolean.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCloneInvalidEdges"></a>setCloneInvalidEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCloneInvalidEdges = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if edges should be inserted when cloned but not valid wrt.&nbsp; <a href="#mxGraph.getEdgeValidationError" class=LFunction id=link1258 onMouseOver="ShowTip(event, 'tt307', 'link1258')" onMouseOut="HideTip('tt307')">getEdgeValidationError</a>.&nbsp; If false such edges will be silently ignored.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if cloned invalid edges should be inserted into the graph or ignored.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCloneInvalidEdges"></a>isCloneInvalidEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCloneInvalidEdges = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.cloneInvalidEdges" class=LVariable id=link1259 onMouseOver="ShowTip(event, 'tt163', 'link1259')" onMouseOut="HideTip('tt163')">cloneInvalidEdges</a> as a boolean.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setAllowLoops"></a>setAllowLoops</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setAllowLoops = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if loops are allowed.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if loops are allowed.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isDisconnectOnMove"></a>isDisconnectOnMove</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isDisconnectOnMove = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.disconnectOnMove" class=LVariable id=link1260 onMouseOver="ShowTip(event, 'tt164', 'link1260')" onMouseOut="HideTip('tt164')">disconnectOnMove</a> as a boolean.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setDisconnectOnMove"></a>setDisconnectOnMove</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setDisconnectOnMove = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if edges should be disconnected when moved.&nbsp; (Note: Cloned edges are always disconnected.)</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if edges should be disconnected when moved.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isDropEnabled"></a>isDropEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isDropEnabled = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.dropEnabled" class=LVariable id=link1261 onMouseOver="ShowTip(event, 'tt113', 'link1261')" onMouseOut="HideTip('tt113')">dropEnabled</a> as a boolean.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setDropEnabled"></a>setDropEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setDropEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the graph should allow dropping of cells onto or into other cells.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>dropEnabled</td><td class=CDLDescription>Boolean indicating if the graph should allow dropping of cells into other cells.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isSplitEnabled"></a>isSplitEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isSplitEnabled = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.splitEnabled" class=LVariable id=link1262 onMouseOver="ShowTip(event, 'tt115', 'link1262')" onMouseOut="HideTip('tt115')">splitEnabled</a> as a boolean.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setSplitEnabled"></a>setSplitEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setSplitEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the graph should allow dropping of cells onto or into other cells.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>dropEnabled</td><td class=CDLDescription>Boolean indicating if the graph should allow dropping of cells into other cells.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellResizable"></a>isCellResizable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellResizable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is resizable.&nbsp; This returns <a href="#mxGraph.cellsResizable" class=LVariable id=link1263 onMouseOver="ShowTip(event, 'tt116', 'link1263')" onMouseOut="HideTip('tt116')">cellsResizable</a> for all given cells if <a href="#mxGraph.isCellLocked" class=LFunction id=link1264 onMouseOver="ShowTip(event, 'tt100', 'link1264')" onMouseOut="HideTip('tt100')">isCellLocked</a> does not return true for the given cell and its style does not specify <a href="../util/mxConstants-js.html#mxConstants.STYLE_RESIZABLE" class=LVariable id=link1265 onMouseOver="ShowTip(event, 'tt548', 'link1265')" onMouseOut="HideTip('tt548')">mxConstants.STYLE_RESIZABLE</a> to be 0.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1266 onMouseOver="ShowTip(event, 'tt233', 'link1266')" onMouseOut="HideTip('tt233')">mxCell</a> whose resizable state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellsResizable"></a>isCellsResizable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsResizable = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.cellsResizable" class=LVariable id=link1267 onMouseOver="ShowTip(event, 'tt116', 'link1267')" onMouseOut="HideTip('tt116')">cellsResizable</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCellsResizable"></a>setCellsResizable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsResizable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the graph should allow resizing of cells.&nbsp; This implementation updates <a href="#mxGraph.cellsResizable" class=LVariable id=link1268 onMouseOver="ShowTip(event, 'tt116', 'link1268')" onMouseOut="HideTip('tt116')">cellsResizable</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if the graph should allow resizing of cells.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isTerminalPointMovable"></a>isTerminalPointMovable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isTerminalPointMovable = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given terminal point is movable.&nbsp; This is independent from <a href="#mxGraph.isCellConnectable" class=LFunction id=link1269 onMouseOver="ShowTip(event, 'tt298', 'link1269')" onMouseOut="HideTip('tt298')">isCellConnectable</a> and <a href="#mxGraph.isCellDisconnectable" class=LFunction id=link1270 onMouseOver="ShowTip(event, 'tt395', 'link1270')" onMouseOut="HideTip('tt395')">isCellDisconnectable</a> and controls if terminal points can be moved in the graph if the edge is not connected.&nbsp; Note that it is required for this to return true to connect unconnected edges.&nbsp; This implementation returns true.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1271 onMouseOver="ShowTip(event, 'tt233', 'link1271')" onMouseOut="HideTip('tt233')">mxCell</a> whose terminal point should be moved.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>Boolean indicating if the source or target terminal should be moved.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellBendable"></a>isCellBendable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellBendable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is bendable.&nbsp; This returns <a href="#mxGraph.cellsBendable" class=LVariable id=link1272 onMouseOver="ShowTip(event, 'tt118', 'link1272')" onMouseOut="HideTip('tt118')">cellsBendable</a> for all given cells if &lt;isLocked&gt; does not return true for the given cell and its style does not specify <a href="../util/mxConstants-js.html#mxConstants.STYLE_BENDABLE" class=LVariable id=link1273 onMouseOver="ShowTip(event, 'tt549', 'link1273')" onMouseOut="HideTip('tt549')">mxConstants.STYLE_BENDABLE</a> to be 0.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1274 onMouseOver="ShowTip(event, 'tt233', 'link1274')" onMouseOut="HideTip('tt233')">mxCell</a> whose bendable state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellsBendable"></a>isCellsBendable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsBendable = function()</td></tr></table></blockquote><p>Returns &lt;cellsBenadable&gt;.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCellsBendable"></a>setCellsBendable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsBendable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the graph should allow bending of edges.&nbsp; This implementation updates &lt;bendable&gt;.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if the graph should allow bending of edges.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellEditable"></a>isCellEditable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellEditable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is editable.&nbsp; This returns <a href="#mxGraph.cellsEditable" class=LVariable id=link1275 onMouseOver="ShowTip(event, 'tt104', 'link1275')" onMouseOut="HideTip('tt104')">cellsEditable</a> for all given cells if <a href="#mxGraph.isCellLocked" class=LFunction id=link1276 onMouseOver="ShowTip(event, 'tt100', 'link1276')" onMouseOut="HideTip('tt100')">isCellLocked</a> does not return true for the given cell and its style does not specify <a href="../util/mxConstants-js.html#mxConstants.STYLE_EDITABLE" class=LVariable id=link1277 onMouseOver="ShowTip(event, 'tt550', 'link1277')" onMouseOut="HideTip('tt550')">mxConstants.STYLE_EDITABLE</a> to be 0.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1278 onMouseOver="ShowTip(event, 'tt233', 'link1278')" onMouseOut="HideTip('tt233')">mxCell</a> whose editable state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellsEditable"></a>isCellsEditable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsEditable = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.cellsEditable" class=LVariable id=link1279 onMouseOver="ShowTip(event, 'tt104', 'link1279')" onMouseOut="HideTip('tt104')">cellsEditable</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCellsEditable"></a>setCellsEditable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsEditable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the graph should allow in-place editing for cell labels.&nbsp; This implementation updates <a href="#mxGraph.cellsEditable" class=LVariable id=link1280 onMouseOver="ShowTip(event, 'tt104', 'link1280')" onMouseOut="HideTip('tt104')">cellsEditable</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if the graph should allow in-place editing.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellDisconnectable"></a>isCellDisconnectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellDisconnectable = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is disconnectable from the source or target terminal.&nbsp; This returns <a href="#mxGraph.isCellsDisconnectable" class=LFunction id=link1281 onMouseOver="ShowTip(event, 'tt396', 'link1281')" onMouseOut="HideTip('tt396')">isCellsDisconnectable</a> for all given cells if <a href="#mxGraph.isCellLocked" class=LFunction id=link1282 onMouseOver="ShowTip(event, 'tt100', 'link1282')" onMouseOut="HideTip('tt100')">isCellLocked</a> does not return true for the given cell.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1283 onMouseOver="ShowTip(event, 'tt233', 'link1283')" onMouseOut="HideTip('tt233')">mxCell</a> whose disconnectable state should be returned.</td></tr><tr><td class=CDLEntry>terminal</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1284 onMouseOver="ShowTip(event, 'tt233', 'link1284')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the source or target terminal.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>Boolean indicating if the source or target terminal is to be disconnected.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellsDisconnectable"></a>isCellsDisconnectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsDisconnectable = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.cellsDisconnectable" class=LVariable id=link1285 onMouseOver="ShowTip(event, 'tt122', 'link1285')" onMouseOut="HideTip('tt122')">cellsDisconnectable</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setCellsDisconnectable"></a>setCellsDisconnectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsDisconnectable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.cellsDisconnectable" class=LVariable id=link1286 onMouseOver="ShowTip(event, 'tt122', 'link1286')" onMouseOut="HideTip('tt122')">cellsDisconnectable</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isValidSource"></a>isValidSource</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isValidSource = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is a valid source for new connections.&nbsp; This implementation returns true for all non-null values and is called by is called by <a href="#mxGraph.isValidConnection" class=LFunction id=link1287 onMouseOver="ShowTip(event, 'tt400', 'link1287')" onMouseOut="HideTip('tt400')">isValidConnection</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1288 onMouseOver="ShowTip(event, 'tt233', 'link1288')" onMouseOut="HideTip('tt233')">mxCell</a> that represents a possible source or null.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isValidTarget"></a>isValidTarget</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isValidTarget = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns <a href="#mxGraph.isValidSource" class=LFunction id=link1289 onMouseOver="ShowTip(event, 'tt398', 'link1289')" onMouseOut="HideTip('tt398')">isValidSource</a> for the given cell.&nbsp; This is called by <a href="#mxGraph.isValidConnection" class=LFunction id=link1290 onMouseOver="ShowTip(event, 'tt400', 'link1290')" onMouseOut="HideTip('tt400')">isValidConnection</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1291 onMouseOver="ShowTip(event, 'tt233', 'link1291')" onMouseOut="HideTip('tt233')">mxCell</a> that represents a possible target or null.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isValidConnection"></a>isValidConnection</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isValidConnection = function(</td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given target cell is a valid target for source.&nbsp; This is a boolean implementation for not allowing connections between certain pairs of vertices and is called by <a href="#mxGraph.getEdgeValidationError" class=LFunction id=link1292 onMouseOver="ShowTip(event, 'tt307', 'link1292')" onMouseOut="HideTip('tt307')">getEdgeValidationError</a>.&nbsp; This implementation returns true if <a href="#mxGraph.isValidSource" class=LFunction id=link1293 onMouseOver="ShowTip(event, 'tt398', 'link1293')" onMouseOut="HideTip('tt398')">isValidSource</a> returns true for the source and <a href="#mxGraph.isValidTarget" class=LFunction id=link1294 onMouseOver="ShowTip(event, 'tt399', 'link1294')" onMouseOut="HideTip('tt399')">isValidTarget</a> returns true for the target.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>source</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1295 onMouseOver="ShowTip(event, 'tt233', 'link1295')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the source cell.</td></tr><tr><td class=CDLEntry>target</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1296 onMouseOver="ShowTip(event, 'tt233', 'link1296')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the target cell.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setConnectable"></a>setConnectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setConnectable = function(</td><td class=PParameter nowrap>connectable</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the graph should allow new connections.&nbsp; This implementation updates <a href="../handler/mxConnectionHandler-js.html#mxConnectionHandler.enabled" class=LVariable id=link1297 onMouseOver="ShowTip(event, 'tt551', 'link1297')" onMouseOut="HideTip('tt551')">mxConnectionHandler.enabled</a> in &lt;connectionHandler&gt;.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>connectable</td><td class=CDLDescription>Boolean indicating if new connections should be allowed.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isConnectable"></a>isConnectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isConnectable = function(</td><td class=PParameter nowrap>connectable</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the &lt;connectionHandler&gt; is enabled.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setTooltips"></a>setTooltips</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setTooltips = function (</td><td class=PParameter nowrap>enabled</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if tooltips should be enabled.&nbsp; This implementation updates <a href="../handler/mxTooltipHandler-js.html#mxTooltipHandler.enabled" class=LVariable id=link1298 onMouseOver="ShowTip(event, 'tt552', 'link1298')" onMouseOut="HideTip('tt552')">mxTooltipHandler.enabled</a> in &lt;tooltipHandler&gt;.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>enabled</td><td class=CDLDescription>Boolean indicating if tooltips should be enabled.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setPanning"></a>setPanning</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setPanning = function(</td><td class=PParameter nowrap>enabled</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if panning should be enabled.&nbsp; This implementation updates <a href="../handler/mxPanningHandler-js.html#mxPanningHandler.panningEnabled" class=LVariable id=link1299 onMouseOver="ShowTip(event, 'tt553', 'link1299')" onMouseOut="HideTip('tt553')">mxPanningHandler.panningEnabled</a> in &lt;panningHandler&gt;.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>enabled</td><td class=CDLDescription>Boolean indicating if panning should be enabled.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isEditing"></a>isEditing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isEditing = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is currently being edited.&nbsp; If no cell is specified then this returns true if any cell is currently being edited.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1300 onMouseOver="ShowTip(event, 'tt233', 'link1300')" onMouseOut="HideTip('tt233')">mxCell</a> that should be checked.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isAutoSizeCell"></a>isAutoSizeCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isAutoSizeCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the size of the given cell should automatically be updated after a change of the label.&nbsp; This implementation returns <a href="#mxGraph.autoSizeCells" class=LVariable id=link1301 onMouseOver="ShowTip(event, 'tt123', 'link1301')" onMouseOut="HideTip('tt123')">autoSizeCells</a> or checks if the cell style does specify <a href="../util/mxConstants-js.html#mxConstants.STYLE_AUTOSIZE" class=LVariable id=link1302 onMouseOver="ShowTip(event, 'tt554', 'link1302')" onMouseOut="HideTip('tt554')">mxConstants.STYLE_AUTOSIZE</a> to be 1.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1303 onMouseOver="ShowTip(event, 'tt233', 'link1303')" onMouseOut="HideTip('tt233')">mxCell</a> that should be resized.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isAutoSizeCells"></a>isAutoSizeCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isAutoSizeCells = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.autoSizeCells" class=LVariable id=link1304 onMouseOver="ShowTip(event, 'tt123', 'link1304')" onMouseOut="HideTip('tt123')">autoSizeCells</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setAutoSizeCells"></a>setAutoSizeCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setAutoSizeCells = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if cell sizes should be automatically updated after a label change.&nbsp; This implementation sets <a href="#mxGraph.autoSizeCells" class=LVariable id=link1305 onMouseOver="ShowTip(event, 'tt123', 'link1305')" onMouseOut="HideTip('tt123')">autoSizeCells</a> to the given parameter.&nbsp; To update the size of cells when the cells are added, set <a href="#mxGraph.autoSizeCellsOnAdd" class=LVariable id=link1306 onMouseOver="ShowTip(event, 'tt124', 'link1306')" onMouseOut="HideTip('tt124')">autoSizeCellsOnAdd</a> to true.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Boolean indicating if cells should be resized automatically.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isExtendParent"></a>isExtendParent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isExtendParent = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent.&nbsp; This implementation returns <a href="#mxGraph.isExtendParents" class=LFunction id=link1307 onMouseOver="ShowTip(event, 'tt410', 'link1307')" onMouseOut="HideTip('tt410')">isExtendParents</a> if the cell is not an edge.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1308 onMouseOver="ShowTip(event, 'tt233', 'link1308')" onMouseOut="HideTip('tt233')">mxCell</a> that has been resized.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isExtendParents"></a>isExtendParents</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isExtendParents = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.extendParents" class=LVariable id=link1309 onMouseOver="ShowTip(event, 'tt143', 'link1309')" onMouseOut="HideTip('tt143')">extendParents</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setExtendParents"></a>setExtendParents</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setExtendParents = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.extendParents" class=LVariable id=link1310 onMouseOver="ShowTip(event, 'tt143', 'link1310')" onMouseOut="HideTip('tt143')">extendParents</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>New boolean value for <a href="#mxGraph.extendParents" class=LVariable id=link1311 onMouseOver="ShowTip(event, 'tt143', 'link1311')" onMouseOut="HideTip('tt143')">extendParents</a>.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isExtendParentsOnAdd"></a>isExtendParentsOnAdd</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isExtendParentsOnAdd = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.extendParentsOnAdd" class=LVariable id=link1312 onMouseOver="ShowTip(event, 'tt144', 'link1312')" onMouseOut="HideTip('tt144')">extendParentsOnAdd</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setExtendParentsOnAdd"></a>setExtendParentsOnAdd</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setExtendParentsOnAdd = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.extendParentsOnAdd" class=LVariable id=link1313 onMouseOver="ShowTip(event, 'tt144', 'link1313')" onMouseOut="HideTip('tt144')">extendParentsOnAdd</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>New boolean value for <a href="#mxGraph.extendParentsOnAdd" class=LVariable id=link1314 onMouseOver="ShowTip(event, 'tt144', 'link1314')" onMouseOut="HideTip('tt144')">extendParentsOnAdd</a>.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isExtendParentsOnAdd"></a>isExtendParentsOnAdd</h3><div class=CBody><p>Returns <a href="#mxGraph.extendParentsOnAdd" class=LVariable id=link1315 onMouseOver="ShowTip(event, 'tt144', 'link1315')" onMouseOut="HideTip('tt144')">extendParentsOnAdd</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setExtendParentsOnAdd"></a>setExtendParentsOnAdd</h3><div class=CBody><p>Sets <a href="#mxGraph.extendParentsOnAdd" class=LVariable id=link1316 onMouseOver="ShowTip(event, 'tt144', 'link1316')" onMouseOut="HideTip('tt144')">extendParentsOnAdd</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>New boolean value for <a href="#mxGraph.extendParentsOnAdd" class=LVariable id=link1317 onMouseOver="ShowTip(event, 'tt144', 'link1317')" onMouseOut="HideTip('tt144')">extendParentsOnAdd</a>.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isRecursiveResize"></a>isRecursiveResize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isRecursiveResize = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.recursiveResize" class=LVariable id=link1318 onMouseOver="ShowTip(event, 'tt145', 'link1318')" onMouseOut="HideTip('tt145')">recursiveResize</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setRecursiveResize"></a>setRecursiveResize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setRecursiveResize = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.recursiveResize" class=LVariable id=link1319 onMouseOver="ShowTip(event, 'tt145', 'link1319')" onMouseOut="HideTip('tt145')">recursiveResize</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>New boolean value for <a href="#mxGraph.recursiveResize" class=LVariable id=link1320 onMouseOver="ShowTip(event, 'tt145', 'link1320')" onMouseOut="HideTip('tt145')">recursiveResize</a>.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isConstrainChild"></a>isConstrainChild</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isConstrainChild = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by <a href="#mxGraph.getOverlap" class=LFunction id=link1321 onMouseOver="ShowTip(event, 'tt71', 'link1321')" onMouseOut="HideTip('tt71')">getOverlap</a> and <a href="#mxGraph.isAllowOverlapParent" class=LFunction id=link1322 onMouseOver="ShowTip(event, 'tt72', 'link1322')" onMouseOut="HideTip('tt72')">isAllowOverlapParent</a>.&nbsp; This implementation returns false for all children of edges and <a href="#mxGraph.isConstrainChildren" class=LFunction id=link1323 onMouseOver="ShowTip(event, 'tt415', 'link1323')" onMouseOut="HideTip('tt415')">isConstrainChildren</a> otherwise.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1324 onMouseOver="ShowTip(event, 'tt233', 'link1324')" onMouseOut="HideTip('tt233')">mxCell</a> that should be constrained.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isConstrainChildren"></a>isConstrainChildren</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isConstrainChildren = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.constrainChildren" class=LVariable id=link1325 onMouseOver="ShowTip(event, 'tt141', 'link1325')" onMouseOut="HideTip('tt141')">constrainChildren</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setConstrainChildrenOnResize"></a>setConstrainChildrenOnResize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setConstrainChildrenOnResize = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.constrainChildrenOnResize" class=LVariable id=link1326 onMouseOver="ShowTip(event, 'tt142', 'link1326')" onMouseOut="HideTip('tt142')">constrainChildrenOnResize</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isConstrainChildrenOnResize"></a>isConstrainChildrenOnResize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isConstrainChildrenOnResize = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.constrainChildrenOnResize" class=LVariable id=link1327 onMouseOver="ShowTip(event, 'tt142', 'link1327')" onMouseOut="HideTip('tt142')">constrainChildrenOnResize</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setConstrainChildren"></a>setConstrainChildren</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setConstrainChildren = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets <a href="#mxGraph.constrainChildren" class=LVariable id=link1328 onMouseOver="ShowTip(event, 'tt141', 'link1328')" onMouseOut="HideTip('tt141')">constrainChildren</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isConstrainChildren"></a>isConstrainChildren</h3><div class=CBody><p>Returns <a href="#mxGraph.allowNegativeCoordinates" class=LVariable id=link1329 onMouseOver="ShowTip(event, 'tt140', 'link1329')" onMouseOut="HideTip('tt140')">allowNegativeCoordinates</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setConstrainChildren"></a>setConstrainChildren</h3><div class=CBody><p>Sets <a href="#mxGraph.allowNegativeCoordinates" class=LVariable id=link1330 onMouseOver="ShowTip(event, 'tt140', 'link1330')" onMouseOut="HideTip('tt140')">allowNegativeCoordinates</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getOverlap"></a>getOverlap</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getOverlap = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent.&nbsp; 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.&nbsp; If <a href="#mxGraph.isAllowOverlapParent" class=LFunction id=link1331 onMouseOver="ShowTip(event, 'tt72', 'link1331')" onMouseOut="HideTip('tt72')">isAllowOverlapParent</a> returns false for the given cell, then this method returns 0.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1332 onMouseOver="ShowTip(event, 'tt233', 'link1332')" onMouseOut="HideTip('tt233')">mxCell</a> for which the overlap ratio should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isAllowOverlapParent"></a>isAllowOverlapParent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isAllowOverlapParent = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is allowed to be placed outside of the parents area.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1333 onMouseOver="ShowTip(event, 'tt233', 'link1333')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the child to be checked.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getFoldableCells"></a>getFoldableCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getFoldableCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>collapse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the cells which are movable in the given array of cells.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellFoldable"></a>isCellFoldable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellFoldable = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>collapse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is foldable.&nbsp; This implementation returns true if the cell has at least one child and its style does not specify <a href="../util/mxConstants-js.html#mxConstants.STYLE_FOLDABLE" class=LVariable id=link1334 onMouseOver="ShowTip(event, 'tt555', 'link1334')" onMouseOut="HideTip('tt555')">mxConstants.STYLE_FOLDABLE</a> to be 0.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1335 onMouseOver="ShowTip(event, 'tt233', 'link1335')" onMouseOut="HideTip('tt233')">mxCell</a> whose foldable state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isValidDropTarget"></a>isValidDropTarget</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isValidDropTarget = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is a valid drop target for the specified cells.&nbsp; If <a href="#mxGraph.splitEnabled" class=LVariable id=link1336 onMouseOver="ShowTip(event, 'tt115', 'link1336')" onMouseOut="HideTip('tt115')">splitEnabled</a> is true then this returns <a href="#mxGraph.isSplitTarget" class=LFunction id=link1337 onMouseOver="ShowTip(event, 'tt422', 'link1337')" onMouseOut="HideTip('tt422')">isSplitTarget</a> for the given arguments else it returns true if the cell is not collapsed and its child count is greater than 0.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1338 onMouseOver="ShowTip(event, 'tt233', 'link1338')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the possible drop target.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1339 onMouseOver="ShowTip(event, 'tt233', 'link1339')" onMouseOut="HideTip('tt233')">mxCells</a> that should be dropped into the target.</td></tr><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Mouseevent that triggered the invocation.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isSplitTarget"></a>isSplitTarget</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isSplitTarget = function(</td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>target</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1340 onMouseOver="ShowTip(event, 'tt233', 'link1340')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the edge to be splitted.</td></tr><tr><td class=CDLEntry>cells</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1341 onMouseOver="ShowTip(event, 'tt233', 'link1341')" onMouseOut="HideTip('tt233')">mxCells</a> that should split the edge.</td></tr><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Mouseevent that triggered the invocation.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getDropTarget"></a>getDropTarget</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getDropTarget = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>evt,</td></tr><tr><td></td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>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.&nbsp; If the given array contains a swimlane and <a href="#mxGraph.swimlaneNesting" class=LVariable id=link1342 onMouseOver="ShowTip(event, 'tt169', 'link1342')" onMouseOut="HideTip('tt169')">swimlaneNesting</a> is false then this always returns null.&nbsp; If no cell is given, then the bottommost swimlane at the location of the given event is returned.</p><p>This function should only be used if <a href="#mxGraph.isDropEnabled" class=LFunction id=link1343 onMouseOver="ShowTip(event, 'tt114', 'link1343')" onMouseOut="HideTip('tt114')">isDropEnabled</a> returns true.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1344 onMouseOver="ShowTip(event, 'tt233', 'link1344')" onMouseOut="HideTip('tt233')">mxCells</a> which are to be dropped onto the target.</td></tr><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Mouseevent for the drag and drop.</td></tr><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1345 onMouseOver="ShowTip(event, 'tt233', 'link1345')" onMouseOut="HideTip('tt233')">mxCell</a> that is under the mousepointer.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Cell_retrieval"></a>Cell retrieval</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getDefaultParent"></a>getDefaultParent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getDefaultParent = function()</td></tr></table></blockquote><p>Returns <a href="#mxGraph.defaultParent" class=LVariable id=link1346 onMouseOver="ShowTip(event, 'tt73', 'link1346')" onMouseOut="HideTip('tt73')">defaultParent</a> or <a href="mxGraphView-js.html#mxGraphView.currentRoot" class=LVariable id=link1347 onMouseOver="ShowTip(event, 'tt425', 'link1347')" onMouseOut="HideTip('tt425')">mxGraphView.currentRoot</a> or the first child child of <a href="../model/mxGraphModel-js.html#mxGraphModel.root" class=LVariable id=link1348 onMouseOver="ShowTip(event, 'tt426', 'link1348')" onMouseOut="HideTip('tt426')">mxGraphModel.root</a> if both are null.&nbsp; The value returned by this function should be used as the parent for new cells (aka default layer).</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setDefaultParent"></a>setDefaultParent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setDefaultParent = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the <a href="#mxGraph.defaultParent" class=LVariable id=link1349 onMouseOver="ShowTip(event, 'tt73', 'link1349')" onMouseOut="HideTip('tt73')">defaultParent</a> to the given cell.&nbsp; Set this to null to return the first child of the root in getDefaultParent.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getSwimlane"></a>getSwimlane</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getSwimlane = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1350 onMouseOver="ShowTip(event, 'tt233', 'link1350')" onMouseOut="HideTip('tt233')">mxCell</a> for which the ancestor swimlane should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getSwimlaneAt"></a>getSwimlaneAt</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getSwimlaneAt = function (</td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>x</td><td class=CDLDescription>X-coordinate of the location to be checked.</td></tr><tr><td class=CDLEntry>y</td><td class=CDLDescription>Y-coordinate of the location to be checked.</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1351 onMouseOver="ShowTip(event, 'tt233', 'link1351')" onMouseOut="HideTip('tt233')">mxCell</a> that should be used as the root of the recursion.&nbsp; Default is <a href="#mxGraph.defaultParent" class=LVariable id=link1352 onMouseOver="ShowTip(event, 'tt73', 'link1352')" onMouseOut="HideTip('tt73')">defaultParent</a>.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCellAt"></a>getCellAt</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellAt = function(</td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>vertices,</td></tr><tr><td></td><td class=PParameter nowrap>edges</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.&nbsp; This will also return swimlanes if the given location intersects the content area of the swimlane.&nbsp; If this is not desired, then the <a href="#mxGraph.hitsSwimlaneContent" class=LFunction id=link1353 onMouseOver="ShowTip(event, 'tt432', 'link1353')" onMouseOut="HideTip('tt432')">hitsSwimlaneContent</a> 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.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>x</td><td class=CDLDescription>X-coordinate of the location to be checked.</td></tr><tr><td class=CDLEntry>y</td><td class=CDLDescription>Y-coordinate of the location to be checked.</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1354 onMouseOver="ShowTip(event, 'tt233', 'link1354')" onMouseOut="HideTip('tt233')">mxCell</a> that should be used as the root of the recursion.&nbsp; Default is <a href="#mxGraph.defaultParent" class=LVariable id=link1355 onMouseOver="ShowTip(event, 'tt73', 'link1355')" onMouseOut="HideTip('tt73')">defaultParent</a>.</td></tr><tr><td class=CDLEntry>vertices</td><td class=CDLDescription>Optional boolean indicating if vertices should be returned.&nbsp; Default is true.</td></tr><tr><td class=CDLEntry>edges</td><td class=CDLDescription>Optional boolean indicating if edges should be returned.&nbsp; Default is true.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.intersects"></a>intersects</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.intersects = function(</td><td class=PParameter nowrap>state,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1356 onMouseOver="ShowTip(event, 'tt43', 'link1356')" onMouseOut="HideTip('tt43')">mxCellState</a> that represents the cell state.</td></tr><tr><td class=CDLEntry>x</td><td class=CDLDescription>X-coordinate of the location to be checked.</td></tr><tr><td class=CDLEntry>y</td><td class=CDLDescription>Y-coordinate of the location to be checked.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.hitsSwimlaneContent"></a>hitsSwimlaneContent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.hitsSwimlaneContent = function(</td><td class=PParameter nowrap>swimlane,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given coordinate pair is inside the content are of the given swimlane.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>swimlane</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1357 onMouseOver="ShowTip(event, 'tt233', 'link1357')" onMouseOut="HideTip('tt233')">mxCell</a> that specifies the swimlane.</td></tr><tr><td class=CDLEntry>x</td><td class=CDLDescription>X-coordinate of the mouse event.</td></tr><tr><td class=CDLEntry>y</td><td class=CDLDescription>Y-coordinate of the mouse event.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getChildVertices"></a>getChildVertices</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getChildVertices = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the visible child vertices of the given parent.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1358 onMouseOver="ShowTip(event, 'tt233', 'link1358')" onMouseOut="HideTip('tt233')">mxCell</a> whose children should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getChildEdges"></a>getChildEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getChildEdges = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the visible child edges of the given parent.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1359 onMouseOver="ShowTip(event, 'tt233', 'link1359')" onMouseOut="HideTip('tt233')">mxCell</a> whose child vertices should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getChildCells"></a>getChildCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getChildCells = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>vertices,</td></tr><tr><td></td><td class=PParameter nowrap>edges</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the visible child vertices or edges in the given parent.&nbsp; If vertices and edges is false, then all children are returned.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1360 onMouseOver="ShowTip(event, 'tt233', 'link1360')" onMouseOut="HideTip('tt233')">mxCell</a> whose children should be returned.</td></tr><tr><td class=CDLEntry>vertices</td><td class=CDLDescription>Optional boolean that specifies if child vertices should be returned.&nbsp; Default is false.</td></tr><tr><td class=CDLEntry>edges</td><td class=CDLDescription>Optional boolean that specifies if child edges should be returned.&nbsp; Default is false.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getConnections"></a>getConnections</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getConnections = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns all visible edges connected to the given cell without loops.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1361 onMouseOver="ShowTip(event, 'tt233', 'link1361')" onMouseOut="HideTip('tt233')">mxCell</a> whose connections should be returned.</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription>Optional parent of the opposite end for a connection to be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getIncomingEdges"></a>getIncomingEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getIncomingEdges = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the visible incoming edges for the given cell.&nbsp; If the optional parent argument is specified, then only child edges of the given parent are returned.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1362 onMouseOver="ShowTip(event, 'tt233', 'link1362')" onMouseOut="HideTip('tt233')">mxCell</a> whose incoming edges should be returned.</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription>Optional parent of the opposite end for an edge to be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getOutgoingEdges"></a>getOutgoingEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getOutgoingEdges = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the visible outgoing edges for the given cell.&nbsp; If the optional parent argument is specified, then only child edges of the given parent are returned.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1363 onMouseOver="ShowTip(event, 'tt233', 'link1363')" onMouseOut="HideTip('tt233')">mxCell</a> whose outgoing edges should be returned.</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription>Optional parent of the opposite end for an edge to be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getEdges"></a>getEdges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getEdges = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>incoming,</td></tr><tr><td></td><td class=PParameter nowrap>outgoing,</td></tr><tr><td></td><td class=PParameter nowrap>includeLoops,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the incoming and/or outgoing edges for the given cell.&nbsp; If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell.&nbsp; 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.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1364 onMouseOver="ShowTip(event, 'tt233', 'link1364')" onMouseOut="HideTip('tt233')">mxCell</a> whose edges should be returned.</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription>Optional parent of the opposite end for an edge to be returned.</td></tr><tr><td class=CDLEntry>incoming</td><td class=CDLDescription>Optional boolean that specifies if incoming edges should be included in the result.&nbsp; Default is true.</td></tr><tr><td class=CDLEntry>outgoing</td><td class=CDLDescription>Optional boolean that specifies if outgoing edges should be included in the result.&nbsp; Default is true.</td></tr><tr><td class=CDLEntry>includeLoops</td><td class=CDLDescription>Optional boolean that specifies if loops should be included in the result.&nbsp; Default is true.</td></tr><tr><td class=CDLEntry>recurse</td><td class=CDLDescription>Optional boolean the specifies if the parent specified only need be an ancestral parent, true, or the direct parent, false.&nbsp; Default is false</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isValidAncestor"></a>isValidAncestor</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isValidAncestor = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>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.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1365 onMouseOver="ShowTip(event, 'tt233', 'link1365')" onMouseOut="HideTip('tt233')">mxCell</a> the possible child cell</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1366 onMouseOver="ShowTip(event, 'tt233', 'link1366')" onMouseOut="HideTip('tt233')">mxCell</a> the possible parent cell</td></tr><tr><td class=CDLEntry>recurse</td><td class=CDLDescription>boolean whether or not to recurse the child ancestors</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getOpposites"></a>getOpposites</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getOpposites = function(</td><td class=PParameter nowrap>edges,</td></tr><tr><td></td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>sources,</td></tr><tr><td></td><td class=PParameter nowrap>targets</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns all distinct visible opposite cells for the specified terminal on the given edges.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edges</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1367 onMouseOver="ShowTip(event, 'tt233', 'link1367')" onMouseOut="HideTip('tt233')">mxCells</a> that contains the edges whose opposite terminals should be returned.</td></tr><tr><td class=CDLEntry>terminal</td><td class=CDLDescription>Terminal that specifies the end whose opposite should be returned.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>Optional boolean that specifies if source terminals should be included in the result.&nbsp; Default is true.</td></tr><tr><td class=CDLEntry>targets</td><td class=CDLDescription>Optional boolean that specifies if targer terminals should be included in the result.&nbsp; Default is true.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getEdgesBetween"></a>getEdgesBetween</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getEdgesBetween = function(</td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>directed</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the edges between the given source and target.&nbsp; This takes into account collapsed and invisible cells and returns the connected edges as displayed on the screen.</p><h4 class=CHeading>Parameters</h4><p>source - target - directed -</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getPointForEvent"></a>getPointForEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getPointForEvent = function(</td><td class=PParameter nowrap>evt,</td></tr><tr><td></td><td class=PParameter nowrap>addOffset</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns an <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link1368 onMouseOver="ShowTip(event, 'tt277', 'link1368')" onMouseOut="HideTip('tt277')">mxPoint</a> representing the given event in the unscaled, non-translated coordinate space of &lt;container&gt; and applies the grid.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Mousevent that contains the mouse pointer location.</td></tr><tr><td class=CDLEntry>addOffset</td><td class=CDLDescription>Optional boolean that specifies if the position should be offset by half of the <a href="#mxGraph.gridSize" class=LVariable id=link1369 onMouseOver="ShowTip(event, 'tt56', 'link1369')" onMouseOut="HideTip('tt56')">gridSize</a>.&nbsp; Default is true.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCells"></a>getCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCells = function(</td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>width,</td></tr><tr><td></td><td class=PParameter nowrap>height,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>result</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the children of the given parent that are contained in the given rectangle (x, y, width, height).&nbsp; The result is added to the optional result array, which is returned from the function.&nbsp; If no result array is specified then a new array is created and returned.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>x</td><td class=CDLDescription>X-coordinate of the rectangle.</td></tr><tr><td class=CDLEntry>y</td><td class=CDLDescription>Y-coordinate of the rectangle.</td></tr><tr><td class=CDLEntry>width</td><td class=CDLDescription>Width of the rectangle.</td></tr><tr><td class=CDLEntry>height</td><td class=CDLDescription>Height of the rectangle.</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1370 onMouseOver="ShowTip(event, 'tt233', 'link1370')" onMouseOut="HideTip('tt233')">mxCell</a> whose children should be checked.&nbsp; Default is <a href="#mxGraph.defaultParent" class=LVariable id=link1371 onMouseOver="ShowTip(event, 'tt73', 'link1371')" onMouseOut="HideTip('tt73')">defaultParent</a>.</td></tr><tr><td class=CDLEntry>result</td><td class=CDLDescription>Optional array to store the result in.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getCellsBeyond"></a>getCellsBeyond</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellsBeyond = function(</td><td class=PParameter nowrap>x0,</td></tr><tr><td></td><td class=PParameter nowrap>y0,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>rightHalfpane,</td></tr><tr><td></td><td class=PParameter nowrap>bottomHalfpane</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards and/or downwards depending on rightHalfpane and bottomHalfpane.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>x0</td><td class=CDLDescription>X-coordinate of the origin.</td></tr><tr><td class=CDLEntry>y0</td><td class=CDLDescription>Y-coordinate of the origin.</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1372 onMouseOver="ShowTip(event, 'tt233', 'link1372')" onMouseOut="HideTip('tt233')">mxCell</a> whose children should be checked.&nbsp; Default is <a href="#mxGraph.defaultParent" class=LVariable id=link1373 onMouseOver="ShowTip(event, 'tt73', 'link1373')" onMouseOut="HideTip('tt73')">defaultParent</a>.</td></tr><tr><td class=CDLEntry>rightHalfpane</td><td class=CDLDescription>Boolean indicating if the cells in the right halfpane from the origin should be returned.</td></tr><tr><td class=CDLEntry>bottomHalfpane</td><td class=CDLDescription>Boolean indicating if the cells in the bottom halfpane from the origin should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.findTreeRoots"></a>findTreeRoots</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.findTreeRoots = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>isolate,</td></tr><tr><td></td><td class=PParameter nowrap>invert</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns all children in the given parent which do not have incoming edges.&nbsp; If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>parent</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1374 onMouseOver="ShowTip(event, 'tt233', 'link1374')" onMouseOut="HideTip('tt233')">mxCell</a> whose children should be checked.</td></tr><tr><td class=CDLEntry>isolate</td><td class=CDLDescription>Optional boolean that specifies if edges should be ignored if the opposite end is not a child of the given parent cell.&nbsp; Default is false.</td></tr><tr><td class=CDLEntry>invert</td><td class=CDLDescription>Optional boolean that specifies if outgoing or incoming edges should be counted for a tree root.&nbsp; If false then outgoing edges will be counted.&nbsp; Default is false.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.traverse"></a>traverse</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.traverse = function(</td><td class=PParameter nowrap>vertex,</td></tr><tr><td></td><td class=PParameter nowrap>directed,</td></tr><tr><td></td><td class=PParameter nowrap>func,</td></tr><tr><td></td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>visited</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Traverses the (directed) graph invoking the given function for each visited vertex and edge.&nbsp; The function is invoked with the current vertex and the incoming edge as a parameter.&nbsp; This implementation makes sure each vertex is only visited once.&nbsp; The function may return false if the traversal should stop at the given vertex.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">mxLog.show();
var cell = graph.getSelectionCell();
graph.traverse(cell, false, function(vertex, edge)
{
mxLog.debug(graph.getLabel(vertex));
});</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>vertex</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1375 onMouseOver="ShowTip(event, 'tt233', 'link1375')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the vertex where the traversal starts.</td></tr><tr><td class=CDLEntry>directed</td><td class=CDLDescription>Optional boolean indicating if edges should only be traversed from source to target.&nbsp; Default is true.</td></tr><tr><td class=CDLEntry>func</td><td class=CDLDescription>Visitor function that takes the current vertex and the incoming edge as arguments.&nbsp; The traversal stops if the function returns false.</td></tr><tr><td class=CDLEntry>edge</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1376 onMouseOver="ShowTip(event, 'tt233', 'link1376')" onMouseOut="HideTip('tt233')">mxCell</a> that represents the incoming edge.&nbsp; This is null for the first step of the traversal.</td></tr><tr><td class=CDLEntry>visited</td><td class=CDLDescription>Optional array of cell paths for the visited cells.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Selection"></a>Selection</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isCellSelected"></a>isCellSelected</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellSelected = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given cell is selected.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1377 onMouseOver="ShowTip(event, 'tt233', 'link1377')" onMouseOut="HideTip('tt233')">mxCell</a> for which the selection state should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isSelectionEmpty"></a>isSelectionEmpty</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isSelectionEmpty = function()</td></tr></table></blockquote><p>Returns true if the selection is empty.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.clearSelection"></a>clearSelection</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.clearSelection = function()</td></tr></table></blockquote><p>Clears the selection using <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel.clear" class=LFunction id=link1378 onMouseOver="ShowTip(event, 'tt451', 'link1378')" onMouseOut="HideTip('tt451')">mxGraphSelectionModel.clear</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getSelectionCount"></a>getSelectionCount</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getSelectionCount = function()</td></tr></table></blockquote><p>Returns the number of selected cells.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getSelectionCell"></a>getSelectionCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getSelectionCell = function()</td></tr></table></blockquote><p>Returns the first cell from the array of selected <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1379 onMouseOver="ShowTip(event, 'tt233', 'link1379')" onMouseOut="HideTip('tt233')">mxCells</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getSelectionCells"></a>getSelectionCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getSelectionCells = function()</td></tr></table></blockquote><p>Returns the array of selected <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1380 onMouseOver="ShowTip(event, 'tt233', 'link1380')" onMouseOut="HideTip('tt233')">mxCells</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setSelectionCell"></a>setSelectionCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setSelectionCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the selection cell.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1381 onMouseOver="ShowTip(event, 'tt233', 'link1381')" onMouseOut="HideTip('tt233')">mxCell</a> to be selected.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.setSelectionCells"></a>setSelectionCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setSelectionCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the selection cell.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1382 onMouseOver="ShowTip(event, 'tt233', 'link1382')" onMouseOut="HideTip('tt233')">mxCells</a> to be selected.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.addSelectionCell"></a>addSelectionCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addSelectionCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the given cell to the selection.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1383 onMouseOver="ShowTip(event, 'tt233', 'link1383')" onMouseOut="HideTip('tt233')">mxCell</a> to be add to the selection.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.addSelectionCells"></a>addSelectionCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addSelectionCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the given cells to the selection.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1384 onMouseOver="ShowTip(event, 'tt233', 'link1384')" onMouseOut="HideTip('tt233')">mxCells</a> to be added to the selection.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.removeSelectionCell"></a>removeSelectionCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeSelectionCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the given cell from the selection.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1385 onMouseOver="ShowTip(event, 'tt233', 'link1385')" onMouseOut="HideTip('tt233')">mxCell</a> to be removed from the selection.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.removeSelectionCells"></a>removeSelectionCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeSelectionCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the given cells from the selection.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1386 onMouseOver="ShowTip(event, 'tt233', 'link1386')" onMouseOut="HideTip('tt233')">mxCells</a> to be removed from the selection.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectRegion"></a>selectRegion</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectRegion = function(</td><td class=PParameter nowrap>rect,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Selects and returns the cells inside the given rectangle for the specified event.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>rect</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link1387 onMouseOver="ShowTip(event, 'tt132', 'link1387')" onMouseOut="HideTip('tt132')">mxRectangle</a> that represents the region to be selected.</td></tr><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Mouseevent that triggered the selection.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectNextCell"></a>selectNextCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.selectNextCell = function()</td></tr></table></blockquote><p>Selects the next cell.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectPreviousCell"></a>selectPreviousCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.selectPreviousCell = function()</td></tr></table></blockquote><p>Selects the previous cell.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectParentCell"></a>selectParentCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.selectParentCell = function()</td></tr></table></blockquote><p>Selects the parent cell.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectChildCell"></a>selectChildCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.selectChildCell = function()</td></tr></table></blockquote><p>Selects the first child cell.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectCell"></a>selectCell</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectCell = function(</td><td class=PParameter nowrap>isNext,</td></tr><tr><td></td><td class=PParameter nowrap>isParent,</td></tr><tr><td></td><td class=PParameter nowrap>isChild</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Selects the next, parent, first child or previous cell, if all arguments are false.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>isNext</td><td class=CDLDescription>Boolean indicating if the next cell should be selected.</td></tr><tr><td class=CDLEntry>isParent</td><td class=CDLDescription>Boolean indicating if the parent cell should be selected.</td></tr><tr><td class=CDLEntry>isChild</td><td class=CDLDescription>Boolean indicating if the first child cell should be selected.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectAll"></a>selectAll</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectAll = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Selects all children of the given parent cell or the children of the default parent if no parent is specified.&nbsp; To select leaf vertices and/or edges use <a href="#mxGraph.selectCells" class=LFunction id=link1388 onMouseOver="ShowTip(event, 'tt469', 'link1388')" onMouseOut="HideTip('tt469')">selectCells</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>parent</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1389 onMouseOver="ShowTip(event, 'tt233', 'link1389')" onMouseOut="HideTip('tt233')">mxCell</a> whose children should be selected.&nbsp; Default is <a href="#mxGraph.defaultParent" class=LVariable id=link1390 onMouseOver="ShowTip(event, 'tt73', 'link1390')" onMouseOut="HideTip('tt73')">defaultParent</a>.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectVertices"></a>selectVertices</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectVertices = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Select all vertices inside the given parent or the default parent.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectVertices"></a>selectVertices</h3><div class=CBody><p>Select all vertices inside the given parent or the default parent.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectCells"></a>selectCells</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectCells = function(</td><td class=PParameter nowrap>vertices,</td></tr><tr><td></td><td class=PParameter nowrap>edges,</td></tr><tr><td></td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>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.&nbsp; Use <a href="#mxGraph.selectAll" class=LFunction id=link1391 onMouseOver="ShowTip(event, 'tt467', 'link1391')" onMouseOut="HideTip('tt467')">selectAll</a> to select all cells.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>vertices</td><td class=CDLDescription>Boolean indicating if vertices should be selected.</td></tr><tr><td class=CDLEntry>edges</td><td class=CDLDescription>Boolean indicating if edges should be selected.</td></tr><tr><td class=CDLEntry>parent</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1392 onMouseOver="ShowTip(event, 'tt233', 'link1392')" onMouseOut="HideTip('tt233')">mxCell</a> that acts as the root of the recursion.&nbsp; Default is <a href="#mxGraph.defaultParent" class=LVariable id=link1393 onMouseOver="ShowTip(event, 'tt73', 'link1393')" onMouseOut="HideTip('tt73')">defaultParent</a>.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectCellForEvent"></a>selectCellForEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectCellForEvent = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>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.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cell</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link1394 onMouseOver="ShowTip(event, 'tt233', 'link1394')" onMouseOut="HideTip('tt233')">mxCell</a> to be selected.</td></tr><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Optional mouseevent that triggered the selection.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.selectCellsForEvent"></a>selectCellsForEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectCellsForEvent = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>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.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>cells</td><td class=CDLDescription>Array of <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1395 onMouseOver="ShowTip(event, 'tt233', 'link1395')" onMouseOut="HideTip('tt233')">mxCells</a> to be selected.</td></tr><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Optional mouseevent that triggered the selection.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Selection_state"></a>Selection state</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.createHandler"></a>createHandler</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.createHandler = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates a new handler for the given cell state.&nbsp; This implementation returns a new <a href="../handler/mxEdgeHandler-js.html#mxEdgeHandler" class=LClass id=link1396 onMouseOver="ShowTip(event, 'tt556', 'link1396')" onMouseOut="HideTip('tt556')">mxEdgeHandler</a> of the corresponding cell is an edge, otherwise it returns an <a href="../handler/mxVertexHandler-js.html#mxVertexHandler" class=LClass id=link1397 onMouseOver="ShowTip(event, 'tt557', 'link1397')" onMouseOut="HideTip('tt557')">mxVertexHandler</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="mxCellState-js.html#mxCellState" class=LClass id=link1398 onMouseOver="ShowTip(event, 'tt43', 'link1398')" onMouseOut="HideTip('tt43')">mxCellState</a> whose handler should be created.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxGraph.Graph_events"></a>Graph events</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.addMouseListener"></a>addMouseListener</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addMouseListener = function(</td><td class=PParameter nowrap>listener</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds a listener to the graph event dispatch loop.&nbsp; The listener must implement the mouseDown, mouseMove and mouseUp methods as shown in the <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link1399 onMouseOver="ShowTip(event, 'tt211', 'link1399')" onMouseOut="HideTip('tt211')">mxMouseEvent</a> class.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>listener</td><td class=CDLDescription>Listener to be added to the graph event listeners.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.removeMouseListener"></a>removeMouseListener</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeMouseListener = function(</td><td class=PParameter nowrap>listener</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the specified graph listener.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>listener</td><td class=CDLDescription>Listener to be removed from the graph event listeners.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.updateMouseEvent"></a>updateMouseEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.updateMouseEvent = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the graphX and graphY properties if the given <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link1400 onMouseOver="ShowTip(event, 'tt211', 'link1400')" onMouseOut="HideTip('tt211')">mxMouseEvent</a> if required and returned the event.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getStateForEvent"></a>getStateForEvent</h3><div class=CBody><p>Returns the state for the given touch event.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isEventIgnored"></a>isEventIgnored</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isEventIgnored = function(</td><td class=PParameter nowrap>evtName,</td></tr><tr><td></td><td class=PParameter nowrap>me,</td></tr><tr><td></td><td class=PParameter nowrap>sender</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the event should be ignored in <a href="#mxGraph.fireMouseEvent" class=LFunction id=link1401 onMouseOver="ShowTip(event, 'tt28', 'link1401')" onMouseOut="HideTip('tt28')">fireMouseEvent</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isSyntheticEventIgnored"></a>isSyntheticEventIgnored</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isSyntheticEventIgnored = function(</td><td class=PParameter nowrap>evtName,</td></tr><tr><td></td><td class=PParameter nowrap>me,</td></tr><tr><td></td><td class=PParameter nowrap>sender</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Hook for ignoring synthetic mouse events after touchend in Firefox.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isEventSourceIgnored"></a>isEventSourceIgnored</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isEventSourceIgnored = function(</td><td class=PParameter nowrap>evtName,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the event should be ignored in <a href="#mxGraph.fireMouseEvent" class=LFunction id=link1402 onMouseOver="ShowTip(event, 'tt28', 'link1402')" onMouseOut="HideTip('tt28')">fireMouseEvent</a>.&nbsp; 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.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>evtName</td><td class=CDLDescription>The name of the event.</td></tr><tr><td class=CDLEntry>me</td><td class=CDLDescription><a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link1403 onMouseOver="ShowTip(event, 'tt211', 'link1403')" onMouseOut="HideTip('tt211')">mxMouseEvent</a> that should be ignored.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.fireMouseEvent"></a>fireMouseEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.fireMouseEvent = function(</td><td class=PParameter nowrap>evtName,</td></tr><tr><td></td><td class=PParameter nowrap>me,</td></tr><tr><td></td><td class=PParameter nowrap>sender</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Dispatches the given event in the graph event dispatch loop.&nbsp; Possible event names are <a href="../util/mxEvent-js.html#mxEvent.MOUSE_DOWN" class=LVariable id=link1404 onMouseOver="ShowTip(event, 'tt558', 'link1404')" onMouseOut="HideTip('tt558')">mxEvent.MOUSE_DOWN</a>, <a href="../util/mxEvent-js.html#mxEvent.MOUSE_MOVE" class=LVariable id=link1405 onMouseOver="ShowTip(event, 'tt559', 'link1405')" onMouseOut="HideTip('tt559')">mxEvent.MOUSE_MOVE</a> and <a href="../util/mxEvent-js.html#mxEvent.MOUSE_UP" class=LVariable id=link1406 onMouseOver="ShowTip(event, 'tt560', 'link1406')" onMouseOut="HideTip('tt560')">mxEvent.MOUSE_UP</a>.&nbsp; All listeners are invoked for all events regardless of the consumed state of the event.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>evtName</td><td class=CDLDescription>String that specifies the type of event to be dispatched.</td></tr><tr><td class=CDLEntry>me</td><td class=CDLDescription><a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link1407 onMouseOver="ShowTip(event, 'tt211', 'link1407')" onMouseOut="HideTip('tt211')">mxMouseEvent</a> to be fired.</td></tr><tr><td class=CDLEntry>sender</td><td class=CDLDescription>Optional sender argument.&nbsp; Default is this.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.consumeMouseEvent"></a>consumeMouseEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.consumeMouseEvent = function(</td><td class=PParameter nowrap>evtName,</td></tr><tr><td></td><td class=PParameter nowrap>me,</td></tr><tr><td></td><td class=PParameter nowrap>sender</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Destroys the graph and all its resources.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.fireGestureEvent"></a>fireGestureEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.fireGestureEvent = function(</td><td class=PParameter nowrap>evt,</td></tr><tr><td></td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Dispatches a <a href="#mxGraph.mxEvent.GESTURE" class=LEvent id=link1408 onMouseOver="ShowTip(event, 'tt480', 'link1408')" onMouseOut="HideTip('tt480')">mxEvent.GESTURE</a> event.&nbsp; The following example will resize the cell under the mouse based on the scale property of the native touch event.</p><blockquote><pre class="prettyprint">graph.addListener(mxEvent.GESTURE, function(sender, eo)
{
var evt = eo.getProperty('event');
var state = graph.view.getState(eo.getProperty('cell'));
if (graph.isEnabled() &amp;&amp; graph.isCellResizable(state.cell) &amp;&amp; Math.abs(1 - evt.scale) &gt; 0.2)
{
var scale = graph.view.scale;
var tr = graph.view.translate;
var w = state.width * evt.scale;
var h = state.height * evt.scale;
var x = state.x - (w - state.width) / 2;
var y = state.y - (h - state.height) / 2;
var bounds = new mxRectangle(graph.snap(x / scale) - tr.x,
graph.snap(y / scale) - tr.y, graph.snap(w / scale), graph.snap(h / scale));
graph.resizeCell(state.cell, bounds);
eo.consume();
}
});</pre></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Gestureend event that represents the gesture.</td></tr><tr><td class=CDLEntry>cell</td><td class=CDLDescription>Optional <a href="../model/mxCell-js.html#mxCell" class=LClass id=link1409 onMouseOver="ShowTip(event, 'tt233', 'link1409')" onMouseOut="HideTip('tt233')">mxCell</a> associated with the gesture.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.destroy"></a>destroy</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.destroy = function()</td></tr></table></blockquote><p>Destroys the graph and all its resources.</p></div></div></div>
</div><!--Content-->
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
<div id=Menu><div class=MEntry><div class=MFile><a href="../index-txt.html">API Specification</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Editor</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../editor/mxDefaultKeyHandler-js.html">mxDefaultKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxDefaultPopupMenu-js.html">mxDefaultPopupMenu</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxDefaultToolbar-js.html">mxDefaultToolbar</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxEditor-js.html">mxEditor</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Handler</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../handler/mxCellHighlight-js.html">mxCellHighlight</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxCellMarker-js.html">mxCellMarker</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxCellTracker-js.html">mxCellTracker</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxConnectionHandler-js.html">mxConnectionHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxConstraintHandler-js.html">mxConstraintHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxEdgeHandler-js.html">mxEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxEdgeSegmentHandler-js.html">mxEdgeSegmentHandler.js</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxElbowEdgeHandler-js.html">mxElbowEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxGraphHandler-js.html">mxGraphHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxKeyHandler-js.html">mxKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxPanningHandler-js.html">mxPanningHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxPopupMenuHandler-js.html">mxPopupMenuHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxRubberband-js.html">mxRubberband</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxSelectionCellsHandler-js.html">mxSelectionCellsHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxTooltipHandler-js.html">mxTooltipHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxVertexHandler-js.html">mxVertexHandler</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Io</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../io/mxCellCodec-js.html">mxCellCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxChildChangeCodec-js.html">mxChildChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxCodec-js.html">mxCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxCodecRegistry-js.html">mxCodecRegistry</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxDefaultKeyHandlerCodec-js.html">mxDefaultKeyHandlerCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxDefaultPopupMenuCodec-js.html">mxDefaultPopupMenuCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxDefaultToolbarCodec-js.html">mxDefaultToolbarCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxEditorCodec-js.html">mxEditorCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxGenericChangeCodec-js.html">mxGenericChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxGraphCodec-js.html">mxGraphCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxGraphViewCodec-js.html">mxGraphViewCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxModelCodec-js.html">mxModelCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxObjectCodec-js.html">mxObjectCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxRootChangeCodec-js.html">mxRootChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxStylesheetCodec-js.html">mxStylesheetCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxTerminalChangeCodec-js.html">mxTerminalChangeCodec</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Layout</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Hierarchical</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Model</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html">mxGraphAbstractHierarchyCell</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxGraphHierarchyEdge-js.html">mxGraphHierarchyEdge</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxGraphHierarchyModel-js.html">mxGraphHierarchyModel</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxGraphHierarchyNode-js.html">mxGraphHierarchyNode</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxSwimlaneModel-js.html">mxSwimlaneModel</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/mxHierarchicalLayout-js.html">mxHierarchicalLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/mxSwimlaneLayout-js.html">mxSwimlaneLayout</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Stage</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxCoordinateAssignment-js.html">mxCoordinateAssignment</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html">mxHierarchicalLayoutStage</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html">mxMedianHybridCrossingReduction</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxMinimumCycleRemover-js.html">mxMinimumCycleRemover</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxSwimlaneOrdering-js.html">mxSwimlaneOrdering</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../layout/mxCircleLayout-js.html">mxCircleLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxCompactTreeLayout-js.html">mxCompactTreeLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxCompositeLayout-js.html">mxCompositeLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxEdgeLabelLayout-js.html">mxEdgeLabelLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxFastOrganicLayout-js.html">mxFastOrganicLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxGraphLayout-js.html">mxGraphLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxParallelEdgeLayout-js.html">mxParallelEdgeLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxPartitionLayout-js.html">mxPartitionLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxStackLayout-js.html">mxStackLayout</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">Model</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="../model/mxCell-js.html">mxCell</a></div></div><div class=MEntry><div class=MFile><a href="../model/mxCellPath-js.html">mxCellPath</a></div></div><div class=MEntry><div class=MFile><a href="../model/mxGeometry-js.html">mxGeometry</a></div></div><div class=MEntry><div class=MFile><a href="../model/mxGraphModel-js.html">mxGraphModel</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../mxClient-js.html">mxClient</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">Shape</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MFile><a href="../shape/mxActor-js.html">mxActor</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxArrow-js.html">mxArrow</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxCloud-js.html">mxCloud</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxConnector-js.html">mxConnector</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxCylinder-js.html">mxCylinder</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxDoubleEllipse-js.html">mxDoubleEllipse</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxEllipse-js.html">mxEllipse</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxHexagon-js.html">mxHexagon</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxImageShape-js.html">mxImageShape</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxLabel-js.html">mxLabel</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxLine-js.html">mxLine</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxMarker-js.html">mxMarker</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxPolyline-js.html">mxPolyline</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxRectangleShape-js.html">mxRectangleShape</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxRhombus-js.html">mxRhombus</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxShape-js.html">mxShape</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxStencil-js.html">mxStencil</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxStencilRegistry-js.html">mxStencilRegistry</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxSwimlane-js.html">mxSwimlane</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxText-js.html">mxText</a></div></div><div class=MEntry><div class=MFile><a href="../shape/mxTriangle-js.html">mxTriangle</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent10')">Util</a><div class=MGroupContent id=MGroupContent10><div class=MEntry><div class=MFile><a href="../util/mxAbstractCanvas2D-js.html">mxAbstractCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxAnimation-js.html">mxAnimation</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxAutoSaveManager-js.html">mxAutoSaveManager</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxClipboard-js.html">mxClipboard</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxConstants-js.html">mxConstants</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxDictionary-js.html">mxDictionary</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxDivResizer-js.html">mxDivResizer</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxDragSource-js.html">mxDragSource</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxEffects-js.html">mxEffects</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxEvent-js.html">mxEvent</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxEventObject-js.html">mxEventObject</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxEventSource-js.html">mxEventSource</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxForm-js.html">mxForm</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxGuide-js.html">mxGuide</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxImage-js.html">mxImage</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxImageBundle-js.html">mxImageBundle</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxImageExport-js.html">mxImageExport</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxLog-js.html">mxLog</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxMorphing-js.html">mxMorphing</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxMouseEvent-js.html">mxMouseEvent</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxObjectIdentity-js.html">mxObjectIdentity</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxPanningManager-js.html">mxPanningManager</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxPoint-js.html">mxPoint</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxPopupMenu-js.html">mxPopupMenu</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxRectangle-js.html">mxRectangle</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxResources-js.html">mxResources</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxSession-js.html">mxSession</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxSvgCanvas2D-js.html">mxSvgCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxToolbar-js.html">mxToolbar</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxUndoableEdit-js.html">mxUndoableEdit</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxUndoManager-js.html">mxUndoManager</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxUrlConverter-js.html">mxUrlConverter</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxUtils-js.html">mxUtils</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxVmlCanvas2D-js.html">mxVmlCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxWindow-js.html">mxWindow</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxXmlCanvas2D-js.html">mxXmlCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxXmlRequest-js.html">mxXmlRequest</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent11')">View</a><div class=MGroupContent id=MGroupContent11><div class=MEntry><div class=MFile><a href="mxCellEditor-js.html">mxCellEditor</a></div></div><div class=MEntry><div class=MFile><a href="mxCellOverlay-js.html">mxCellOverlay</a></div></div><div class=MEntry><div class=MFile><a href="mxCellRenderer-js.html">mxCellRenderer</a></div></div><div class=MEntry><div class=MFile><a href="mxCellState-js.html">mxCellState</a></div></div><div class=MEntry><div class=MFile><a href="mxCellStatePreview-js.html">mxCellStatePreview</a></div></div><div class=MEntry><div class=MFile><a href="mxConnectionConstraint-js.html">mxConnectionConstraint</a></div></div><div class=MEntry><div class=MFile><a href="mxEdgeStyle-js.html">mxEdgeStyle</a></div></div><div class=MEntry><div class=MFile id=MSelected>mxGraph</div></div><div class=MEntry><div class=MFile><a href="mxGraphSelectionModel-js.html">mxGraphSelectionModel</a></div></div><div class=MEntry><div class=MFile><a href="mxGraphView-js.html">mxGraphView</a></div></div><div class=MEntry><div class=MFile><a href="mxLayoutManager-js.html">mxLayoutManager</a></div></div><div class=MEntry><div class=MFile><a href="mxMultiplicity-js.html">mxMultiplicity</a></div></div><div class=MEntry><div class=MFile><a href="mxOutline-js.html">mxOutline</a></div></div><div class=MEntry><div class=MFile><a href="mxPerimeter-js.html">mxPerimeter</a></div></div><div class=MEntry><div class=MFile><a href="mxPrintPreview-js.html">mxPrintPreview</a></div></div><div class=MEntry><div class=MFile><a href="mxSpaceManager-js.html">mxSpaceManager</a></div></div><div class=MEntry><div class=MFile><a href="mxStyleRegistry-js.html">mxStyleRegistry</a></div></div><div class=MEntry><div class=MFile><a href="mxStylesheet-js.html">mxStylesheet</a></div></div><div class=MEntry><div class=MFile><a href="mxSwimlaneManager-js.html">mxSwimlaneManager</a></div></div><div class=MEntry><div class=MFile><a href="mxTemporaryCellStates-js.html">mxTemporaryCellStates</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent12')">Index</a><div class=MGroupContent id=MGroupContent12><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Cookies.html">Cookies</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Events.html">Events</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Cookies">Cookies</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([11], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for objects that dispatch named events. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.alignCells = function(</td><td class=PParameter nowrap>align,</td></tr><tr><td></td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>param</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.flipEdge = function(</td><td class=PParameter nowrap>edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Toggles the style of the given edge between null (or empty) and alternateEdgeStyle. </div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.orderCells = function(</td><td class=PParameter nowrap>back,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Moves the given cells to the front or back. </div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsOrdered = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>back</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Moves the given cells to the front or back. </div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.groupCells = function(</td><td class=PParameter nowrap>group,</td></tr><tr><td></td><td class=PParameter nowrap>border,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the cells into the given group. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.ungroupCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Ungroups the given cells by moving the children the children to their parents parent and removing the empty groups. </div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeCellsFromParent = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the specified cells from their parents and adds them to the default parent. </div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>index,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal. </div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsAdded = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>index,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>absolute,</td></tr><tr><td></td><td class=PParameter nowrap>constrain</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the specified cells to the given parent. </div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>includeEdges</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the given cells from the graph including all connected edges if includeEdges is true. </div></div><div class=CToolTip id="tt12"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsRemoved = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the given cells from the model. </div></div><div class=CToolTip id="tt13"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.splitEdge = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>newEdge,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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. </div></div><div class=CToolTip id="tt14"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.toggleCells = function(</td><td class=PParameter nowrap>show,</td></tr><tr><td></td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>includeEdges</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the visible state of the specified cells and all connected edges if includeEdges is true. </div></div><div class=CToolTip id="tt15"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.foldCells = function(</td><td class=PParameter nowrap>collapse,</td></tr><tr><td></td><td class=PParameter nowrap>recurse,</td></tr><tr><td></td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>checkFoldable</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the collapsed state of the specified cells and all descendants if recurse is true. </div></div><div class=CToolTip id="tt16"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.updateCellSize = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>ignoreChildren</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the size of the given cell in the model using cellSizeUpdated. </div></div><div class=CToolTip id="tt17"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.resizeCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the bounds of the given cells and fires a mxEvent.RESIZE_CELLS event while the transaction is in progress. </div></div><div class=CToolTip id="tt18"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsResized = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the bounds of the given cells and fires a mxEvent.CELLS_RESIZED event. </div></div><div class=CToolTip id="tt19"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.moveCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy,</td></tr><tr><td></td><td class=PParameter nowrap>clone,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Moves or clones the specified cells and moves the cells or clones by the given amount, adding them to the optional target cell. </div></div><div class=CToolTip id="tt20"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsMoved = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy,</td></tr><tr><td></td><td class=PParameter nowrap>disconnect,</td></tr><tr><td></td><td class=PParameter nowrap>constrain,</td></tr><tr><td></td><td class=PParameter nowrap>extend</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Moves the specified cells by the given vector, disconnecting the cells using disconnectGraph is disconnect is true. </div></div><div class=CToolTip id="tt21"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.connectCell = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>constraint</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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. </div></div><div class=CToolTip id="tt22"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellConnected = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>constraint</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the new terminal for the given edge and resets the edge points if resetEdgesOnConnect is true. </div></div><div class=CToolTip id="tt23"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.refresh = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Clears all cell states or the states for the hierarchy starting at the given cell and validates the graph. </div></div><div class=CToolTip id="tt24"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.click = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Processes a singleclick on an optional cell and fires a click event. </div></div><div class=CToolTip id="tt25"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.dblClick = function(</td><td class=PParameter nowrap>evt,</td></tr><tr><td></td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Processes a doubleclick on an optional cell and fires a dblclick event. </div></div><div class=CToolTip id="tt26"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.fireGestureEvent = function(</td><td class=PParameter nowrap>evt,</td></tr><tr><td></td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Dispatches a mxEvent.GESTURE event. </div></div><div class=CToolTip id="tt27"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.tapAndHold = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Handles the mxMouseEvent by highlighting the mxCellState.</div></div><div class=CToolTip id="tt28"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.fireMouseEvent = function(</td><td class=PParameter nowrap>evtName,</td></tr><tr><td></td><td class=PParameter nowrap>me,</td></tr><tr><td></td><td class=PParameter nowrap>sender</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Dispatches the given event in the graph event dispatch loop. </div></div><div class=CToolTip id="tt29"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.sizeDidChange = function()</td></tr></table></blockquote>Called when the size of the graph has changed. </div></div><div class=CToolTip id="tt30"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.startEditingAtCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Fires a startEditing event and invokes mxCellEditor.startEditing on editor.</div></div><div class=CToolTip id="tt31"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellLabelChanged = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>autoSize</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the new label for a cell. </div></div><div class=CToolTip id="tt32"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addCellOverlay = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>overlay</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds an mxCellOverlay for the specified cell. </div></div><div class=CToolTip id="tt33"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeCellOverlay = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>overlay</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes and returns the given mxCellOverlay from the given cell. </div></div><div class=CToolTip id="tt34"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeCellOverlays = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes all mxCellOverlays from the given cell. </div></div><div class=CToolTip id="tt35"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function mxGraph(</td><td class=PParameter nowrap>container,</td></tr><tr><td></td><td class=PParameter nowrap>model,</td></tr><tr><td></td><td class=PParameter nowrap>renderHint,</td></tr><tr><td></td><td class=PParameter nowrap>stylesheet</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new mxGraph in the specified container. </div></div><div class=CToolTip id="tt36"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.EMPTY_ARRAY</td></tr></table></blockquote>Immutable empty array instance.</div></div><div class=CToolTip id="tt37"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.mouseListeners</td></tr></table></blockquote>Holds the mouse event listeners. </div></div><div class=CToolTip id="tt38"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isMouseDown</td></tr></table></blockquote>Holds the state of the mouse button.</div></div><div class=CToolTip id="tt39"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.model</td></tr></table></blockquote>Holds the mxGraphModel that contains the cells to be displayed.</div></div><div class=CToolTip id="tt40"><div class=CClass>Extends mxEventSource to implement a graph model. </div></div><div class=CToolTip id="tt41"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.view</td></tr></table></blockquote>Holds the mxGraphView that caches the mxCellStates for the cells.</div></div><div class=CToolTip id="tt42"><div class=CClass>Extends mxEventSource to implement a view for a graph. </div></div><div class=CToolTip id="tt43"><div class=CClass>Represents the current state of a cell in a given mxGraphView.</div></div><div class=CToolTip id="tt44"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.stylesheet</td></tr></table></blockquote>Holds the mxStylesheet that defines the appearance of the cells.</div></div><div class=CToolTip id="tt45"><div class=CClass>Defines the appearance of the cells in a graph. </div></div><div class=CToolTip id="tt46"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.selectionModel</td></tr></table></blockquote>Holds the mxGraphSelectionModel that models the current selection.</div></div><div class=CToolTip id="tt47"><div class=CClass>Implements the selection model for a graph. </div></div><div class=CToolTip id="tt48"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellEditor</td></tr></table></blockquote>Holds the mxCellEditor that is used as the in-place editing.</div></div><div class=CToolTip id="tt49"><div class=CClass>In-place editor for the graph. </div></div><div class=CToolTip id="tt50"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellRenderer</td></tr></table></blockquote>Holds the mxCellRenderer for rendering the cells in the graph.</div></div><div class=CToolTip id="tt51"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt52"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.multiplicities</td></tr></table></blockquote>An array of mxMultiplicities describing the allowed connections in a graph.</div></div><div class=CToolTip id="tt53"><div class=CClass>Defines invalid connections along with the error messages that they produce. </div></div><div class=CToolTip id="tt54"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.renderHint</td></tr></table></blockquote>RenderHint as it was passed to the constructor.</div></div><div class=CToolTip id="tt55"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.dialect</td></tr></table></blockquote>Dialect to be used for drawing the graph. </div></div><div class=CToolTip id="tt56"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.gridSize</td></tr></table></blockquote>Specifies the grid size. </div></div><div class=CToolTip id="tt57"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.gridEnabled</td></tr></table></blockquote>Specifies if the grid is enabled. </div></div><div class=CToolTip id="tt58"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.portsEnabled</td></tr></table></blockquote>Specifies if ports are enabled. </div></div><div class=CToolTip id="tt59"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.doubleTapEnabled</td></tr></table></blockquote>Specifies if double taps on touch-based devices should be handled as a double click. </div></div><div class=CToolTip id="tt60"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.doubleTapTimeout</td></tr></table></blockquote>Specifies the timeout for double taps and non-native double clicks. </div></div><div class=CToolTip id="tt61"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.doubleTapTolerance</td></tr></table></blockquote>Specifies the tolerance for double taps and double clicks in quirks mode. </div></div><div class=CToolTip id="tt62"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.lastTouchTime</td></tr></table></blockquote>Holds the time of the last touch event for double click detection.</div></div><div class=CToolTip id="tt63"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.tapAndHoldEnabled</td></tr></table></blockquote>Specifies if tap and hold should be used for starting connections on touch-based devices. </div></div><div class=CToolTip id="tt64"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.tapAndHoldDelay</td></tr></table></blockquote>Specifies the time for a tap and hold. </div></div><div class=CToolTip id="tt65"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.tapAndHoldInProgress</td></tr></table></blockquote>True if the timer for tap and hold events is running.</div></div><div class=CToolTip id="tt66"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.tapAndHoldValid</td></tr></table></blockquote>True as long as the timer is running and the touch events stay within the given tapAndHoldTolerance.</div></div><div class=CToolTip id="tt67"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.initialTouchX</td></tr></table></blockquote>Holds the x-coordinate of the intial touch event for tap and hold.</div></div><div class=CToolTip id="tt68"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.initialTouchY</td></tr></table></blockquote>Holds the y-coordinate of the intial touch event for tap and hold.</div></div><div class=CToolTip id="tt69"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.tolerance</td></tr></table></blockquote>Tolerance for a move to be handled as a single click. </div></div><div class=CToolTip id="tt70"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.defaultOverlap</td></tr></table></blockquote>Value returned by getOverlap if isAllowOverlapParent returns true for the given cell. </div></div><div class=CToolTip id="tt71"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getOverlap = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns a decimal number representing the amount of the width and height of the given cell that is allowed to overlap its parent. </div></div><div class=CToolTip id="tt72"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isAllowOverlapParent = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is allowed to be placed outside of the parents area.</div></div><div class=CToolTip id="tt73"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.defaultParent</td></tr></table></blockquote>Specifies the default parent to be used to insert new cells. </div></div><div class=CToolTip id="tt74"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.alternateEdgeStyle</td></tr></table></blockquote>Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked. </div></div><div class=CToolTip id="tt75"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.backgroundImage</td></tr></table></blockquote>Specifies the mxImage to be returned by getBackgroundImage. </div></div><div class=CToolTip id="tt76"><div class=CClass>Encapsulates the URL, width and height of an image.</div></div><div class=CToolTip id="tt77"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getBackgroundImage = function()</td></tr></table></blockquote>Returns the backgroundImage as an mxImage.</div></div><div class=CToolTip id="tt78"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.pageVisible</td></tr></table></blockquote>Specifies if the background page should be visible. </div></div><div class=CToolTip id="tt79"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.pageBreaksVisible</td></tr></table></blockquote>Specifies if a dashed line should be drawn between multiple pages. </div></div><div class=CToolTip id="tt80"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.pageBreakColor</td></tr></table></blockquote>Specifies the color for page breaks. </div></div><div class=CToolTip id="tt81"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.pageBreakDashed</td></tr></table></blockquote>Specifies the page breaks should be dashed. </div></div><div class=CToolTip id="tt82"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.minPageBreakDist</td></tr></table></blockquote>Specifies the minimum distance for page breaks to be visible. </div></div><div class=CToolTip id="tt83"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.preferPageSize</td></tr></table></blockquote>Specifies if the graph size should be rounded to the next page number in sizeDidChange. </div></div><div class=CToolTip id="tt84"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.pageFormat</td></tr></table></blockquote>Specifies the page format for the background page. </div></div><div class=CToolTip id="tt85"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.pageScale</td></tr></table></blockquote>Specifies the scale of the background page. </div></div><div class=CToolTip id="tt86"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.enabled</td></tr></table></blockquote>Specifies the return value for isEnabled. </div></div><div class=CToolTip id="tt87"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isEnabled = function()</td></tr></table></blockquote>Returns true if the graph is enabled.</div></div><div class=CToolTip id="tt88"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.escapeEnabled</td></tr></table></blockquote>Specifies if mxKeyHandler should invoke escape when the escape key is pressed. </div></div><div class=CToolTip id="tt89"><div class=CClass>Event handler that listens to keystroke events. </div></div><div class=CToolTip id="tt90"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.escape = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Processes an escape keystroke.</div></div><div class=CToolTip id="tt91"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.invokesStopCellEditing</td></tr></table></blockquote>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. </div></div><div class=CToolTip id="tt92"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.enterStopsCellEditing</td></tr></table></blockquote>If true, pressing the enter key without pressing control or shift will stop editing and accept the new value. </div></div><div class=CToolTip id="tt93"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.useScrollbarsForPanning</td></tr></table></blockquote>Specifies if scrollbars should be used for panning in panGraph if any scrollbars are available. </div></div><div class=CToolTip id="tt94"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.panGraph = function(</td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Shifts the graph display by the given amount. </div></div><div class=CToolTip id="tt95"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.exportEnabled</td></tr></table></blockquote>Specifies the return value for canExportCell. </div></div><div class=CToolTip id="tt96"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.canExportCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell may be exported to the clipboard. </div></div><div class=CToolTip id="tt97"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.importEnabled</td></tr></table></blockquote>Specifies the return value for canImportCell. </div></div><div class=CToolTip id="tt98"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.canImportCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell may be imported from the clipboard. </div></div><div class=CToolTip id="tt99"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsLocked</td></tr></table></blockquote>Specifies the return value for isCellLocked. </div></div><div class=CToolTip id="tt100"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellLocked = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected. </div></div><div class=CToolTip id="tt101"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsCloneable</td></tr></table></blockquote>Specifies the return value for isCellCloneable. </div></div><div class=CToolTip id="tt102"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellCloneable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is cloneable. </div></div><div class=CToolTip id="tt103"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.foldingEnabled</td></tr></table></blockquote>Specifies if folding (collapse and expand via an image icon in the graph should be enabled). </div></div><div class=CToolTip id="tt104"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsEditable</td></tr></table></blockquote>Specifies the return value for isCellEditable. </div></div><div class=CToolTip id="tt105"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellEditable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is editable. </div></div><div class=CToolTip id="tt106"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsDeletable</td></tr></table></blockquote>Specifies the return value for isCellDeletable. </div></div><div class=CToolTip id="tt107"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellDeletable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is moveable. </div></div><div class=CToolTip id="tt108"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsMovable</td></tr></table></blockquote>Specifies the return value for isCellMovable. </div></div><div class=CToolTip id="tt109"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellMovable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is moveable. </div></div><div class=CToolTip id="tt110"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.edgeLabelsMovable</td></tr></table></blockquote>Specifies the return value for edges in isLabelMovable. </div></div><div class=CToolTip id="tt111"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isLabelMovable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given edges&rsquo;s label is moveable. </div></div><div class=CToolTip id="tt112"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.vertexLabelsMovable</td></tr></table></blockquote>Specifies the return value for vertices in isLabelMovable. </div></div><div class=CToolTip id="tt113"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.dropEnabled</td></tr></table></blockquote>Specifies the return value for isDropEnabled. </div></div><div class=CToolTip id="tt114"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isDropEnabled = function()</td></tr></table></blockquote>Returns dropEnabled as a boolean.</div></div><div class=CToolTip id="tt115"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.splitEnabled</td></tr></table></blockquote>Specifies if dropping onto edges should be enabled. </div></div><div class=CToolTip id="tt116"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsResizable</td></tr></table></blockquote>Specifies the return value for isCellResizable. </div></div><div class=CToolTip id="tt117"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellResizable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is resizable. </div></div><div class=CToolTip id="tt118"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsBendable</td></tr></table></blockquote>Specifies the return value for isCellsBendable. </div></div><div class=CToolTip id="tt119"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsBendable = function()</td></tr></table></blockquote>Returns cellsBenadable.</div></div><div class=CToolTip id="tt120"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsSelectable</td></tr></table></blockquote>Specifies the return value for isCellSelectable. </div></div><div class=CToolTip id="tt121"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellSelectable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is selectable. </div></div><div class=CToolTip id="tt122"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cellsDisconnectable</td></tr></table></blockquote>Specifies the return value for isCellDisconntable. </div></div><div class=CToolTip id="tt123"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.autoSizeCells</td></tr></table></blockquote>Specifies if the graph should automatically update the cell size after an edit. </div></div><div class=CToolTip id="tt124"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.autoSizeCellsOnAdd</td></tr></table></blockquote>Specifies if autoSize style should be applied when cells are added. </div></div><div class=CToolTip id="tt125"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.autoScroll</td></tr></table></blockquote>Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging. </div></div><div class=CToolTip id="tt126"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.timerAutoScroll</td></tr></table></blockquote>Specifies if timer-based autoscrolling should be used via mxPanningManager. </div></div><div class=CToolTip id="tt127"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.allowAutoPanning</td></tr></table></blockquote>Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible. </div></div><div class=CToolTip id="tt128"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.scrollPointToVisible = function(</td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>extend,</td></tr><tr><td></td><td class=PParameter nowrap>border</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Scrolls the graph to the given point, extending the graph container if specified.</div></div><div class=CToolTip id="tt129"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.ignoreScrollbars</td></tr></table></blockquote>Specifies if the graph should automatically scroll regardless of the scrollbars.</div></div><div class=CToolTip id="tt130"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.autoExtend</td></tr></table></blockquote>Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging. </div></div><div class=CToolTip id="tt131"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.maximumGraphBounds</td></tr></table></blockquote>mxRectangle that specifies the area in which all cells in the diagram should be placed. </div></div><div class=CToolTip id="tt132"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt133"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.minimumGraphSize</td></tr></table></blockquote>mxRectangle that specifies the minimum size of the graph. </div></div><div class=CToolTip id="tt134"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.minimumContainerSize</td></tr></table></blockquote>mxRectangle that specifies the minimum size of the container if resizeContainer is true.</div></div><div class=CToolTip id="tt135"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.resizeContainer</td></tr></table></blockquote>Specifies if the container should be resized to the graph size when the graph size has changed. </div></div><div class=CToolTip id="tt136"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.maximumContainerSize</td></tr></table></blockquote>mxRectangle that specifies the maximum size of the container if resizeContainer is true.</div></div><div class=CToolTip id="tt137"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.border</td></tr></table></blockquote>Border to be added to the bottom and right side when the container is being resized after the graph has been changed. </div></div><div class=CToolTip id="tt138"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.keepEdgesInForeground</td></tr></table></blockquote>Specifies if edges should appear in the foreground regardless of their order in the model. </div></div><div class=CToolTip id="tt139"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.keepEdgesInBackground</td></tr></table></blockquote>Specifies if edges should appear in the background regardless of their order in the model. </div></div><div class=CToolTip id="tt140"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.allowNegativeCoordinates</td></tr></table></blockquote>Specifies if negative coordinates for vertices are allowed. </div></div><div class=CToolTip id="tt141"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.constrainChildren</td></tr></table></blockquote>Specifies if a child should be constrained inside the parent bounds after a move of the child. </div></div><div class=CToolTip id="tt142"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.constrainChildrenOnResize</td></tr></table></blockquote>Specifies if children should be constrained according to the constrainChildren switch if cells are resized. </div></div><div class=CToolTip id="tt143"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.extendParents</td></tr></table></blockquote>Specifies if a parent should contain the child bounds after a resize of the child. </div></div><div class=CToolTip id="tt144"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.extendParentsOnAdd</td></tr></table></blockquote>Specifies if parents should be extended according to the extendParents switch if cells are added. </div></div><div class=CToolTip id="tt145"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.recursiveResize</td></tr></table></blockquote>Specifies the return value for isRecursiveResize. </div></div><div class=CToolTip id="tt146"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isRecursiveResize = function()</td></tr></table></blockquote>Returns recursiveResize.</div></div><div class=CToolTip id="tt147"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.collapseToPreferredSize</td></tr></table></blockquote>Specifies if the cell size should be changed to the preferred size when a cell is first collapsed. </div></div><div class=CToolTip id="tt148"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.zoomFactor</td></tr></table></blockquote>Specifies the factor used for zoomIn and zoomOut. </div></div><div class=CToolTip id="tt149"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.zoomIn = function()</td></tr></table></blockquote>Zooms into the graph by zoomFactor.</div></div><div class=CToolTip id="tt150"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.zoomOut = function()</td></tr></table></blockquote>Zooms out of the graph by zoomFactor.</div></div><div class=CToolTip id="tt151"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.keepSelectionVisibleOnZoom</td></tr></table></blockquote>Specifies if the viewport should automatically contain the selection cells after a zoom operation. </div></div><div class=CToolTip id="tt152"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.centerZoom</td></tr></table></blockquote>Specifies if the zoom operations should go into the center of the actual diagram rather than going from top, left. </div></div><div class=CToolTip id="tt153"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.resetViewOnRootChange</td></tr></table></blockquote>Specifies if the scale and translate should be reset if the root changes in the model. </div></div><div class=CToolTip id="tt154"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.resetEdgesOnResize</td></tr></table></blockquote>Specifies if edge control points should be reset after the resize of a connected cell. </div></div><div class=CToolTip id="tt155"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.resetEdgesOnMove</td></tr></table></blockquote>Specifies if edge control points should be reset after the move of a connected cell. </div></div><div class=CToolTip id="tt156"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.resetEdgesOnConnect</td></tr></table></blockquote>Specifies if edge control points should be reset after the the edge has been reconnected. </div></div><div class=CToolTip id="tt157"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.allowLoops</td></tr></table></blockquote>Specifies if loops (aka self-references) are allowed. </div></div><div class=CToolTip id="tt158"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.defaultLoopStyle</td></tr></table></blockquote>mxEdgeStyle to be used for loops. </div></div><div class=CToolTip id="tt159"><div class=CClass>Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.</div></div><div class=CToolTip id="tt160"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.multigraph</td></tr></table></blockquote>Specifies if multiple edges in the same direction between the same pair of vertices are allowed. </div></div><div class=CToolTip id="tt161"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.connectableEdges</td></tr></table></blockquote>Specifies if edges are connectable. </div></div><div class=CToolTip id="tt162"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.allowDanglingEdges</td></tr></table></blockquote>Specifies if edges with disconnected terminals are allowed in the graph. </div></div><div class=CToolTip id="tt163"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.cloneInvalidEdges</td></tr></table></blockquote>Specifies if edges that are cloned should be validated and only inserted if they are valid. </div></div><div class=CToolTip id="tt164"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.disconnectOnMove</td></tr></table></blockquote>Specifies if edges should be disconnected from their terminals when they are moved. </div></div><div class=CToolTip id="tt165"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.labelsVisible</td></tr></table></blockquote>Specifies if labels should be visible. </div></div><div class=CToolTip id="tt166"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.htmlLabels</td></tr></table></blockquote>Specifies the return value for isHtmlLabel. </div></div><div class=CToolTip id="tt167"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isHtmlLabel = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the label must be rendered as HTML markup. </div></div><div class=CToolTip id="tt168"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.swimlaneSelectionEnabled</td></tr></table></blockquote>Specifies if swimlanes should be selectable via the content if the mouse is released. </div></div><div class=CToolTip id="tt169"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.swimlaneNesting</td></tr></table></blockquote>Specifies if nesting of swimlanes is allowed. </div></div><div class=CToolTip id="tt170"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.swimlaneIndicatorColorAttribute</td></tr></table></blockquote>The attribute used to find the color for the indicator if the indicator color is set to &lsquo;swimlane&rsquo;. </div></div><div class=CToolTip id="tt171"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.imageBundles</td></tr></table></blockquote>Holds the list of image bundles.</div></div><div class=CToolTip id="tt172"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.minFitScale</td></tr></table></blockquote>Specifies the minimum scale to be applied in fit. </div></div><div class=CToolTip id="tt173"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.fit = function(</td><td class=PParameter nowrap>border,</td></tr><tr><td></td><td class=PParameter nowrap>keepOrigin</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Scales the graph such that the complete diagram fits into container and returns the current scale in the view. </div></div><div class=CToolTip id="tt174"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.maxFitScale</td></tr></table></blockquote>Specifies the maximum scale to be applied in fit. </div></div><div class=CToolTip id="tt175"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.panDx</td></tr></table></blockquote>Current horizontal panning value. </div></div><div class=CToolTip id="tt176"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.panDy</td></tr></table></blockquote>Current vertical panning value. </div></div><div class=CToolTip id="tt177"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.collapsedImage</td></tr></table></blockquote>Specifies the mxImage to indicate a collapsed state. </div></div><div class=CToolTip id="tt178"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.expandedImage</td></tr></table></blockquote>Specifies the mxImage to indicate a expanded state. </div></div><div class=CToolTip id="tt179"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.warningImage</td></tr></table></blockquote>Specifies the mxImage for the image to be used to display a warning overlay. </div></div><div class=CToolTip id="tt180"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.alreadyConnectedResource</td></tr></table></blockquote>Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected. </div></div><div class=CToolTip id="tt181"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.containsValidationErrorsResource</td></tr></table></blockquote>Specifies the resource key for the warning message to be displayed when a collapsed cell contains validation errors. </div></div><div class=CToolTip id="tt182"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.collapseExpandResource</td></tr></table></blockquote>Specifies the resource key for the tooltip on the collapse/expand icon. </div></div><div class=CToolTip id="tt183"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.init = function(</td><td class=PParameter nowrap>container</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Initializes the container and creates the respective datastructures.</div></div><div class=CToolTip id="tt184"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.createHandlers = function(</td><td class=PParameter nowrap>container</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates the tooltip-, panning-, connection- and graph-handler (in this order). </div></div><div class=CToolTip id="tt185"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.createSelectionModel = function()</td></tr></table></blockquote>Creates a new mxGraphSelectionModel to be used in this graph.</div></div><div class=CToolTip id="tt186"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.createStylesheet = function()</td></tr></table></blockquote>Creates a new mxGraphSelectionModel to be used in this graph.</div></div><div class=CToolTip id="tt187"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.createGraphView = function()</td></tr></table></blockquote>Creates a new mxGraphView to be used in this graph.</div></div><div class=CToolTip id="tt188"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.createCellRenderer = function()</td></tr></table></blockquote>Creates a new mxCellRenderer to be used in this graph.</div></div><div class=CToolTip id="tt189"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.createCellEditor = function()</td></tr></table></blockquote>Creates a new mxCellEditor to be used in this graph.</div></div><div class=CToolTip id="tt190"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getModel = function()</td></tr></table></blockquote>Returns the mxGraphModel that contains the cells.</div></div><div class=CToolTip id="tt191"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getView = function()</td></tr></table></blockquote>Returns the mxGraphView that contains the mxCellStates.</div></div><div class=CToolTip id="tt192"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getStylesheet = function()</td></tr></table></blockquote>Returns the mxStylesheet that defines the style.</div></div><div class=CToolTip id="tt193"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setStylesheet = function(</td><td class=PParameter nowrap>stylesheet</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the mxStylesheet that defines the style.</div></div><div class=CToolTip id="tt194"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getSelectionModel = function()</td></tr></table></blockquote>Returns the mxGraphSelectionModel that contains the selection.</div></div><div class=CToolTip id="tt195"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setSelectionModel = function(</td><td class=PParameter nowrap>selectionModel</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the mxSelectionModel that contains the selection.</div></div><div class=CToolTip id="tt196"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getSelectionCellsForChanges = function(</td><td class=PParameter nowrap>changes</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cells to be selected for the given array of changes.</div></div><div class=CToolTip id="tt197"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.graphModelChanged = function(</td><td class=PParameter nowrap>changes</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Called when the graph model changes. </div></div><div class=CToolTip id="tt198"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getRemovedCellsForChanges = function(</td><td class=PParameter nowrap>changes</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cells that have been removed from the model.</div></div><div class=CToolTip id="tt199"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.processChange = function(</td><td class=PParameter nowrap>change</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Processes the given change and invalidates the respective cached data in view. </div></div><div class=CToolTip id="tt200"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeStateForCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes all cached information for the given cell and its descendants. </div></div><div class=CToolTip id="tt201"><div class=CClass>Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip. </div></div><div class=CToolTip id="tt202"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellOverlays = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the array of mxCellOverlays for the given cell or null, if no overlays are defined.</div></div><div class=CToolTip id="tt203"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.clearCellOverlays = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes all mxCellOverlays in the graph for the given cell and all its descendants. </div></div><div class=CToolTip id="tt204"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellWarning = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>warning,</td></tr><tr><td></td><td class=PParameter nowrap>img,</td></tr><tr><td></td><td class=PParameter nowrap>isSelect</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates an overlay for the given cell using the warning and image or warningImage and returns the new mxCellOverlay. </div></div><div class=CToolTip id="tt205"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.startEditing = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Calls startEditingAtCell using the given cell or the first selection cell.</div></div><div class=CToolTip id="tt206"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxCellEditor.prototype.startEditing = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>trigger</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Starts the editor for the given cell.</div></div><div class=CToolTip id="tt207"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getEditingValue = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the initial value for in-place editing. </div></div><div class=CToolTip id="tt208"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.stopEditing = function(</td><td class=PParameter nowrap>cancel</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Stops the current editing.</div></div><div class=CToolTip id="tt209"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.labelChanged = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the label of the specified cell to the given value using cellLabelChanged and fires mxEvent.LABEL_CHANGED while the transaction is in progress. </div></div><div class=CToolTip id="tt210"><div class=CEvent>Fires between begin- and endUpdate in cellLabelChanged. </div></div><div class=CToolTip id="tt211"><div class=CClass>Base class for all mouse events in mxGraph. </div></div><div class=CToolTip id="tt212"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.createPanningManager = function()</td></tr></table></blockquote>Creates and returns an mxPanningManager.</div></div><div class=CToolTip id="tt213"><div class=CClass>Implements a handler for panning.</div></div><div class=CToolTip id="tt214"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getBorderSizes = function()</td></tr></table></blockquote>Returns the size of the border and padding on all four sides of the container. </div></div><div class=CToolTip id="tt215"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getPreferredPageSize = function(</td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>width,</td></tr><tr><td></td><td class=PParameter nowrap>height</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the preferred size of the background page if preferPageSize is true.</div></div><div class=CToolTip id="tt216"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.doResizeContainer = function(</td><td class=PParameter nowrap>width,</td></tr><tr><td></td><td class=PParameter nowrap>height</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Resizes the container for the given graph width and height.</div></div><div class=CToolTip id="tt217"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.updatePageBreaks = function(</td><td class=PParameter nowrap>visible,</td></tr><tr><td></td><td class=PParameter nowrap>width,</td></tr><tr><td></td><td class=PParameter nowrap>height</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Invokes from sizeDidChange to redraw the page breaks.</div></div><div class=CToolTip id="tt218"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellStyle = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns an array of key, value pairs representing the cell style for the given cell. </div></div><div class=CToolTip id="tt219"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.postProcessCellStyle = function(</td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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.</div></div><div class=CToolTip id="tt220"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellStyle = function(</td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the style of the specified cells. </div></div><div class=CToolTip id="tt221"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.toggleCellStyle = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>defaultValue,</td></tr><tr><td></td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Toggles the boolean value for the given key in the style of the given cell. </div></div><div class=CToolTip id="tt222"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.toggleCellStyles = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>defaultValue,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Toggles the boolean value for the given key in the style of the given cells. </div></div><div class=CToolTip id="tt223"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellStyles = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the key to value in the styles of the given cells. </div></div><div class=CToolTip id="tt224"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.toggleCellStyleFlags = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>flag,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Toggles the given bit for the given key in the styles of the specified cells.</div></div><div class=CToolTip id="tt225"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellStyleFlags = function(</td><td class=PParameter nowrap>key,</td></tr><tr><td></td><td class=PParameter nowrap>flag,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets or toggles the given bit for the given key in the styles of the specified cells.</div></div><div class=CToolTip id="tt226"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addImageBundle = function(</td><td class=PParameter nowrap>bundle</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the specified mxImageBundle.</div></div><div class=CToolTip id="tt227"><div class=CClass>Maps from keys to base64 encoded images or file locations. </div></div><div class=CToolTip id="tt228"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeImageBundle = function(</td><td class=PParameter nowrap>bundle</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the specified mxImageBundle.</div></div><div class=CToolTip id="tt229"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getImageFromBundles = function(</td><td class=PParameter nowrap>key</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Searches all imageBundles for the specified key and returns the value for the first match or null if the key is not found.</div></div><div class=CToolTip id="tt230"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellsForGroup = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cells with the same parent as the first cell in the given array.</div></div><div class=CToolTip id="tt231"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getBoundsForGroup = function(</td><td class=PParameter nowrap>group,</td></tr><tr><td></td><td class=PParameter nowrap>children,</td></tr><tr><td></td><td class=PParameter nowrap>border</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the bounds to be used for the given group and children.</div></div><div class=CToolTip id="tt232"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.createGroupCell = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Hook for creating the group cell to hold the given array of mxCells if no group cell was given to the group function.</div></div><div class=CToolTip id="tt233"><div class=CClass>Cells are the elements of the graph model. </div></div><div class=CToolTip id="tt234"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.updateGroupBounds = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>border,</td></tr><tr><td></td><td class=PParameter nowrap>moveGroup</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the bounds of the given array of groups so that it includes all child vertices.</div></div><div class=CToolTip id="tt235"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cloneCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>allowInvalidEdges</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the clones for the given cells. </div></div><div class=CToolTip id="tt236"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.insertVertex = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>width,</td></tr><tr><td></td><td class=PParameter nowrap>height,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>relative</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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. </div></div><div class=CToolTip id="tt237"><div class=CClass>Extends mxRectangle to represent the geometry of a cell.</div></div><div class=CToolTip id="tt238"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.createVertex = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>width,</td></tr><tr><td></td><td class=PParameter nowrap>height,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>relative</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Hook method that creates the new vertex for insertVertex.</div></div><div class=CToolTip id="tt239"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.insertEdge = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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. </div></div><div class=CToolTip id="tt240"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.createEdge = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>value,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Hook method that creates the new edge for insertEdge. </div></div><div class=CToolTip id="tt241"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addEdge = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>index</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the edge to the parent and connects it to the given source and target terminals. </div></div><div class=CToolTip id="tt242"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>index,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the cell to the parent and connects it to the given source and target terminals. </div></div><div class=CToolTip id="tt243"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.autoSizeCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the given cells from the graph including all connected edges if includeEdges is true. </div></div><div class=CToolTip id="tt244"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsToggled = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>show</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the visible state of the specified cells.</div></div><div class=CToolTip id="tt245"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellsFolded = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>collapse,</td></tr><tr><td></td><td class=PParameter nowrap>recurse,</td></tr><tr><td></td><td class=PParameter nowrap>checkFoldable</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the collapsed state of the specified cells. </div></div><div class=CToolTip id="tt246"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.swapBounds = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>willCollapse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Swaps the alternate and the actual bounds in the geometry of the given cell invoking updateAlternateBounds before carrying out the swap.</div></div><div class=CToolTip id="tt247"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.updateAlternateBounds = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>geo,</td></tr><tr><td></td><td class=PParameter nowrap>willCollapse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Updates or sets the alternate bounds in the given geometry for the given cell depending on whether the cell is going to be collapsed. </div></div><div class=CToolTip id="tt248"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addAllEdges = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns an array with the given cells and all edges that are connected to a cell or one of its descendants.</div></div><div class=CToolTip id="tt249"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getAllEdges = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns all edges connected to the given cells or its descendants.</div></div><div class=CToolTip id="tt250"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellSizeUpdated = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>ignoreChildren</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the size of the given cell in the model using getPreferredSizeForCell to get the new size.</div></div><div class=CToolTip id="tt251"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getPreferredSizeForCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the preferred width and height of the given mxCell as an mxRectangle. </div></div><div class=CToolTip id="tt252"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.resizeCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the bounds of the given cell using resizeCells. </div></div><div class=CToolTip id="tt253"><div class=CEvent>Fires between begin- and endUpdate in resizeCells. </div></div><div class=CToolTip id="tt254"><div class=CEvent>Fires between begin- and endUpdate in cellsResized. </div></div><div class=CToolTip id="tt255"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.cellResized = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>bounds,</td></tr><tr><td></td><td class=PParameter nowrap>ignoreRelative,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Resizes the parents recursively so that they contain the complete area of the resized child cell.</div></div><div class=CToolTip id="tt256"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.resizeChildCells = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>newGeo</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Resizes the child cells of the given cell for the given new geometry with respect to the current geometry of the cell.</div></div><div class=CToolTip id="tt257"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.constrainChildCells = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constrains the children of the given cell using constrainChild.</div></div><div class=CToolTip id="tt258"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.constrainChild = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Keeps the given cell inside the bounds returned by getCellContainmentArea for its parent, according to the rules defined by getOverlap and isConstrainChild. </div></div><div class=CToolTip id="tt259"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.scaleCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Scales the points, position and size of the given cell according to the given vertical and horizontal scaling factors.</div></div><div class=CToolTip id="tt260"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.extendParent = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Resizes the parents recursively so that they contain the complete area of the resized child cell.</div></div><div class=CToolTip id="tt261"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.importCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Clones and inserts the given cells into the graph using the move method and returns the inserted cells. </div></div><div class=CToolTip id="tt262"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.translateCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Translates the geometry of the given cell and stores the new, translated geometry in the model as an atomic change.</div></div><div class=CToolTip id="tt263"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellContainmentArea = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the mxRectangle inside which a cell is to be kept.</div></div><div class=CToolTip id="tt264"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getMaximumGraphBounds = function()</td></tr></table></blockquote>Returns the bounds inside which the diagram should be kept as an mxRectangle.</div></div><div class=CToolTip id="tt265"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isConstrainChild = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell should be kept inside the bounds of its parent according to the rules defined by getOverlap and isAllowOverlapParent. </div></div><div class=CToolTip id="tt266"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.resetEdges = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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.</div></div><div class=CToolTip id="tt267"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.resetEdge = function(</td><td class=PParameter nowrap>edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Resets the control points of the given edge.</div></div><div class=CToolTip id="tt268"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getAllConnectionConstraints = function(</td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns an array of all mxConnectionConstraints for the given terminal. </div></div><div class=CToolTip id="tt269"><div class=CClass>Defines an object that contains the constraints about how to connect one side of an edge to its terminal.</div></div><div class=CToolTip id="tt270"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getConnectionConstraint = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns an mxConnectionConstraint that describes the given connection point. </div></div><div class=CToolTip id="tt271"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setConnectionConstraint = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>constraint</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the mxConnectionConstraint that describes the given connection point. </div></div><div class=CToolTip id="tt272"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getConnectionPoint = function(</td><td class=PParameter nowrap>vertex,</td></tr><tr><td></td><td class=PParameter nowrap>constraint</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the nearest point in the list of absolute points or the center of the opposite terminal.</div></div><div class=CToolTip id="tt273"><div class=CEvent>Fires between begin- and endUpdate in connectCell. </div></div><div class=CToolTip id="tt274"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.disconnectGraph = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Disconnects the given edges from the terminals which are not in the given array.</div></div><div class=CToolTip id="tt275"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getCurrentRoot = function()</td></tr></table></blockquote>Returns the current root of the displayed cell hierarchy. </div></div><div class=CToolTip id="tt276"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getTranslateForRoot = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the translation to be used if the given cell is the root cell as an mxPoint. </div></div><div class=CToolTip id="tt277"><div class=CClass>Implements a 2-dimensional vector with double precision coordinates.</div></div><div class=CToolTip id="tt278"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isPort = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is a &ldquo;port&rdquo;, 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. </div></div><div class=CToolTip id="tt279"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getTerminalForPort = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the terminal to be used for a given port. </div></div><div class=CToolTip id="tt280"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getChildOffsetForCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the offset to be used for the cells inside the given cell. </div></div><div class=CToolTip id="tt281"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.enterGroup = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Uses the given cell as the root of the displayed cell hierarchy. </div></div><div class=CToolTip id="tt282"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.exitGroup = function()</td></tr></table></blockquote>Changes the current root to the next valid root in the displayed cell hierarchy.</div></div><div class=CToolTip id="tt283"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.home = function()</td></tr></table></blockquote>Uses the root of the model as the root of the displayed cell hierarchy and selects the previous root.</div></div><div class=CToolTip id="tt284"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isValidRoot = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is a valid root for the cell display hierarchy. </div></div><div class=CToolTip id="tt285"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getGraphBounds = function()</td></tr></table></blockquote>Returns the bounds of the visible graph. </div></div><div class=CToolTip id="tt286"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellBounds = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>includeEdges,</td></tr><tr><td></td><td class=PParameter nowrap>includeDescendants</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the scaled, translated bounds for the given cell. </div></div><div class=CToolTip id="tt287"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getBoundingBoxFromGeometry = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>includeEdges</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the bounding box for the geometries of the vertices in the given array of cells. </div></div><div class=CToolTip id="tt288"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.snap = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Snaps the given numeric value to the grid if gridEnabled is true.</div></div><div class=CToolTip id="tt289"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.zoomActual = function()</td></tr></table></blockquote>Resets the zoom and panning in the view.</div></div><div class=CToolTip id="tt290"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.zoomTo = function(</td><td class=PParameter nowrap>scale,</td></tr><tr><td></td><td class=PParameter nowrap>center</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Zooms the graph to the given scale with an optional boolean center argument, which is passd to zoom.</div></div><div class=CToolTip id="tt291"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.zoom = function(</td><td class=PParameter nowrap>factor,</td></tr><tr><td></td><td class=PParameter nowrap>center</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Zooms the graph using the given factor. </div></div><div class=CToolTip id="tt292"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.zoomToRect = function(</td><td class=PParameter nowrap>rect</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Zooms the graph to the specified rectangle. </div></div><div class=CToolTip id="tt293"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.scrollCellToVisible = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>center</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Pans the graph so that it shows the given cell. </div></div><div class=CToolTip id="tt294"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.scrollRectToVisible = function(</td><td class=PParameter nowrap>rect</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Pans the graph so that it shows the given rectangle.</div></div><div class=CToolTip id="tt295"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellGeometry = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the mxGeometry for the given cell. </div></div><div class=CToolTip id="tt296"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellVisible = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is visible in this graph. </div></div><div class=CToolTip id="tt297"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellCollapsed = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is collapsed in this graph. </div></div><div class=CToolTip id="tt298"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellConnectable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is connectable in this graph. </div></div><div class=CToolTip id="tt299"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isOrthogonal = function(</td><td class=PParameter nowrap>edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.</div></div><div class=CToolTip id="tt300"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isLoop = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell state is a loop.</div></div><div class=CToolTip id="tt301"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCloneEvent = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given event is a clone event. </div></div><div class=CToolTip id="tt302"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isToggleEvent = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given event is a toggle event. </div></div><div class=CToolTip id="tt303"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isGridEnabledEvent = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given mouse event should be aligned to the grid.</div></div><div class=CToolTip id="tt304"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isConstrainedEvent = function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given mouse event should be aligned to the grid.</div></div><div class=CToolTip id="tt305"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.validationAlert = function(</td><td class=PParameter nowrap>message</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Displays the given validation error in a dialog. </div></div><div class=CToolTip id="tt306"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isEdgeValid = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Checks if the return value of getEdgeValidationError for the given arguments is null.</div></div><div class=CToolTip id="tt307"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getEdgeValidationError = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the validation error message to be displayed when inserting or changing an edges&rsquo; connectivity. </div></div><div class=CToolTip id="tt308"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.validateEdge = function(</td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Hook method for subclassers to return an error message for the given edge and terminals. </div></div><div class=CToolTip id="tt309"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.validateGraph = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>context</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Validates the graph by validating each descendant of the given cell or the root of the model. </div></div><div class=CToolTip id="tt310"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellValidationError = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Checks all multiplicities that cannot be enforced while the graph is being modified, namely, all multiplicities that require a minimum of 1 edge.</div></div><div class=CToolTip id="tt311"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.validateCell = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>context</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Hook method for subclassers to return an error message for the given cell and validation context. </div></div><div class=CToolTip id="tt312"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setBackgroundImage = function(</td><td class=PParameter nowrap>image</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the new backgroundImage.</div></div><div class=CToolTip id="tt313"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getFoldingImage = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the mxImage used to display the collapsed state of the specified cell state. </div></div><div class=CToolTip id="tt314"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.convertValueToString = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the textual representation for the given cell. </div></div><div class=CToolTip id="tt315"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getLabel = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns a string or DOM node that represents the label for the given cell. </div></div><div class=CToolTip id="tt316"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isHtmlLabels = function()</td></tr></table></blockquote>Returns htmlLabels.</div></div><div class=CToolTip id="tt317"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setHtmlLabels = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets htmlLabels.</div></div><div class=CToolTip id="tt318"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isWrapping = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>This enables wrapping for HTML labels.</div></div><div class=CToolTip id="tt319"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isLabelClipped = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the overflow portion of labels should be hidden. </div></div><div class=CToolTip id="tt320"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getTooltip = function(</td><td class=PParameter nowrap>state,</td></tr><tr><td></td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the string or DOM node that represents the tooltip for the given state, node and coordinate pair. </div></div><div class=CToolTip id="tt321"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getTooltipForCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the string or DOM node to be used as the tooltip for the given cell. </div></div><div class=CToolTip id="tt322"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCursorForMouseEvent = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cursor value to be used for the CSS of the shape for the given event. </div></div><div class=CToolTip id="tt323"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCursorForCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cursor value to be used for the CSS of the shape for the given cell. </div></div><div class=CToolTip id="tt324"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getStartSize = function(</td><td class=PParameter nowrap>swimlane</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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. </div></div><div class=CToolTip id="tt325"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getImage = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the image URL for the given cell state. </div></div><div class=CToolTip id="tt326"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getVerticalAlign = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the vertical alignment for the given cell state. </div></div><div class=CToolTip id="tt327"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getIndicatorColor = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the indicator color for the given cell state. </div></div><div class=CToolTip id="tt328"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getIndicatorGradientColor = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the indicator gradient color for the given cell state. </div></div><div class=CToolTip id="tt329"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getIndicatorShape = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the indicator shape for the given cell state. </div></div><div class=CToolTip id="tt330"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getIndicatorImage = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the indicator image for the given cell state. </div></div><div class=CToolTip id="tt331"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getBorder = function()</td></tr></table></blockquote>Returns the value of border.</div></div><div class=CToolTip id="tt332"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setBorder = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the value of border.</div></div><div class=CToolTip id="tt333"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isSwimlane = function (</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is a swimlane in the graph. </div></div><div class=CToolTip id="tt334"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isResizeContainer = function()</td></tr></table></blockquote>Returns resizeContainer.</div></div><div class=CToolTip id="tt335"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setResizeContainer = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets resizeContainer.</div></div><div class=CToolTip id="tt336"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the graph should allow any interactions. </div></div><div class=CToolTip id="tt337"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isEscapeEnabled = function()</td></tr></table></blockquote>Returns escapeEnabled.</div></div><div class=CToolTip id="tt338"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setEscapeEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets escapeEnabled.</div></div><div class=CToolTip id="tt339"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isInvokesStopCellEditing = function()</td></tr></table></blockquote>Returns invokesStopCellEditing.</div></div><div class=CToolTip id="tt340"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setInvokesStopCellEditing = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets invokesStopCellEditing.</div></div><div class=CToolTip id="tt341"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isEnterStopsCellEditing = function()</td></tr></table></blockquote>Returns enterStopsCellEditing.</div></div><div class=CToolTip id="tt342"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setEnterStopsCellEditing = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets enterStopsCellEditing.</div></div><div class=CToolTip id="tt343"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsLocked = function()</td></tr></table></blockquote>Returns true if the given cell may not be moved, sized, bended, disconnected, edited or selected. </div></div><div class=CToolTip id="tt344"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCloneableCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cells which may be exported in the given array of cells.</div></div><div class=CToolTip id="tt345"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsCloneable = function()</td></tr></table></blockquote>Returns cellsCloneable, that is, if the graph allows cloning of cells by using control-drag.</div></div><div class=CToolTip id="tt346"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsCloneable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the graph should allow cloning of cells by holding down the control key while cells are being moved. </div></div><div class=CToolTip id="tt347"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getExportableCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cells which may be exported in the given array of cells.</div></div><div class=CToolTip id="tt348"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getImportableCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cells which may be imported in the given array of cells.</div></div><div class=CToolTip id="tt349"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsSelectable = function()</td></tr></table></blockquote>Returns cellsSelectable.</div></div><div class=CToolTip id="tt350"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsSelectable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets cellsSelectable.</div></div><div class=CToolTip id="tt351"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getDeletableCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cells which may be exported in the given array of cells.</div></div><div class=CToolTip id="tt352"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsDeletable = function()</td></tr></table></blockquote>Returns cellsDeletable.</div></div><div class=CToolTip id="tt353"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsDeletable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets cellsDeletable.</div></div><div class=CToolTip id="tt354"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellRotatable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is rotatable. </div></div><div class=CToolTip id="tt355"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getMovableCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cells which are movable in the given array of cells.</div></div><div class=CToolTip id="tt356"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsMovable = function()</td></tr></table></blockquote>Returns cellsMovable.</div></div><div class=CToolTip id="tt357"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsMovable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the graph should allow moving of cells. </div></div><div class=CToolTip id="tt358"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isGridEnabled = function()</td></tr></table></blockquote>Returns gridEnabled as a boolean.</div></div><div class=CToolTip id="tt359"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setGridEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the grid should be enabled.</div></div><div class=CToolTip id="tt360"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isPortsEnabled = function()</td></tr></table></blockquote>Returns portsEnabled as a boolean.</div></div><div class=CToolTip id="tt361"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setPortsEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the ports should be enabled.</div></div><div class=CToolTip id="tt362"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getGridSize = function()</td></tr></table></blockquote>Returns gridSize.</div></div><div class=CToolTip id="tt363"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setGridSize = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets gridSize.</div></div><div class=CToolTip id="tt364"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getTolerance = function()</td></tr></table></blockquote>Returns tolerance.</div></div><div class=CToolTip id="tt365"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setTolerance = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets tolerance.</div></div><div class=CToolTip id="tt366"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isVertexLabelsMovable = function()</td></tr></table></blockquote>Returns vertexLabelsMovable.</div></div><div class=CToolTip id="tt367"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setVertexLabelsMovable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets vertexLabelsMovable.</div></div><div class=CToolTip id="tt368"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isEdgeLabelsMovable = function()</td></tr></table></blockquote>Returns edgeLabelsMovable.</div></div><div class=CToolTip id="tt369"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isSwimlaneNesting = function()</td></tr></table></blockquote>Returns swimlaneNesting as a boolean.</div></div><div class=CToolTip id="tt370"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setSwimlaneNesting = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if swimlanes can be nested by drag and drop. </div></div><div class=CToolTip id="tt371"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isSwimlaneSelectionEnabled = function()</td></tr></table></blockquote>Returns swimlaneSelectionEnabled as a boolean.</div></div><div class=CToolTip id="tt372"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setSwimlaneSelectionEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if swimlanes should be selected if the mouse is released over their content area.</div></div><div class=CToolTip id="tt373"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isMultigraph = function()</td></tr></table></blockquote>Returns multigraph as a boolean.</div></div><div class=CToolTip id="tt374"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setMultigraph = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the graph should allow multiple connections between the same pair of vertices.</div></div><div class=CToolTip id="tt375"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isAllowLoops = function()</td></tr></table></blockquote>Returns allowLoops as a boolean.</div></div><div class=CToolTip id="tt376"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setAllowDanglingEdges = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if dangling edges are allowed, that is, if edges are allowed that do not have a source and/or target terminal defined.</div></div><div class=CToolTip id="tt377"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isAllowDanglingEdges = function()</td></tr></table></blockquote>Returns allowDanglingEdges as a boolean.</div></div><div class=CToolTip id="tt378"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setConnectableEdges = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if edges should be connectable.</div></div><div class=CToolTip id="tt379"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isConnectableEdges = function()</td></tr></table></blockquote>Returns connectableEdges as a boolean.</div></div><div class=CToolTip id="tt380"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCloneInvalidEdges = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if edges should be inserted when cloned but not valid wrt. </div></div><div class=CToolTip id="tt381"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCloneInvalidEdges = function()</td></tr></table></blockquote>Returns cloneInvalidEdges as a boolean.</div></div><div class=CToolTip id="tt382"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setAllowLoops = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if loops are allowed.</div></div><div class=CToolTip id="tt383"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isDisconnectOnMove = function()</td></tr></table></blockquote>Returns disconnectOnMove as a boolean.</div></div><div class=CToolTip id="tt384"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setDisconnectOnMove = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if edges should be disconnected when moved. </div></div><div class=CToolTip id="tt385"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setDropEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the graph should allow dropping of cells onto or into other cells.</div></div><div class=CToolTip id="tt386"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isSplitEnabled = function()</td></tr></table></blockquote>Returns splitEnabled as a boolean.</div></div><div class=CToolTip id="tt387"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setSplitEnabled = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the graph should allow dropping of cells onto or into other cells.</div></div><div class=CToolTip id="tt388"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsResizable = function()</td></tr></table></blockquote>Returns cellsResizable.</div></div><div class=CToolTip id="tt389"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsResizable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the graph should allow resizing of cells. </div></div><div class=CToolTip id="tt390"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isTerminalPointMovable = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given terminal point is movable. </div></div><div class=CToolTip id="tt391"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellBendable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is bendable. </div></div><div class=CToolTip id="tt392"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsBendable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the graph should allow bending of edges. </div></div><div class=CToolTip id="tt393"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsEditable = function()</td></tr></table></blockquote>Returns cellsEditable.</div></div><div class=CToolTip id="tt394"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsEditable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the graph should allow in-place editing for cell labels. </div></div><div class=CToolTip id="tt395"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellDisconnectable = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is disconnectable from the source or target terminal. </div></div><div class=CToolTip id="tt396"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isCellsDisconnectable = function()</td></tr></table></blockquote>Returns cellsDisconnectable.</div></div><div class=CToolTip id="tt397"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setCellsDisconnectable = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets cellsDisconnectable.</div></div><div class=CToolTip id="tt398"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isValidSource = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is a valid source for new connections. </div></div><div class=CToolTip id="tt399"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isValidTarget = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns isValidSource for the given cell. </div></div><div class=CToolTip id="tt400"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isValidConnection = function(</td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given target cell is a valid target for source. </div></div><div class=CToolTip id="tt401"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setConnectable = function(</td><td class=PParameter nowrap>connectable</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the graph should allow new connections. </div></div><div class=CToolTip id="tt402"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isConnectable = function(</td><td class=PParameter nowrap>connectable</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the connectionHandler is enabled.</div></div><div class=CToolTip id="tt403"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setTooltips = function (</td><td class=PParameter nowrap>enabled</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if tooltips should be enabled. </div></div><div class=CToolTip id="tt404"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setPanning = function(</td><td class=PParameter nowrap>enabled</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if panning should be enabled. </div></div><div class=CToolTip id="tt405"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isEditing = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is currently being edited. </div></div><div class=CToolTip id="tt406"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isAutoSizeCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the size of the given cell should automatically be updated after a change of the label. </div></div><div class=CToolTip id="tt407"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isAutoSizeCells = function()</td></tr></table></blockquote>Returns autoSizeCells.</div></div><div class=CToolTip id="tt408"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setAutoSizeCells = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if cell sizes should be automatically updated after a label change. </div></div><div class=CToolTip id="tt409"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isExtendParent = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the parent of the given cell should be extended if the child has been resized so that it overlaps the parent. </div></div><div class=CToolTip id="tt410"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isExtendParents = function()</td></tr></table></blockquote>Returns extendParents.</div></div><div class=CToolTip id="tt411"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setExtendParents = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets extendParents.</div></div><div class=CToolTip id="tt412"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isExtendParentsOnAdd = function()</td></tr></table></blockquote>Returns extendParentsOnAdd.</div></div><div class=CToolTip id="tt413"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setExtendParentsOnAdd = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets extendParentsOnAdd.</div></div><div class=CToolTip id="tt414"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setRecursiveResize = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets recursiveResize.</div></div><div class=CToolTip id="tt415"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isConstrainChildren = function()</td></tr></table></blockquote>Returns constrainChildren.</div></div><div class=CToolTip id="tt416"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setConstrainChildrenOnResize = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets constrainChildrenOnResize.</div></div><div class=CToolTip id="tt417"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isConstrainChildrenOnResize = function()</td></tr></table></blockquote>Returns constrainChildrenOnResize.</div></div><div class=CToolTip id="tt418"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setConstrainChildren = function(</td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets constrainChildren.</div></div><div class=CToolTip id="tt419"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getFoldableCells = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>collapse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the cells which are movable in the given array of cells.</div></div><div class=CToolTip id="tt420"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellFoldable = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>collapse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is foldable. </div></div><div class=CToolTip id="tt421"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isValidDropTarget = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is a valid drop target for the specified cells. </div></div><div class=CToolTip id="tt422"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isSplitTarget = function(</td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given edge may be splitted into two edges with the given cell as a new terminal between the two.</div></div><div class=CToolTip id="tt423"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getDropTarget = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>evt,</td></tr><tr><td></td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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. </div></div><div class=CToolTip id="tt424"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getDefaultParent = function()</td></tr></table></blockquote>Returns defaultParent or mxGraphView.currentRoot or the first child child of mxGraphModel.root if both are null. </div></div><div class=CToolTip id="tt425"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraphView.prototype.currentRoot</td></tr></table></blockquote>mxCell that acts as the root of the displayed cell hierarchy.</div></div><div class=CToolTip id="tt426"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraphModel.prototype.root</td></tr></table></blockquote>Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells. </div></div><div class=CToolTip id="tt427"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setDefaultParent = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the defaultParent to the given cell. </div></div><div class=CToolTip id="tt428"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getSwimlane = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the nearest ancestor of the given cell which is a swimlane, or the given cell, if it is itself a swimlane.</div></div><div class=CToolTip id="tt429"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getSwimlaneAt = function (</td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the bottom-most swimlane that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.</div></div><div class=CToolTip id="tt430"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellAt = function(</td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>vertices,</td></tr><tr><td></td><td class=PParameter nowrap>edges</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent. </div></div><div class=CToolTip id="tt431"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.intersects = function(</td><td class=PParameter nowrap>state,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.</div></div><div class=CToolTip id="tt432"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.hitsSwimlaneContent = function(</td><td class=PParameter nowrap>swimlane,</td></tr><tr><td></td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given coordinate pair is inside the content are of the given swimlane.</div></div><div class=CToolTip id="tt433"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getChildVertices = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the visible child vertices of the given parent.</div></div><div class=CToolTip id="tt434"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getChildEdges = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the visible child edges of the given parent.</div></div><div class=CToolTip id="tt435"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getChildCells = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>vertices,</td></tr><tr><td></td><td class=PParameter nowrap>edges</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the visible child vertices or edges in the given parent. </div></div><div class=CToolTip id="tt436"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getConnections = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns all visible edges connected to the given cell without loops.</div></div><div class=CToolTip id="tt437"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getIncomingEdges = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the visible incoming edges for the given cell. </div></div><div class=CToolTip id="tt438"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getOutgoingEdges = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the visible outgoing edges for the given cell. </div></div><div class=CToolTip id="tt439"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getEdges = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>incoming,</td></tr><tr><td></td><td class=PParameter nowrap>outgoing,</td></tr><tr><td></td><td class=PParameter nowrap>includeLoops,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the incoming and/or outgoing edges for the given cell. </div></div><div class=CToolTip id="tt440"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isValidAncestor = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>recurse</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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.</div></div><div class=CToolTip id="tt441"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getOpposites = function(</td><td class=PParameter nowrap>edges,</td></tr><tr><td></td><td class=PParameter nowrap>terminal,</td></tr><tr><td></td><td class=PParameter nowrap>sources,</td></tr><tr><td></td><td class=PParameter nowrap>targets</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns all distinct visible opposite cells for the specified terminal on the given edges.</div></div><div class=CToolTip id="tt442"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getEdgesBetween = function(</td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>directed</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the edges between the given source and target. </div></div><div class=CToolTip id="tt443"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getPointForEvent = function(</td><td class=PParameter nowrap>evt,</td></tr><tr><td></td><td class=PParameter nowrap>addOffset</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns an mxPoint representing the given event in the unscaled, non-translated coordinate space of container and applies the grid.</div></div><div class=CToolTip id="tt444"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCells = function(</td><td class=PParameter nowrap>x,</td></tr><tr><td></td><td class=PParameter nowrap>y,</td></tr><tr><td></td><td class=PParameter nowrap>width,</td></tr><tr><td></td><td class=PParameter nowrap>height,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>result</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the children of the given parent that are contained in the given rectangle (x, y, width, height). </div></div><div class=CToolTip id="tt445"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.getCellsBeyond = function(</td><td class=PParameter nowrap>x0,</td></tr><tr><td></td><td class=PParameter nowrap>y0,</td></tr><tr><td></td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>rightHalfpane,</td></tr><tr><td></td><td class=PParameter nowrap>bottomHalfpane</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the children of the given parent that are contained in the halfpane from the given point (x0, y0) rightwards and/or downwards depending on rightHalfpane and bottomHalfpane.</div></div><div class=CToolTip id="tt446"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.findTreeRoots = function(</td><td class=PParameter nowrap>parent,</td></tr><tr><td></td><td class=PParameter nowrap>isolate,</td></tr><tr><td></td><td class=PParameter nowrap>invert</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns all children in the given parent which do not have incoming edges. </div></div><div class=CToolTip id="tt447"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.traverse = function(</td><td class=PParameter nowrap>vertex,</td></tr><tr><td></td><td class=PParameter nowrap>directed,</td></tr><tr><td></td><td class=PParameter nowrap>func,</td></tr><tr><td></td><td class=PParameter nowrap>edge,</td></tr><tr><td></td><td class=PParameter nowrap>visited</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Traverses the (directed) graph invoking the given function for each visited vertex and edge. </div></div><div class=CToolTip id="tt448"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isCellSelected = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is selected.</div></div><div class=CToolTip id="tt449"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.isSelectionEmpty = function()</td></tr></table></blockquote>Returns true if the selection is empty.</div></div><div class=CToolTip id="tt450"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.clearSelection = function()</td></tr></table></blockquote>Clears the selection using mxGraphSelectionModel.clear.</div></div><div class=CToolTip id="tt451"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraphSelectionModel.prototype.clear = function()</td></tr></table></blockquote>Clears the selection and fires a change event if the selection was not empty.</div></div><div class=CToolTip id="tt452"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getSelectionCount = function()</td></tr></table></blockquote>Returns the number of selected cells.</div></div><div class=CToolTip id="tt453"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getSelectionCell = function()</td></tr></table></blockquote>Returns the first cell from the array of selected mxCells.</div></div><div class=CToolTip id="tt454"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getSelectionCells = function()</td></tr></table></blockquote>Returns the array of selected mxCells.</div></div><div class=CToolTip id="tt455"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setSelectionCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the selection cell.</div></div><div class=CToolTip id="tt456"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.setSelectionCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the selection cell.</div></div><div class=CToolTip id="tt457"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addSelectionCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the given cell to the selection.</div></div><div class=CToolTip id="tt458"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addSelectionCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the given cells to the selection.</div></div><div class=CToolTip id="tt459"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeSelectionCell = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the given cell from the selection.</div></div><div class=CToolTip id="tt460"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeSelectionCells = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the given cells from the selection.</div></div><div class=CToolTip id="tt461"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectRegion = function(</td><td class=PParameter nowrap>rect,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Selects and returns the cells inside the given rectangle for the specified event.</div></div><div class=CToolTip id="tt462"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.selectNextCell = function()</td></tr></table></blockquote>Selects the next cell.</div></div><div class=CToolTip id="tt463"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.selectPreviousCell = function()</td></tr></table></blockquote>Selects the previous cell.</div></div><div class=CToolTip id="tt464"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.selectParentCell = function()</td></tr></table></blockquote>Selects the parent cell.</div></div><div class=CToolTip id="tt465"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.selectChildCell = function()</td></tr></table></blockquote>Selects the first child cell.</div></div><div class=CToolTip id="tt466"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectCell = function(</td><td class=PParameter nowrap>isNext,</td></tr><tr><td></td><td class=PParameter nowrap>isParent,</td></tr><tr><td></td><td class=PParameter nowrap>isChild</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Selects the next, parent, first child or previous cell, if all arguments are false.</div></div><div class=CToolTip id="tt467"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectAll = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Selects all children of the given parent cell or the children of the default parent if no parent is specified. </div></div><div class=CToolTip id="tt468"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectVertices = function(</td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Select all vertices inside the given parent or the default parent.</div></div><div class=CToolTip id="tt469"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectCells = function(</td><td class=PParameter nowrap>vertices,</td></tr><tr><td></td><td class=PParameter nowrap>edges,</td></tr><tr><td></td><td class=PParameter nowrap>parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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. </div></div><div class=CToolTip id="tt470"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectCellForEvent = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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.</div></div><div class=CToolTip id="tt471"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.selectCellsForEvent = function(</td><td class=PParameter nowrap>cells,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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.</div></div><div class=CToolTip id="tt472"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.createHandler = function(</td><td class=PParameter nowrap>state</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a new handler for the given cell state. </div></div><div class=CToolTip id="tt473"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.addMouseListener = function(</td><td class=PParameter nowrap>listener</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds a listener to the graph event dispatch loop. </div></div><div class=CToolTip id="tt474"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.removeMouseListener = function(</td><td class=PParameter nowrap>listener</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the specified graph listener.</div></div><div class=CToolTip id="tt475"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.updateMouseEvent = function(</td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the graphX and graphY properties if the given mxMouseEvent if required and returned the event.</div></div><div class=CToolTip id="tt476"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isEventIgnored = function(</td><td class=PParameter nowrap>evtName,</td></tr><tr><td></td><td class=PParameter nowrap>me,</td></tr><tr><td></td><td class=PParameter nowrap>sender</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the event should be ignored in fireMouseEvent.</div></div><div class=CToolTip id="tt477"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isSyntheticEventIgnored = function(</td><td class=PParameter nowrap>evtName,</td></tr><tr><td></td><td class=PParameter nowrap>me,</td></tr><tr><td></td><td class=PParameter nowrap>sender</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Hook for ignoring synthetic mouse events after touchend in Firefox.</div></div><div class=CToolTip id="tt478"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isEventSourceIgnored = function(</td><td class=PParameter nowrap>evtName,</td></tr><tr><td></td><td class=PParameter nowrap>me</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the event should be ignored in fireMouseEvent. </div></div><div class=CToolTip id="tt479"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.consumeMouseEvent = function(</td><td class=PParameter nowrap>evtName,</td></tr><tr><td></td><td class=PParameter nowrap>me,</td></tr><tr><td></td><td class=PParameter nowrap>sender</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Destroys the graph and all its resources.</div></div><div class=CToolTip id="tt480"><div class=CEvent>Fires in fireGestureEvent after a touch gesture. </div></div><div class=CToolTip id="tt481"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.destroy = function()</td></tr></table></blockquote>Destroys the graph and all its resources.</div></div><div class=CToolTip id="tt482"><div class=CClass>Event handler that selects rectangular regions. </div></div><div class=CToolTip id="tt483"><div class=CClass>Graph event handler that displays tooltips. </div></div><div class=CToolTip id="tt484"><div class=CClass>Event handler that pans and creates popupmenus. </div></div><div class=CToolTip id="tt485"><div class=CClass>Graph event handler that creates new connections. </div></div><div class=CToolTip id="tt486"><div class=CClass>Graph event handler that handles selection. </div></div><div class=CToolTip id="tt487"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraphView.prototype.validate = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Calls validateCell and validateCellState and updates the graphBounds using getBoundingBox. </div></div><div class=CToolTip id="tt488"><div class=CVariable>Name under which mxImageShape is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt489"><div class=CVariable>Name under which mxLabel is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt490"><div class=CVariable>Defines the key for the image style. </div></div><div class=CToolTip id="tt491"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraphModel.prototype.setValue = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the user object of then given mxCell using mxValueChange and adds the change to the current transaction.</div></div><div class=CToolTip id="tt492"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraphModel.prototype.valueForCellChanged = function(</td><td class=PParameter nowrap>cell,</td></tr><tr><td></td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>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.</div></div><div class=CToolTip id="tt493"><div class=CClass>Action to change a user object in a model.</div></div><div class=CToolTip id="tt494"><div class=CClass>Defines various global constants.</div></div><div class=CToolTip id="tt495"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxCell.prototype.style</td></tr></table></blockquote>Holds the style as a string of the form [(stylename|key=value);]. </div></div><div class=CToolTip id="tt496"><div class=CVariable>Defines the SVG display dialect name.</div></div><div class=CToolTip id="tt497"><div class=CVariable>Defines the strict HTML display dialect.</div></div><div class=CToolTip id="tt498"><div class=CVariable>Defines the preferred HTML display dialect name.</div></div><div class=CToolTip id="tt499"><div class=CVariable>Defines the mixed HTML display dialect name.</div></div><div class=CToolTip id="tt500"><div class=CVariable>Defines the VML display dialect name.</div></div><div class=CToolTip id="tt501"><div class=CVariable>Defines the rectangle for the A4 portrait page format. </div></div><div class=CToolTip id="tt502"><div class=CClass>Implements printing of a diagram across multiple pages. </div></div><div class=CToolTip id="tt503"><div class=CVariable>Defines the key for the loop style. </div></div><div class=CToolTip id="tt504"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Loop: function (</td><td class=PParameter nowrap>state,</td></tr><tr><td></td><td class=PParameter nowrap>source,</td></tr><tr><td></td><td class=PParameter nowrap>target,</td></tr><tr><td></td><td class=PParameter nowrap>points,</td></tr><tr><td></td><td class=PParameter nowrap>result</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Implements a self-reference, aka. </div></div><div class=CToolTip id="tt505"><div class=CVariable>Defines the key for the fill color. </div></div><div class=CToolTip id="tt506"><div class=CVariable>Defines the key for the rounded style. </div></div><div class=CToolTip id="tt507"><div class=CEvent>Fires between begin- and endUpdate in flipEdge. </div></div><div class=CToolTip id="tt508"><div class=CVariable>Defines the key for the elbow style. </div></div><div class=CToolTip id="tt509"><div class=CEvent>Fires between begin- and endUpdate in orderCells. </div></div><div class=CToolTip id="tt510"><div class=CEvent>Fires between begin- and endUpdate in cellsOrdered. </div></div><div class=CToolTip id="tt511"><div class=CEvent>Fires between begin- and endUpdate in groupCells. </div></div><div class=CToolTip id="tt512"><div class=CEvent>Fires between begin- and endUpdate in addCells. </div></div><div class=CToolTip id="tt513"><div class=CEvent>Fires between begin- and endUpdate in cellsAdded. </div></div><div class=CToolTip id="tt514"><div class=CEvent>Fires between begin- and endUpdate in removeCells. </div></div><div class=CToolTip id="tt515"><div class=CEvent>Fires between begin- and endUpdate in cellsRemoved. </div></div><div class=CToolTip id="tt516"><div class=CEvent>Fires between begin- and endUpdate in splitEdge. </div></div><div class=CToolTip id="tt517"><div class=CEvent>Fires between begin- and endUpdate in toggleCells. </div></div><div class=CToolTip id="tt518"><div class=CEvent>Fires between begin- and endUpdate in foldCells. </div></div><div class=CToolTip id="tt519"><div class=CEvent>Fires between begin- and endUpdate in cellsFolded. </div></div><div class=CToolTip id="tt520"><div class=CEvent>Fires between begin- and endUpdate in updateCellSize. </div></div><div class=CToolTip id="tt521"><div class=CEvent>Fires between begin- and endUpdate in moveCells. </div></div><div class=CToolTip id="tt522"><div class=CEvent>Fires between begin- and endUpdate in cellsMoved. </div></div><div class=CToolTip id="tt523"><div class=CClass>Implements a generic shape which is based on a XML node as a description. </div></div><div class=CToolTip id="tt524"><div class=CEvent>Fires between begin- and endUpdate in cellConnected. </div></div><div class=CToolTip id="tt525"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraphModel.prototype.isRoot = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given cell is the root of the model and a non-null value.</div></div><div class=CToolTip id="tt526"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraphModel.prototype.isLayer = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if isRoot returns true for the parent of the given cell.</div></div><div class=CToolTip id="tt527"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraphView.prototype.getGraphBounds = function()</td></tr></table></blockquote>Returns graphBounds.</div></div><div class=CToolTip id="tt528"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraphView.prototype.getBounds = function(</td><td class=PParameter nowrap>cells</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the bounds (on the screen) for the given array of mxCells.</div></div><div class=CToolTip id="tt529"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraphView.prototype.setTranslate = function(</td><td class=PParameter nowrap>dx,</td></tr><tr><td></td><td class=PParameter nowrap>dy</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the translation and fires a translate event before calling revalidate followed by mxGraph.sizeDidChange. </div></div><div class=CToolTip id="tt530"><div class=CVariable>Specifies the event name for pan.</div></div><div class=CToolTip id="tt531"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraphView.prototype.rendering</td></tr></table></blockquote>Specifies if shapes should be created, updated and destroyed using the methods of mxCellRenderer in graph. </div></div><div class=CToolTip id="tt532"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraphModel.prototype.getGeometry = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the mxGeometry of the given mxCell.</div></div><div class=CToolTip id="tt533"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraphModel.prototype.isVisible = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given mxCell is visible.</div></div><div class=CToolTip id="tt534"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraphModel.prototype.isCollapsed = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given mxCell is collapsed.</div></div><div class=CToolTip id="tt535"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraphModel.prototype.isConnectable = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given mxCell is connectable. </div></div><div class=CToolTip id="tt536"><div class=CVariable>Defines the key for the white-space style. </div></div><div class=CToolTip id="tt537"><div class=CVariable>Defines the key for the overflow style. </div></div><div class=CToolTip id="tt538"><div class=CVariable>Defines the key for the verticalAlign style. </div></div><div class=CToolTip id="tt539"><div class=CVariable>Defines the key for the indicatorColor style. </div></div><div class=CToolTip id="tt540"><div class=CVariable>Defines the key for the indicatorGradientColor style. </div></div><div class=CToolTip id="tt541"><div class=CVariable>Defines the key for the indicator shape used within an mxLabel. </div></div><div class=CToolTip id="tt542"><div class=CVariable>Defines the key for the indicator image used within an mxLabel. </div></div><div class=CToolTip id="tt543"><div class=CClass>Extends mxShape to implement a swimlane shape. </div></div><div class=CToolTip id="tt544"><div class=CVariable>Defines the key for the cloneable style. </div></div><div class=CToolTip id="tt545"><div class=CVariable>Defines the key for the deletable style. </div></div><div class=CToolTip id="tt546"><div class=CVariable>Defines the key for the rotatable style. </div></div><div class=CToolTip id="tt547"><div class=CVariable>Defines the key for the movable style. </div></div><div class=CToolTip id="tt548"><div class=CVariable>Defines the key for the resizable style. </div></div><div class=CToolTip id="tt549"><div class=CVariable>Defines the key for the bendable style. </div></div><div class=CToolTip id="tt550"><div class=CVariable>Defines the key for the editable style. </div></div><div class=CToolTip id="tt551"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxConnectionHandler.prototype.enabled</td></tr></table></blockquote>Specifies if events are handled. </div></div><div class=CToolTip id="tt552"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxTooltipHandler.prototype.enabled</td></tr></table></blockquote>Specifies if events are handled. </div></div><div class=CToolTip id="tt553"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxPanningHandler.prototype.panningEnabled</td></tr></table></blockquote>Specifies if panning should be enabled. </div></div><div class=CToolTip id="tt554"><div class=CVariable>Defines the key for the autosize style. </div></div><div class=CToolTip id="tt555"><div class=CVariable>Defines the key for the foldable style. </div></div><div class=CToolTip id="tt556"><div class=CClass>Graph event handler that reconnects edges and modifies control points and the edge label location. </div></div><div class=CToolTip id="tt557"><div class=CClass>Event handler for resizing cells. </div></div><div class=CToolTip id="tt558"><div class=CVariable>Specifies the event name for mouseDown.</div></div><div class=CToolTip id="tt559"><div class=CVariable>Specifies the event name for mouseMove.</div></div><div class=CToolTip id="tt560"><div class=CVariable>Specifies the event name for mouseUp.</div></div><!--END_ND_TOOLTIPS-->
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>