1212 lines
839 KiB
HTML
1212 lines
839 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=link636 onMouseOver="ShowTip(event, 'tt1', 'link636')" onMouseOut="HideTip('tt1')">mxEventSource</a> to implement a graph component for the browser. This is the main class of the package. To activate panning and connections use <a href="#mxGraph.setPanning" class=LFunction id=link637 onMouseOver="ShowTip(event, 'tt383', 'link637')" onMouseOut="HideTip('tt383')">setPanning</a> and <a href="#mxGraph.setConnectable" class=LFunction id=link638 onMouseOver="ShowTip(event, 'tt380', 'link638')" onMouseOut="HideTip('tt380')">setConnectable</a>. For rubberband selection you must create a new instance of <a href="../handler/mxRubberband-js.html#mxRubberband" class=LClass id=link639 onMouseOver="ShowTip(event, 'tt454', 'link639')" onMouseOut="HideTip('tt454')">mxRubberband</a>. The following listeners are added to <a href="#mxGraph.mouseListeners" class=LVariable id=link640 onMouseOver="ShowTip(event, 'tt34', 'link640')" onMouseOut="HideTip('tt34')">mouseListeners</a> by default:</p><ul><li><tooltipHandler>: <a href="../handler/mxTooltipHandler-js.html#mxTooltipHandler" class=LClass id=link641 onMouseOver="ShowTip(event, 'tt455', 'link641')" onMouseOut="HideTip('tt455')">mxTooltipHandler</a> that displays tooltips</li><li><panningHandler>: <a href="../handler/mxPanningHandler-js.html#mxPanningHandler" class=LClass id=link642 onMouseOver="ShowTip(event, 'tt456', 'link642')" onMouseOut="HideTip('tt456')">mxPanningHandler</a> for panning and popup menus</li><li><connectionHandler>: <a href="../handler/mxConnectionHandler-js.html#mxConnectionHandler" class=LClass id=link643 onMouseOver="ShowTip(event, 'tt457', 'link643')" onMouseOut="HideTip('tt457')">mxConnectionHandler</a> for creating connections</li><li><graphHandler>: <a href="../handler/mxGraphHandler-js.html#mxGraphHandler" class=LClass id=link644 onMouseOver="ShowTip(event, 'tt458', 'link644')" onMouseOut="HideTip('tt458')">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=link645 onMouseOver="ShowTip(event, 'tt293', 'link645')" onMouseOut="HideTip('tt293')">setBackgroundImage</a>. If one of the above values has changed then the <a href="#mxGraph.view" class=LVariable id=link646 onMouseOver="ShowTip(event, 'tt38', 'link646')" onMouseOut="HideTip('tt38')">view</a>’s <a href="mxGraphView-js.html#mxGraphView.validate" class=LFunction id=link647 onMouseOver="ShowTip(event, 'tt459', 'link647')" onMouseOut="HideTip('tt459')">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). Possible shapes are <a href="../util/mxConstants-js.html#mxConstants.SHAPE_IMAGE" class=LVariable id=link648 onMouseOver="ShowTip(event, 'tt460', 'link648')" onMouseOut="HideTip('tt460')">mxConstants.SHAPE_IMAGE</a> and <a href="../util/mxConstants-js.html#mxConstants.SHAPE_LABEL" class=LVariable id=link649 onMouseOver="ShowTip(event, 'tt461', 'link649')" onMouseOut="HideTip('tt461')">mxConstants.SHAPE_LABEL</a>. 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’s style using the <a href="../util/mxConstants-js.html#mxConstants.STYLE_IMAGE" class=LVariable id=link650 onMouseOver="ShowTip(event, 'tt462', 'link650')" onMouseOut="HideTip('tt462')">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=link651 onMouseOver="ShowTip(event, 'tt296', 'link651')" onMouseOut="HideTip('tt296')">getLabel</a> which uses <a href="#mxGraph.convertValueToString" class=LFunction id=link652 onMouseOver="ShowTip(event, 'tt295', 'link652')" onMouseOut="HideTip('tt295')">convertValueToString</a> if <a href="#mxGraph.labelsVisible" class=LVariable id=link653 onMouseOver="ShowTip(event, 'tt154', 'link653')" onMouseOut="HideTip('tt154')">labelsVisible</a> is true. If a label must be rendered as HTML markup, then <a href="#mxGraph.isHtmlLabel" class=LFunction id=link654 onMouseOver="ShowTip(event, 'tt156', 'link654')" onMouseOut="HideTip('tt156')">isHtmlLabel</a> should return true for the respective cell. If all labels contain HTML markup, <a href="#mxGraph.htmlLabels" class=LVariable id=link655 onMouseOver="ShowTip(event, 'tt155', 'link655')" onMouseOut="HideTip('tt155')">htmlLabels</a> can be set to true. 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=link656 onMouseOver="ShowTip(event, 'tt156', 'link656')" onMouseOut="HideTip('tt156')">isHtmlLabel</a> and <a href="#mxGraph.isWrapping" class=LFunction id=link657 onMouseOver="ShowTip(event, 'tt299', 'link657')" onMouseOut="HideTip('tt299')">isWrapping</a> must return true for the cell whose label should be wrapped. See <a href="#mxGraph.isWrapping" class=LFunction id=link658 onMouseOver="ShowTip(event, 'tt299', 'link658')" onMouseOut="HideTip('tt299')">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 <isClipping> should return true for the respective cell.</p><p>By default, edge labels are movable and vertex labels are fixed. This can be changed by setting <a href="#mxGraph.edgeLabelsMovable" class=LVariable id=link659 onMouseOver="ShowTip(event, 'tt102', 'link659')" onMouseOut="HideTip('tt102')">edgeLabelsMovable</a> and <a href="#mxGraph.vertexLabelsMovable" class=LVariable id=link660 onMouseOver="ShowTip(event, 'tt104', 'link660')" onMouseOut="HideTip('tt104')">vertexLabelsMovable</a>, or by overriding <a href="#mxGraph.isLabelMovable" class=LFunction id=link661 onMouseOver="ShowTip(event, 'tt103', 'link661')" onMouseOut="HideTip('tt103')">isLabelMovable</a>.</p><h4 class=CHeading>In-place Editing</h4><p>In-place editing is started with a doubleclick or by typing F2. Programmatically, <edit> is used to check if the cell is editable (<a href="#mxGraph.isCellEditable" class=LFunction id=link662 onMouseOver="ShowTip(event, 'tt97', 'link662')" onMouseOut="HideTip('tt97')">isCellEditable</a>) and call <a href="#mxGraph.startEditingAtCell" class=LFunction id=link663 onMouseOver="ShowTip(event, 'tt27', 'link663')" onMouseOut="HideTip('tt27')">startEditingAtCell</a>, which invokes <a href="mxCellEditor-js.html#mxCellEditor.startEditing" class=LFunction id=link664 onMouseOver="ShowTip(event, 'tt195', 'link664')" onMouseOut="HideTip('tt195')">mxCellEditor.startEditing</a>. The editor uses the value returned by <a href="#mxGraph.getEditingValue" class=LFunction id=link665 onMouseOver="ShowTip(event, 'tt196', 'link665')" onMouseOut="HideTip('tt196')">getEditingValue</a> as the editing value.</p><p>After in-place editing, <a href="#mxGraph.labelChanged" class=LFunction id=link666 onMouseOver="ShowTip(event, 'tt198', 'link666')" onMouseOut="HideTip('tt198')">labelChanged</a> is called, which invokes <a href="../model/mxGraphModel-js.html#mxGraphModel.setValue" class=LFunction id=link667 onMouseOver="ShowTip(event, 'tt463', 'link667')" onMouseOut="HideTip('tt463')">mxGraphModel.setValue</a>, which in turn calls <a href="../model/mxGraphModel-js.html#mxGraphModel.valueForCellChanged" class=LFunction id=link668 onMouseOver="ShowTip(event, 'tt464', 'link668')" onMouseOut="HideTip('tt464')">mxGraphModel.valueForCellChanged</a> via <a href="../model/mxGraphModel-js.html#mxValueChange" class=LClass id=link669 onMouseOver="ShowTip(event, 'tt465', 'link669')" onMouseOut="HideTip('tt465')">mxValueChange</a>.</p><p>The event that triggers in-place editing is passed through to the <a href="#mxGraph.cellEditor" class=LVariable id=link670 onMouseOver="ShowTip(event, 'tt45', 'link670')" onMouseOut="HideTip('tt45')">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=link671 onMouseOver="ShowTip(event, 'tt196', 'link671')" onMouseOut="HideTip('tt196')">getEditingValue</a>. 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=link672 onMouseOver="ShowTip(event, 'tt301', 'link672')" onMouseOut="HideTip('tt301')">getTooltip</a>, which calls <a href="#mxGraph.getTooltipForCell" class=LFunction id=link673 onMouseOver="ShowTip(event, 'tt302', 'link673')" onMouseOut="HideTip('tt302')">getTooltipForCell</a> if a cell is under the mousepointer. The default implementation checks if the cell has a getTooltip function and calls it if it exists. Hence, in order to provide custom tooltips, the cell must provide a getTooltip function, or one of the two above functions must be overridden.</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"><add as="getTooltipForCell"><![CDATA[
|
|
function(cell)
|
|
{
|
|
var label = this.convertValueToString(cell);
|
|
return 'Tooltip for '+label;
|
|
}
|
|
]]></add></pre></blockquote><p>”this” refers to the graph in the implementation, so for example to check if a cell is an edge, you use this.getModel().isEdge(cell)</p><p>For replacing the default implementation of <a href="#mxGraph.getTooltipForCell" class=LFunction id=link674 onMouseOver="ShowTip(event, 'tt302', 'link674')" onMouseOut="HideTip('tt302')">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=link675 onMouseOver="ShowTip(event, 'tt32', 'link675')" onMouseOut="HideTip('tt32')">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 & Styles</h4><p>The implementation of new shapes is demonstrated in the examples. We’ll assume that we have implemented a custom shape with the name BoxShape which we want to use for drawing vertices. To use this shape, it must first be registered in the cell renderer as follows:</p><blockquote><pre class="prettyprint">graph.cellRenderer.registerShape('box', BoxShape);</pre></blockquote><p>The code registers the BoxShape constructor under the name box in the cell renderer of the graph. The shape can now be referenced using the shape-key in a style definition. (The cell renderer contains a set of additional shapes, namely one for each constant with a SHAPE-prefix in <a href="../util/mxConstants-js.html#mxConstants" class=LClass id=link676 onMouseOver="ShowTip(event, 'tt466', 'link676')" onMouseOut="HideTip('tt466')">mxConstants</a>.)</p><p>Styles are a collection of key, value pairs and a stylesheet is a collection of named styles. The names are referenced by the cellstyle, which is stored in <a href="../model/mxCell-js.html#mxCell.style" class=LVariable id=link677 onMouseOver="ShowTip(event, 'tt467', 'link677')" onMouseOut="HideTip('tt467')">mxCell.style</a> with the following format: [stylename;|key=value;]. The string is resolved to a collection of key, value pairs, where the keys are overridden with the values in the string.</p><p>When introducing a new shape, the name under which the shape is registered must be used in the stylesheet. There are three ways of doing this:</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’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. 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. In order to distinguish the shapename and the stylename we’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. 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=link678 onMouseOver="ShowTip(event, 'tt48', 'link678')" onMouseOut="HideTip('tt48')">mxCellRenderer</a> with a unique name. That name is then used as the value of the shape-key in a default or custom style. If there are multiple custom shapes, then there should be a separate style for each shape.</p><h4 class=CHeading>Inheriting Styles</h4><p>For fill-, stroke-, gradient- and indicatorColors special keywords can be used. The inherit keyword for one of these colors will inherit the color for the same key from the parent cell. The swimlane keyword does the same, but inherits from the nearest swimlane in the ancestor hierarchy. Finally, the indicated keyword will use the color of the indicator as the color for the given key.</p><h4 class=CHeading>Scrollbars</h4><p>The <containers> overflow CSS property defines if scrollbars are used to display the graph. For values of ‘auto’ or ‘scroll’, the scrollbars will be shown. Note that the <a href="#mxGraph.resizeContainer" class=LVariable id=link679 onMouseOver="ShowTip(event, 'tt125', 'link679')" onMouseOut="HideTip('tt125')">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=link680 onMouseOver="ShowTip(event, 'tt288', 'link680')" onMouseOut="HideTip('tt288')">getEdgeValidationError</a> is used. The default implementation of the function uses <a href="#mxGraph.multiplicities" class=LVariable id=link681 onMouseOver="ShowTip(event, 'tt49', 'link681')" onMouseOut="HideTip('tt49')">multiplicities</a>, which is an array of <a href="mxMultiplicity-js.html#mxMultiplicity" class=LClass id=link682 onMouseOver="ShowTip(event, 'tt50', 'link682')" onMouseOut="HideTip('tt50')">mxMultiplicity</a>. 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=link683 onMouseOver="ShowTip(event, 'tt50', 'link683')" onMouseOut="HideTip('tt50')">mxMultiplicity</a> uses <mxCell.is> to determine for which terminals it applies. The default implementation of <mxCell.is> works with DOM nodes (XML nodes) and checks if the given type parameter matches the nodeName of the node (case insensitive). Optionally, an attributename and value can be specified which are also checked.</p><p><a href="#mxGraph.getEdgeValidationError" class=LFunction id=link684 onMouseOver="ShowTip(event, 'tt288', 'link684')" onMouseOut="HideTip('tt288')">getEdgeValidationError</a> is called whenever the connectivity of an edge changes. It returns an empty string or an error message if the edge is invalid or null if the edge is valid. If the returned string is not empty then it is displayed as an error message.</p><p><a href="mxMultiplicity-js.html#mxMultiplicity" class=LClass id=link685 onMouseOver="ShowTip(event, 'tt50', 'link685')" onMouseOut="HideTip('tt50')">mxMultiplicity</a> allows to specify the multiplicity between a terminal and its possible neighbors. For example, if any rectangle may only be connected to, say, a maximum of two circles you can add the following rule to <a href="#mxGraph.multiplicities" class=LVariable id=link686 onMouseOver="ShowTip(event, 'tt49', 'link686')" onMouseOut="HideTip('tt49')">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 <validate> 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 <getLayout> hook is provided in <a href="mxLayoutManager-js.html#mxLayoutManager" class=LClass id=link687 onMouseOver="ShowTip(event, 'tt468', 'link687')" onMouseOut="HideTip('tt468')">mxLayoutManager</a>. 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. 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=link688 onMouseOver="ShowTip(event, 'tt152', 'link688')" onMouseOut="HideTip('tt152')">cloneInvalidEdges</a> switch to true is optional. This switch controls if edges are inserted after a copy, paste or clone-drag if they are invalid. For example, edges are invalid if copied or control-dragged without having selected the corresponding terminals and allowDanglingEdges is false, in which case the edges will not be cloned if the switch is false.</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. 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. 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.SIZE" >mxEvent.SIZE</a></td><td class=SDescription>Fires after <a href="#mxGraph.sizeDidChange" class=LFunction id=link26 onMouseOver="ShowTip(event, 'tt26', 'link26')" onMouseOut="HideTip('tt26')">sizeDidChange</a> was executed. </td></tr><tr class="SEvent SIndent2"><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=link27 onMouseOver="ShowTip(event, 'tt27', 'link27')" onMouseOut="HideTip('tt27')">startEditingAtCell</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><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=link28 onMouseOver="ShowTip(event, 'tt28', 'link28')" onMouseOut="HideTip('tt28')">cellLabelChanged</a>. </td></tr><tr class="SEvent SIndent2"><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=link29 onMouseOver="ShowTip(event, 'tt29', 'link29')" onMouseOut="HideTip('tt29')">addCellOverlay</a>. </td></tr><tr class="SEvent SIndent2 SMarked"><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=link30 onMouseOver="ShowTip(event, 'tt30', 'link30')" onMouseOut="HideTip('tt30')">removeCellOverlay</a> and <a href="#mxGraph.removeCellOverlays" class=LFunction id=link31 onMouseOver="ShowTip(event, 'tt31', 'link31')" onMouseOut="HideTip('tt31')">removeCellOverlays</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.mxGraph" id=link32 onMouseOver="ShowTip(event, 'tt32', 'link32')" onMouseOut="HideTip('tt32')">mxGraph</a></td><td class=SDescription>Constructs a new mxGraph in the specified container. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.EMPTY_ARRAY" id=link33 onMouseOver="ShowTip(event, 'tt33', 'link33')" onMouseOut="HideTip('tt33')">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=link34 onMouseOver="ShowTip(event, 'tt34', 'link34')" onMouseOut="HideTip('tt34')">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=link35 onMouseOver="ShowTip(event, 'tt35', 'link35')" onMouseOut="HideTip('tt35')">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=link36 onMouseOver="ShowTip(event, 'tt36', 'link36')" onMouseOut="HideTip('tt36')">model</a></td><td class=SDescription>Holds the <a href="../model/mxGraphModel-js.html#mxGraphModel" class=LClass id=link37 onMouseOver="ShowTip(event, 'tt37', 'link37')" onMouseOut="HideTip('tt37')">mxGraphModel</a> that contains the cells to be displayed.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.view" id=link38 onMouseOver="ShowTip(event, 'tt38', 'link38')" onMouseOut="HideTip('tt38')">view</a></td><td class=SDescription>Holds the <a href="mxGraphView-js.html#mxGraphView" class=LClass id=link39 onMouseOver="ShowTip(event, 'tt39', 'link39')" onMouseOut="HideTip('tt39')">mxGraphView</a> that caches the <a href="mxCellState-js.html#mxCellState" class=LClass id=link40 onMouseOver="ShowTip(event, 'tt40', 'link40')" onMouseOut="HideTip('tt40')">mxCellStates</a> for the cells.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.stylesheet" id=link41 onMouseOver="ShowTip(event, 'tt41', 'link41')" onMouseOut="HideTip('tt41')">stylesheet</a></td><td class=SDescription>Holds the <a href="mxStylesheet-js.html#mxStylesheet" class=LClass id=link42 onMouseOver="ShowTip(event, 'tt42', 'link42')" onMouseOut="HideTip('tt42')">mxStylesheet</a> that defines the appearance of the cells.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.selectionModel" id=link43 onMouseOver="ShowTip(event, 'tt43', 'link43')" onMouseOut="HideTip('tt43')">selectionModel</a></td><td class=SDescription>Holds the <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel" class=LClass id=link44 onMouseOver="ShowTip(event, 'tt44', 'link44')" onMouseOut="HideTip('tt44')">mxGraphSelectionModel</a> that models the current selection.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellEditor" id=link45 onMouseOver="ShowTip(event, 'tt45', 'link45')" onMouseOut="HideTip('tt45')">cellEditor</a></td><td class=SDescription>Holds the <a href="mxCellEditor-js.html#mxCellEditor" class=LClass id=link46 onMouseOver="ShowTip(event, 'tt46', 'link46')" onMouseOut="HideTip('tt46')">mxCellEditor</a> that is used as the in-place editing.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.cellRenderer" id=link47 onMouseOver="ShowTip(event, 'tt47', 'link47')" onMouseOut="HideTip('tt47')">cellRenderer</a></td><td class=SDescription>Holds the <a href="mxCellRenderer-js.html#mxCellRenderer" class=LClass id=link48 onMouseOver="ShowTip(event, 'tt48', 'link48')" onMouseOut="HideTip('tt48')">mxCellRenderer</a> for rendering the cells in the graph.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.multiplicities" id=link49 onMouseOver="ShowTip(event, 'tt49', 'link49')" onMouseOut="HideTip('tt49')">multiplicities</a></td><td class=SDescription>An array of <a href="mxMultiplicity-js.html#mxMultiplicity" class=LClass id=link50 onMouseOver="ShowTip(event, 'tt50', 'link50')" onMouseOut="HideTip('tt50')">mxMultiplicities</a> describing the allowed connections in a graph.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.renderHint" id=link51 onMouseOver="ShowTip(event, 'tt51', 'link51')" onMouseOut="HideTip('tt51')">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=link52 onMouseOver="ShowTip(event, 'tt52', 'link52')" onMouseOut="HideTip('tt52')">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=link53 onMouseOver="ShowTip(event, 'tt53', 'link53')" onMouseOut="HideTip('tt53')">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=link54 onMouseOver="ShowTip(event, 'tt54', 'link54')" onMouseOut="HideTip('tt54')">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=link55 onMouseOver="ShowTip(event, 'tt55', 'link55')" onMouseOut="HideTip('tt55')">portsEnabled</a></td><td class=SDescription>Specifies if ports are enabled. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.doubleTapEnabled" id=link56 onMouseOver="ShowTip(event, 'tt56', 'link56')" onMouseOut="HideTip('tt56')">doubleTapEnabled</a></td><td class=SDescription>Specifies if double taps on touch-based devices should be handled. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.doubleTapTimeout" id=link57 onMouseOver="ShowTip(event, 'tt57', 'link57')" onMouseOut="HideTip('tt57')">doubleTapTimeout</a></td><td class=SDescription>Specifies the timeout for double taps. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.doubleTapTolerance" id=link58 onMouseOver="ShowTip(event, 'tt58', 'link58')" onMouseOut="HideTip('tt58')">doubleTapTolerance</a></td><td class=SDescription>Specifies the tolerance for double taps. </td></tr><tr class="SVariable SIndent2"><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 SMarked"><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"><td class=SEntry><a href="#mxGraph.lastTouchTime" id=link59 onMouseOver="ShowTip(event, 'tt59', 'link59')" onMouseOut="HideTip('tt59')">lastTouchTime</a></td><td class=SDescription>Holds the time of the last touch event for double click detection.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.gestureEnabled" id=link60 onMouseOver="ShowTip(event, 'tt60', 'link60')" onMouseOut="HideTip('tt60')">gestureEnabled</a></td><td class=SDescription>Specifies if the handleGesture method should be invoked. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.tolerance" id=link61 onMouseOver="ShowTip(event, 'tt61', 'link61')" onMouseOut="HideTip('tt61')">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=link62 onMouseOver="ShowTip(event, 'tt62', 'link62')" onMouseOut="HideTip('tt62')">defaultOverlap</a></td><td class=SDescription>Value returned by <a href="#mxGraph.getOverlap" class=LFunction id=link63 onMouseOver="ShowTip(event, 'tt63', 'link63')" onMouseOut="HideTip('tt63')">getOverlap</a> if <a href="#mxGraph.isAllowOverlapParent" class=LFunction id=link64 onMouseOver="ShowTip(event, 'tt64', 'link64')" onMouseOut="HideTip('tt64')">isAllowOverlapParent</a> returns true for the given cell. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.defaultParent" id=link65 onMouseOver="ShowTip(event, 'tt65', 'link65')" onMouseOut="HideTip('tt65')">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=link66 onMouseOver="ShowTip(event, 'tt66', 'link66')" onMouseOut="HideTip('tt66')">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=link67 onMouseOver="ShowTip(event, 'tt67', 'link67')" onMouseOut="HideTip('tt67')">backgroundImage</a></td><td class=SDescription>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link68 onMouseOver="ShowTip(event, 'tt68', 'link68')" onMouseOut="HideTip('tt68')">mxImage</a> to be returned by <a href="#mxGraph.getBackgroundImage" class=LFunction id=link69 onMouseOver="ShowTip(event, 'tt69', 'link69')" onMouseOut="HideTip('tt69')">getBackgroundImage</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.pageVisible" id=link70 onMouseOver="ShowTip(event, 'tt70', 'link70')" onMouseOut="HideTip('tt70')">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=link71 onMouseOver="ShowTip(event, 'tt71', 'link71')" onMouseOut="HideTip('tt71')">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=link72 onMouseOver="ShowTip(event, 'tt72', 'link72')" onMouseOut="HideTip('tt72')">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=link73 onMouseOver="ShowTip(event, 'tt73', 'link73')" onMouseOut="HideTip('tt73')">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=link74 onMouseOver="ShowTip(event, 'tt74', 'link74')" onMouseOut="HideTip('tt74')">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=link75 onMouseOver="ShowTip(event, 'tt75', 'link75')" onMouseOut="HideTip('tt75')">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=link76 onMouseOver="ShowTip(event, 'tt26', 'link76')" onMouseOut="HideTip('tt26')">sizeDidChange</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.pageFormat" id=link77 onMouseOver="ShowTip(event, 'tt76', 'link77')" onMouseOut="HideTip('tt76')">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=link78 onMouseOver="ShowTip(event, 'tt77', 'link78')" onMouseOut="HideTip('tt77')">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=link79 onMouseOver="ShowTip(event, 'tt78', 'link79')" onMouseOut="HideTip('tt78')">enabled</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isEnabled" class=LFunction id=link80 onMouseOver="ShowTip(event, 'tt79', 'link80')" onMouseOut="HideTip('tt79')">isEnabled</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.escapeEnabled" id=link81 onMouseOver="ShowTip(event, 'tt80', 'link81')" onMouseOut="HideTip('tt80')">escapeEnabled</a></td><td class=SDescription>Specifies if <a href="../handler/mxKeyHandler-js.html#mxKeyHandler" class=LClass id=link82 onMouseOver="ShowTip(event, 'tt81', 'link82')" onMouseOut="HideTip('tt81')">mxKeyHandler</a> should invoke <a href="#mxGraph.escape" class=LFunction id=link83 onMouseOver="ShowTip(event, 'tt82', 'link83')" onMouseOut="HideTip('tt82')">escape</a> when the escape key is pressed. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.invokesStopCellEditing" id=link84 onMouseOver="ShowTip(event, 'tt83', 'link84')" onMouseOut="HideTip('tt83')">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=link85 onMouseOver="ShowTip(event, 'tt84', 'link85')" onMouseOut="HideTip('tt84')">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=link86 onMouseOver="ShowTip(event, 'tt85', 'link86')" onMouseOut="HideTip('tt85')">useScrollbarsForPanning</a></td><td class=SDescription>Specifies if scrollbars should be used for panning in <a href="#mxGraph.panGraph" class=LFunction id=link87 onMouseOver="ShowTip(event, 'tt86', 'link87')" onMouseOut="HideTip('tt86')">panGraph</a> if any scrollbars are available. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.exportEnabled" id=link88 onMouseOver="ShowTip(event, 'tt87', 'link88')" onMouseOut="HideTip('tt87')">exportEnabled</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.canExportCell" class=LFunction id=link89 onMouseOver="ShowTip(event, 'tt88', 'link89')" onMouseOut="HideTip('tt88')">canExportCell</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.importEnabled" id=link90 onMouseOver="ShowTip(event, 'tt89', 'link90')" onMouseOut="HideTip('tt89')">importEnabled</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.canImportCell" class=LFunction id=link91 onMouseOver="ShowTip(event, 'tt90', 'link91')" onMouseOut="HideTip('tt90')">canImportCell</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.cellsLocked" id=link92 onMouseOver="ShowTip(event, 'tt91', 'link92')" onMouseOut="HideTip('tt91')">cellsLocked</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellLocked" class=LFunction id=link93 onMouseOver="ShowTip(event, 'tt92', 'link93')" onMouseOut="HideTip('tt92')">isCellLocked</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellsCloneable" id=link94 onMouseOver="ShowTip(event, 'tt93', 'link94')" onMouseOut="HideTip('tt93')">cellsCloneable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellCloneable" class=LFunction id=link95 onMouseOver="ShowTip(event, 'tt94', 'link95')" onMouseOut="HideTip('tt94')">isCellCloneable</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.foldingEnabled" id=link96 onMouseOver="ShowTip(event, 'tt95', 'link96')" onMouseOut="HideTip('tt95')">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=link97 onMouseOver="ShowTip(event, 'tt96', 'link97')" onMouseOut="HideTip('tt96')">cellsEditable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellEditable" class=LFunction id=link98 onMouseOver="ShowTip(event, 'tt97', 'link98')" onMouseOut="HideTip('tt97')">isCellEditable</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.cellsDeletable" id=link99 onMouseOver="ShowTip(event, 'tt98', 'link99')" onMouseOut="HideTip('tt98')">cellsDeletable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellDeletable" class=LFunction id=link100 onMouseOver="ShowTip(event, 'tt99', 'link100')" onMouseOut="HideTip('tt99')">isCellDeletable</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellsMovable" id=link101 onMouseOver="ShowTip(event, 'tt100', 'link101')" onMouseOut="HideTip('tt100')">cellsMovable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellMovable" class=LFunction id=link102 onMouseOver="ShowTip(event, 'tt101', 'link102')" onMouseOut="HideTip('tt101')">isCellMovable</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.edgeLabelsMovable" id=link103 onMouseOver="ShowTip(event, 'tt102', 'link103')" onMouseOut="HideTip('tt102')">edgeLabelsMovable</a></td><td class=SDescription>Specifies the return value for edges in <a href="#mxGraph.isLabelMovable" class=LFunction id=link104 onMouseOver="ShowTip(event, 'tt103', 'link104')" onMouseOut="HideTip('tt103')">isLabelMovable</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.vertexLabelsMovable" id=link105 onMouseOver="ShowTip(event, 'tt104', 'link105')" onMouseOut="HideTip('tt104')">vertexLabelsMovable</a></td><td class=SDescription>Specifies the return value for vertices in <a href="#mxGraph.isLabelMovable" class=LFunction id=link106 onMouseOver="ShowTip(event, 'tt103', 'link106')" onMouseOut="HideTip('tt103')">isLabelMovable</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.dropEnabled" id=link107 onMouseOver="ShowTip(event, 'tt105', 'link107')" onMouseOut="HideTip('tt105')">dropEnabled</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isDropEnabled" class=LFunction id=link108 onMouseOver="ShowTip(event, 'tt106', 'link108')" onMouseOut="HideTip('tt106')">isDropEnabled</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.splitEnabled" id=link109 onMouseOver="ShowTip(event, 'tt107', 'link109')" onMouseOut="HideTip('tt107')">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=link110 onMouseOver="ShowTip(event, 'tt108', 'link110')" onMouseOut="HideTip('tt108')">cellsResizable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellResizable" class=LFunction id=link111 onMouseOver="ShowTip(event, 'tt109', 'link111')" onMouseOut="HideTip('tt109')">isCellResizable</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellsBendable" id=link112 onMouseOver="ShowTip(event, 'tt110', 'link112')" onMouseOut="HideTip('tt110')">cellsBendable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellsBendable" class=LFunction id=link113 onMouseOver="ShowTip(event, 'tt111', 'link113')" onMouseOut="HideTip('tt111')">isCellsBendable</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.cellsSelectable" id=link114 onMouseOver="ShowTip(event, 'tt112', 'link114')" onMouseOut="HideTip('tt112')">cellsSelectable</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isCellSelectable" class=LFunction id=link115 onMouseOver="ShowTip(event, 'tt113', 'link115')" onMouseOut="HideTip('tt113')">isCellSelectable</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellsDisconnectable" id=link116 onMouseOver="ShowTip(event, 'tt114', 'link116')" onMouseOut="HideTip('tt114')">cellsDisconnectable</a></td><td class=SDescription>Specifies the return value for <isCellDisconntable>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.autoSizeCells" id=link117 onMouseOver="ShowTip(event, 'tt115', 'link117')" onMouseOut="HideTip('tt115')">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.autoScroll" id=link118 onMouseOver="ShowTip(event, 'tt116', 'link118')" onMouseOut="HideTip('tt116')">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"><td class=SEntry><a href="#mxGraph.allowAutoPanning" id=link119 onMouseOver="ShowTip(event, 'tt117', 'link119')" onMouseOut="HideTip('tt117')">allowAutoPanning</a></td><td class=SDescription>Specifies if panning via <a href="#mxGraph.panGraph" class=LFunction id=link120 onMouseOver="ShowTip(event, 'tt86', 'link120')" onMouseOut="HideTip('tt86')">panGraph</a> should be allowed to implement autoscroll if no scrollbars are available in <a href="#mxGraph.scrollPointToVisible" class=LFunction id=link121 onMouseOver="ShowTip(event, 'tt118', 'link121')" onMouseOut="HideTip('tt118')">scrollPointToVisible</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.ignoreScrollbars" id=link122 onMouseOver="ShowTip(event, 'tt119', 'link122')" onMouseOut="HideTip('tt119')">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=link123 onMouseOver="ShowTip(event, 'tt120', 'link123')" onMouseOut="HideTip('tt120')">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=link124 onMouseOver="ShowTip(event, 'tt121', 'link124')" onMouseOut="HideTip('tt121')">maximumGraphBounds</a></td><td class=SDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link125 onMouseOver="ShowTip(event, 'tt122', 'link125')" onMouseOut="HideTip('tt122')">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=link126 onMouseOver="ShowTip(event, 'tt123', 'link126')" onMouseOut="HideTip('tt123')">minimumGraphSize</a></td><td class=SDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link127 onMouseOver="ShowTip(event, 'tt122', 'link127')" onMouseOut="HideTip('tt122')">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=link128 onMouseOver="ShowTip(event, 'tt124', 'link128')" onMouseOut="HideTip('tt124')">minimumContainerSize</a></td><td class=SDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link129 onMouseOver="ShowTip(event, 'tt122', 'link129')" onMouseOut="HideTip('tt122')">mxRectangle</a> that specifies the minimum size of the <container> if <a href="#mxGraph.resizeContainer" class=LVariable id=link130 onMouseOver="ShowTip(event, 'tt125', 'link130')" onMouseOut="HideTip('tt125')">resizeContainer</a> is true.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.maximumContainerSize" id=link131 onMouseOver="ShowTip(event, 'tt126', 'link131')" onMouseOut="HideTip('tt126')">maximumContainerSize</a></td><td class=SDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link132 onMouseOver="ShowTip(event, 'tt122', 'link132')" onMouseOut="HideTip('tt122')">mxRectangle</a> that specifies the maximum size of the container if <a href="#mxGraph.resizeContainer" class=LVariable id=link133 onMouseOver="ShowTip(event, 'tt125', 'link133')" onMouseOut="HideTip('tt125')">resizeContainer</a> is true.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.resizeContainer" id=link134 onMouseOver="ShowTip(event, 'tt125', 'link134')" onMouseOut="HideTip('tt125')">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=link135 onMouseOver="ShowTip(event, 'tt127', 'link135')" onMouseOut="HideTip('tt127')">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.ordered" id=link136 onMouseOver="ShowTip(event, 'tt128', 'link136')" onMouseOut="HideTip('tt128')">ordered</a></td><td class=SDescription>Specifies if the display should reflect the order of the cells in the model. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.keepEdgesInForeground" id=link137 onMouseOver="ShowTip(event, 'tt129', 'link137')" onMouseOut="HideTip('tt129')">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 SMarked"><td class=SEntry><a href="#mxGraph.keepEdgesInBackground" id=link138 onMouseOver="ShowTip(event, 'tt130', 'link138')" onMouseOut="HideTip('tt130')">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"><td class=SEntry><a href="#mxGraph.allowNegativeCoordinates" id=link139 onMouseOver="ShowTip(event, 'tt131', 'link139')" onMouseOut="HideTip('tt131')">allowNegativeCoordinates</a></td><td class=SDescription>Specifies if negative coordinates for vertices are allowed. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.constrainChildren" id=link140 onMouseOver="ShowTip(event, 'tt132', 'link140')" onMouseOut="HideTip('tt132')">constrainChildren</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isConstrainChildren" class=LFunction id=link141 onMouseOver="ShowTip(event, 'tt133', 'link141')" onMouseOut="HideTip('tt133')">isConstrainChildren</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.extendParents" id=link142 onMouseOver="ShowTip(event, 'tt134', 'link142')" onMouseOut="HideTip('tt134')">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=link143 onMouseOver="ShowTip(event, 'tt135', 'link143')" onMouseOut="HideTip('tt135')">extendParentsOnAdd</a></td><td class=SDescription>Specifies if parents should be extended according to the <a href="#mxGraph.extendParents" class=LVariable id=link144 onMouseOver="ShowTip(event, 'tt134', 'link144')" onMouseOut="HideTip('tt134')">extendParents</a> switch if cells are added. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.collapseToPreferredSize" id=link145 onMouseOver="ShowTip(event, 'tt136', 'link145')" onMouseOut="HideTip('tt136')">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=link146 onMouseOver="ShowTip(event, 'tt137', 'link146')" onMouseOut="HideTip('tt137')">zoomFactor</a></td><td class=SDescription>Specifies the factor used for <a href="#mxGraph.zoomIn" class=LFunction id=link147 onMouseOver="ShowTip(event, 'tt138', 'link147')" onMouseOut="HideTip('tt138')">zoomIn</a> and <a href="#mxGraph.zoomOut" class=LFunction id=link148 onMouseOver="ShowTip(event, 'tt139', 'link148')" onMouseOut="HideTip('tt139')">zoomOut</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.keepSelectionVisibleOnZoom" id=link149 onMouseOver="ShowTip(event, 'tt140', 'link149')" onMouseOut="HideTip('tt140')">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=link150 onMouseOver="ShowTip(event, 'tt141', 'link150')" onMouseOut="HideTip('tt141')">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=link151 onMouseOver="ShowTip(event, 'tt142', 'link151')" onMouseOut="HideTip('tt142')">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=link152 onMouseOver="ShowTip(event, 'tt143', 'link152')" onMouseOut="HideTip('tt143')">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=link153 onMouseOver="ShowTip(event, 'tt144', 'link153')" onMouseOut="HideTip('tt144')">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=link154 onMouseOver="ShowTip(event, 'tt145', 'link154')" onMouseOut="HideTip('tt145')">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=link155 onMouseOver="ShowTip(event, 'tt146', 'link155')" onMouseOut="HideTip('tt146')">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=link156 onMouseOver="ShowTip(event, 'tt147', 'link156')" onMouseOut="HideTip('tt147')">defaultLoopStyle</a></td><td class=SDescription><a href="mxEdgeStyle-js.html#mxEdgeStyle" class=LClass id=link157 onMouseOver="ShowTip(event, 'tt148', 'link157')" onMouseOut="HideTip('tt148')">mxEdgeStyle</a> to be used for loops. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.multigraph" id=link158 onMouseOver="ShowTip(event, 'tt149', 'link158')" onMouseOut="HideTip('tt149')">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=link159 onMouseOver="ShowTip(event, 'tt150', 'link159')" onMouseOut="HideTip('tt150')">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=link160 onMouseOver="ShowTip(event, 'tt151', 'link160')" onMouseOut="HideTip('tt151')">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=link161 onMouseOver="ShowTip(event, 'tt152', 'link161')" onMouseOut="HideTip('tt152')">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=link162 onMouseOver="ShowTip(event, 'tt153', 'link162')" onMouseOut="HideTip('tt153')">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=link163 onMouseOver="ShowTip(event, 'tt154', 'link163')" onMouseOut="HideTip('tt154')">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=link164 onMouseOver="ShowTip(event, 'tt155', 'link164')" onMouseOut="HideTip('tt155')">htmlLabels</a></td><td class=SDescription>Specifies the return value for <a href="#mxGraph.isHtmlLabel" class=LFunction id=link165 onMouseOver="ShowTip(event, 'tt156', 'link165')" onMouseOut="HideTip('tt156')">isHtmlLabel</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.swimlaneSelectionEnabled" id=link166 onMouseOver="ShowTip(event, 'tt157', 'link166')" onMouseOut="HideTip('tt157')">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=link167 onMouseOver="ShowTip(event, 'tt158', 'link167')" onMouseOut="HideTip('tt158')">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=link168 onMouseOver="ShowTip(event, 'tt159', 'link168')" onMouseOut="HideTip('tt159')">swimlaneIndicatorColorAttribute</a></td><td class=SDescription>The attribute used to find the color for the indicator if the indicator color is set to ‘swimlane’. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.imageBundles" id=link169 onMouseOver="ShowTip(event, 'tt160', 'link169')" onMouseOut="HideTip('tt160')">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=link170 onMouseOver="ShowTip(event, 'tt161', 'link170')" onMouseOut="HideTip('tt161')">minFitScale</a></td><td class=SDescription>Specifies the minimum scale to be applied in <a href="#mxGraph.fit" class=LFunction id=link171 onMouseOver="ShowTip(event, 'tt162', 'link171')" onMouseOut="HideTip('tt162')">fit</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.maxFitScale" id=link172 onMouseOver="ShowTip(event, 'tt163', 'link172')" onMouseOut="HideTip('tt163')">maxFitScale</a></td><td class=SDescription>Specifies the maximum scale to be applied in <a href="#mxGraph.fit" class=LFunction id=link173 onMouseOver="ShowTip(event, 'tt162', 'link173')" onMouseOut="HideTip('tt162')">fit</a>. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.panDx" id=link174 onMouseOver="ShowTip(event, 'tt164', 'link174')" onMouseOut="HideTip('tt164')">panDx</a></td><td class=SDescription>Current horizontal panning value. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.panDy" id=link175 onMouseOver="ShowTip(event, 'tt165', 'link175')" onMouseOut="HideTip('tt165')">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=link176 onMouseOver="ShowTip(event, 'tt166', 'link176')" onMouseOut="HideTip('tt166')">collapsedImage</a></td><td class=SDescription>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link177 onMouseOver="ShowTip(event, 'tt68', 'link177')" onMouseOut="HideTip('tt68')">mxImage</a> to indicate a collapsed state. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxGraph.expandedImage" id=link178 onMouseOver="ShowTip(event, 'tt167', 'link178')" onMouseOut="HideTip('tt167')">expandedImage</a></td><td class=SDescription>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link179 onMouseOver="ShowTip(event, 'tt68', 'link179')" onMouseOut="HideTip('tt68')">mxImage</a> to indicate a expanded state. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.warningImage" id=link180 onMouseOver="ShowTip(event, 'tt168', 'link180')" onMouseOut="HideTip('tt168')">warningImage</a></td><td class=SDescription>Specifies the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link181 onMouseOver="ShowTip(event, 'tt68', 'link181')" onMouseOut="HideTip('tt68')">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=link182 onMouseOver="ShowTip(event, 'tt169', 'link182')" onMouseOut="HideTip('tt169')">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=link183 onMouseOver="ShowTip(event, 'tt170', 'link183')" onMouseOut="HideTip('tt170')">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=link184 onMouseOver="ShowTip(event, 'tt171', 'link184')" onMouseOut="HideTip('tt171')">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=link185 onMouseOver="ShowTip(event, 'tt172', 'link185')" onMouseOut="HideTip('tt172')">init</a></td><td class=SDescription>Initializes the <container> and creates the respective datastructures.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.createHandlers" id=link186 onMouseOver="ShowTip(event, 'tt173', 'link186')" onMouseOut="HideTip('tt173')">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=link187 onMouseOver="ShowTip(event, 'tt174', 'link187')" onMouseOut="HideTip('tt174')">createSelectionModel</a></td><td class=SDescription>Creates a new <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel" class=LClass id=link188 onMouseOver="ShowTip(event, 'tt44', 'link188')" onMouseOut="HideTip('tt44')">mxGraphSelectionModel</a> to be used in this graph.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.createStylesheet" id=link189 onMouseOver="ShowTip(event, 'tt175', 'link189')" onMouseOut="HideTip('tt175')">createStylesheet</a></td><td class=SDescription>Creates a new <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel" class=LClass id=link190 onMouseOver="ShowTip(event, 'tt44', 'link190')" onMouseOut="HideTip('tt44')">mxGraphSelectionModel</a> to be used in this graph.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.createGraphView" id=link191 onMouseOver="ShowTip(event, 'tt176', 'link191')" onMouseOut="HideTip('tt176')">createGraphView</a></td><td class=SDescription>Creates a new <a href="mxGraphView-js.html#mxGraphView" class=LClass id=link192 onMouseOver="ShowTip(event, 'tt39', 'link192')" onMouseOut="HideTip('tt39')">mxGraphView</a> to be used in this graph.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.createCellRenderer" id=link193 onMouseOver="ShowTip(event, 'tt177', 'link193')" onMouseOut="HideTip('tt177')">createCellRenderer</a></td><td class=SDescription>Creates a new <a href="mxCellRenderer-js.html#mxCellRenderer" class=LClass id=link194 onMouseOver="ShowTip(event, 'tt48', 'link194')" onMouseOut="HideTip('tt48')">mxCellRenderer</a> to be used in this graph.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.createCellEditor" id=link195 onMouseOver="ShowTip(event, 'tt178', 'link195')" onMouseOut="HideTip('tt178')">createCellEditor</a></td><td class=SDescription>Creates a new <a href="mxCellEditor-js.html#mxCellEditor" class=LClass id=link196 onMouseOver="ShowTip(event, 'tt46', 'link196')" onMouseOut="HideTip('tt46')">mxCellEditor</a> to be used in this graph.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getModel" id=link197 onMouseOver="ShowTip(event, 'tt179', 'link197')" onMouseOut="HideTip('tt179')">getModel</a></td><td class=SDescription>Returns the <a href="../model/mxGraphModel-js.html#mxGraphModel" class=LClass id=link198 onMouseOver="ShowTip(event, 'tt37', 'link198')" onMouseOut="HideTip('tt37')">mxGraphModel</a> that contains the cells.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getView" id=link199 onMouseOver="ShowTip(event, 'tt180', 'link199')" onMouseOut="HideTip('tt180')">getView</a></td><td class=SDescription>Returns the <a href="mxGraphView-js.html#mxGraphView" class=LClass id=link200 onMouseOver="ShowTip(event, 'tt39', 'link200')" onMouseOut="HideTip('tt39')">mxGraphView</a> that contains the <a href="mxCellState-js.html#mxCellState" class=LClass id=link201 onMouseOver="ShowTip(event, 'tt40', 'link201')" onMouseOut="HideTip('tt40')">mxCellStates</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getStylesheet" id=link202 onMouseOver="ShowTip(event, 'tt181', 'link202')" onMouseOut="HideTip('tt181')">getStylesheet</a></td><td class=SDescription>Returns the <a href="mxStylesheet-js.html#mxStylesheet" class=LClass id=link203 onMouseOver="ShowTip(event, 'tt42', 'link203')" onMouseOut="HideTip('tt42')">mxStylesheet</a> that defines the style.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setStylesheet" id=link204 onMouseOver="ShowTip(event, 'tt182', 'link204')" onMouseOut="HideTip('tt182')">setStylesheet</a></td><td class=SDescription>Sets the <a href="mxStylesheet-js.html#mxStylesheet" class=LClass id=link205 onMouseOver="ShowTip(event, 'tt42', 'link205')" onMouseOut="HideTip('tt42')">mxStylesheet</a> that defines the style.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getSelectionModel" id=link206 onMouseOver="ShowTip(event, 'tt183', 'link206')" onMouseOut="HideTip('tt183')">getSelectionModel</a></td><td class=SDescription>Returns the <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel" class=LClass id=link207 onMouseOver="ShowTip(event, 'tt44', 'link207')" onMouseOut="HideTip('tt44')">mxGraphSelectionModel</a> that contains the selection.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setSelectionModel" id=link208 onMouseOver="ShowTip(event, 'tt184', 'link208')" onMouseOut="HideTip('tt184')">setSelectionModel</a></td><td class=SDescription>Sets the <mxSelectionModel> that contains the selection.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getSelectionCellsForChanges" id=link209 onMouseOver="ShowTip(event, 'tt185', 'link209')" onMouseOut="HideTip('tt185')">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=link210 onMouseOver="ShowTip(event, 'tt186', 'link210')" onMouseOut="HideTip('tt186')">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=link211 onMouseOver="ShowTip(event, 'tt187', 'link211')" onMouseOut="HideTip('tt187')">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=link212 onMouseOver="ShowTip(event, 'tt188', 'link212')" onMouseOut="HideTip('tt188')">processChange</a></td><td class=SDescription>Processes the given change and invalidates the respective cached data in <a href="#mxGraph.view" class=LVariable id=link213 onMouseOver="ShowTip(event, 'tt38', 'link213')" onMouseOut="HideTip('tt38')">view</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.removeStateForCell" id=link214 onMouseOver="ShowTip(event, 'tt189', 'link214')" onMouseOut="HideTip('tt189')">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=link215 onMouseOver="ShowTip(event, 'tt29', 'link215')" onMouseOut="HideTip('tt29')">addCellOverlay</a></td><td class=SDescription>Adds an <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link216 onMouseOver="ShowTip(event, 'tt190', 'link216')" onMouseOut="HideTip('tt190')">mxCellOverlay</a> for the specified cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getCellOverlays" id=link217 onMouseOver="ShowTip(event, 'tt191', 'link217')" onMouseOut="HideTip('tt191')">getCellOverlays</a></td><td class=SDescription>Returns the array of <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link218 onMouseOver="ShowTip(event, 'tt190', 'link218')" onMouseOut="HideTip('tt190')">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=link219 onMouseOver="ShowTip(event, 'tt30', 'link219')" onMouseOut="HideTip('tt30')">removeCellOverlay</a></td><td class=SDescription>Removes and returns the given <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link220 onMouseOver="ShowTip(event, 'tt190', 'link220')" onMouseOut="HideTip('tt190')">mxCellOverlay</a> from the given cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.removeCellOverlays" id=link221 onMouseOver="ShowTip(event, 'tt31', 'link221')" onMouseOut="HideTip('tt31')">removeCellOverlays</a></td><td class=SDescription>Removes all <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link222 onMouseOver="ShowTip(event, 'tt190', 'link222')" onMouseOut="HideTip('tt190')">mxCellOverlays</a> from the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.clearCellOverlays" id=link223 onMouseOver="ShowTip(event, 'tt192', 'link223')" onMouseOut="HideTip('tt192')">clearCellOverlays</a></td><td class=SDescription>Removes all <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link224 onMouseOver="ShowTip(event, 'tt190', 'link224')" onMouseOut="HideTip('tt190')">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=link225 onMouseOver="ShowTip(event, 'tt193', 'link225')" onMouseOut="HideTip('tt193')">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=link226 onMouseOver="ShowTip(event, 'tt168', 'link226')" onMouseOut="HideTip('tt168')">warningImage</a> and returns the new <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link227 onMouseOver="ShowTip(event, 'tt190', 'link227')" onMouseOut="HideTip('tt190')">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=link228 onMouseOver="ShowTip(event, 'tt194', 'link228')" onMouseOut="HideTip('tt194')">startEditing</a></td><td class=SDescription>Calls <a href="#mxGraph.startEditingAtCell" class=LFunction id=link229 onMouseOver="ShowTip(event, 'tt27', 'link229')" onMouseOut="HideTip('tt27')">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=link230 onMouseOver="ShowTip(event, 'tt27', 'link230')" onMouseOut="HideTip('tt27')">startEditingAtCell</a></td><td class=SDescription>Fires a <a href="#mxGraph.startEditing" class=LFunction id=link231 onMouseOver="ShowTip(event, 'tt194', 'link231')" onMouseOut="HideTip('tt194')">startEditing</a> event and invokes <a href="mxCellEditor-js.html#mxCellEditor.startEditing" class=LFunction id=link232 onMouseOver="ShowTip(event, 'tt195', 'link232')" onMouseOut="HideTip('tt195')">mxCellEditor.startEditing</a> on <editor>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getEditingValue" id=link233 onMouseOver="ShowTip(event, 'tt196', 'link233')" onMouseOut="HideTip('tt196')">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=link234 onMouseOver="ShowTip(event, 'tt197', 'link234')" onMouseOut="HideTip('tt197')">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=link235 onMouseOver="ShowTip(event, 'tt198', 'link235')" onMouseOut="HideTip('tt198')">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=link236 onMouseOver="ShowTip(event, 'tt28', 'link236')" onMouseOut="HideTip('tt28')">cellLabelChanged</a> and fires <a href="#mxGraph.mxEvent.LABEL_CHANGED" class=LEvent id=link237 onMouseOver="ShowTip(event, 'tt199', 'link237')" onMouseOut="HideTip('tt199')">mxEvent.LABEL_CHANGED</a> while the transaction is in progress. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.cellLabelChanged" id=link238 onMouseOver="ShowTip(event, 'tt28', 'link238')" onMouseOut="HideTip('tt28')">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=link239 onMouseOver="ShowTip(event, 'tt82', 'link239')" onMouseOut="HideTip('tt82')">escape</a></td><td class=SDescription>Processes an escape keystroke.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.click" id=link240 onMouseOver="ShowTip(event, 'tt24', 'link240')" 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=link241 onMouseOver="ShowTip(event, 'tt24', 'link241')" onMouseOut="HideTip('tt24')">click</a> event. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.dblClick" id=link242 onMouseOver="ShowTip(event, 'tt25', 'link242')" onMouseOut="HideTip('tt25')">dblClick</a></td><td class=SDescription>Processes a doubleclick on an optional cell and fires a <dblclick> event. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.scrollPointToVisible" id=link243 onMouseOver="ShowTip(event, 'tt118', 'link243')" onMouseOut="HideTip('tt118')">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 SMarked"><td class=SEntry><a href="#mxGraph.createPanningManager" id=link244 onMouseOver="ShowTip(event, 'tt200', 'link244')" onMouseOut="HideTip('tt200')">createPanningManager</a></td><td class=SDescription>Creates and returns an <a href="../util/mxPanningManager-js.html#mxPanningManager" class=LClass id=link245 onMouseOver="ShowTip(event, 'tt201', 'link245')" onMouseOut="HideTip('tt201')">mxPanningManager</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getOffsetSize" id=link246 onMouseOver="ShowTip(event, 'tt202', 'link246')" onMouseOut="HideTip('tt202')">getOffsetSize</a></td><td class=SDescription>Returns the actual size of the the viewport minus padding and border sizes. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.sizeDidChange" id=link247 onMouseOver="ShowTip(event, 'tt26', 'link247')" onMouseOut="HideTip('tt26')">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.redrawPageBreaks" >redrawPageBreaks</a></td><td class=SDescription>Invokes from <a href="#mxGraph.sizeDidChange" class=LFunction id=link248 onMouseOver="ShowTip(event, 'tt26', 'link248')" onMouseOut="HideTip('tt26')">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=link249 onMouseOver="ShowTip(event, 'tt203', 'link249')" onMouseOut="HideTip('tt203')">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=link250 onMouseOver="ShowTip(event, 'tt204', 'link250')" onMouseOut="HideTip('tt204')">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=link251 onMouseOver="ShowTip(event, 'tt205', 'link251')" onMouseOut="HideTip('tt205')">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=link252 onMouseOver="ShowTip(event, 'tt206', 'link252')" onMouseOut="HideTip('tt206')">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=link253 onMouseOver="ShowTip(event, 'tt207', 'link253')" onMouseOut="HideTip('tt207')">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=link254 onMouseOver="ShowTip(event, 'tt208', 'link254')" onMouseOut="HideTip('tt208')">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=link255 onMouseOver="ShowTip(event, 'tt209', 'link255')" onMouseOut="HideTip('tt209')">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=link256 onMouseOver="ShowTip(event, 'tt210', 'link256')" onMouseOut="HideTip('tt210')">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=link257 onMouseOver="ShowTip(event, 'tt2', 'link257')" 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=link258 onMouseOver="ShowTip(event, 'tt3', 'link258')" 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=link259 onMouseOver="ShowTip(event, 'tt66', 'link259')" onMouseOut="HideTip('tt66')">alternateEdgeStyle</a>. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.addImageBundle" id=link260 onMouseOver="ShowTip(event, 'tt211', 'link260')" onMouseOut="HideTip('tt211')">addImageBundle</a></td><td class=SDescription>Adds the specified <a href="../util/mxImageBundle-js.html#mxImageBundle" class=LClass id=link261 onMouseOver="ShowTip(event, 'tt212', 'link261')" onMouseOut="HideTip('tt212')">mxImageBundle</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.removeImageBundle" id=link262 onMouseOver="ShowTip(event, 'tt213', 'link262')" onMouseOut="HideTip('tt213')">removeImageBundle</a></td><td class=SDescription>Removes the specified <a href="../util/mxImageBundle-js.html#mxImageBundle" class=LClass id=link263 onMouseOver="ShowTip(event, 'tt212', 'link263')" onMouseOut="HideTip('tt212')">mxImageBundle</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getImageFromBundles" id=link264 onMouseOver="ShowTip(event, 'tt214', 'link264')" onMouseOut="HideTip('tt214')">getImageFromBundles</a></td><td class=SDescription>Searches all <a href="#mxGraph.imageBundles" class=LVariable id=link265 onMouseOver="ShowTip(event, 'tt160', 'link265')" onMouseOut="HideTip('tt160')">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=link266 onMouseOver="ShowTip(event, 'tt4', 'link266')" 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=link267 onMouseOver="ShowTip(event, 'tt5', 'link267')" 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=link268 onMouseOver="ShowTip(event, 'tt6', 'link268')" 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=link269 onMouseOver="ShowTip(event, 'tt215', 'link269')" onMouseOut="HideTip('tt215')">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=link270 onMouseOver="ShowTip(event, 'tt216', 'link270')" onMouseOut="HideTip('tt216')">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=link271 onMouseOver="ShowTip(event, 'tt217', 'link271')" onMouseOut="HideTip('tt217')">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=link272 onMouseOver="ShowTip(event, 'tt218', 'link272')" onMouseOut="HideTip('tt218')">mxCells</a> if no group cell was given to the <group> function.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.ungroupCells" id=link273 onMouseOver="ShowTip(event, 'tt7', 'link273')" 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=link274 onMouseOver="ShowTip(event, 'tt8', 'link274')" 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=link275 onMouseOver="ShowTip(event, 'tt219', 'link275')" onMouseOut="HideTip('tt219')">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=link276 onMouseOver="ShowTip(event, 'tt220', 'link276')" onMouseOut="HideTip('tt220')">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=link277 onMouseOver="ShowTip(event, 'tt221', 'link277')" onMouseOut="HideTip('tt221')">insertVertex</a></td><td class=SDescription>Adds a new vertex into the given parent <a href="../model/mxCell-js.html#mxCell" class=LClass id=link278 onMouseOver="ShowTip(event, 'tt218', 'link278')" onMouseOut="HideTip('tt218')">mxCell</a> using value as the user object and the given coordinates as the <a href="../model/mxGeometry-js.html#mxGeometry" class=LClass id=link279 onMouseOver="ShowTip(event, 'tt222', 'link279')" onMouseOut="HideTip('tt222')">mxGeometry</a> of the new vertex. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.createVertex" id=link280 onMouseOver="ShowTip(event, 'tt223', 'link280')" onMouseOut="HideTip('tt223')">createVertex</a></td><td class=SDescription>Hook method that creates the new vertex for <a href="#mxGraph.insertVertex" class=LFunction id=link281 onMouseOver="ShowTip(event, 'tt221', 'link281')" onMouseOut="HideTip('tt221')">insertVertex</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.insertEdge" id=link282 onMouseOver="ShowTip(event, 'tt224', 'link282')" onMouseOut="HideTip('tt224')">insertEdge</a></td><td class=SDescription>Adds a new edge into the given parent <a href="../model/mxCell-js.html#mxCell" class=LClass id=link283 onMouseOver="ShowTip(event, 'tt218', 'link283')" onMouseOut="HideTip('tt218')">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=link284 onMouseOver="ShowTip(event, 'tt225', 'link284')" onMouseOut="HideTip('tt225')">createEdge</a></td><td class=SDescription>Hook method that creates the new edge for <a href="#mxGraph.insertEdge" class=LFunction id=link285 onMouseOver="ShowTip(event, 'tt224', 'link285')" onMouseOut="HideTip('tt224')">insertEdge</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.addEdge" id=link286 onMouseOver="ShowTip(event, 'tt226', 'link286')" onMouseOut="HideTip('tt226')">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=link287 onMouseOver="ShowTip(event, 'tt227', 'link287')" onMouseOut="HideTip('tt227')">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=link288 onMouseOver="ShowTip(event, 'tt9', 'link288')" 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=link289 onMouseOver="ShowTip(event, 'tt10', 'link289')" 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.removeCells" id=link290 onMouseOver="ShowTip(event, 'tt11', 'link290')" 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 SMarked"><td class=SEntry><a href="#mxGraph.cellsRemoved" id=link291 onMouseOver="ShowTip(event, 'tt12', 'link291')" onMouseOut="HideTip('tt12')">cellsRemoved</a></td><td class=SDescription>Removes the given cells from the model. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.splitEdge" id=link292 onMouseOver="ShowTip(event, 'tt13', 'link292')" 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=link293 onMouseOver="ShowTip(event, 'tt14', 'link293')" 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=link294 onMouseOver="ShowTip(event, 'tt228', 'link294')" onMouseOut="HideTip('tt228')">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=link295 onMouseOver="ShowTip(event, 'tt15', 'link295')" 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=link296 onMouseOver="ShowTip(event, 'tt229', 'link296')" onMouseOut="HideTip('tt229')">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=link297 onMouseOver="ShowTip(event, 'tt230', 'link297')" onMouseOut="HideTip('tt230')">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=link298 onMouseOver="ShowTip(event, 'tt231', 'link298')" onMouseOut="HideTip('tt231')">updateAlternateBounds</a> before carrying out the swap.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.updateAlternateBounds" id=link299 onMouseOver="ShowTip(event, 'tt231', 'link299')" onMouseOut="HideTip('tt231')">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=link300 onMouseOver="ShowTip(event, 'tt232', 'link300')" onMouseOut="HideTip('tt232')">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=link301 onMouseOver="ShowTip(event, 'tt233', 'link301')" onMouseOut="HideTip('tt233')">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=link302 onMouseOver="ShowTip(event, 'tt16', 'link302')" 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=link303 onMouseOver="ShowTip(event, 'tt234', 'link303')" onMouseOut="HideTip('tt234')">cellSizeUpdated</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.cellSizeUpdated" id=link304 onMouseOver="ShowTip(event, 'tt234', 'link304')" onMouseOut="HideTip('tt234')">cellSizeUpdated</a></td><td class=SDescription>Updates the size of the given cell in the model using <a href="#mxGraph.getPreferredSizeForCell" class=LFunction id=link305 onMouseOver="ShowTip(event, 'tt235', 'link305')" onMouseOut="HideTip('tt235')">getPreferredSizeForCell</a> to get the new size.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getPreferredSizeForCell" id=link306 onMouseOver="ShowTip(event, 'tt235', 'link306')" onMouseOut="HideTip('tt235')">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=link307 onMouseOver="ShowTip(event, 'tt218', 'link307')" onMouseOut="HideTip('tt218')">mxCell</a> as an <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link308 onMouseOver="ShowTip(event, 'tt122', 'link308')" onMouseOut="HideTip('tt122')">mxRectangle</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.handleGesture" id=link309 onMouseOver="ShowTip(event, 'tt236', 'link309')" onMouseOut="HideTip('tt236')">handleGesture</a></td><td class=SDescription>Invokes if a gesture event has been detected on a cell state.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.resizeCell" id=link310 onMouseOver="ShowTip(event, 'tt237', 'link310')" onMouseOut="HideTip('tt237')">resizeCell</a></td><td class=SDescription>Sets the bounds of the given cell using <a href="#mxGraph.resizeCells" class=LFunction id=link311 onMouseOver="ShowTip(event, 'tt17', 'link311')" onMouseOut="HideTip('tt17')">resizeCells</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.resizeCells" id=link312 onMouseOver="ShowTip(event, 'tt17', 'link312')" 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=link313 onMouseOver="ShowTip(event, 'tt238', 'link313')" onMouseOut="HideTip('tt238')">mxEvent.RESIZE_CELLS</a> event while the transaction is in progress. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.cellsResized" id=link314 onMouseOver="ShowTip(event, 'tt18', 'link314')" 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=link315 onMouseOver="ShowTip(event, 'tt239', 'link315')" onMouseOut="HideTip('tt239')">mxEvent.CELLS_RESIZED</a> event. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.extendParent" id=link316 onMouseOver="ShowTip(event, 'tt240', 'link316')" onMouseOut="HideTip('tt240')">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=link317 onMouseOver="ShowTip(event, 'tt241', 'link317')" onMouseOut="HideTip('tt241')">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=link318 onMouseOver="ShowTip(event, 'tt19', 'link318')" 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=link319 onMouseOver="ShowTip(event, 'tt20', 'link319')" 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=link320 onMouseOver="ShowTip(event, 'tt242', 'link320')" onMouseOut="HideTip('tt242')">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=link321 onMouseOver="ShowTip(event, 'tt243', 'link321')" onMouseOut="HideTip('tt243')">getCellContainmentArea</a></td><td class=SDescription>Returns the <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link322 onMouseOver="ShowTip(event, 'tt122', 'link322')" onMouseOut="HideTip('tt122')">mxRectangle</a> inside which a cell is to be kept.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getMaximumGraphBounds" id=link323 onMouseOver="ShowTip(event, 'tt244', 'link323')" onMouseOut="HideTip('tt244')">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=link324 onMouseOver="ShowTip(event, 'tt122', 'link324')" onMouseOut="HideTip('tt122')">mxRectangle</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.constrainChild" id=link325 onMouseOver="ShowTip(event, 'tt245', 'link325')" onMouseOut="HideTip('tt245')">constrainChild</a></td><td class=SDescription>Keeps the given cell inside the bounds returned by <a href="#mxGraph.getCellContainmentArea" class=LFunction id=link326 onMouseOver="ShowTip(event, 'tt243', 'link326')" onMouseOut="HideTip('tt243')">getCellContainmentArea</a> for its parent, according to the rules defined by <a href="#mxGraph.getOverlap" class=LFunction id=link327 onMouseOver="ShowTip(event, 'tt63', 'link327')" onMouseOut="HideTip('tt63')">getOverlap</a> and <a href="#mxGraph.isConstrainChild" class=LFunction id=link328 onMouseOver="ShowTip(event, 'tt246', 'link328')" onMouseOut="HideTip('tt246')">isConstrainChild</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.resetEdges" id=link329 onMouseOver="ShowTip(event, 'tt247', 'link329')" onMouseOut="HideTip('tt247')">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=link330 onMouseOver="ShowTip(event, 'tt248', 'link330')" onMouseOut="HideTip('tt248')">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=link331 onMouseOver="ShowTip(event, 'tt249', 'link331')" onMouseOut="HideTip('tt249')">getAllConnectionConstraints</a></td><td class=SDescription>Returns an array of all <a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link332 onMouseOver="ShowTip(event, 'tt250', 'link332')" onMouseOut="HideTip('tt250')">mxConnectionConstraints</a> for the given terminal. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getConnectionConstraint" id=link333 onMouseOver="ShowTip(event, 'tt251', 'link333')" onMouseOut="HideTip('tt251')">getConnectionConstraint</a></td><td class=SDescription>Returns an <a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link334 onMouseOver="ShowTip(event, 'tt250', 'link334')" onMouseOut="HideTip('tt250')">mxConnectionConstraint</a> that describes the given connection point. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setConnectionConstraint" id=link335 onMouseOver="ShowTip(event, 'tt252', 'link335')" onMouseOut="HideTip('tt252')">setConnectionConstraint</a></td><td class=SDescription>Sets the <a href="mxConnectionConstraint-js.html#mxConnectionConstraint" class=LClass id=link336 onMouseOver="ShowTip(event, 'tt250', 'link336')" onMouseOut="HideTip('tt250')">mxConnectionConstraint</a> that describes the given connection point. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getConnectionPoint" id=link337 onMouseOver="ShowTip(event, 'tt253', 'link337')" onMouseOut="HideTip('tt253')">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=link338 onMouseOver="ShowTip(event, 'tt21', 'link338')" 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=link339 onMouseOver="ShowTip(event, 'tt22', 'link339')" onMouseOut="HideTip('tt22')">cellConnected</a> and fires <a href="#mxGraph.mxEvent.CONNECT_CELL" class=LEvent id=link340 onMouseOver="ShowTip(event, 'tt254', 'link340')" onMouseOut="HideTip('tt254')">mxEvent.CONNECT_CELL</a> while the transaction is in progress. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.cellConnected" id=link341 onMouseOver="ShowTip(event, 'tt22', 'link341')" 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=link342 onMouseOver="ShowTip(event, 'tt145', 'link342')" onMouseOut="HideTip('tt145')">resetEdgesOnConnect</a> is true. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.disconnectGraph" id=link343 onMouseOver="ShowTip(event, 'tt255', 'link343')" onMouseOut="HideTip('tt255')">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=link344 onMouseOver="ShowTip(event, 'tt256', 'link344')" onMouseOut="HideTip('tt256')">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=link345 onMouseOver="ShowTip(event, 'tt257', 'link345')" onMouseOut="HideTip('tt257')">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=link346 onMouseOver="ShowTip(event, 'tt258', 'link346')" onMouseOut="HideTip('tt258')">mxPoint</a>. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isPort" id=link347 onMouseOver="ShowTip(event, 'tt259', 'link347')" onMouseOut="HideTip('tt259')">isPort</a></td><td class=SDescription>Returns true if the given cell is a “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getTerminalForPort" id=link348 onMouseOver="ShowTip(event, 'tt260', 'link348')" onMouseOut="HideTip('tt260')">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=link349 onMouseOver="ShowTip(event, 'tt261', 'link349')" onMouseOut="HideTip('tt261')">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=link350 onMouseOver="ShowTip(event, 'tt262', 'link350')" onMouseOut="HideTip('tt262')">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=link351 onMouseOver="ShowTip(event, 'tt263', 'link351')" onMouseOut="HideTip('tt263')">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=link352 onMouseOver="ShowTip(event, 'tt264', 'link352')" onMouseOut="HideTip('tt264')">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=link353 onMouseOver="ShowTip(event, 'tt265', 'link353')" onMouseOut="HideTip('tt265')">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=link354 onMouseOver="ShowTip(event, 'tt266', 'link354')" onMouseOut="HideTip('tt266')">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=link355 onMouseOver="ShowTip(event, 'tt267', 'link355')" onMouseOut="HideTip('tt267')">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=link356 onMouseOver="ShowTip(event, 'tt268', 'link356')" onMouseOut="HideTip('tt268')">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=link357 onMouseOver="ShowTip(event, 'tt23', 'link357')" 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=link358 onMouseOver="ShowTip(event, 'tt269', 'link358')" onMouseOut="HideTip('tt269')">snap</a></td><td class=SDescription>Snaps the given numeric value to the grid if <a href="#mxGraph.gridEnabled" class=LVariable id=link359 onMouseOver="ShowTip(event, 'tt54', 'link359')" onMouseOut="HideTip('tt54')">gridEnabled</a> is true.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.panGraph" id=link360 onMouseOver="ShowTip(event, 'tt86', 'link360')" onMouseOut="HideTip('tt86')">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=link361 onMouseOver="ShowTip(event, 'tt138', 'link361')" onMouseOut="HideTip('tt138')">zoomIn</a></td><td class=SDescription>Zooms into the graph by <a href="#mxGraph.zoomFactor" class=LVariable id=link362 onMouseOver="ShowTip(event, 'tt137', 'link362')" onMouseOut="HideTip('tt137')">zoomFactor</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.zoomOut" id=link363 onMouseOver="ShowTip(event, 'tt139', 'link363')" onMouseOut="HideTip('tt139')">zoomOut</a></td><td class=SDescription>Zooms out of the graph by <a href="#mxGraph.zoomFactor" class=LVariable id=link364 onMouseOver="ShowTip(event, 'tt137', 'link364')" onMouseOut="HideTip('tt137')">zoomFactor</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.zoomActual" id=link365 onMouseOver="ShowTip(event, 'tt270', 'link365')" onMouseOut="HideTip('tt270')">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=link366 onMouseOver="ShowTip(event, 'tt271', 'link366')" onMouseOut="HideTip('tt271')">zoomTo</a></td><td class=SDescription>Zooms the graph to the given scale.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.zoom" id=link367 onMouseOver="ShowTip(event, 'tt272', 'link367')" onMouseOut="HideTip('tt272')">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.fit" id=link368 onMouseOver="ShowTip(event, 'tt162', 'link368')" onMouseOut="HideTip('tt162')">fit</a></td><td class=SDescription>Scales the graph such that the complete diagram fits into <container> and returns the current scale in the view. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.scrollCellToVisible" id=link369 onMouseOver="ShowTip(event, 'tt273', 'link369')" onMouseOut="HideTip('tt273')">scrollCellToVisible</a></td><td class=SDescription>Pans the graph so that it shows the given cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.scrollRectToVisible" id=link370 onMouseOver="ShowTip(event, 'tt274', 'link370')" onMouseOut="HideTip('tt274')">scrollRectToVisible</a></td><td class=SDescription>Pans the graph so that it shows the given rectangle.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getCellGeometry" id=link371 onMouseOver="ShowTip(event, 'tt275', 'link371')" onMouseOut="HideTip('tt275')">getCellGeometry</a></td><td class=SDescription>Returns the <a href="../model/mxGeometry-js.html#mxGeometry" class=LClass id=link372 onMouseOver="ShowTip(event, 'tt222', 'link372')" onMouseOut="HideTip('tt222')">mxGeometry</a> for the given cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellVisible" id=link373 onMouseOver="ShowTip(event, 'tt276', 'link373')" onMouseOut="HideTip('tt276')">isCellVisible</a></td><td class=SDescription>Returns true if the given cell is visible in this graph. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellCollapsed" id=link374 onMouseOver="ShowTip(event, 'tt277', 'link374')" onMouseOut="HideTip('tt277')">isCellCollapsed</a></td><td class=SDescription>Returns true if the given cell is collapsed in this graph. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellConnectable" id=link375 onMouseOver="ShowTip(event, 'tt278', 'link375')" onMouseOut="HideTip('tt278')">isCellConnectable</a></td><td class=SDescription>Returns true if the given cell is connectable in this graph. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isOrthogonal" id=link376 onMouseOver="ShowTip(event, 'tt279', 'link376')" onMouseOut="HideTip('tt279')">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"><td class=SEntry><a href="#mxGraph.isLoop" id=link377 onMouseOver="ShowTip(event, 'tt280', 'link377')" onMouseOut="HideTip('tt280')">isLoop</a></td><td class=SDescription>Returns true if the given cell state is a loop.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCloneEvent" id=link378 onMouseOver="ShowTip(event, 'tt281', 'link378')" onMouseOut="HideTip('tt281')">isCloneEvent</a></td><td class=SDescription>Returns true if the given event is a clone event. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isToggleEvent" id=link379 onMouseOver="ShowTip(event, 'tt282', 'link379')" onMouseOut="HideTip('tt282')">isToggleEvent</a></td><td class=SDescription>Returns true if the given event is a toggle event. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isGridEnabledEvent" id=link380 onMouseOver="ShowTip(event, 'tt283', 'link380')" onMouseOut="HideTip('tt283')">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"><td class=SEntry><a href="#mxGraph.isConstrainedEvent" id=link381 onMouseOver="ShowTip(event, 'tt284', 'link381')" onMouseOut="HideTip('tt284')">isConstrainedEvent</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.isForceMarqueeEvent" id=link382 onMouseOver="ShowTip(event, 'tt285', 'link382')" onMouseOut="HideTip('tt285')">isForceMarqueeEvent</a></td><td class=SDescription>Returns true if the given event forces marquee selection. </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=link383 onMouseOver="ShowTip(event, 'tt286', 'link383')" onMouseOut="HideTip('tt286')">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=link384 onMouseOver="ShowTip(event, 'tt287', 'link384')" onMouseOut="HideTip('tt287')">isEdgeValid</a></td><td class=SDescription>Checks if the return value of <a href="#mxGraph.getEdgeValidationError" class=LFunction id=link385 onMouseOver="ShowTip(event, 'tt288', 'link385')" onMouseOut="HideTip('tt288')">getEdgeValidationError</a> for the given arguments is null.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getEdgeValidationError" id=link386 onMouseOver="ShowTip(event, 'tt288', 'link386')" onMouseOut="HideTip('tt288')">getEdgeValidationError</a></td><td class=SDescription>Returns the validation error message to be displayed when inserting or changing an edges’ connectivity. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.validateEdge" id=link387 onMouseOver="ShowTip(event, 'tt289', 'link387')" onMouseOut="HideTip('tt289')">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=link388 onMouseOver="ShowTip(event, 'tt290', 'link388')" onMouseOut="HideTip('tt290')">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=link389 onMouseOver="ShowTip(event, 'tt291', 'link389')" onMouseOut="HideTip('tt291')">getCellValidationError</a></td><td class=SDescription>Checks all <a href="#mxGraph.multiplicities" class=LVariable id=link390 onMouseOver="ShowTip(event, 'tt49', 'link390')" onMouseOut="HideTip('tt49')">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=link391 onMouseOver="ShowTip(event, 'tt292', 'link391')" onMouseOut="HideTip('tt292')">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=link392 onMouseOver="ShowTip(event, 'tt69', 'link392')" onMouseOut="HideTip('tt69')">getBackgroundImage</a></td><td class=SDescription>Returns the <a href="#mxGraph.backgroundImage" class=LVariable id=link393 onMouseOver="ShowTip(event, 'tt67', 'link393')" onMouseOut="HideTip('tt67')">backgroundImage</a> as an <a href="../util/mxImage-js.html#mxImage" class=LClass id=link394 onMouseOver="ShowTip(event, 'tt68', 'link394')" onMouseOut="HideTip('tt68')">mxImage</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setBackgroundImage" id=link395 onMouseOver="ShowTip(event, 'tt293', 'link395')" onMouseOut="HideTip('tt293')">setBackgroundImage</a></td><td class=SDescription>Sets the new <a href="#mxGraph.backgroundImage" class=LVariable id=link396 onMouseOver="ShowTip(event, 'tt67', 'link396')" onMouseOut="HideTip('tt67')">backgroundImage</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getFoldingImage" id=link397 onMouseOver="ShowTip(event, 'tt294', 'link397')" onMouseOut="HideTip('tt294')">getFoldingImage</a></td><td class=SDescription>Returns the <a href="../util/mxImage-js.html#mxImage" class=LClass id=link398 onMouseOver="ShowTip(event, 'tt68', 'link398')" onMouseOut="HideTip('tt68')">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=link399 onMouseOver="ShowTip(event, 'tt295', 'link399')" onMouseOut="HideTip('tt295')">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=link400 onMouseOver="ShowTip(event, 'tt296', 'link400')" onMouseOut="HideTip('tt296')">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=link401 onMouseOver="ShowTip(event, 'tt156', 'link401')" onMouseOut="HideTip('tt156')">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=link402 onMouseOver="ShowTip(event, 'tt297', 'link402')" onMouseOut="HideTip('tt297')">isHtmlLabels</a></td><td class=SDescription>Returns <a href="#mxGraph.htmlLabels" class=LVariable id=link403 onMouseOver="ShowTip(event, 'tt155', 'link403')" onMouseOut="HideTip('tt155')">htmlLabels</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setHtmlLabels" id=link404 onMouseOver="ShowTip(event, 'tt298', 'link404')" onMouseOut="HideTip('tt298')">setHtmlLabels</a></td><td class=SDescription>Sets <a href="#mxGraph.htmlLabels" class=LVariable id=link405 onMouseOver="ShowTip(event, 'tt155', 'link405')" onMouseOut="HideTip('tt155')">htmlLabels</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isWrapping" id=link406 onMouseOver="ShowTip(event, 'tt299', 'link406')" onMouseOut="HideTip('tt299')">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=link407 onMouseOver="ShowTip(event, 'tt300', 'link407')" onMouseOut="HideTip('tt300')">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=link408 onMouseOver="ShowTip(event, 'tt301', 'link408')" onMouseOut="HideTip('tt301')">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=link409 onMouseOver="ShowTip(event, 'tt302', 'link409')" onMouseOut="HideTip('tt302')">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.getCursorForCell" id=link410 onMouseOver="ShowTip(event, 'tt303', 'link410')" onMouseOut="HideTip('tt303')">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"><td class=SEntry><a href="#mxGraph.getStartSize" id=link411 onMouseOver="ShowTip(event, 'tt304', 'link411')" onMouseOut="HideTip('tt304')">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 SMarked"><td class=SEntry><a href="#mxGraph.getImage" id=link412 onMouseOver="ShowTip(event, 'tt305', 'link412')" onMouseOut="HideTip('tt305')">getImage</a></td><td class=SDescription>Returns the image URL for the given cell state. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getVerticalAlign" id=link413 onMouseOver="ShowTip(event, 'tt306', 'link413')" onMouseOut="HideTip('tt306')">getVerticalAlign</a></td><td class=SDescription>Returns the vertical alignment for the given cell state. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getIndicatorColor" id=link414 onMouseOver="ShowTip(event, 'tt307', 'link414')" onMouseOut="HideTip('tt307')">getIndicatorColor</a></td><td class=SDescription>Returns the indicator color for the given cell state. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getIndicatorGradientColor" id=link415 onMouseOver="ShowTip(event, 'tt308', 'link415')" onMouseOut="HideTip('tt308')">getIndicatorGradientColor</a></td><td class=SDescription>Returns the indicator gradient color for the given cell state. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getIndicatorShape" id=link416 onMouseOver="ShowTip(event, 'tt309', 'link416')" onMouseOut="HideTip('tt309')">getIndicatorShape</a></td><td class=SDescription>Returns the indicator shape for the given cell state. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getIndicatorImage" id=link417 onMouseOver="ShowTip(event, 'tt310', 'link417')" onMouseOut="HideTip('tt310')">getIndicatorImage</a></td><td class=SDescription>Returns the indicator image for the given cell state. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getBorder" id=link418 onMouseOver="ShowTip(event, 'tt311', 'link418')" onMouseOut="HideTip('tt311')">getBorder</a></td><td class=SDescription>Returns the value of <a href="#mxGraph.border" class=LVariable id=link419 onMouseOver="ShowTip(event, 'tt127', 'link419')" onMouseOut="HideTip('tt127')">border</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setBorder" id=link420 onMouseOver="ShowTip(event, 'tt312', 'link420')" onMouseOut="HideTip('tt312')">setBorder</a></td><td class=SDescription>Sets the value of <a href="#mxGraph.border" class=LVariable id=link421 onMouseOver="ShowTip(event, 'tt127', 'link421')" onMouseOut="HideTip('tt127')">border</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isSwimlane" id=link422 onMouseOver="ShowTip(event, 'tt313', 'link422')" onMouseOut="HideTip('tt313')">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=link423 onMouseOver="ShowTip(event, 'tt314', 'link423')" onMouseOut="HideTip('tt314')">isResizeContainer</a></td><td class=SDescription>Returns <a href="#mxGraph.resizeContainer" class=LVariable id=link424 onMouseOver="ShowTip(event, 'tt125', 'link424')" onMouseOut="HideTip('tt125')">resizeContainer</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setResizeContainer" id=link425 onMouseOver="ShowTip(event, 'tt315', 'link425')" onMouseOut="HideTip('tt315')">setResizeContainer</a></td><td class=SDescription>Sets <a href="#mxGraph.resizeContainer" class=LVariable id=link426 onMouseOver="ShowTip(event, 'tt125', 'link426')" onMouseOut="HideTip('tt125')">resizeContainer</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isEnabled" id=link427 onMouseOver="ShowTip(event, 'tt79', 'link427')" onMouseOut="HideTip('tt79')">isEnabled</a></td><td class=SDescription>Returns true if the graph is <a href="#mxGraph.enabled" class=LVariable id=link428 onMouseOver="ShowTip(event, 'tt78', 'link428')" onMouseOut="HideTip('tt78')">enabled</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setEnabled" id=link429 onMouseOver="ShowTip(event, 'tt316', 'link429')" onMouseOut="HideTip('tt316')">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=link430 onMouseOver="ShowTip(event, 'tt317', 'link430')" onMouseOut="HideTip('tt317')">isEscapeEnabled</a></td><td class=SDescription>Returns <a href="#mxGraph.escapeEnabled" class=LVariable id=link431 onMouseOver="ShowTip(event, 'tt80', 'link431')" onMouseOut="HideTip('tt80')">escapeEnabled</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setEscapeEnabled" id=link432 onMouseOver="ShowTip(event, 'tt318', 'link432')" onMouseOut="HideTip('tt318')">setEscapeEnabled</a></td><td class=SDescription>Sets <a href="#mxGraph.escapeEnabled" class=LVariable id=link433 onMouseOver="ShowTip(event, 'tt80', 'link433')" onMouseOut="HideTip('tt80')">escapeEnabled</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isInvokesStopCellEditing" id=link434 onMouseOver="ShowTip(event, 'tt319', 'link434')" onMouseOut="HideTip('tt319')">isInvokesStopCellEditing</a></td><td class=SDescription>Returns <a href="#mxGraph.invokesStopCellEditing" class=LVariable id=link435 onMouseOver="ShowTip(event, 'tt83', 'link435')" onMouseOut="HideTip('tt83')">invokesStopCellEditing</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setInvokesStopCellEditing" id=link436 onMouseOver="ShowTip(event, 'tt320', 'link436')" onMouseOut="HideTip('tt320')">setInvokesStopCellEditing</a></td><td class=SDescription>Sets <a href="#mxGraph.invokesStopCellEditing" class=LVariable id=link437 onMouseOver="ShowTip(event, 'tt83', 'link437')" onMouseOut="HideTip('tt83')">invokesStopCellEditing</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isEnterStopsCellEditing" id=link438 onMouseOver="ShowTip(event, 'tt321', 'link438')" onMouseOut="HideTip('tt321')">isEnterStopsCellEditing</a></td><td class=SDescription>Returns <a href="#mxGraph.enterStopsCellEditing" class=LVariable id=link439 onMouseOver="ShowTip(event, 'tt84', 'link439')" onMouseOut="HideTip('tt84')">enterStopsCellEditing</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setEnterStopsCellEditing" id=link440 onMouseOver="ShowTip(event, 'tt322', 'link440')" onMouseOut="HideTip('tt322')">setEnterStopsCellEditing</a></td><td class=SDescription>Sets <a href="#mxGraph.enterStopsCellEditing" class=LVariable id=link441 onMouseOver="ShowTip(event, 'tt84', 'link441')" onMouseOut="HideTip('tt84')">enterStopsCellEditing</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellLocked" id=link442 onMouseOver="ShowTip(event, 'tt92', 'link442')" onMouseOut="HideTip('tt92')">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=link443 onMouseOver="ShowTip(event, 'tt323', 'link443')" onMouseOut="HideTip('tt323')">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=link444 onMouseOver="ShowTip(event, 'tt324', 'link444')" onMouseOut="HideTip('tt324')">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=link445 onMouseOver="ShowTip(event, 'tt94', 'link445')" onMouseOut="HideTip('tt94')">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=link446 onMouseOver="ShowTip(event, 'tt325', 'link446')" onMouseOut="HideTip('tt325')">isCellsCloneable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsCloneable" class=LVariable id=link447 onMouseOver="ShowTip(event, 'tt93', 'link447')" onMouseOut="HideTip('tt93')">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=link448 onMouseOver="ShowTip(event, 'tt326', 'link448')" onMouseOut="HideTip('tt326')">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=link449 onMouseOver="ShowTip(event, 'tt327', 'link449')" onMouseOut="HideTip('tt327')">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=link450 onMouseOver="ShowTip(event, 'tt88', 'link450')" onMouseOut="HideTip('tt88')">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=link451 onMouseOver="ShowTip(event, 'tt328', 'link451')" onMouseOut="HideTip('tt328')">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=link452 onMouseOver="ShowTip(event, 'tt90', 'link452')" onMouseOut="HideTip('tt90')">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=link453 onMouseOver="ShowTip(event, 'tt113', 'link453')" onMouseOut="HideTip('tt113')">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=link454 onMouseOver="ShowTip(event, 'tt329', 'link454')" onMouseOut="HideTip('tt329')">isCellsSelectable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsSelectable" class=LVariable id=link455 onMouseOver="ShowTip(event, 'tt112', 'link455')" onMouseOut="HideTip('tt112')">cellsSelectable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCellsSelectable" id=link456 onMouseOver="ShowTip(event, 'tt330', 'link456')" onMouseOut="HideTip('tt330')">setCellsSelectable</a></td><td class=SDescription>Sets <a href="#mxGraph.cellsSelectable" class=LVariable id=link457 onMouseOver="ShowTip(event, 'tt112', 'link457')" onMouseOut="HideTip('tt112')">cellsSelectable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getDeletableCells" id=link458 onMouseOver="ShowTip(event, 'tt331', 'link458')" onMouseOut="HideTip('tt331')">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=link459 onMouseOver="ShowTip(event, 'tt99', 'link459')" onMouseOut="HideTip('tt99')">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=link460 onMouseOver="ShowTip(event, 'tt332', 'link460')" onMouseOut="HideTip('tt332')">isCellsDeletable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsDeletable" class=LVariable id=link461 onMouseOver="ShowTip(event, 'tt98', 'link461')" onMouseOut="HideTip('tt98')">cellsDeletable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCellsDeletable" id=link462 onMouseOver="ShowTip(event, 'tt333', 'link462')" onMouseOut="HideTip('tt333')">setCellsDeletable</a></td><td class=SDescription>Sets <a href="#mxGraph.cellsDeletable" class=LVariable id=link463 onMouseOver="ShowTip(event, 'tt98', 'link463')" onMouseOut="HideTip('tt98')">cellsDeletable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isLabelMovable" id=link464 onMouseOver="ShowTip(event, 'tt103', 'link464')" onMouseOut="HideTip('tt103')">isLabelMovable</a></td><td class=SDescription>Returns true if the given edges’s label is moveable. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getMovableCells" id=link465 onMouseOver="ShowTip(event, 'tt334', 'link465')" onMouseOut="HideTip('tt334')">getMovableCells</a></td><td class=SDescription>Returns the cells which are movable in the given array of cells.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellMovable" id=link466 onMouseOver="ShowTip(event, 'tt101', 'link466')" onMouseOut="HideTip('tt101')">isCellMovable</a></td><td class=SDescription>Returns true if the given cell is moveable. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellsMovable" id=link467 onMouseOver="ShowTip(event, 'tt335', 'link467')" onMouseOut="HideTip('tt335')">isCellsMovable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsMovable" class=LVariable id=link468 onMouseOver="ShowTip(event, 'tt100', 'link468')" onMouseOut="HideTip('tt100')">cellsMovable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setCellsMovable" id=link469 onMouseOver="ShowTip(event, 'tt336', 'link469')" onMouseOut="HideTip('tt336')">setCellsMovable</a></td><td class=SDescription>Specifies if the graph should allow moving of cells. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isGridEnabled" id=link470 onMouseOver="ShowTip(event, 'tt337', 'link470')" onMouseOut="HideTip('tt337')">isGridEnabled</a></td><td class=SDescription>Returns <a href="#mxGraph.gridEnabled" class=LVariable id=link471 onMouseOver="ShowTip(event, 'tt54', 'link471')" onMouseOut="HideTip('tt54')">gridEnabled</a> as a boolean.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setGridEnabled" id=link472 onMouseOver="ShowTip(event, 'tt338', 'link472')" onMouseOut="HideTip('tt338')">setGridEnabled</a></td><td class=SDescription>Specifies if the grid should be enabled.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isPortsEnabled" id=link473 onMouseOver="ShowTip(event, 'tt339', 'link473')" onMouseOut="HideTip('tt339')">isPortsEnabled</a></td><td class=SDescription>Returns <a href="#mxGraph.portsEnabled" class=LVariable id=link474 onMouseOver="ShowTip(event, 'tt55', 'link474')" onMouseOut="HideTip('tt55')">portsEnabled</a> as a boolean.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setPortsEnabled" id=link475 onMouseOver="ShowTip(event, 'tt340', 'link475')" onMouseOut="HideTip('tt340')">setPortsEnabled</a></td><td class=SDescription>Specifies if the ports should be enabled.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getGridSize" id=link476 onMouseOver="ShowTip(event, 'tt341', 'link476')" onMouseOut="HideTip('tt341')">getGridSize</a></td><td class=SDescription>Returns <a href="#mxGraph.gridSize" class=LVariable id=link477 onMouseOver="ShowTip(event, 'tt53', 'link477')" onMouseOut="HideTip('tt53')">gridSize</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setGridSize" id=link478 onMouseOver="ShowTip(event, 'tt342', 'link478')" onMouseOut="HideTip('tt342')">setGridSize</a></td><td class=SDescription>Sets <a href="#mxGraph.gridSize" class=LVariable id=link479 onMouseOver="ShowTip(event, 'tt53', 'link479')" onMouseOut="HideTip('tt53')">gridSize</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getTolerance" id=link480 onMouseOver="ShowTip(event, 'tt343', 'link480')" onMouseOut="HideTip('tt343')">getTolerance</a></td><td class=SDescription>Returns <a href="#mxGraph.tolerance" class=LVariable id=link481 onMouseOver="ShowTip(event, 'tt61', 'link481')" onMouseOut="HideTip('tt61')">tolerance</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setTolerance" id=link482 onMouseOver="ShowTip(event, 'tt344', 'link482')" onMouseOut="HideTip('tt344')">setTolerance</a></td><td class=SDescription>Sets <a href="#mxGraph.tolerance" class=LVariable id=link483 onMouseOver="ShowTip(event, 'tt61', 'link483')" onMouseOut="HideTip('tt61')">tolerance</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isVertexLabelsMovable" id=link484 onMouseOver="ShowTip(event, 'tt345', 'link484')" onMouseOut="HideTip('tt345')">isVertexLabelsMovable</a></td><td class=SDescription>Returns <a href="#mxGraph.vertexLabelsMovable" class=LVariable id=link485 onMouseOver="ShowTip(event, 'tt104', 'link485')" onMouseOut="HideTip('tt104')">vertexLabelsMovable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setVertexLabelsMovable" id=link486 onMouseOver="ShowTip(event, 'tt346', 'link486')" onMouseOut="HideTip('tt346')">setVertexLabelsMovable</a></td><td class=SDescription>Sets <a href="#mxGraph.vertexLabelsMovable" class=LVariable id=link487 onMouseOver="ShowTip(event, 'tt104', 'link487')" onMouseOut="HideTip('tt104')">vertexLabelsMovable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isEdgeLabelsMovable" id=link488 onMouseOver="ShowTip(event, 'tt347', 'link488')" onMouseOut="HideTip('tt347')">isEdgeLabelsMovable</a></td><td class=SDescription>Returns <a href="#mxGraph.edgeLabelsMovable" class=LVariable id=link489 onMouseOver="ShowTip(event, 'tt102', 'link489')" onMouseOut="HideTip('tt102')">edgeLabelsMovable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isEdgeLabelsMovable" >isEdgeLabelsMovable</a></td><td class=SDescription>Sets <a href="#mxGraph.edgeLabelsMovable" class=LVariable id=link490 onMouseOver="ShowTip(event, 'tt102', 'link490')" onMouseOut="HideTip('tt102')">edgeLabelsMovable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isSwimlaneNesting" id=link491 onMouseOver="ShowTip(event, 'tt348', 'link491')" onMouseOut="HideTip('tt348')">isSwimlaneNesting</a></td><td class=SDescription>Returns <a href="#mxGraph.swimlaneNesting" class=LVariable id=link492 onMouseOver="ShowTip(event, 'tt158', 'link492')" onMouseOut="HideTip('tt158')">swimlaneNesting</a> as a boolean.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setSwimlaneNesting" id=link493 onMouseOver="ShowTip(event, 'tt349', 'link493')" onMouseOut="HideTip('tt349')">setSwimlaneNesting</a></td><td class=SDescription>Specifies if swimlanes can be nested by drag and drop. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isSwimlaneSelectionEnabled" id=link494 onMouseOver="ShowTip(event, 'tt350', 'link494')" onMouseOut="HideTip('tt350')">isSwimlaneSelectionEnabled</a></td><td class=SDescription>Returns <a href="#mxGraph.swimlaneSelectionEnabled" class=LVariable id=link495 onMouseOver="ShowTip(event, 'tt157', 'link495')" onMouseOut="HideTip('tt157')">swimlaneSelectionEnabled</a> as a boolean.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setSwimlaneSelectionEnabled" id=link496 onMouseOver="ShowTip(event, 'tt351', 'link496')" onMouseOut="HideTip('tt351')">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"><td class=SEntry><a href="#mxGraph.isMultigraph" id=link497 onMouseOver="ShowTip(event, 'tt352', 'link497')" onMouseOut="HideTip('tt352')">isMultigraph</a></td><td class=SDescription>Returns <a href="#mxGraph.multigraph" class=LVariable id=link498 onMouseOver="ShowTip(event, 'tt149', 'link498')" onMouseOut="HideTip('tt149')">multigraph</a> as a boolean.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setMultigraph" id=link499 onMouseOver="ShowTip(event, 'tt353', 'link499')" onMouseOut="HideTip('tt353')">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"><td class=SEntry><a href="#mxGraph.isAllowLoops" id=link500 onMouseOver="ShowTip(event, 'tt354', 'link500')" onMouseOut="HideTip('tt354')">isAllowLoops</a></td><td class=SDescription>Returns <a href="#mxGraph.allowLoops" class=LVariable id=link501 onMouseOver="ShowTip(event, 'tt146', 'link501')" onMouseOut="HideTip('tt146')">allowLoops</a> as a boolean.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setAllowDanglingEdges" id=link502 onMouseOver="ShowTip(event, 'tt355', 'link502')" onMouseOut="HideTip('tt355')">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"><td class=SEntry><a href="#mxGraph.isAllowDanglingEdges" id=link503 onMouseOver="ShowTip(event, 'tt356', 'link503')" onMouseOut="HideTip('tt356')">isAllowDanglingEdges</a></td><td class=SDescription>Returns <a href="#mxGraph.allowDanglingEdges" class=LVariable id=link504 onMouseOver="ShowTip(event, 'tt151', 'link504')" onMouseOut="HideTip('tt151')">allowDanglingEdges</a> as a boolean.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setConnectableEdges" id=link505 onMouseOver="ShowTip(event, 'tt357', 'link505')" onMouseOut="HideTip('tt357')">setConnectableEdges</a></td><td class=SDescription>Specifies if edges should be connectable.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isConnectableEdges" id=link506 onMouseOver="ShowTip(event, 'tt358', 'link506')" onMouseOut="HideTip('tt358')">isConnectableEdges</a></td><td class=SDescription>Returns <a href="#mxGraph.connectableEdges" class=LVariable id=link507 onMouseOver="ShowTip(event, 'tt150', 'link507')" onMouseOut="HideTip('tt150')">connectableEdges</a> as a boolean.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setCloneInvalidEdges" id=link508 onMouseOver="ShowTip(event, 'tt359', 'link508')" onMouseOut="HideTip('tt359')">setCloneInvalidEdges</a></td><td class=SDescription>Specifies if edges should be inserted when cloned but not valid wrt. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCloneInvalidEdges" id=link509 onMouseOver="ShowTip(event, 'tt360', 'link509')" onMouseOut="HideTip('tt360')">isCloneInvalidEdges</a></td><td class=SDescription>Returns <a href="#mxGraph.cloneInvalidEdges" class=LVariable id=link510 onMouseOver="ShowTip(event, 'tt152', 'link510')" onMouseOut="HideTip('tt152')">cloneInvalidEdges</a> as a boolean.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setAllowLoops" id=link511 onMouseOver="ShowTip(event, 'tt361', 'link511')" onMouseOut="HideTip('tt361')">setAllowLoops</a></td><td class=SDescription>Specifies if loops are allowed.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isDisconnectOnMove" id=link512 onMouseOver="ShowTip(event, 'tt362', 'link512')" onMouseOut="HideTip('tt362')">isDisconnectOnMove</a></td><td class=SDescription>Returns <a href="#mxGraph.disconnectOnMove" class=LVariable id=link513 onMouseOver="ShowTip(event, 'tt153', 'link513')" onMouseOut="HideTip('tt153')">disconnectOnMove</a> as a boolean.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setDisconnectOnMove" id=link514 onMouseOver="ShowTip(event, 'tt363', 'link514')" onMouseOut="HideTip('tt363')">setDisconnectOnMove</a></td><td class=SDescription>Specifies if edges should be disconnected when moved. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isDropEnabled" id=link515 onMouseOver="ShowTip(event, 'tt106', 'link515')" onMouseOut="HideTip('tt106')">isDropEnabled</a></td><td class=SDescription>Returns <a href="#mxGraph.dropEnabled" class=LVariable id=link516 onMouseOver="ShowTip(event, 'tt105', 'link516')" onMouseOut="HideTip('tt105')">dropEnabled</a> as a boolean.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setDropEnabled" id=link517 onMouseOver="ShowTip(event, 'tt364', 'link517')" onMouseOut="HideTip('tt364')">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"><td class=SEntry><a href="#mxGraph.isSplitEnabled" id=link518 onMouseOver="ShowTip(event, 'tt365', 'link518')" onMouseOut="HideTip('tt365')">isSplitEnabled</a></td><td class=SDescription>Returns <a href="#mxGraph.splitEnabled" class=LVariable id=link519 onMouseOver="ShowTip(event, 'tt107', 'link519')" onMouseOut="HideTip('tt107')">splitEnabled</a> as a boolean.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setSplitEnabled" id=link520 onMouseOver="ShowTip(event, 'tt366', 'link520')" onMouseOut="HideTip('tt366')">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"><td class=SEntry><a href="#mxGraph.isCellResizable" id=link521 onMouseOver="ShowTip(event, 'tt109', 'link521')" onMouseOut="HideTip('tt109')">isCellResizable</a></td><td class=SDescription>Returns true if the given cell is resizable. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellsResizable" id=link522 onMouseOver="ShowTip(event, 'tt367', 'link522')" onMouseOut="HideTip('tt367')">isCellsResizable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsResizable" class=LVariable id=link523 onMouseOver="ShowTip(event, 'tt108', 'link523')" onMouseOut="HideTip('tt108')">cellsResizable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCellsResizable" id=link524 onMouseOver="ShowTip(event, 'tt368', 'link524')" onMouseOut="HideTip('tt368')">setCellsResizable</a></td><td class=SDescription>Specifies if the graph should allow resizing of cells. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isTerminalPointMovable" id=link525 onMouseOver="ShowTip(event, 'tt369', 'link525')" onMouseOut="HideTip('tt369')">isTerminalPointMovable</a></td><td class=SDescription>Returns true if the given terminal point is movable. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellBendable" id=link526 onMouseOver="ShowTip(event, 'tt370', 'link526')" onMouseOut="HideTip('tt370')">isCellBendable</a></td><td class=SDescription>Returns true if the given cell is bendable. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellsBendable" id=link527 onMouseOver="ShowTip(event, 'tt111', 'link527')" onMouseOut="HideTip('tt111')">isCellsBendable</a></td><td class=SDescription>Returns <cellsBenadable>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCellsBendable" id=link528 onMouseOver="ShowTip(event, 'tt371', 'link528')" onMouseOut="HideTip('tt371')">setCellsBendable</a></td><td class=SDescription>Specifies if the graph should allow bending of edges. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellEditable" id=link529 onMouseOver="ShowTip(event, 'tt97', 'link529')" onMouseOut="HideTip('tt97')">isCellEditable</a></td><td class=SDescription>Returns true if the given cell is editable. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellsEditable" id=link530 onMouseOver="ShowTip(event, 'tt372', 'link530')" onMouseOut="HideTip('tt372')">isCellsEditable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsEditable" class=LVariable id=link531 onMouseOver="ShowTip(event, 'tt96', 'link531')" onMouseOut="HideTip('tt96')">cellsEditable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setCellsEditable" id=link532 onMouseOver="ShowTip(event, 'tt373', 'link532')" onMouseOut="HideTip('tt373')">setCellsEditable</a></td><td class=SDescription>Specifies if the graph should allow in-place editing for cell labels. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isCellDisconnectable" id=link533 onMouseOver="ShowTip(event, 'tt374', 'link533')" onMouseOut="HideTip('tt374')">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 SMarked"><td class=SEntry><a href="#mxGraph.isCellsDisconnectable" id=link534 onMouseOver="ShowTip(event, 'tt375', 'link534')" onMouseOut="HideTip('tt375')">isCellsDisconnectable</a></td><td class=SDescription>Returns <a href="#mxGraph.cellsDisconnectable" class=LVariable id=link535 onMouseOver="ShowTip(event, 'tt114', 'link535')" onMouseOut="HideTip('tt114')">cellsDisconnectable</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setCellsDisconnectable" id=link536 onMouseOver="ShowTip(event, 'tt376', 'link536')" onMouseOut="HideTip('tt376')">setCellsDisconnectable</a></td><td class=SDescription>Sets <a href="#mxGraph.cellsDisconnectable" class=LVariable id=link537 onMouseOver="ShowTip(event, 'tt114', 'link537')" onMouseOut="HideTip('tt114')">cellsDisconnectable</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isValidSource" id=link538 onMouseOver="ShowTip(event, 'tt377', 'link538')" onMouseOut="HideTip('tt377')">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"><td class=SEntry><a href="#mxGraph.isValidTarget" id=link539 onMouseOver="ShowTip(event, 'tt378', 'link539')" onMouseOut="HideTip('tt378')">isValidTarget</a></td><td class=SDescription>Returns <a href="#mxGraph.isValidSource" class=LFunction id=link540 onMouseOver="ShowTip(event, 'tt377', 'link540')" onMouseOut="HideTip('tt377')">isValidSource</a> for the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isValidConnection" id=link541 onMouseOver="ShowTip(event, 'tt379', 'link541')" onMouseOut="HideTip('tt379')">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"><td class=SEntry><a href="#mxGraph.setConnectable" id=link542 onMouseOver="ShowTip(event, 'tt380', 'link542')" onMouseOut="HideTip('tt380')">setConnectable</a></td><td class=SDescription>Specifies if the graph should allow new connections. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isConnectable" id=link543 onMouseOver="ShowTip(event, 'tt381', 'link543')" onMouseOut="HideTip('tt381')">isConnectable</a></td><td class=SDescription>Returns true if the <connectionHandler> is enabled.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setTooltips" id=link544 onMouseOver="ShowTip(event, 'tt382', 'link544')" onMouseOut="HideTip('tt382')">setTooltips</a></td><td class=SDescription>Specifies if tooltips should be enabled. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setPanning" id=link545 onMouseOver="ShowTip(event, 'tt383', 'link545')" onMouseOut="HideTip('tt383')">setPanning</a></td><td class=SDescription>Specifies if panning should be enabled. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isEditing" id=link546 onMouseOver="ShowTip(event, 'tt384', 'link546')" onMouseOut="HideTip('tt384')">isEditing</a></td><td class=SDescription>Returns true if the given cell is currently being edited. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isAutoSizeCell" id=link547 onMouseOver="ShowTip(event, 'tt385', 'link547')" onMouseOut="HideTip('tt385')">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"><td class=SEntry><a href="#mxGraph.isAutoSizeCells" id=link548 onMouseOver="ShowTip(event, 'tt386', 'link548')" onMouseOut="HideTip('tt386')">isAutoSizeCells</a></td><td class=SDescription>Returns <a href="#mxGraph.autoSizeCells" class=LVariable id=link549 onMouseOver="ShowTip(event, 'tt115', 'link549')" onMouseOut="HideTip('tt115')">autoSizeCells</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setAutoSizeCells" id=link550 onMouseOver="ShowTip(event, 'tt387', 'link550')" onMouseOut="HideTip('tt387')">setAutoSizeCells</a></td><td class=SDescription>Specifies if cell sizes should be automatically updated after a label change. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isExtendParent" id=link551 onMouseOver="ShowTip(event, 'tt388', 'link551')" onMouseOut="HideTip('tt388')">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 SMarked"><td class=SEntry><a href="#mxGraph.isExtendParents" id=link552 onMouseOver="ShowTip(event, 'tt389', 'link552')" onMouseOut="HideTip('tt389')">isExtendParents</a></td><td class=SDescription>Returns <a href="#mxGraph.extendParents" class=LVariable id=link553 onMouseOver="ShowTip(event, 'tt134', 'link553')" onMouseOut="HideTip('tt134')">extendParents</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setExtendParents" id=link554 onMouseOver="ShowTip(event, 'tt390', 'link554')" onMouseOut="HideTip('tt390')">setExtendParents</a></td><td class=SDescription>Sets <a href="#mxGraph.extendParents" class=LVariable id=link555 onMouseOver="ShowTip(event, 'tt134', 'link555')" onMouseOut="HideTip('tt134')">extendParents</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isExtendParentsOnAdd" id=link556 onMouseOver="ShowTip(event, 'tt391', 'link556')" onMouseOut="HideTip('tt391')">isExtendParentsOnAdd</a></td><td class=SDescription>Returns <a href="#mxGraph.extendParentsOnAdd" class=LVariable id=link557 onMouseOver="ShowTip(event, 'tt135', 'link557')" onMouseOut="HideTip('tt135')">extendParentsOnAdd</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setExtendParentsOnAdd" id=link558 onMouseOver="ShowTip(event, 'tt392', 'link558')" onMouseOut="HideTip('tt392')">setExtendParentsOnAdd</a></td><td class=SDescription>Sets <a href="#mxGraph.extendParentsOnAdd" class=LVariable id=link559 onMouseOver="ShowTip(event, 'tt135', 'link559')" onMouseOut="HideTip('tt135')">extendParentsOnAdd</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isConstrainChild" id=link560 onMouseOver="ShowTip(event, 'tt246', 'link560')" onMouseOut="HideTip('tt246')">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=link561 onMouseOver="ShowTip(event, 'tt63', 'link561')" onMouseOut="HideTip('tt63')">getOverlap</a> and <a href="#mxGraph.isAllowOverlapParent" class=LFunction id=link562 onMouseOver="ShowTip(event, 'tt64', 'link562')" onMouseOut="HideTip('tt64')">isAllowOverlapParent</a>. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isConstrainChildren" id=link563 onMouseOver="ShowTip(event, 'tt133', 'link563')" onMouseOut="HideTip('tt133')">isConstrainChildren</a></td><td class=SDescription>Returns <a href="#mxGraph.constrainChildren" class=LVariable id=link564 onMouseOver="ShowTip(event, 'tt132', 'link564')" onMouseOut="HideTip('tt132')">constrainChildren</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setConstrainChildren" id=link565 onMouseOver="ShowTip(event, 'tt393', 'link565')" onMouseOut="HideTip('tt393')">setConstrainChildren</a></td><td class=SDescription>Sets <a href="#mxGraph.constrainChildren" class=LVariable id=link566 onMouseOver="ShowTip(event, 'tt132', 'link566')" onMouseOut="HideTip('tt132')">constrainChildren</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isConstrainChildren" >isConstrainChildren</a></td><td class=SDescription>Returns <a href="#mxGraph.allowNegativeCoordinates" class=LVariable id=link567 onMouseOver="ShowTip(event, 'tt131', 'link567')" onMouseOut="HideTip('tt131')">allowNegativeCoordinates</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setConstrainChildren" >setConstrainChildren</a></td><td class=SDescription>Sets <a href="#mxGraph.allowNegativeCoordinates" class=LVariable id=link568 onMouseOver="ShowTip(event, 'tt131', 'link568')" onMouseOut="HideTip('tt131')">allowNegativeCoordinates</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getOverlap" id=link569 onMouseOver="ShowTip(event, 'tt63', 'link569')" onMouseOut="HideTip('tt63')">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 SMarked"><td class=SEntry><a href="#mxGraph.isAllowOverlapParent" id=link570 onMouseOver="ShowTip(event, 'tt64', 'link570')" onMouseOut="HideTip('tt64')">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"><td class=SEntry><a href="#mxGraph.getFoldableCells" id=link571 onMouseOver="ShowTip(event, 'tt394', 'link571')" onMouseOut="HideTip('tt394')">getFoldableCells</a></td><td class=SDescription>Returns the cells which are movable in the given array of cells.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.isCellFoldable" id=link572 onMouseOver="ShowTip(event, 'tt395', 'link572')" onMouseOut="HideTip('tt395')">isCellFoldable</a></td><td class=SDescription>Returns true if the given cell is foldable. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.isValidDropTarget" id=link573 onMouseOver="ShowTip(event, 'tt396', 'link573')" onMouseOut="HideTip('tt396')">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 SMarked"><td class=SEntry><a href="#mxGraph.isSplitTarget" id=link574 onMouseOver="ShowTip(event, 'tt397', 'link574')" onMouseOut="HideTip('tt397')">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"><td class=SEntry><a href="#mxGraph.getDropTarget" id=link575 onMouseOver="ShowTip(event, 'tt398', 'link575')" onMouseOut="HideTip('tt398')">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=link576 onMouseOver="ShowTip(event, 'tt399', 'link576')" onMouseOut="HideTip('tt399')">getDefaultParent</a></td><td class=SDescription>Returns <a href="#mxGraph.defaultParent" class=LVariable id=link577 onMouseOver="ShowTip(event, 'tt65', 'link577')" onMouseOut="HideTip('tt65')">defaultParent</a> or <a href="mxGraphView-js.html#mxGraphView.currentRoot" class=LVariable id=link578 onMouseOver="ShowTip(event, 'tt400', 'link578')" onMouseOut="HideTip('tt400')">mxGraphView.currentRoot</a> or the first child child of <a href="../model/mxGraphModel-js.html#mxGraphModel.root" class=LVariable id=link579 onMouseOver="ShowTip(event, 'tt401', 'link579')" onMouseOut="HideTip('tt401')">mxGraphModel.root</a> if both are null. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setDefaultParent" id=link580 onMouseOver="ShowTip(event, 'tt402', 'link580')" onMouseOut="HideTip('tt402')">setDefaultParent</a></td><td class=SDescription>Sets the <a href="#mxGraph.defaultParent" class=LVariable id=link581 onMouseOver="ShowTip(event, 'tt65', 'link581')" onMouseOut="HideTip('tt65')">defaultParent</a> to the given cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getSwimlane" id=link582 onMouseOver="ShowTip(event, 'tt403', 'link582')" onMouseOut="HideTip('tt403')">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=link583 onMouseOver="ShowTip(event, 'tt404', 'link583')" onMouseOut="HideTip('tt404')">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=link584 onMouseOver="ShowTip(event, 'tt405', 'link584')" onMouseOut="HideTip('tt405')">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=link585 onMouseOver="ShowTip(event, 'tt406', 'link585')" onMouseOut="HideTip('tt406')">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=link586 onMouseOver="ShowTip(event, 'tt407', 'link586')" onMouseOut="HideTip('tt407')">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=link587 onMouseOver="ShowTip(event, 'tt408', 'link587')" onMouseOut="HideTip('tt408')">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=link588 onMouseOver="ShowTip(event, 'tt409', 'link588')" onMouseOut="HideTip('tt409')">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=link589 onMouseOver="ShowTip(event, 'tt410', 'link589')" onMouseOut="HideTip('tt410')">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=link590 onMouseOver="ShowTip(event, 'tt411', 'link590')" onMouseOut="HideTip('tt411')">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=link591 onMouseOver="ShowTip(event, 'tt412', 'link591')" onMouseOut="HideTip('tt412')">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=link592 onMouseOver="ShowTip(event, 'tt413', 'link592')" onMouseOut="HideTip('tt413')">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=link593 onMouseOver="ShowTip(event, 'tt414', 'link593')" onMouseOut="HideTip('tt414')">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=link594 onMouseOver="ShowTip(event, 'tt415', 'link594')" onMouseOut="HideTip('tt415')">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=link595 onMouseOver="ShowTip(event, 'tt416', 'link595')" onMouseOut="HideTip('tt416')">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=link596 onMouseOver="ShowTip(event, 'tt417', 'link596')" onMouseOut="HideTip('tt417')">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=link597 onMouseOver="ShowTip(event, 'tt418', 'link597')" onMouseOut="HideTip('tt418')">getPointForEvent</a></td><td class=SDescription>Returns an <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link598 onMouseOver="ShowTip(event, 'tt258', 'link598')" onMouseOut="HideTip('tt258')">mxPoint</a> representing the given event in the unscaled, non-translated coordinate space of <container> and applies the grid.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.getCells" id=link599 onMouseOver="ShowTip(event, 'tt419', 'link599')" onMouseOut="HideTip('tt419')">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=link600 onMouseOver="ShowTip(event, 'tt420', 'link600')" onMouseOut="HideTip('tt420')">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=link601 onMouseOver="ShowTip(event, 'tt421', 'link601')" onMouseOut="HideTip('tt421')">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=link602 onMouseOver="ShowTip(event, 'tt422', 'link602')" onMouseOut="HideTip('tt422')">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=link603 onMouseOver="ShowTip(event, 'tt423', 'link603')" onMouseOut="HideTip('tt423')">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=link604 onMouseOver="ShowTip(event, 'tt424', 'link604')" onMouseOut="HideTip('tt424')">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=link605 onMouseOver="ShowTip(event, 'tt425', 'link605')" onMouseOut="HideTip('tt425')">clearSelection</a></td><td class=SDescription>Clears the selection using <a href="mxGraphSelectionModel-js.html#mxGraphSelectionModel.clear" class=LFunction id=link606 onMouseOver="ShowTip(event, 'tt426', 'link606')" onMouseOut="HideTip('tt426')">mxGraphSelectionModel.clear</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getSelectionCount" id=link607 onMouseOver="ShowTip(event, 'tt427', 'link607')" onMouseOut="HideTip('tt427')">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=link608 onMouseOver="ShowTip(event, 'tt428', 'link608')" onMouseOut="HideTip('tt428')">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=link609 onMouseOver="ShowTip(event, 'tt218', 'link609')" onMouseOut="HideTip('tt218')">mxCells</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.getSelectionCells" id=link610 onMouseOver="ShowTip(event, 'tt429', 'link610')" onMouseOut="HideTip('tt429')">getSelectionCells</a></td><td class=SDescription>Returns the array of selected <a href="../model/mxCell-js.html#mxCell" class=LClass id=link611 onMouseOver="ShowTip(event, 'tt218', 'link611')" onMouseOut="HideTip('tt218')">mxCells</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxGraph.setSelectionCell" id=link612 onMouseOver="ShowTip(event, 'tt430', 'link612')" onMouseOut="HideTip('tt430')">setSelectionCell</a></td><td class=SDescription>Sets the selection cell.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.setSelectionCells" id=link613 onMouseOver="ShowTip(event, 'tt431', 'link613')" onMouseOut="HideTip('tt431')">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=link614 onMouseOver="ShowTip(event, 'tt432', 'link614')" onMouseOut="HideTip('tt432')">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=link615 onMouseOver="ShowTip(event, 'tt433', 'link615')" onMouseOut="HideTip('tt433')">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=link616 onMouseOver="ShowTip(event, 'tt434', 'link616')" onMouseOut="HideTip('tt434')">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=link617 onMouseOver="ShowTip(event, 'tt435', 'link617')" onMouseOut="HideTip('tt435')">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=link618 onMouseOver="ShowTip(event, 'tt436', 'link618')" onMouseOut="HideTip('tt436')">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=link619 onMouseOver="ShowTip(event, 'tt437', 'link619')" onMouseOut="HideTip('tt437')">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=link620 onMouseOver="ShowTip(event, 'tt438', 'link620')" onMouseOut="HideTip('tt438')">selectPreviousCell</a></td><td class=SDescription>Selects the previous cell.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.selectParentCell" id=link621 onMouseOver="ShowTip(event, 'tt439', 'link621')" onMouseOut="HideTip('tt439')">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=link622 onMouseOver="ShowTip(event, 'tt440', 'link622')" onMouseOut="HideTip('tt440')">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=link623 onMouseOver="ShowTip(event, 'tt441', 'link623')" onMouseOut="HideTip('tt441')">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=link624 onMouseOver="ShowTip(event, 'tt442', 'link624')" onMouseOut="HideTip('tt442')">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=link625 onMouseOver="ShowTip(event, 'tt443', 'link625')" onMouseOut="HideTip('tt443')">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=link626 onMouseOver="ShowTip(event, 'tt444', 'link626')" onMouseOut="HideTip('tt444')">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=link627 onMouseOver="ShowTip(event, 'tt445', 'link627')" onMouseOut="HideTip('tt445')">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=link628 onMouseOver="ShowTip(event, 'tt446', 'link628')" onMouseOut="HideTip('tt446')">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=link629 onMouseOver="ShowTip(event, 'tt447', 'link629')" onMouseOut="HideTip('tt447')">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=link630 onMouseOver="ShowTip(event, 'tt448', 'link630')" onMouseOut="HideTip('tt448')">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=link631 onMouseOver="ShowTip(event, 'tt449', 'link631')" onMouseOut="HideTip('tt449')">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=link632 onMouseOver="ShowTip(event, 'tt450', 'link632')" onMouseOut="HideTip('tt450')">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=link633 onMouseOver="ShowTip(event, 'tt451', 'link633')" onMouseOut="HideTip('tt451')">mxMouseEvent</a> if required.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxGraph.fireMouseEvent" id=link634 onMouseOver="ShowTip(event, 'tt452', 'link634')" onMouseOut="HideTip('tt452')">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.destroy" id=link635 onMouseOver="ShowTip(event, 'tt453', 'link635')" onMouseOut="HideTip('tt453')">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. 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=link689 onMouseOver="ShowTip(event, 'tt2', 'link689')" onMouseOut="HideTip('tt2')">alignCells</a>. The <code>cells</code> and <code>align</code> properties contain the respective arguments that were passed to <a href="#mxGraph.alignCells" class=LFunction id=link690 onMouseOver="ShowTip(event, 'tt2', 'link690')" 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=link691 onMouseOver="ShowTip(event, 'tt3', 'link691')" onMouseOut="HideTip('tt3')">flipEdge</a>. The <code>edge</code> property contains the edge passed to <a href="#mxGraph.flipEdge" class=LFunction id=link692 onMouseOver="ShowTip(event, 'tt3', 'link692')" 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=link693 onMouseOver="ShowTip(event, 'tt4', 'link693')" onMouseOut="HideTip('tt4')">orderCells</a>. The <code>cells</code> and <code>back</code> properties contain the respective arguments that were passed to <a href="#mxGraph.orderCells" class=LFunction id=link694 onMouseOver="ShowTip(event, 'tt4', 'link694')" 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=link695 onMouseOver="ShowTip(event, 'tt5', 'link695')" onMouseOut="HideTip('tt5')">cellsOrdered</a>. The <code>cells</code> and <code>back</code> arguments contain the respective arguments that were passed to <a href="#mxGraph.cellsOrdered" class=LFunction id=link696 onMouseOver="ShowTip(event, 'tt5', 'link696')" 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=link697 onMouseOver="ShowTip(event, 'tt6', 'link697')" onMouseOut="HideTip('tt6')">groupCells</a>. The <code>group</code>, <code>cells</code> and <code>border</code> arguments contain the respective arguments that were passed to <a href="#mxGraph.groupCells" class=LFunction id=link698 onMouseOver="ShowTip(event, 'tt6', 'link698')" 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=link699 onMouseOver="ShowTip(event, 'tt7', 'link699')" onMouseOut="HideTip('tt7')">ungroupCells</a>. The <code>cells</code> property contains the array of cells that was passed to <a href="#mxGraph.ungroupCells" class=LFunction id=link700 onMouseOver="ShowTip(event, 'tt7', 'link700')" 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=link701 onMouseOver="ShowTip(event, 'tt8', 'link701')" onMouseOut="HideTip('tt8')">removeCellsFromParent</a>. The <code>cells</code> property contains the array of cells that was passed to <a href="#mxGraph.removeCellsFromParent" class=LFunction id=link702 onMouseOver="ShowTip(event, 'tt8', 'link702')" 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=link703 onMouseOver="ShowTip(event, 'tt9', 'link703')" onMouseOut="HideTip('tt9')">addCells</a>. The <code>cells</code>, <code>parent</code>, <code>index</code>, <code>source</code> and <code>target</code> properties contain the respective arguments that were passed to <a href="#mxGraph.addCells" class=LFunction id=link704 onMouseOver="ShowTip(event, 'tt9', 'link704')" 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=link705 onMouseOver="ShowTip(event, 'tt10', 'link705')" onMouseOut="HideTip('tt10')">cellsAdded</a>. The <code>cells</code>, <code>parent</code>, <code>index</code>, <code>source</code>, <code>target</code> and <code>absolute</code> properties contain the respective arguments that were passed to <a href="#mxGraph.cellsAdded" class=LFunction id=link706 onMouseOver="ShowTip(event, 'tt10', 'link706')" 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=link707 onMouseOver="ShowTip(event, 'tt11', 'link707')" onMouseOut="HideTip('tt11')">removeCells</a>. The <code>cells</code> and <code>includeEdges</code> arguments contain the respective arguments that were passed to <a href="#mxGraph.removeCells" class=LFunction id=link708 onMouseOver="ShowTip(event, 'tt11', 'link708')" 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=link709 onMouseOver="ShowTip(event, 'tt12', 'link709')" onMouseOut="HideTip('tt12')">cellsRemoved</a>. The <code>cells</code> 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=link710 onMouseOver="ShowTip(event, 'tt13', 'link710')" onMouseOut="HideTip('tt13')">splitEdge</a>. The <code>edge</code> property contains the edge to be splitted, the <code>cells</code>, <code>newEdge</code>, <code>dx</code> and <code>dy</code> properties contain the respective arguments that were passed to <a href="#mxGraph.splitEdge" class=LFunction id=link711 onMouseOver="ShowTip(event, 'tt13', 'link711')" 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=link712 onMouseOver="ShowTip(event, 'tt14', 'link712')" onMouseOut="HideTip('tt14')">toggleCells</a>. The <code>show</code>, <code>cells</code> and <code>includeEdges</code> properties contain the respective arguments that were passed to <a href="#mxGraph.toggleCells" class=LFunction id=link713 onMouseOver="ShowTip(event, 'tt14', 'link713')" 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=link714 onMouseOver="ShowTip(event, 'tt15', 'link714')" onMouseOut="HideTip('tt15')">foldCells</a>. The <code>collapse</code>, <code>cells</code> and <code>recurse</code> properties contain the respective arguments that were passed to <a href="#mxGraph.foldCells" class=LFunction id=link715 onMouseOver="ShowTip(event, 'tt15', 'link715')" 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. The <code>collapse</code>, <code>cells</code> and <code>recurse</code> properties contain the respective arguments that were passed to <a href="#mxGraph.cellsFolded" class=LFunction id=link716 onMouseOver="ShowTip(event, 'tt229', 'link716')" onMouseOut="HideTip('tt229')">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=link717 onMouseOver="ShowTip(event, 'tt16', 'link717')" onMouseOut="HideTip('tt16')">updateCellSize</a>. The <code>cell</code> and <code>ignoreChildren</code> properties contain the respective arguments that were passed to <a href="#mxGraph.updateCellSize" class=LFunction id=link718 onMouseOver="ShowTip(event, 'tt16', 'link718')" 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=link719 onMouseOver="ShowTip(event, 'tt17', 'link719')" onMouseOut="HideTip('tt17')">resizeCells</a>. The <code>cells</code> and <code>bounds</code> properties contain the respective arguments that were passed to <a href="#mxGraph.resizeCells" class=LFunction id=link720 onMouseOver="ShowTip(event, 'tt17', 'link720')" 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=link721 onMouseOver="ShowTip(event, 'tt18', 'link721')" onMouseOut="HideTip('tt18')">cellsResized</a>. The <code>cells</code> and <code>bounds</code> properties contain the respective arguments that were passed to <a href="#mxGraph.cellsResized" class=LFunction id=link722 onMouseOver="ShowTip(event, 'tt18', 'link722')" 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=link723 onMouseOver="ShowTip(event, 'tt19', 'link723')" onMouseOut="HideTip('tt19')">moveCells</a>. The <code>cells</code>, <code>dx</code>, <code>dy</code>, <code>clone</code>, <code>target</code> and <code>event</code> properties contain the respective arguments that were passed to <a href="#mxGraph.moveCells" class=LFunction id=link724 onMouseOver="ShowTip(event, 'tt19', 'link724')" 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=link725 onMouseOver="ShowTip(event, 'tt20', 'link725')" onMouseOut="HideTip('tt20')">cellsMoved</a>. The <code>cells</code>, <code>dx</code>, <code>dy</code> and <code>disconnect</code> properties contain the respective arguments that were passed to <a href="#mxGraph.cellsMoved" class=LFunction id=link726 onMouseOver="ShowTip(event, 'tt20', 'link726')" 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=link727 onMouseOver="ShowTip(event, 'tt21', 'link727')" onMouseOut="HideTip('tt21')">connectCell</a>. The <code>edge</code>, <code>terminal</code> and <code>source</code> properties contain the respective arguments that were passed to <a href="#mxGraph.connectCell" class=LFunction id=link728 onMouseOver="ShowTip(event, 'tt21', 'link728')" 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=link729 onMouseOver="ShowTip(event, 'tt22', 'link729')" onMouseOut="HideTip('tt22')">cellConnected</a>. The <code>edge</code>, <code>terminal</code> and <code>source</code> properties contain the respective arguments that were passed to <a href="#mxGraph.cellConnected" class=LFunction id=link730 onMouseOver="ShowTip(event, 'tt22', 'link730')" 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=link731 onMouseOver="ShowTip(event, 'tt23', 'link731')" onMouseOut="HideTip('tt23')">refresh</a> was executed. 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=link732 onMouseOver="ShowTip(event, 'tt24', 'link732')" onMouseOut="HideTip('tt24')">click</a> after a click event. The <code>event</code> property contains the original mouse event and <code>cell</code> property contains the cell under the mouse or null if the background was clicked.</p><h4 class=CHeading>To handle a click event, use the following code</h4><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 (!evt.isConsumed())
|
|
{
|
|
if (cell != null)
|
|
{
|
|
// Do something useful with cell and consume the event
|
|
evt.consume();
|
|
}
|
|
}
|
|
});</pre></blockquote></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=link733 onMouseOver="ShowTip(event, 'tt25', 'link733')" onMouseOut="HideTip('tt25')">dblClick</a> after a double click. The <code>event</code> property contains the original mouse event and the <code>cell</code> property contains the cell under the mouse or null if the background was clicked.</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=link734 onMouseOver="ShowTip(event, 'tt26', 'link734')" onMouseOut="HideTip('tt26')">sizeDidChange</a> was executed. The <code>bounds</code> 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=link735 onMouseOver="ShowTip(event, 'tt27', 'link735')" onMouseOut="HideTip('tt27')">startEditingAtCell</a>. The <code>cell</code> property contains the cell that is being edited and the <code>event</code> property contains the optional event argument that was passed to <a href="#mxGraph.startEditingAtCell" class=LFunction id=link736 onMouseOver="ShowTip(event, 'tt27', 'link736')" onMouseOut="HideTip('tt27')">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=link737 onMouseOver="ShowTip(event, 'tt28', 'link737')" onMouseOut="HideTip('tt28')">cellLabelChanged</a>. The <code>cell</code> property contains the cell, the <code>value</code> property contains the new value for the cell and the optional <code>event</code> 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=link738 onMouseOver="ShowTip(event, 'tt29', 'link738')" onMouseOut="HideTip('tt29')">addCellOverlay</a>. The <code>cell</code> property contains the cell and the <code>overlay</code> property contains the <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link739 onMouseOver="ShowTip(event, 'tt190', 'link739')" onMouseOut="HideTip('tt190')">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=link740 onMouseOver="ShowTip(event, 'tt30', 'link740')" onMouseOut="HideTip('tt30')">removeCellOverlay</a> and <a href="#mxGraph.removeCellOverlays" class=LFunction id=link741 onMouseOver="ShowTip(event, 'tt31', 'link741')" onMouseOut="HideTip('tt31')">removeCellOverlays</a>. The <code>cell</code> property contains the cell and the <code>overlay</code> property contains the <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link742 onMouseOver="ShowTip(event, 'tt190', 'link742')" onMouseOut="HideTip('tt190')">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. Model is an optional mxGraphModel. If no model is provided, a new mxGraphModel instance is used as the model. The container must have a valid owner document prior to calling this function in Internet Explorer. RenderHint is a string to affect the display performance and rendering in IE, but not in SVG-based browsers. The parameter is mapped to <a href="#mxGraph.dialect" class=LVariable id=link743 onMouseOver="ShowTip(event, 'tt52', 'link743')" onMouseOut="HideTip('tt52')">dialect</a>, which may be one of <a href="../util/mxConstants-js.html#mxConstants.DIALECT_SVG" class=LVariable id=link744 onMouseOver="ShowTip(event, 'tt469', 'link744')" onMouseOut="HideTip('tt469')">mxConstants.DIALECT_SVG</a> for SVG-based browsers, <a href="../util/mxConstants-js.html#mxConstants.DIALECT_STRICTHTML" class=LVariable id=link745 onMouseOver="ShowTip(event, 'tt470', 'link745')" onMouseOut="HideTip('tt470')">mxConstants.DIALECT_STRICTHTML</a> for fastest display mode, <a href="../util/mxConstants-js.html#mxConstants.DIALECT_PREFERHTML" class=LVariable id=link746 onMouseOver="ShowTip(event, 'tt471', 'link746')" onMouseOut="HideTip('tt471')">mxConstants.DIALECT_PREFERHTML</a> for faster display mode, <a href="../util/mxConstants-js.html#mxConstants.DIALECT_MIXEDHTML" class=LVariable id=link747 onMouseOver="ShowTip(event, 'tt472', 'link747')" onMouseOut="HideTip('tt472')">mxConstants.DIALECT_MIXEDHTML</a> for fast and <a href="../util/mxConstants-js.html#mxConstants.DIALECT_VML" class=LVariable id=link748 onMouseOver="ShowTip(event, 'tt473', 'link748')" onMouseOut="HideTip('tt473')">mxConstants.DIALECT_VML</a> for exact display mode (slowest). The dialects are defined in mxConstants. The default values are DIALECT_SVG for SVG-based browsers and DIALECT_MIXED for IE.</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. The lack of a group element only slightly affects the display while panning, but improves the performance by almost a factor of 2, while keeping the display sufficiently accurate. This also allows to render certain shapes as HTML if the display accuracy is not affected, which is implemented by <a href="../shape/mxShape-js.html#mxShape.isMixedModeHtml" class=LFunction id=link749 onMouseOver="ShowTip(event, 'tt474', 'link749')" onMouseOut="HideTip('tt474')">mxShape.isMixedModeHtml</a>. 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. This is controlled by <a href="../shape/mxShape-js.html#mxShape.preferModeHtml" class=LVariable id=link750 onMouseOver="ShowTip(event, 'tt475', 'link750')" onMouseOut="HideTip('tt475')">mxShape.preferModeHtml</a>. The default implementation will avoid gradients and rounded rectangles, but more significant shapes, such as rhombus, ellipse, actor and cylinder will be rendered accurately. This setting is mapped to DIALECT_PREFERHTML.</td></tr><tr><td class=CDLEntry>fastest</td><td class=CDLDescription>Almost anything will be rendered in Html. This allows for rectangles, labels and images. 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. In this mode, a group is created that contains the VML. 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. If this is null then the container can be initialized later using <a href="#mxGraph.init" class=LFunction id=link751 onMouseOver="ShowTip(event, 'tt172', 'link751')" onMouseOut="HideTip('tt172')">init</a>.</td></tr><tr><td class=CDLEntry>model</td><td class=CDLDescription>Optional <a href="../model/mxGraphModel-js.html#mxGraphModel" class=LClass id=link752 onMouseOver="ShowTip(event, 'tt37', 'link752')" onMouseOut="HideTip('tt37')">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. 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=link753 onMouseOver="ShowTip(event, 'tt42', 'link753')" onMouseOut="HideTip('tt42')">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. See <a href="#mxGraph.fireMouseEvent" class=LFunction id=link754 onMouseOver="ShowTip(event, 'tt452', 'link754')" onMouseOut="HideTip('tt452')">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=link755 onMouseOver="ShowTip(event, 'tt37', 'link755')" onMouseOut="HideTip('tt37')">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=link756 onMouseOver="ShowTip(event, 'tt39', 'link756')" onMouseOut="HideTip('tt39')">mxGraphView</a> that caches the <a href="mxCellState-js.html#mxCellState" class=LClass id=link757 onMouseOver="ShowTip(event, 'tt40', 'link757')" onMouseOut="HideTip('tt40')">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=link758 onMouseOver="ShowTip(event, 'tt42', 'link758')" onMouseOut="HideTip('tt42')">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=link759 onMouseOver="ShowTip(event, 'tt44', 'link759')" onMouseOut="HideTip('tt44')">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=link760 onMouseOver="ShowTip(event, 'tt46', 'link760')" onMouseOut="HideTip('tt46')">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=link761 onMouseOver="ShowTip(event, 'tt48', 'link761')" onMouseOut="HideTip('tt48')">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=link762 onMouseOver="ShowTip(event, 'tt50', 'link762')" onMouseOut="HideTip('tt50')">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. Possible values are all constants in <a href="../util/mxConstants-js.html#mxConstants" class=LClass id=link763 onMouseOver="ShowTip(event, 'tt466', 'link763')" onMouseOut="HideTip('tt466')">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. 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. This is used in <a href="#mxGraph.snap" class=LFunction id=link764 onMouseOver="ShowTip(event, 'tt269', 'link764')" onMouseOut="HideTip('tt269')">snap</a>. 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. This is used in <a href="#mxGraph.cellConnected" class=LFunction id=link765 onMouseOver="ShowTip(event, 'tt22', 'link765')" onMouseOut="HideTip('tt22')">cellConnected</a> to update the respective style. Default is true.</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. 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. Default is 700 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. 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.gestureEnabled"></a>gestureEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.gestureEnabled</td></tr></table></blockquote><p>Specifies if the handleGesture method should be invoked. Default is true. This is an experimental feature for touch-based devices.</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. 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=link766 onMouseOver="ShowTip(event, 'tt63', 'link766')" onMouseOut="HideTip('tt63')">getOverlap</a> if <a href="#mxGraph.isAllowOverlapParent" class=LFunction id=link767 onMouseOver="ShowTip(event, 'tt64', 'link767')" onMouseOut="HideTip('tt64')">isAllowOverlapParent</a> returns true for the given cell. <a href="#mxGraph.getOverlap" class=LFunction id=link768 onMouseOver="ShowTip(event, 'tt63', 'link768')" onMouseOut="HideTip('tt63')">getOverlap</a> is used in <a href="#mxGraph.constrainChild" class=LFunction id=link769 onMouseOver="ShowTip(event, 'tt245', 'link769')" onMouseOut="HideTip('tt245')">constrainChild</a> if <a href="#mxGraph.isConstrainChild" class=LFunction id=link770 onMouseOver="ShowTip(event, 'tt246', 'link770')" onMouseOut="HideTip('tt246')">isConstrainChild</a> returns true. 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. This is used in <a href="#mxGraph.getDefaultParent" class=LFunction id=link771 onMouseOver="ShowTip(event, 'tt399', 'link771')" onMouseOut="HideTip('tt399')">getDefaultParent</a>. 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. 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=link772 onMouseOver="ShowTip(event, 'tt68', 'link772')" onMouseOut="HideTip('tt68')">mxImage</a> to be returned by <a href="#mxGraph.getBackgroundImage" class=LFunction id=link773 onMouseOver="ShowTip(event, 'tt69', 'link773')" onMouseOut="HideTip('tt69')">getBackgroundImage</a>. 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. Default is false. 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. Default is false. If you change this value while a graph is being displayed then you should call <a href="#mxGraph.sizeDidChange" class=LFunction id=link774 onMouseOver="ShowTip(event, 'tt26', 'link774')" onMouseOut="HideTip('tt26')">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. Default is ‘gray’.</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. 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. 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=link775 onMouseOver="ShowTip(event, 'tt26', 'link775')" onMouseOut="HideTip('tt26')">sizeDidChange</a>. This is only used if the graph container has scrollbars. 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. Default is <a href="../util/mxConstants-js.html#mxConstants.PAGE_FORMAT_A4_PORTRAIT" class=LVariable id=link776 onMouseOver="ShowTip(event, 'tt476', 'link776')" onMouseOut="HideTip('tt476')">mxConstants.PAGE_FORMAT_A4_PORTRAIT</a>. This is used as the default in <a href="mxPrintPreview-js.html#mxPrintPreview" class=LClass id=link777 onMouseOver="ShowTip(event, 'tt477', 'link777')" onMouseOut="HideTip('tt477')">mxPrintPreview</a> and for painting the background page if <a href="#mxGraph.pageVisible" class=LVariable id=link778 onMouseOver="ShowTip(event, 'tt70', 'link778')" onMouseOut="HideTip('tt70')">pageVisible</a> is true and the pagebreaks if <a href="#mxGraph.pageBreaksVisible" class=LVariable id=link779 onMouseOver="ShowTip(event, 'tt71', 'link779')" onMouseOut="HideTip('tt71')">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. Default is 1.5. 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=link780 onMouseOver="ShowTip(event, 'tt79', 'link780')" onMouseOut="HideTip('tt79')">isEnabled</a>. 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=link781 onMouseOver="ShowTip(event, 'tt81', 'link781')" onMouseOut="HideTip('tt81')">mxKeyHandler</a> should invoke <a href="#mxGraph.escape" class=LFunction id=link782 onMouseOver="ShowTip(event, 'tt82', 'link782')" onMouseOut="HideTip('tt82')">escape</a> when the escape key is pressed. 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. This is implemented in a focus handler in <a href="mxCellEditor-js.html#mxCellEditor" class=LClass id=link783 onMouseOver="ShowTip(event, 'tt46', 'link783')" onMouseOut="HideTip('tt46')">mxCellEditor</a>. 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. This is used in <a href="mxCellEditor-js.html#mxCellEditor" class=LClass id=link784 onMouseOver="ShowTip(event, 'tt46', 'link784')" onMouseOut="HideTip('tt46')">mxCellEditor</a> to stop cell editing. Note: You can always use F2 and escape to stop editing. 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=link785 onMouseOver="ShowTip(event, 'tt86', 'link785')" onMouseOut="HideTip('tt86')">panGraph</a> if any scrollbars are available. If scrollbars are enabled in CSS, but no scrollbars appear because the graph is smaller than the container size, then no panning occurs if this is true. Default is true.</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=link786 onMouseOver="ShowTip(event, 'tt88', 'link786')" onMouseOut="HideTip('tt88')">canExportCell</a>. 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=link787 onMouseOver="ShowTip(event, 'tt90', 'link787')" onMouseOut="HideTip('tt90')">canImportCell</a>. 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=link788 onMouseOver="ShowTip(event, 'tt92', 'link788')" onMouseOut="HideTip('tt92')">isCellLocked</a>. 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=link789 onMouseOver="ShowTip(event, 'tt94', 'link789')" onMouseOut="HideTip('tt94')">isCellCloneable</a>. 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). 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=link790 onMouseOver="ShowTip(event, 'tt97', 'link790')" onMouseOut="HideTip('tt97')">isCellEditable</a>. 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=link791 onMouseOver="ShowTip(event, 'tt99', 'link791')" onMouseOut="HideTip('tt99')">isCellDeletable</a>. 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=link792 onMouseOver="ShowTip(event, 'tt101', 'link792')" onMouseOut="HideTip('tt101')">isCellMovable</a>. 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=link793 onMouseOver="ShowTip(event, 'tt103', 'link793')" onMouseOut="HideTip('tt103')">isLabelMovable</a>. 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=link794 onMouseOver="ShowTip(event, 'tt103', 'link794')" onMouseOut="HideTip('tt103')">isLabelMovable</a>. 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=link795 onMouseOver="ShowTip(event, 'tt106', 'link795')" onMouseOut="HideTip('tt106')">isDropEnabled</a>. 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. 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=link796 onMouseOver="ShowTip(event, 'tt109', 'link796')" onMouseOut="HideTip('tt109')">isCellResizable</a>. 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=link797 onMouseOver="ShowTip(event, 'tt111', 'link797')" onMouseOut="HideTip('tt111')">isCellsBendable</a>. 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=link798 onMouseOver="ShowTip(event, 'tt113', 'link798')" onMouseOut="HideTip('tt113')">isCellSelectable</a>. 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 <isCellDisconntable>. 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. This is used in <a href="#mxGraph.isAutoSizeCell" class=LFunction id=link799 onMouseOver="ShowTip(event, 'tt385', 'link799')" onMouseOut="HideTip('tt385')">isAutoSizeCell</a>. 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. This is only taken into account if the container has scrollbars. Default is true.</p><p>If you need this to work without scrollbars then set <a href="#mxGraph.ignoreScrollbars" class=LVariable id=link800 onMouseOver="ShowTip(event, 'tt119', 'link800')" onMouseOut="HideTip('tt119')">ignoreScrollbars</a> to true.</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=link801 onMouseOver="ShowTip(event, 'tt86', 'link801')" onMouseOut="HideTip('tt86')">panGraph</a> should be allowed to implement autoscroll if no scrollbars are available in <a href="#mxGraph.scrollPointToVisible" class=LFunction id=link802 onMouseOver="ShowTip(event, 'tt118', 'link802')" onMouseOut="HideTip('tt118')">scrollPointToVisible</a>. 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. This is only taken into account if the container has scrollbars. Default is true. See <a href="#mxGraph.autoScroll" class=LVariable id=link803 onMouseOver="ShowTip(event, 'tt116', 'link803')" onMouseOut="HideTip('tt116')">autoScroll</a> for a trick to enable this without using scrollbars in the container.</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=link804 onMouseOver="ShowTip(event, 'tt122', 'link804')" onMouseOut="HideTip('tt122')">mxRectangle</a> that specifies the area in which all cells in the diagram should be placed. Uses in <a href="#mxGraph.getMaximumGraphBounds" class=LFunction id=link805 onMouseOver="ShowTip(event, 'tt244', 'link805')" onMouseOut="HideTip('tt244')">getMaximumGraphBounds</a>. 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=link806 onMouseOver="ShowTip(event, 'tt122', 'link806')" onMouseOut="HideTip('tt122')">mxRectangle</a> that specifies the minimum size of the graph. This is ignored if the graph container has no scrollbars. 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=link807 onMouseOver="ShowTip(event, 'tt122', 'link807')" onMouseOut="HideTip('tt122')">mxRectangle</a> that specifies the minimum size of the <container> if <a href="#mxGraph.resizeContainer" class=LVariable id=link808 onMouseOver="ShowTip(event, 'tt125', 'link808')" onMouseOut="HideTip('tt125')">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=link809 onMouseOver="ShowTip(event, 'tt122', 'link809')" onMouseOut="HideTip('tt122')">mxRectangle</a> that specifies the maximum size of the container if <a href="#mxGraph.resizeContainer" class=LVariable id=link810 onMouseOver="ShowTip(event, 'tt125', 'link810')" onMouseOut="HideTip('tt125')">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. 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. Default is 0.</p></div></div></div>
|
|
|
|
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxGraph.ordered"></a>ordered</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.ordered</td></tr></table></blockquote><p>Specifies if the display should reflect the order of the cells in the model. Default is true. This has precendence over <a href="#mxGraph.keepEdgesInBackground" class=LVariable id=link811 onMouseOver="ShowTip(event, 'tt130', 'link811')" onMouseOut="HideTip('tt130')">keepEdgesInBackground</a> and <a href="#mxGraph.keepEdgesInForeground" class=LVariable id=link812 onMouseOver="ShowTip(event, 'tt129', 'link812')" onMouseOut="HideTip('tt129')">keepEdgesInForeground</a>.</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. This has precendence over <keepEdgeInBackground>, but not over <a href="#mxGraph.ordered" class=LVariable id=link813 onMouseOver="ShowTip(event, 'tt128', 'link813')" onMouseOut="HideTip('tt128')">ordered</a>. 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. <a href="#mxGraph.ordered" class=LVariable id=link814 onMouseOver="ShowTip(event, 'tt128', 'link814')" onMouseOut="HideTip('tt128')">ordered</a> and <a href="#mxGraph.keepEdgesInForeground" class=LVariable id=link815 onMouseOver="ShowTip(event, 'tt129', 'link815')" onMouseOut="HideTip('tt129')">keepEdgesInForeground</a> have precedence over this setting. Default is true.</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. 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 the return value for <a href="#mxGraph.isConstrainChildren" class=LFunction id=link816 onMouseOver="ShowTip(event, 'tt133', 'link816')" onMouseOut="HideTip('tt133')">isConstrainChildren</a>. Default is true.</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. 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><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=link817 onMouseOver="ShowTip(event, 'tt134', 'link817')" onMouseOut="HideTip('tt134')">extendParents</a> switch if cells are added. Default is true.</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. 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=link818 onMouseOver="ShowTip(event, 'tt138', 'link818')" onMouseOut="HideTip('tt138')">zoomIn</a> and <a href="#mxGraph.zoomOut" class=LFunction id=link819 onMouseOver="ShowTip(event, 'tt139', 'link819')" onMouseOut="HideTip('tt139')">zoomOut</a>. 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. 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. 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. 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. 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. 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. 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. 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=link820 onMouseOver="ShowTip(event, 'tt148', 'link820')" onMouseOut="HideTip('tt148')">mxEdgeStyle</a> to be used for loops. This is a fallback for loops if the <a href="../util/mxConstants-js.html#mxConstants.STYLE_LOOP" class=LVariable id=link821 onMouseOver="ShowTip(event, 'tt478', 'link821')" onMouseOut="HideTip('tt478')">mxConstants.STYLE_LOOP</a> is undefined. Default is <a href="mxEdgeStyle-js.html#mxEdgeStyle.Loop" class=LFunction id=link822 onMouseOver="ShowTip(event, 'tt479', 'link822')" onMouseOut="HideTip('tt479')">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. 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. Default is false. 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. 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. 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. 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. This is used in <a href="#mxGraph.getLabel" class=LFunction id=link823 onMouseOver="ShowTip(event, 'tt296', 'link823')" onMouseOut="HideTip('tt296')">getLabel</a>. 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=link824 onMouseOver="ShowTip(event, 'tt156', 'link824')" onMouseOut="HideTip('tt156')">isHtmlLabel</a>. 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. 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. 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 ‘swimlane’. Default is <a href="../util/mxConstants-js.html#mxConstants.STYLE_FILLCOLOR" class=LVariable id=link825 onMouseOver="ShowTip(event, 'tt480', 'link825')" onMouseOut="HideTip('tt480')">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=link826 onMouseOver="ShowTip(event, 'tt162', 'link826')" onMouseOut="HideTip('tt162')">fit</a>. Default is 0.1.</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=link827 onMouseOver="ShowTip(event, 'tt162', 'link827')" onMouseOut="HideTip('tt162')">fit</a>. Default is 8.</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. 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. 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=link828 onMouseOver="ShowTip(event, 'tt68', 'link828')" onMouseOut="HideTip('tt68')">mxImage</a> to indicate a collapsed state. Default value is mxClient.imageBasePath + ‘/collapsed.gif’</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=link829 onMouseOver="ShowTip(event, 'tt68', 'link829')" onMouseOut="HideTip('tt68')">mxImage</a> to indicate a expanded state. Default value is mxClient.imageBasePath + ‘/expanded.gif’</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=link830 onMouseOver="ShowTip(event, 'tt68', 'link830')" onMouseOut="HideTip('tt68')">mxImage</a> for the image to be used to display a warning overlay. See <a href="#mxGraph.setCellWarning" class=LFunction id=link831 onMouseOver="ShowTip(event, 'tt193', 'link831')" onMouseOut="HideTip('tt193')">setCellWarning</a>. Default value is mxClient.imageBasePath + ‘/warning’. The extension for the image depends on the platform. It is ‘.png’ on the Mac and ‘.gif’ on all other platforms.</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. If the resource for this key does not exist then the value is used as the error message. Default is ‘alreadyConnected’.</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. If the resource for this key does not exist then the value is used as the warning message. Default is ‘containsValidationErrors’.</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. If the resource for this key does not exist then the value is used as the tooltip. Default is ‘collapse-expand’.</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 <container> 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). This is called in the constructor before <a href="#mxGraph.init" class=LFunction id=link832 onMouseOver="ShowTip(event, 'tt172', 'link832')" onMouseOut="HideTip('tt172')">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=link833 onMouseOver="ShowTip(event, 'tt44', 'link833')" onMouseOut="HideTip('tt44')">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=link834 onMouseOver="ShowTip(event, 'tt44', 'link834')" onMouseOut="HideTip('tt44')">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=link835 onMouseOver="ShowTip(event, 'tt39', 'link835')" onMouseOut="HideTip('tt39')">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=link836 onMouseOver="ShowTip(event, 'tt48', 'link836')" onMouseOut="HideTip('tt48')">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=link837 onMouseOver="ShowTip(event, 'tt46', 'link837')" onMouseOut="HideTip('tt46')">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=link838 onMouseOver="ShowTip(event, 'tt37', 'link838')" onMouseOut="HideTip('tt37')">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=link839 onMouseOver="ShowTip(event, 'tt39', 'link839')" onMouseOut="HideTip('tt39')">mxGraphView</a> that contains the <a href="mxCellState-js.html#mxCellState" class=LClass id=link840 onMouseOver="ShowTip(event, 'tt40', 'link840')" onMouseOut="HideTip('tt40')">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=link841 onMouseOver="ShowTip(event, 'tt42', 'link841')" onMouseOut="HideTip('tt42')">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=link842 onMouseOver="ShowTip(event, 'tt42', 'link842')" onMouseOut="HideTip('tt42')">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=link843 onMouseOver="ShowTip(event, 'tt44', 'link843')" onMouseOut="HideTip('tt44')">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 <mxSelectionModel> 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. Invokes <a href="#mxGraph.processChange" class=LFunction id=link844 onMouseOver="ShowTip(event, 'tt188', 'link844')" onMouseOut="HideTip('tt188')">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=link845 onMouseOver="ShowTip(event, 'tt38', 'link845')" onMouseOut="HideTip('tt38')">view</a>. This fires a <root> 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. 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=link846 onMouseOver="ShowTip(event, 'tt218', 'link846')" onMouseOut="HideTip('tt218')">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=link847 onMouseOver="ShowTip(event, 'tt190', 'link847')" onMouseOut="HideTip('tt190')">mxCellOverlay</a> for the specified cell. This method fires an <addoverlay> event and returns the new <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link848 onMouseOver="ShowTip(event, 'tt190', 'link848')" onMouseOut="HideTip('tt190')">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=link849 onMouseOver="ShowTip(event, 'tt218', 'link849')" onMouseOut="HideTip('tt218')">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=link850 onMouseOver="ShowTip(event, 'tt190', 'link850')" onMouseOut="HideTip('tt190')">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=link851 onMouseOver="ShowTip(event, 'tt190', 'link851')" onMouseOut="HideTip('tt190')">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=link852 onMouseOver="ShowTip(event, 'tt218', 'link852')" onMouseOut="HideTip('tt218')">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=link853 onMouseOver="ShowTip(event, 'tt190', 'link853')" onMouseOut="HideTip('tt190')">mxCellOverlay</a> from the given cell. This method fires a <removeoverlay> event. If no overlay is given, then all overlays are removed using <removeOverlays>.</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=link854 onMouseOver="ShowTip(event, 'tt218', 'link854')" onMouseOut="HideTip('tt218')">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=link855 onMouseOver="ShowTip(event, 'tt190', 'link855')" onMouseOut="HideTip('tt190')">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=link856 onMouseOver="ShowTip(event, 'tt190', 'link856')" onMouseOut="HideTip('tt190')">mxCellOverlays</a> from the given cell. This method fires a <removeoverlay> event for each <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link857 onMouseOver="ShowTip(event, 'tt190', 'link857')" onMouseOut="HideTip('tt190')">mxCellOverlay</a> and returns the array of <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link858 onMouseOver="ShowTip(event, 'tt190', 'link858')" onMouseOut="HideTip('tt190')">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=link859 onMouseOver="ShowTip(event, 'tt218', 'link859')" onMouseOut="HideTip('tt218')">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=link860 onMouseOver="ShowTip(event, 'tt190', 'link860')" onMouseOut="HideTip('tt190')">mxCellOverlays</a> in the graph for the given cell and all its descendants. If no cell is specified then all overlays are removed from the graph. This implementation uses <a href="#mxGraph.removeCellOverlays" class=LFunction id=link861 onMouseOver="ShowTip(event, 'tt31', 'link861')" onMouseOut="HideTip('tt31')">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=link862 onMouseOver="ShowTip(event, 'tt218', 'link862')" onMouseOut="HideTip('tt218')">mxCell</a> that represents the root of the subtree to remove the overlays from. 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=link863 onMouseOver="ShowTip(event, 'tt168', 'link863')" onMouseOut="HideTip('tt168')">warningImage</a> and returns the new <a href="mxCellOverlay-js.html#mxCellOverlay" class=LClass id=link864 onMouseOver="ShowTip(event, 'tt190', 'link864')" onMouseOut="HideTip('tt190')">mxCellOverlay</a>. The warning is displayed as a tooltip in a red font and may contain HTML markup. If the warning is null or a zero length string, then all overlays are removed from the cell.</p><h4 class=CHeading>Example</h4><blockquote><pre class="prettyprint">graph.setCellWarning(cell, '<b>Warning:</b>: 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=link865 onMouseOver="ShowTip(event, 'tt218', 'link865')" onMouseOut="HideTip('tt218')">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=link866 onMouseOver="ShowTip(event, 'tt68', 'link866')" onMouseOut="HideTip('tt68')">mxImage</a> to be used for the overlay. Default is <warningImageBasename>.</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. 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=link867 onMouseOver="ShowTip(event, 'tt27', 'link867')" onMouseOut="HideTip('tt27')">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=link868 onMouseOver="ShowTip(event, 'tt194', 'link868')" onMouseOut="HideTip('tt194')">startEditing</a> event and invokes <a href="mxCellEditor-js.html#mxCellEditor.startEditing" class=LFunction id=link869 onMouseOver="ShowTip(event, 'tt195', 'link869')" onMouseOut="HideTip('tt195')">mxCellEditor.startEditing</a> on <editor>.</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=link870 onMouseOver="ShowTip(event, 'tt218', 'link870')" onMouseOut="HideTip('tt218')">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. This implementation returns <a href="#mxGraph.convertValueToString" class=LFunction id=link871 onMouseOver="ShowTip(event, 'tt295', 'link871')" onMouseOut="HideTip('tt295')">convertValueToString</a> for the given cell. If this function is overridden, then <a href="../model/mxGraphModel-js.html#mxGraphModel.valueForCellChanged" class=LFunction id=link872 onMouseOver="ShowTip(event, 'tt464', 'link872')" onMouseOut="HideTip('tt464')">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=link873 onMouseOver="ShowTip(event, 'tt218', 'link873')" onMouseOut="HideTip('tt218')">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=link874 onMouseOver="ShowTip(event, 'tt28', 'link874')" onMouseOut="HideTip('tt28')">cellLabelChanged</a> and fires <a href="#mxGraph.mxEvent.LABEL_CHANGED" class=LEvent id=link875 onMouseOver="ShowTip(event, 'tt199', 'link875')" onMouseOut="HideTip('tt199')">mxEvent.LABEL_CHANGED</a> while the transaction is in progress. 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=link876 onMouseOver="ShowTip(event, 'tt218', 'link876')" onMouseOut="HideTip('tt218')">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. If autoSize is true then <a href="#mxGraph.cellSizeUpdated" class=LFunction id=link877 onMouseOver="ShowTip(event, 'tt234', 'link877')" onMouseOut="HideTip('tt234')">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=link878 onMouseOver="ShowTip(event, 'tt295', 'link878')" onMouseOut="HideTip('tt295')">convertValueToString</a>. Alternatively, the handling of this can be implemented as shown in <a href="../model/mxGraphModel-js.html#mxGraphModel.valueForCellChanged" class=LFunction id=link879 onMouseOver="ShowTip(event, 'tt464', 'link879')" onMouseOut="HideTip('tt464')">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=link880 onMouseOver="ShowTip(event, 'tt218', 'link880')" onMouseOut="HideTip('tt218')">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=link881 onMouseOver="ShowTip(event, 'tt234', 'link881')" onMouseOut="HideTip('tt234')">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=link882 onMouseOver="ShowTip(event, 'tt24', 'link882')" onMouseOut="HideTip('tt24')">click</a> event. The click event is fired initially. If the graph is enabled and the event has not been consumed, then the cell is selected using <a href="#mxGraph.selectCellForEvent" class=LFunction id=link883 onMouseOver="ShowTip(event, 'tt445', 'link883')" onMouseOut="HideTip('tt445')">selectCellForEvent</a> or the selection is cleared using <a href="#mxGraph.clearSelection" class=LFunction id=link884 onMouseOver="ShowTip(event, 'tt425', 'link884')" onMouseOut="HideTip('tt425')">clearSelection</a>. The events consumed state is set to true if the corresponding <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link885 onMouseOver="ShowTip(event, 'tt451', 'link885')" onMouseOut="HideTip('tt451')">mxMouseEvent</a> has been consumed.</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=link886 onMouseOver="ShowTip(event, 'tt451', 'link886')" onMouseOut="HideTip('tt451')">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 <dblclick> event. The event is fired initially. If the graph is enabled and the event has not been consumed, then <edit> is called with the given cell. The event is ignored if no cell was specified.</p><h4 class=CHeading>Example</h4><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() && !mxEvent.isConsumed(evt) && !mxe.isConsumed())
|
|
{
|
|
mxUtils.alert('Hello, World!');
|
|
mxe.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>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=link887 onMouseOver="ShowTip(event, 'tt218', 'link887')" onMouseOut="HideTip('tt218')">mxCell</a> under the mousepointer.</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=link888 onMouseOver="ShowTip(event, 'tt201', 'link888')" onMouseOut="HideTip('tt201')">mxPanningManager</a>.</p></div></div></div>
|
|
|
|
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.getOffsetSize"></a>getOffsetSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getOffsetSize = function()</td></tr></table></blockquote><p>Returns the actual size of the the viewport minus padding and border sizes. The value is returned in the width and height of an <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link889 onMouseOver="ShowTip(event, 'tt122', 'link889')" onMouseOut="HideTip('tt122')">mxRectangle</a>.</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. This implementation fires a <size> 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.redrawPageBreaks"></a>redrawPageBreaks</h3><div class=CBody><p>Invokes from <a href="#mxGraph.sizeDidChange" class=LFunction id=link890 onMouseOver="ShowTip(event, 'tt26', 'link890')" onMouseOut="HideTip('tt26')">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. 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=link891 onMouseOver="ShowTip(event, 'tt33', 'link891')" onMouseOut="HideTip('tt33')">EMPTY_ARRAY</a>, if not style can be found. Note: You should try and get the cell state for the given cell and use the cached style in the state before using this method.</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=link892 onMouseOver="ShowTip(event, 'tt218', 'link892')" onMouseOut="HideTip('tt218')">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. 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=link893 onMouseOver="ShowTip(event, 'tt218', 'link893')" onMouseOut="HideTip('tt218')">mxCells</a> to set the style for. 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. 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. 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=link894 onMouseOver="ShowTip(event, 'tt218', 'link894')" onMouseOut="HideTip('tt218')">mxCell</a> whose style should be modified. 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. If no cells are specified, then the selection cells are used. For example, this can be used to toggle <a href="../util/mxConstants-js.html#mxConstants.STYLE_ROUNDED" class=LVariable id=link895 onMouseOver="ShowTip(event, 'tt481', 'link895')" onMouseOut="HideTip('tt481')">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. 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=link896 onMouseOver="ShowTip(event, 'tt218', 'link896')" onMouseOut="HideTip('tt218')">mxCells</a> whose styles should be modified. 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. This will modify the existing cell styles in-place and override any existing assignment for the given key. If no cells are specified, then the selection cells are changed. If no value is specified, then the respective key is removed from the styles.</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=link897 onMouseOver="ShowTip(event, 'tt218', 'link897')" onMouseOut="HideTip('tt218')">mxCells</a> to change the style for. 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=link898 onMouseOver="ShowTip(event, 'tt218', 'link898')" onMouseOut="HideTip('tt218')">mxCells</a> to change the style for. 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=link899 onMouseOver="ShowTip(event, 'tt218', 'link899')" onMouseOut="HideTip('tt218')">mxCells</a> to change the style for. 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. 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=link900 onMouseOver="ShowTip(event, 'tt218', 'link900')" onMouseOut="HideTip('tt218')">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=link901 onMouseOver="ShowTip(event, 'tt66', 'link901')" onMouseOut="HideTip('tt66')">alternateEdgeStyle</a>. This method fires <a href="#mxGraph.mxEvent.FLIP_EDGE" class=LEvent id=link902 onMouseOver="ShowTip(event, 'tt482', 'link902')" onMouseOut="HideTip('tt482')">mxEvent.FLIP_EDGE</a> while the transaction is in progress. 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=link903 onMouseOver="ShowTip(event, 'tt483', 'link903')" onMouseOut="HideTip('tt483')">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=link904 onMouseOver="ShowTip(event, 'tt218', 'link904')" onMouseOut="HideTip('tt218')">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=link905 onMouseOver="ShowTip(event, 'tt212', 'link905')" onMouseOut="HideTip('tt212')">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=link906 onMouseOver="ShowTip(event, 'tt212', 'link906')" onMouseOut="HideTip('tt212')">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=link907 onMouseOver="ShowTip(event, 'tt160', 'link907')" onMouseOut="HideTip('tt160')">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. The change is carried out using <a href="#mxGraph.cellsOrdered" class=LFunction id=link908 onMouseOver="ShowTip(event, 'tt5', 'link908')" onMouseOut="HideTip('tt5')">cellsOrdered</a>. This method fires <a href="#mxGraph.mxEvent.ORDER_CELLS" class=LEvent id=link909 onMouseOver="ShowTip(event, 'tt484', 'link909')" onMouseOut="HideTip('tt484')">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=link910 onMouseOver="ShowTip(event, 'tt218', 'link910')" onMouseOut="HideTip('tt218')">mxCells</a> to move to the background. 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. This method fires <a href="#mxGraph.mxEvent.CELLS_ORDERED" class=LEvent id=link911 onMouseOver="ShowTip(event, 'tt485', 'link911')" onMouseOut="HideTip('tt485')">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=link912 onMouseOver="ShowTip(event, 'tt218', 'link912')" onMouseOut="HideTip('tt218')">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. The change is carried out using <a href="#mxGraph.cellsAdded" class=LFunction id=link913 onMouseOver="ShowTip(event, 'tt10', 'link913')" onMouseOut="HideTip('tt10')">cellsAdded</a>, <a href="#mxGraph.cellsMoved" class=LFunction id=link914 onMouseOver="ShowTip(event, 'tt20', 'link914')" onMouseOut="HideTip('tt20')">cellsMoved</a> and <a href="#mxGraph.cellsResized" class=LFunction id=link915 onMouseOver="ShowTip(event, 'tt18', 'link915')" onMouseOut="HideTip('tt18')">cellsResized</a>. This method fires <a href="#mxGraph.mxEvent.GROUP_CELLS" class=LEvent id=link916 onMouseOver="ShowTip(event, 'tt486', 'link916')" onMouseOut="HideTip('tt486')">mxEvent.GROUP_CELLS</a> while the transaction is in progress. Returns the new group. A group is only created if there is at least one entry in the given array of cells.</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=link917 onMouseOver="ShowTip(event, 'tt218', 'link917')" onMouseOut="HideTip('tt218')">mxCell</a> that represents the target group. If null is specified then a new group is created using <a href="#mxGraph.createGroupCell" class=LFunction id=link918 onMouseOver="ShowTip(event, 'tt217', 'link918')" onMouseOut="HideTip('tt217')">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. 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=link919 onMouseOver="ShowTip(event, 'tt218', 'link919')" onMouseOut="HideTip('tt218')">mxCells</a> to be grouped. 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=link920 onMouseOver="ShowTip(event, 'tt218', 'link920')" onMouseOut="HideTip('tt218')">mxCells</a> if no group cell was given to the <group> 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. 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. 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. 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=link921 onMouseOver="ShowTip(event, 'tt218', 'link921')" onMouseOut="HideTip('tt218')">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. Default is 0.</td></tr><tr><td class=CDLEntry>moveGroup</td><td class=CDLDescription>Optional boolean that allows the group to be moved. 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. 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=link922 onMouseOver="ShowTip(event, 'tt218', 'link922')" onMouseOut="HideTip('tt218')">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. 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=link923 onMouseOver="ShowTip(event, 'tt218', 'link923')" onMouseOut="HideTip('tt218')">mxCell</a> using value as the user object and the given coordinates as the <a href="../model/mxGeometry-js.html#mxGeometry" class=LClass id=link924 onMouseOver="ShowTip(event, 'tt222', 'link924')" onMouseOut="HideTip('tt222')">mxGeometry</a> of the new vertex. The id and style are used for the respective properties of the new <a href="../model/mxCell-js.html#mxCell" class=LClass id=link925 onMouseOver="ShowTip(event, 'tt218', 'link925')" onMouseOut="HideTip('tt218')">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=link926 onMouseOver="ShowTip(event, 'tt418', 'link926')" onMouseOut="HideTip('tt418')">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=link927 onMouseOver="ShowTip(event, 'tt32', 'link927')" onMouseOut="HideTip('tt32')">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=link928 onMouseOver="ShowTip(event, 'tt218', 'link928')" onMouseOut="HideTip('tt218')">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. 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=link929 onMouseOver="ShowTip(event, 'tt221', 'link929')" onMouseOut="HideTip('tt221')">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=link930 onMouseOver="ShowTip(event, 'tt218', 'link930')" onMouseOut="HideTip('tt218')">mxCell</a> using value as the user object and the given source and target as the terminals of the new edge. The id and style are used for the respective properties of the new <a href="../model/mxCell-js.html#mxCell" class=LClass id=link931 onMouseOver="ShowTip(event, 'tt218', 'link931')" onMouseOut="HideTip('tt218')">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=link932 onMouseOver="ShowTip(event, 'tt218', 'link932')" onMouseOut="HideTip('tt218')">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=link933 onMouseOver="ShowTip(event, 'tt218', 'link933')" onMouseOut="HideTip('tt218')">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=link934 onMouseOver="ShowTip(event, 'tt218', 'link934')" onMouseOut="HideTip('tt218')">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=link935 onMouseOver="ShowTip(event, 'tt224', 'link935')" onMouseOut="HideTip('tt224')">insertEdge</a>. 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. This is a shortcut method. 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=link936 onMouseOver="ShowTip(event, 'tt218', 'link936')" onMouseOut="HideTip('tt218')">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=link937 onMouseOver="ShowTip(event, 'tt218', 'link937')" onMouseOut="HideTip('tt218')">mxCell</a> that represents the new parent. 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=link938 onMouseOver="ShowTip(event, 'tt218', 'link938')" onMouseOut="HideTip('tt218')">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=link939 onMouseOver="ShowTip(event, 'tt218', 'link939')" onMouseOut="HideTip('tt218')">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. 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. This is a shortcut method. 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=link940 onMouseOver="ShowTip(event, 'tt218', 'link940')" onMouseOut="HideTip('tt218')">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=link941 onMouseOver="ShowTip(event, 'tt218', 'link941')" onMouseOut="HideTip('tt218')">mxCell</a> that represents the new parent. 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. 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=link942 onMouseOver="ShowTip(event, 'tt218', 'link942')" onMouseOut="HideTip('tt218')">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=link943 onMouseOver="ShowTip(event, 'tt218', 'link943')" onMouseOut="HideTip('tt218')">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. The change is carried out using <a href="#mxGraph.cellsAdded" class=LFunction id=link944 onMouseOver="ShowTip(event, 'tt10', 'link944')" onMouseOut="HideTip('tt10')">cellsAdded</a>. This method fires <a href="#mxGraph.mxEvent.ADD_CELLS" class=LEvent id=link945 onMouseOver="ShowTip(event, 'tt487', 'link945')" onMouseOut="HideTip('tt487')">mxEvent.ADD_CELLS</a> while the transaction is in progress. 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=link946 onMouseOver="ShowTip(event, 'tt218', 'link946')" onMouseOut="HideTip('tt218')">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=link947 onMouseOver="ShowTip(event, 'tt218', 'link947')" onMouseOut="HideTip('tt218')">mxCell</a> that represents the new parent. 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. 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=link948 onMouseOver="ShowTip(event, 'tt218', 'link948')" onMouseOut="HideTip('tt218')">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=link949 onMouseOver="ShowTip(event, 'tt218', 'link949')" onMouseOut="HideTip('tt218')">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. This method fires <a href="#mxGraph.mxEvent.CELLS_ADDED" class=LEvent id=link950 onMouseOver="ShowTip(event, 'tt488', 'link950')" onMouseOut="HideTip('tt488')">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.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. The change is carried out using <a href="#mxGraph.cellsRemoved" class=LFunction id=link951 onMouseOver="ShowTip(event, 'tt12', 'link951')" onMouseOut="HideTip('tt12')">cellsRemoved</a>. This method fires <a href="#mxGraph.mxEvent.REMOVE_CELLS" class=LEvent id=link952 onMouseOver="ShowTip(event, 'tt489', 'link952')" onMouseOut="HideTip('tt489')">mxEvent.REMOVE_CELLS</a> while the transaction is in progress. 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=link953 onMouseOver="ShowTip(event, 'tt218', 'link953')" onMouseOut="HideTip('tt218')">mxCells</a> to remove. 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. 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. This method fires <a href="#mxGraph.mxEvent.CELLS_REMOVED" class=LEvent id=link954 onMouseOver="ShowTip(event, 'tt490', 'link954')" onMouseOut="HideTip('tt490')">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=link955 onMouseOver="ShowTip(event, 'tt218', 'link955')" onMouseOut="HideTip('tt218')">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. This method fires <a href="#mxGraph.mxEvent.SPLIT_EDGE" class=LEvent id=link956 onMouseOver="ShowTip(event, 'tt491', 'link956')" onMouseOut="HideTip('tt491')">mxEvent.SPLIT_EDGE</a> while the transaction is in progress. 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=link957 onMouseOver="ShowTip(event, 'tt218', 'link957')" onMouseOut="HideTip('tt218')">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=link958 onMouseOver="ShowTip(event, 'tt218', 'link958')" onMouseOut="HideTip('tt218')">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=link959 onMouseOver="ShowTip(event, 'tt218', 'link959')" onMouseOut="HideTip('tt218')">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. The change is carried out using <a href="#mxGraph.cellsToggled" class=LFunction id=link960 onMouseOver="ShowTip(event, 'tt228', 'link960')" onMouseOut="HideTip('tt228')">cellsToggled</a>. This method fires <a href="#mxGraph.mxEvent.TOGGLE_CELLS" class=LEvent id=link961 onMouseOver="ShowTip(event, 'tt492', 'link961')" onMouseOut="HideTip('tt492')">mxEvent.TOGGLE_CELLS</a> while the transaction is in progress. 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=link962 onMouseOver="ShowTip(event, 'tt218', 'link962')" onMouseOut="HideTip('tt218')">mxCells</a> whose visible state should be changed. 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. 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=link963 onMouseOver="ShowTip(event, 'tt218', 'link963')" onMouseOut="HideTip('tt218')">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. The change is carried out using <a href="#mxGraph.cellsFolded" class=LFunction id=link964 onMouseOver="ShowTip(event, 'tt229', 'link964')" onMouseOut="HideTip('tt229')">cellsFolded</a>. This method fires <a href="#mxGraph.mxEvent.FOLD_CELLS" class=LEvent id=link965 onMouseOver="ShowTip(event, 'tt493', 'link965')" onMouseOut="HideTip('tt493')">mxEvent.FOLD_CELLS</a> while the transaction is in progress. 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. 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=link966 onMouseOver="ShowTip(event, 'tt218', 'link966')" onMouseOut="HideTip('tt218')">mxCells</a> whose collapsed state should be set. 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. 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. This method fires <a href="#mxGraph.mxEvent.CELLS_FOLDED" class=LEvent id=link967 onMouseOver="ShowTip(event, 'tt494', 'link967')" onMouseOut="HideTip('tt494')">mxEvent.CELLS_FOLDED</a> while the transaction is in progress. 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=link968 onMouseOver="ShowTip(event, 'tt218', 'link968')" onMouseOut="HideTip('tt218')">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. 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=link969 onMouseOver="ShowTip(event, 'tt231', 'link969')" onMouseOut="HideTip('tt231')">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=link970 onMouseOver="ShowTip(event, 'tt218', 'link970')" onMouseOut="HideTip('tt218')">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. If no alternate bounds are defined in the geometry and <a href="#mxGraph.collapseToPreferredSize" class=LVariable id=link971 onMouseOver="ShowTip(event, 'tt136', 'link971')" onMouseOut="HideTip('tt136')">collapseToPreferredSize</a> is true, then the preferred size is used for the alternate bounds. 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=link972 onMouseOver="ShowTip(event, 'tt218', 'link972')" onMouseOut="HideTip('tt218')">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=link973 onMouseOver="ShowTip(event, 'tt222', 'link973')" onMouseOut="HideTip('tt222')">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=link974 onMouseOver="ShowTip(event, 'tt234', 'link974')" onMouseOut="HideTip('tt234')">cellSizeUpdated</a>. This method fires <a href="#mxGraph.mxEvent.UPDATE_CELL_SIZE" class=LEvent id=link975 onMouseOver="ShowTip(event, 'tt495', 'link975')" onMouseOut="HideTip('tt495')">mxEvent.UPDATE_CELL_SIZE</a> while the transaction is in progress. 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=link976 onMouseOver="ShowTip(event, 'tt218', 'link976')" onMouseOut="HideTip('tt218')">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=link977 onMouseOver="ShowTip(event, 'tt235', 'link977')" onMouseOut="HideTip('tt235')">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=link978 onMouseOver="ShowTip(event, 'tt218', 'link978')" onMouseOut="HideTip('tt218')">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=link979 onMouseOver="ShowTip(event, 'tt218', 'link979')" onMouseOut="HideTip('tt218')">mxCell</a> as an <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link980 onMouseOver="ShowTip(event, 'tt122', 'link980')" onMouseOut="HideTip('tt122')">mxRectangle</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=link981 onMouseOver="ShowTip(event, 'tt218', 'link981')" onMouseOut="HideTip('tt218')">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.handleGesture"></a>handleGesture</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.handleGesture = function(</td><td class=PParameter nowrap>state,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Invokes if a gesture event has been detected on a cell 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=link982 onMouseOver="ShowTip(event, 'tt40', 'link982')" onMouseOut="HideTip('tt40')">mxCellState</a> which was pinched.</td></tr><tr><td class=CDLEntry>evt</td><td class=CDLDescription>Object that represents the gesture event.</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><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=link983 onMouseOver="ShowTip(event, 'tt17', 'link983')" onMouseOut="HideTip('tt17')">resizeCells</a>. 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=link984 onMouseOver="ShowTip(event, 'tt218', 'link984')" onMouseOut="HideTip('tt218')">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=link985 onMouseOver="ShowTip(event, 'tt122', 'link985')" onMouseOut="HideTip('tt122')">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><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=link986 onMouseOver="ShowTip(event, 'tt238', 'link986')" onMouseOut="HideTip('tt238')">mxEvent.RESIZE_CELLS</a> event while the transaction is in progress. 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=link987 onMouseOver="ShowTip(event, 'tt218', 'link987')" onMouseOut="HideTip('tt218')">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=link988 onMouseOver="ShowTip(event, 'tt122', 'link988')" onMouseOut="HideTip('tt122')">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><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=link989 onMouseOver="ShowTip(event, 'tt239', 'link989')" onMouseOut="HideTip('tt239')">mxEvent.CELLS_RESIZED</a> event. If <a href="#mxGraph.extendParents" class=LVariable id=link990 onMouseOver="ShowTip(event, 'tt134', 'link990')" onMouseOut="HideTip('tt134')">extendParents</a> is true, then the parent is extended if a child size is changed so that it overlaps with the parent.</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=link991 onMouseOver="ShowTip(event, 'tt218', 'link991')" onMouseOut="HideTip('tt218')">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=link992 onMouseOver="ShowTip(event, 'tt122', 'link992')" onMouseOut="HideTip('tt122')">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.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=link993 onMouseOver="ShowTip(event, 'tt218', 'link993')" onMouseOut="HideTip('tt218')">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. 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. The evt is the mouse event as the mouse was released. The change is carried out using <a href="#mxGraph.cellsMoved" class=LFunction id=link994 onMouseOver="ShowTip(event, 'tt20', 'link994')" onMouseOut="HideTip('tt20')">cellsMoved</a>. This method fires <a href="#mxGraph.mxEvent.MOVE_CELLS" class=LEvent id=link995 onMouseOver="ShowTip(event, 'tt496', 'link995')" onMouseOut="HideTip('tt496')">mxEvent.MOVE_CELLS</a> while the transaction is in progress. 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=link996 onMouseOver="ShowTip(event, 'tt218', 'link996')" onMouseOut="HideTip('tt218')">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. Default is 0.</td></tr><tr><td class=CDLEntry>dy</td><td class=CDLDescription>Integer that specifies the y-coordinate of the vector. Default is 0.</td></tr><tr><td class=CDLEntry>clone</td><td class=CDLDescription>Boolean indicating if the cells should be cloned. Default is false.</td></tr><tr><td class=CDLEntry>target</td><td class=CDLDescription><a href="../model/mxCell-js.html#mxCell" class=LClass id=link997 onMouseOver="ShowTip(event, 'tt218', 'link997')" onMouseOut="HideTip('tt218')">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><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. This method fires <a href="#mxGraph.mxEvent.CELLS_MOVED" class=LEvent id=link998 onMouseOver="ShowTip(event, 'tt497', 'link998')" onMouseOut="HideTip('tt497')">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=link999 onMouseOver="ShowTip(event, 'tt122', 'link999')" onMouseOut="HideTip('tt122')">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=link1000 onMouseOver="ShowTip(event, 'tt218', 'link1000')" onMouseOut="HideTip('tt218')">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=link1001 onMouseOver="ShowTip(event, 'tt122', 'link1001')" onMouseOut="HideTip('tt122')">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=link1002 onMouseOver="ShowTip(event, 'tt243', 'link1002')" onMouseOut="HideTip('tt243')">getCellContainmentArea</a> for its parent, according to the rules defined by <a href="#mxGraph.getOverlap" class=LFunction id=link1003 onMouseOver="ShowTip(event, 'tt63', 'link1003')" onMouseOut="HideTip('tt63')">getOverlap</a> and <a href="#mxGraph.isConstrainChild" class=LFunction id=link1004 onMouseOver="ShowTip(event, 'tt246', 'link1004')" onMouseOut="HideTip('tt246')">isConstrainChild</a>. This modifies the cell’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=link1005 onMouseOver="ShowTip(event, 'tt218', 'link1005')" onMouseOut="HideTip('tt218')">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=link1006 onMouseOver="ShowTip(event, 'tt218', 'link1006')" onMouseOut="HideTip('tt218')">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=link1007 onMouseOver="ShowTip(event, 'tt218', 'link1007')" onMouseOut="HideTip('tt218')">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=link1008 onMouseOver="ShowTip(event, 'tt250', 'link1008')" onMouseOut="HideTip('tt250')">mxConnectionConstraints</a> for the given terminal. If the shape of the given terminal is a <a href="../shape/mxStencilShape-js.html#mxStencilShape" class=LClass id=link1009 onMouseOver="ShowTip(event, 'tt498', 'link1009')" onMouseOut="HideTip('tt498')">mxStencilShape</a> then the constraints of the corresponding <a href="../shape/mxStencil-js.html#mxStencil" class=LClass id=link1010 onMouseOver="ShowTip(event, 'tt499', 'link1010')" onMouseOut="HideTip('tt499')">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=link1011 onMouseOver="ShowTip(event, 'tt40', 'link1011')" onMouseOut="HideTip('tt40')">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=link1012 onMouseOver="ShowTip(event, 'tt250', 'link1012')" onMouseOut="HideTip('tt250')">mxConnectionConstraint</a> that describes the given connection point. This result can then be passed to <a href="#mxGraph.getConnectionPoint" class=LFunction id=link1013 onMouseOver="ShowTip(event, 'tt253', 'link1013')" onMouseOut="HideTip('tt253')">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=link1014 onMouseOver="ShowTip(event, 'tt40', 'link1014')" onMouseOut="HideTip('tt40')">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=link1015 onMouseOver="ShowTip(event, 'tt40', 'link1015')" onMouseOut="HideTip('tt40')">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=link1016 onMouseOver="ShowTip(event, 'tt250', 'link1016')" onMouseOut="HideTip('tt250')">mxConnectionConstraint</a> that describes the given connection point. If no constraint is given then nothing is changed. To remove an existing constraint from the given edge, use an empty constraint instead.</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=link1017 onMouseOver="ShowTip(event, 'tt218', 'link1017')" onMouseOut="HideTip('tt218')">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=link1018 onMouseOver="ShowTip(event, 'tt218', 'link1018')" onMouseOut="HideTip('tt218')">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=link1019 onMouseOver="ShowTip(event, 'tt250', 'link1019')" onMouseOut="HideTip('tt250')">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=link1020 onMouseOver="ShowTip(event, 'tt40', 'link1020')" onMouseOut="HideTip('tt40')">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=link1021 onMouseOver="ShowTip(event, 'tt250', 'link1021')" onMouseOut="HideTip('tt250')">mxConnectionConstraint</a> that represents the connection point constraint as returned by <a href="#mxGraph.getConnectionConstraint" class=LFunction id=link1022 onMouseOver="ShowTip(event, 'tt251', 'link1022')" onMouseOut="HideTip('tt251')">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=link1023 onMouseOver="ShowTip(event, 'tt22', 'link1023')" onMouseOut="HideTip('tt22')">cellConnected</a> and fires <a href="#mxGraph.mxEvent.CONNECT_CELL" class=LEvent id=link1024 onMouseOver="ShowTip(event, 'tt254', 'link1024')" onMouseOut="HideTip('tt254')">mxEvent.CONNECT_CELL</a> while the transaction is in progress. 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=link1025 onMouseOver="ShowTip(event, 'tt218', 'link1025')" onMouseOut="HideTip('tt218')">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=link1026 onMouseOver="ShowTip(event, 'tt218', 'link1026')" onMouseOut="HideTip('tt218')">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=link1027 onMouseOver="ShowTip(event, 'tt250', 'link1027')" onMouseOut="HideTip('tt250')">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=link1028 onMouseOver="ShowTip(event, 'tt145', 'link1028')" onMouseOut="HideTip('tt145')">resetEdgesOnConnect</a> is true. This method fires <a href="#mxGraph.mxEvent.CELL_CONNECTED" class=LEvent id=link1029 onMouseOver="ShowTip(event, 'tt500', 'link1029')" onMouseOut="HideTip('tt500')">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=link1030 onMouseOver="ShowTip(event, 'tt218', 'link1030')" onMouseOut="HideTip('tt218')">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=link1031 onMouseOver="ShowTip(event, 'tt218', 'link1031')" onMouseOut="HideTip('tt218')">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=link1032 onMouseOver="ShowTip(event, 'tt250', 'link1032')" onMouseOut="HideTip('tt250')">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=link1033 onMouseOver="ShowTip(event, 'tt218', 'link1033')" onMouseOut="HideTip('tt218')">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. This is a shortcut to <a href="mxGraphView-js.html#mxGraphView.currentRoot" class=LVariable id=link1034 onMouseOver="ShowTip(event, 'tt400', 'link1034')" onMouseOut="HideTip('tt400')">mxGraphView.currentRoot</a> in <a href="#mxGraph.view" class=LVariable id=link1035 onMouseOver="ShowTip(event, 'tt38', 'link1035')" onMouseOut="HideTip('tt38')">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=link1036 onMouseOver="ShowTip(event, 'tt258', 'link1036')" onMouseOut="HideTip('tt258')">mxPoint</a>. This implementation returns null.</p><h4 class=CHeading>Example</h4><p>To keep the children at their absolute position while drilling, 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=link1037 onMouseOver="ShowTip(event, 'tt218', 'link1037')" onMouseOut="HideTip('tt218')">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 “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT. Note that a port should not be movable. This implementation always returns false.</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=link1038 onMouseOver="ShowTip(event, 'tt218', 'link1038')" onMouseOut="HideTip('tt218')">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. 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=link1039 onMouseOver="ShowTip(event, 'tt218', 'link1039')" onMouseOut="HideTip('tt218')">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. The root and layer cells may be identified using <a href="../model/mxGraphModel-js.html#mxGraphModel.isRoot" class=LFunction id=link1040 onMouseOver="ShowTip(event, 'tt501', 'link1040')" onMouseOut="HideTip('tt501')">mxGraphModel.isRoot</a> and <a href="../model/mxGraphModel-js.html#mxGraphModel.isLayer" class=LFunction id=link1041 onMouseOver="ShowTip(event, 'tt502', 'link1041')" onMouseOut="HideTip('tt502')">mxGraphModel.isLayer</a>. For all other current roots, the <a href="mxGraphView-js.html#mxGraphView.currentRoot" class=LVariable id=link1042 onMouseOver="ShowTip(event, 'tt400', 'link1042')" onMouseOut="HideTip('tt400')">mxGraphView.currentRoot</a> field points to the respective cell, so that the following holds: cell == this.view.currentRoot. 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=link1043 onMouseOver="ShowTip(event, 'tt218', 'link1043')" onMouseOut="HideTip('tt218')">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. If no cell is specified then the selection cell is used. The cell is only used if <a href="#mxGraph.isValidRoot" class=LFunction id=link1044 onMouseOver="ShowTip(event, 'tt265', 'link1044')" onMouseOut="HideTip('tt265')">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=link1045 onMouseOver="ShowTip(event, 'tt218', 'link1045')" onMouseOut="HideTip('tt218')">mxCell</a> to be used as the new root. 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. 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=link1046 onMouseOver="ShowTip(event, 'tt218', 'link1046')" onMouseOut="HideTip('tt218')">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. Shortcut to <a href="mxGraphView-js.html#mxGraphView.getGraphBounds" class=LFunction id=link1047 onMouseOver="ShowTip(event, 'tt503', 'link1047')" onMouseOut="HideTip('tt503')">mxGraphView.getGraphBounds</a>. See also: <a href="#mxGraph.getBoundingBoxFromGeometry" class=LFunction id=link1048 onMouseOver="ShowTip(event, 'tt268', 'link1048')" onMouseOut="HideTip('tt268')">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. See <a href="mxGraphView-js.html#mxGraphView.getBounds" class=LFunction id=link1049 onMouseOver="ShowTip(event, 'tt504', 'link1049')" onMouseOut="HideTip('tt504')">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=link1050 onMouseOver="ShowTip(event, 'tt218', 'link1050')" onMouseOut="HideTip('tt218')">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. 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. 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. 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 < 0 || bounds.y < 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 < 0 || bounds.y < 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=link1051 onMouseOver="ShowTip(event, 'tt218', 'link1051')" onMouseOut="HideTip('tt218')">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. 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. 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=link1052 onMouseOver="ShowTip(event, 'tt218', 'link1052')" onMouseOut="HideTip('tt218')">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=link1053 onMouseOver="ShowTip(event, 'tt54', 'link1053')" onMouseOut="HideTip('tt54')">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. This is used to preview panning operations, use <a href="mxGraphView-js.html#mxGraphView.setTranslate" class=LFunction id=link1054 onMouseOver="ShowTip(event, 'tt505', 'link1054')" onMouseOut="HideTip('tt505')">mxGraphView.setTranslate</a> to set a persistent translation of the view. Fires <a href="../util/mxEvent-js.html#mxEvent.PAN" class=LVariable id=link1055 onMouseOver="ShowTip(event, 'tt506', 'link1055')" onMouseOut="HideTip('tt506')">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=link1056 onMouseOver="ShowTip(event, 'tt137', 'link1056')" onMouseOut="HideTip('tt137')">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=link1057 onMouseOver="ShowTip(event, 'tt137', 'link1057')" onMouseOut="HideTip('tt137')">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><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Zooms the graph to the given scale.</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><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Zooms the graph using the given factor.</p></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 <container> and returns the current scale in the view. To fit an initial graph prior to rendering, set <a href="mxGraphView-js.html#mxGraphView.rendering" class=LVariable id=link1058 onMouseOver="ShowTip(event, 'tt507', 'link1058')" onMouseOut="HideTip('tt507')">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. Default is 0.</td></tr><tr><td class=CDLEntry>keepOrigin</td><td class=CDLDescription>Optional boolean that specifies if the translate should be changed. 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. Optionally the cell may be centered in the container.</p><p>To center a given graph if the <container> 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=link1059 onMouseOver="ShowTip(event, 'tt218', 'link1059')" onMouseOut="HideTip('tt218')">mxCell</a> to be made visible.</td></tr><tr><td class=CDLEntry>center</td><td class=CDLDescription>Optional boolean flag. 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=link1060 onMouseOver="ShowTip(event, 'tt122', 'link1060')" onMouseOut="HideTip('tt122')">mxRectangle</a> to be made visible.</td></tr><tr><td class=CDLEntry>scrollX</td><td class=CDLDescription>Optional boolean that specifies if horizontal scrolling is allowed. Default is true.</td></tr><tr><td class=CDLEntry>scrollY</td><td class=CDLDescription>Optional boolean that specifies if vertical scrolling is allowed. Default is true.</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=link1061 onMouseOver="ShowTip(event, 'tt222', 'link1061')" onMouseOut="HideTip('tt222')">mxGeometry</a> for the given cell. This implementation uses <a href="../model/mxGraphModel-js.html#mxGraphModel.getGeometry" class=LFunction id=link1062 onMouseOver="ShowTip(event, 'tt508', 'link1062')" onMouseOut="HideTip('tt508')">mxGraphModel.getGeometry</a>. 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=link1063 onMouseOver="ShowTip(event, 'tt218', 'link1063')" onMouseOut="HideTip('tt218')">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. This implementation uses <a href="../model/mxGraphModel-js.html#mxGraphModel.isVisible" class=LFunction id=link1064 onMouseOver="ShowTip(event, 'tt509', 'link1064')" onMouseOut="HideTip('tt509')">mxGraphModel.isVisible</a>. 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=link1065 onMouseOver="ShowTip(event, 'tt218', 'link1065')" onMouseOut="HideTip('tt218')">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. This implementation uses <a href="../model/mxGraphModel-js.html#mxGraphModel.isCollapsed" class=LFunction id=link1066 onMouseOver="ShowTip(event, 'tt510', 'link1066')" onMouseOut="HideTip('tt510')">mxGraphModel.isCollapsed</a>. 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=link1067 onMouseOver="ShowTip(event, 'tt218', 'link1067')" onMouseOut="HideTip('tt218')">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. This implementation uses <a href="../model/mxGraphModel-js.html#mxGraphModel.isConnectable" class=LFunction id=link1068 onMouseOver="ShowTip(event, 'tt511', 'link1068')" onMouseOut="HideTip('tt511')">mxGraphModel.isConnectable</a>. 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=link1069 onMouseOver="ShowTip(event, 'tt218', 'link1069')" onMouseOut="HideTip('tt218')">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=link1070 onMouseOver="ShowTip(event, 'tt40', 'link1070')" onMouseOut="HideTip('tt40')">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=link1071 onMouseOver="ShowTip(event, 'tt40', 'link1071')" onMouseOut="HideTip('tt40')">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. 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. This implementation returns true if control is pressed.</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="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraph.isForceMarqueeEvent"></a>isForceMarqueeEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isForceMarqueeEvent = 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 forces marquee selection. This implementation returns true if alt or meta is pressed.</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. 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=link1072 onMouseOver="ShowTip(event, 'tt288', 'link1072')" onMouseOut="HideTip('tt288')">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=link1073 onMouseOver="ShowTip(event, 'tt218', 'link1073')" onMouseOut="HideTip('tt218')">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=link1074 onMouseOver="ShowTip(event, 'tt218', 'link1074')" onMouseOut="HideTip('tt218')">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=link1075 onMouseOver="ShowTip(event, 'tt218', 'link1075')" onMouseOut="HideTip('tt218')">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’ connectivity. A return value of null means the edge is valid, a return value of ‘’ means it’s not valid, but do not display an error message. Any other (non-empty) string returned from this method is displayed as an error message when trying to connect an edge to a source and target. This implementation uses the <a href="#mxGraph.multiplicities" class=LVariable id=link1076 onMouseOver="ShowTip(event, 'tt49', 'link1076')" onMouseOut="HideTip('tt49')">multiplicities</a>, as well as <a href="#mxGraph.multigraph" class=LVariable id=link1077 onMouseOver="ShowTip(event, 'tt149', 'link1077')" onMouseOut="HideTip('tt149')">multigraph</a> and <a href="#mxGraph.allowDanglingEdges" class=LVariable id=link1078 onMouseOver="ShowTip(event, 'tt151', 'link1078')" onMouseOut="HideTip('tt151')">allowDanglingEdges</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. 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 && target != null &&
|
|
this.model.getValue(source) != null &&
|
|
this.model.getValue(target) != null)
|
|
{
|
|
if (target is not valid for source)
|
|
{
|
|
return 'Invalid Target';
|
|
}
|
|
}
|
|
|
|
// "Supercall"
|
|
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=link1079 onMouseOver="ShowTip(event, 'tt218', 'link1079')" onMouseOut="HideTip('tt218')">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=link1080 onMouseOver="ShowTip(event, 'tt218', 'link1080')" onMouseOut="HideTip('tt218')">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=link1081 onMouseOver="ShowTip(event, 'tt218', 'link1081')" onMouseOut="HideTip('tt218')">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. 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=link1082 onMouseOver="ShowTip(event, 'tt218', 'link1082')" onMouseOut="HideTip('tt218')">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=link1083 onMouseOver="ShowTip(event, 'tt218', 'link1083')" onMouseOut="HideTip('tt218')">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=link1084 onMouseOver="ShowTip(event, 'tt218', 'link1084')" onMouseOut="HideTip('tt218')">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. Context is an object that contains the validation state for the complete validation run. The validation errors are attached to their cells using <a href="#mxGraph.setCellWarning" class=LFunction id=link1085 onMouseOver="ShowTip(event, 'tt193', 'link1085')" onMouseOut="HideTip('tt193')">setCellWarning</a>. 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=link1086 onMouseOver="ShowTip(event, 'tt218', 'link1086')" onMouseOut="HideTip('tt218')">mxCell</a> to start the validation recursion. 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=link1087 onMouseOver="ShowTip(event, 'tt49', 'link1087')" onMouseOut="HideTip('tt49')">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=link1088 onMouseOver="ShowTip(event, 'tt218', 'link1088')" onMouseOut="HideTip('tt218')">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. This implementation returns null. 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=link1089 onMouseOver="ShowTip(event, 'tt218', 'link1089')" onMouseOut="HideTip('tt218')">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=link1090 onMouseOver="ShowTip(event, 'tt67', 'link1090')" onMouseOut="HideTip('tt67')">backgroundImage</a> as an <a href="../util/mxImage-js.html#mxImage" class=LClass id=link1091 onMouseOver="ShowTip(event, 'tt68', 'link1091')" onMouseOut="HideTip('tt68')">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=link1092 onMouseOver="ShowTip(event, 'tt67', 'link1092')" onMouseOut="HideTip('tt67')">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=link1093 onMouseOver="ShowTip(event, 'tt68', 'link1093')" onMouseOut="HideTip('tt68')">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=link1094 onMouseOver="ShowTip(event, 'tt68', 'link1094')" onMouseOut="HideTip('tt68')">mxImage</a> used to display the collapsed state of the specified cell state. 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. 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=link1095 onMouseOver="ShowTip(event, 'tt28', 'link1095')" onMouseOut="HideTip('tt28')">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=link1096 onMouseOver="ShowTip(event, 'tt218', 'link1096')" onMouseOut="HideTip('tt218')">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. This implementation uses <a href="#mxGraph.convertValueToString" class=LFunction id=link1097 onMouseOver="ShowTip(event, 'tt295', 'link1097')" onMouseOut="HideTip('tt295')">convertValueToString</a> if <a href="#mxGraph.labelsVisible" class=LVariable id=link1098 onMouseOver="ShowTip(event, 'tt154', 'link1098')" onMouseOut="HideTip('tt154')">labelsVisible</a> is true. Otherwise it returns an empty string.</p><p>To truncate 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 && this.model.isVertex(cell))
|
|
{
|
|
var geo = this.getCellGeometry(cell);
|
|
|
|
if (geo != null)
|
|
{
|
|
var max = parseInt(geo.width / 8);
|
|
|
|
if (label.length > 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 < 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=link1099 onMouseOver="ShowTip(event, 'tt218', 'link1099')" onMouseOut="HideTip('tt218')">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. The default implementation returns <a href="#mxGraph.htmlLabels" class=LVariable id=link1100 onMouseOver="ShowTip(event, 'tt155', 'link1100')" onMouseOut="HideTip('tt155')">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=link1101 onMouseOver="ShowTip(event, 'tt218', 'link1101')" onMouseOut="HideTip('tt218')">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=link1102 onMouseOver="ShowTip(event, 'tt155', 'link1102')" onMouseOut="HideTip('tt155')">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=link1103 onMouseOver="ShowTip(event, 'tt155', 'link1103')" onMouseOut="HideTip('tt155')">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. This implementation returns true if <a href="../util/mxConstants-js.html#mxConstants.STYLE_WHITE_SPACE" class=LVariable id=link1104 onMouseOver="ShowTip(event, 'tt512', 'link1104')" onMouseOut="HideTip('tt512')">mxConstants.STYLE_WHITE_SPACE</a> in the style of the given cell is ‘wrap’.</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. It should be overridden to return true if a white-space directive is used in the HTML markup that represents the given cells label. In order for HTML markup to work in labels, <a href="#mxGraph.isHtmlLabel" class=LFunction id=link1105 onMouseOver="ShowTip(event, 'tt156', 'link1105')" onMouseOut="HideTip('tt156')">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); // "supercall"
|
|
|
|
if (this.model.isEdge(cell))
|
|
{
|
|
tmp = '<div style="width: 150px; white-space:normal;">'+tmp+'</div>';
|
|
}
|
|
|
|
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. 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=link1106 onMouseOver="ShowTip(event, 'tt218', 'link1106')" onMouseOut="HideTip('tt218')">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. If this returns true then vertex labels will be clipped to the size of the vertices. This implementation returns true if <a href="../util/mxConstants-js.html#mxConstants.STYLE_OVERFLOW" class=LVariable id=link1107 onMouseOver="ShowTip(event, 'tt513', 'link1107')" onMouseOut="HideTip('tt513')">mxConstants.STYLE_OVERFLOW</a> in the style of the given cell is ‘hidden’.</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=link1108 onMouseOver="ShowTip(event, 'tt218', 'link1108')" onMouseOut="HideTip('tt218')">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. This implementation checks if the given node is a folding icon or overlay and returns the respective tooltip. If this does not result in a tooltip, the handler for the cell is retrieved from <selectionCellsHandler> and the optional getTooltipForNode method is called. If no special tooltip exists here then <a href="#mxGraph.getTooltipForCell" class=LFunction id=link1109 onMouseOver="ShowTip(event, 'tt302', 'link1109')" onMouseOut="HideTip('tt302')">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=link1110 onMouseOver="ShowTip(event, 'tt40', 'link1110')" onMouseOut="HideTip('tt40')">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. This implementation uses the cells getTooltip function if it exists, or else it returns <a href="#mxGraph.convertValueToString" class=LFunction id=link1111 onMouseOver="ShowTip(event, 'tt295', 'link1111')" onMouseOut="HideTip('tt295')">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=link1112 onMouseOver="ShowTip(event, 'tt218', 'link1112')" onMouseOut="HideTip('tt218')">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.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. 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=link1113 onMouseOver="ShowTip(event, 'tt218', 'link1113')" onMouseOut="HideTip('tt218')">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. The return value is an <a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link1114 onMouseOver="ShowTip(event, 'tt122', 'link1114')" onMouseOut="HideTip('tt122')">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=link1115 onMouseOver="ShowTip(event, 'tt218', 'link1115')" onMouseOut="HideTip('tt218')">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. This implementation returns the value stored under <a href="../util/mxConstants-js.html#mxConstants.STYLE_IMAGE" class=LVariable id=link1116 onMouseOver="ShowTip(event, 'tt462', 'link1116')" onMouseOut="HideTip('tt462')">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=link1117 onMouseOver="ShowTip(event, 'tt40', 'link1117')" onMouseOut="HideTip('tt40')">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. This implementation returns the value stored under <a href="../util/mxConstants-js.html#mxConstants.STYLE_VERTICAL_ALIGN" class=LVariable id=link1118 onMouseOver="ShowTip(event, 'tt514', 'link1118')" onMouseOut="HideTip('tt514')">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=link1119 onMouseOver="ShowTip(event, 'tt40', 'link1119')" onMouseOut="HideTip('tt40')">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. This implementation returns the value stored under <a href="../util/mxConstants-js.html#mxConstants.STYLE_INDICATOR_COLOR" class=LVariable id=link1120 onMouseOver="ShowTip(event, 'tt515', 'link1120')" onMouseOut="HideTip('tt515')">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=link1121 onMouseOver="ShowTip(event, 'tt40', 'link1121')" onMouseOut="HideTip('tt40')">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. This implementation returns the value stored under <a href="../util/mxConstants-js.html#mxConstants.STYLE_INDICATOR_GRADIENTCOLOR" class=LVariable id=link1122 onMouseOver="ShowTip(event, 'tt516', 'link1122')" onMouseOut="HideTip('tt516')">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=link1123 onMouseOver="ShowTip(event, 'tt40', 'link1123')" onMouseOut="HideTip('tt40')">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. This implementation returns the value stored under <a href="../util/mxConstants-js.html#mxConstants.STYLE_INDICATOR_SHAPE" class=LVariable id=link1124 onMouseOver="ShowTip(event, 'tt517', 'link1124')" onMouseOut="HideTip('tt517')">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=link1125 onMouseOver="ShowTip(event, 'tt40', 'link1125')" onMouseOut="HideTip('tt40')">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. This implementation returns the value stored under <a href="../util/mxConstants-js.html#mxConstants.STYLE_INDICATOR_IMAGE" class=LVariable id=link1126 onMouseOver="ShowTip(event, 'tt518', 'link1126')" onMouseOut="HideTip('tt518')">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=link1127 onMouseOver="ShowTip(event, 'tt40', 'link1127')" onMouseOut="HideTip('tt40')">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=link1128 onMouseOver="ShowTip(event, 'tt127', 'link1128')" onMouseOut="HideTip('tt127')">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=link1129 onMouseOver="ShowTip(event, 'tt127', 'link1129')" onMouseOut="HideTip('tt127')">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. A swimlane is a container cell with some specific behaviour. This implementation checks if the shape associated with the given cell is a <a href="../shape/mxSwimlane-js.html#mxSwimlane" class=LClass id=link1130 onMouseOver="ShowTip(event, 'tt519', 'link1130')" onMouseOut="HideTip('tt519')">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=link1131 onMouseOver="ShowTip(event, 'tt218', 'link1131')" onMouseOut="HideTip('tt218')">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=link1132 onMouseOver="ShowTip(event, 'tt125', 'link1132')" onMouseOut="HideTip('tt125')">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=link1133 onMouseOver="ShowTip(event, 'tt125', 'link1133')" onMouseOut="HideTip('tt125')">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=link1134 onMouseOver="ShowTip(event, 'tt78', 'link1134')" onMouseOut="HideTip('tt78')">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. This implementation updates <a href="#mxGraph.enabled" class=LVariable id=link1135 onMouseOver="ShowTip(event, 'tt78', 'link1135')" onMouseOut="HideTip('tt78')">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=link1136 onMouseOver="ShowTip(event, 'tt80', 'link1136')" onMouseOut="HideTip('tt80')">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=link1137 onMouseOver="ShowTip(event, 'tt80', 'link1137')" onMouseOut="HideTip('tt80')">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=link1138 onMouseOver="ShowTip(event, 'tt83', 'link1138')" onMouseOut="HideTip('tt83')">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=link1139 onMouseOver="ShowTip(event, 'tt83', 'link1139')" onMouseOut="HideTip('tt83')">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=link1140 onMouseOver="ShowTip(event, 'tt84', 'link1140')" onMouseOut="HideTip('tt84')">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=link1141 onMouseOver="ShowTip(event, 'tt84', 'link1141')" onMouseOut="HideTip('tt84')">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. This implementation returns true for all vertices with a relative geometry if <locked> 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=link1142 onMouseOver="ShowTip(event, 'tt218', 'link1142')" onMouseOut="HideTip('tt218')">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. This implementation returns true for all vertices with a relative geometry if <locked> 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=link1143 onMouseOver="ShowTip(event, 'tt218', 'link1143')" onMouseOut="HideTip('tt218')">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=link1144 onMouseOver="ShowTip(event, 'tt91', 'link1144')" onMouseOut="HideTip('tt91')">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. This implementation returns <a href="#mxGraph.isCellsCloneable" class=LFunction id=link1145 onMouseOver="ShowTip(event, 'tt325', 'link1145')" onMouseOut="HideTip('tt325')">isCellsCloneable</a> for all cells unless a cell style specifies <a href="../util/mxConstants-js.html#mxConstants.STYLE_CLONEABLE" class=LVariable id=link1146 onMouseOver="ShowTip(event, 'tt520', 'link1146')" onMouseOut="HideTip('tt520')">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=link1147 onMouseOver="ShowTip(event, 'tt218', 'link1147')" onMouseOut="HideTip('tt218')">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=link1148 onMouseOver="ShowTip(event, 'tt93', 'link1148')" onMouseOut="HideTip('tt93')">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. This implementation updates <a href="#mxGraph.cellsCloneable" class=LVariable id=link1149 onMouseOver="ShowTip(event, 'tt93', 'link1149')" onMouseOut="HideTip('tt93')">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. This implementation returns <a href="#mxGraph.exportEnabled" class=LVariable id=link1150 onMouseOver="ShowTip(event, 'tt87', 'link1150')" onMouseOut="HideTip('tt87')">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=link1151 onMouseOver="ShowTip(event, 'tt218', 'link1151')" onMouseOut="HideTip('tt218')">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. This implementation returns <a href="#mxGraph.importEnabled" class=LVariable id=link1152 onMouseOver="ShowTip(event, 'tt89', 'link1152')" onMouseOut="HideTip('tt89')">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=link1153 onMouseOver="ShowTip(event, 'tt218', 'link1153')" onMouseOut="HideTip('tt218')">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. This implementation returns <a href="#mxGraph.cellsSelectable" class=LVariable id=link1154 onMouseOver="ShowTip(event, 'tt112', 'link1154')" onMouseOut="HideTip('tt112')">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() && !this.isCellLocked(cell) && 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=link1155 onMouseOver="ShowTip(event, 'tt218', 'link1155')" onMouseOut="HideTip('tt218')">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=link1156 onMouseOver="ShowTip(event, 'tt112', 'link1156')" onMouseOut="HideTip('tt112')">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=link1157 onMouseOver="ShowTip(event, 'tt112', 'link1157')" onMouseOut="HideTip('tt112')">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. This returns <a href="#mxGraph.cellsDeletable" class=LVariable id=link1158 onMouseOver="ShowTip(event, 'tt98', 'link1158')" onMouseOut="HideTip('tt98')">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=link1159 onMouseOver="ShowTip(event, 'tt521', 'link1159')" onMouseOut="HideTip('tt521')">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=link1160 onMouseOver="ShowTip(event, 'tt218', 'link1160')" onMouseOut="HideTip('tt218')">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=link1161 onMouseOver="ShowTip(event, 'tt98', 'link1161')" onMouseOut="HideTip('tt98')">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=link1162 onMouseOver="ShowTip(event, 'tt98', 'link1162')" onMouseOut="HideTip('tt98')">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’s label is moveable. This returns <movable> for all given cells if <isLocked> 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=link1163 onMouseOver="ShowTip(event, 'tt218', 'link1163')" onMouseOut="HideTip('tt218')">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.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. This returns <a href="#mxGraph.cellsMovable" class=LVariable id=link1164 onMouseOver="ShowTip(event, 'tt100', 'link1164')" onMouseOut="HideTip('tt100')">cellsMovable</a> for all given cells if <a href="#mxGraph.isCellLocked" class=LFunction id=link1165 onMouseOver="ShowTip(event, 'tt92', 'link1165')" onMouseOut="HideTip('tt92')">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=link1166 onMouseOver="ShowTip(event, 'tt522', 'link1166')" onMouseOut="HideTip('tt522')">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=link1167 onMouseOver="ShowTip(event, 'tt218', 'link1167')" onMouseOut="HideTip('tt218')">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=link1168 onMouseOver="ShowTip(event, 'tt100', 'link1168')" onMouseOut="HideTip('tt100')">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. This implementation updates <cellsMsovable>.</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=link1169 onMouseOver="ShowTip(event, 'tt54', 'link1169')" onMouseOut="HideTip('tt54')">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=link1170 onMouseOver="ShowTip(event, 'tt55', 'link1170')" onMouseOut="HideTip('tt55')">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=link1171 onMouseOver="ShowTip(event, 'tt53', 'link1171')" onMouseOut="HideTip('tt53')">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=link1172 onMouseOver="ShowTip(event, 'tt53', 'link1172')" onMouseOut="HideTip('tt53')">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=link1173 onMouseOver="ShowTip(event, 'tt61', 'link1173')" onMouseOut="HideTip('tt61')">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=link1174 onMouseOver="ShowTip(event, 'tt61', 'link1174')" onMouseOut="HideTip('tt61')">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=link1175 onMouseOver="ShowTip(event, 'tt104', 'link1175')" onMouseOut="HideTip('tt104')">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=link1176 onMouseOver="ShowTip(event, 'tt104', 'link1176')" onMouseOut="HideTip('tt104')">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=link1177 onMouseOver="ShowTip(event, 'tt102', 'link1177')" onMouseOut="HideTip('tt102')">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=link1178 onMouseOver="ShowTip(event, 'tt102', 'link1178')" onMouseOut="HideTip('tt102')">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=link1179 onMouseOver="ShowTip(event, 'tt158', 'link1179')" onMouseOut="HideTip('tt158')">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. 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=link1180 onMouseOver="ShowTip(event, 'tt157', 'link1180')" onMouseOut="HideTip('tt157')">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=link1181 onMouseOver="ShowTip(event, 'tt149', 'link1181')" onMouseOut="HideTip('tt149')">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=link1182 onMouseOver="ShowTip(event, 'tt146', 'link1182')" onMouseOut="HideTip('tt146')">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=link1183 onMouseOver="ShowTip(event, 'tt151', 'link1183')" onMouseOut="HideTip('tt151')">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=link1184 onMouseOver="ShowTip(event, 'tt150', 'link1184')" onMouseOut="HideTip('tt150')">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. <a href="#mxGraph.getEdgeValidationError" class=LFunction id=link1185 onMouseOver="ShowTip(event, 'tt288', 'link1185')" onMouseOut="HideTip('tt288')">getEdgeValidationError</a>. 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=link1186 onMouseOver="ShowTip(event, 'tt152', 'link1186')" onMouseOut="HideTip('tt152')">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=link1187 onMouseOver="ShowTip(event, 'tt153', 'link1187')" onMouseOut="HideTip('tt153')">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. (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=link1188 onMouseOver="ShowTip(event, 'tt105', 'link1188')" onMouseOut="HideTip('tt105')">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=link1189 onMouseOver="ShowTip(event, 'tt107', 'link1189')" onMouseOut="HideTip('tt107')">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. This returns <a href="#mxGraph.cellsResizable" class=LVariable id=link1190 onMouseOver="ShowTip(event, 'tt108', 'link1190')" onMouseOut="HideTip('tt108')">cellsResizable</a> for all given cells if <a href="#mxGraph.isCellLocked" class=LFunction id=link1191 onMouseOver="ShowTip(event, 'tt92', 'link1191')" onMouseOut="HideTip('tt92')">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=link1192 onMouseOver="ShowTip(event, 'tt523', 'link1192')" onMouseOut="HideTip('tt523')">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=link1193 onMouseOver="ShowTip(event, 'tt218', 'link1193')" onMouseOut="HideTip('tt218')">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=link1194 onMouseOver="ShowTip(event, 'tt108', 'link1194')" onMouseOut="HideTip('tt108')">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. This implementation updates <a href="#mxGraph.cellsResizable" class=LVariable id=link1195 onMouseOver="ShowTip(event, 'tt108', 'link1195')" onMouseOut="HideTip('tt108')">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. This is independent from <a href="#mxGraph.isCellConnectable" class=LFunction id=link1196 onMouseOver="ShowTip(event, 'tt278', 'link1196')" onMouseOut="HideTip('tt278')">isCellConnectable</a> and <a href="#mxGraph.isCellDisconnectable" class=LFunction id=link1197 onMouseOver="ShowTip(event, 'tt374', 'link1197')" onMouseOut="HideTip('tt374')">isCellDisconnectable</a> and controls if terminal points can be moved in the graph if the edge is not connected. Note that it is required for this to return true to connect unconnected edges. This implementation returns true.</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=link1198 onMouseOver="ShowTip(event, 'tt218', 'link1198')" onMouseOut="HideTip('tt218')">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. This returns <a href="#mxGraph.cellsBendable" class=LVariable id=link1199 onMouseOver="ShowTip(event, 'tt110', 'link1199')" onMouseOut="HideTip('tt110')">cellsBendable</a> for all given cells if <isLocked> 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=link1200 onMouseOver="ShowTip(event, 'tt524', 'link1200')" onMouseOut="HideTip('tt524')">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=link1201 onMouseOver="ShowTip(event, 'tt218', 'link1201')" onMouseOut="HideTip('tt218')">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 <cellsBenadable>.</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. This implementation updates <bendable>.</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. This returns <a href="#mxGraph.cellsEditable" class=LVariable id=link1202 onMouseOver="ShowTip(event, 'tt96', 'link1202')" onMouseOut="HideTip('tt96')">cellsEditable</a> for all given cells if <a href="#mxGraph.isCellLocked" class=LFunction id=link1203 onMouseOver="ShowTip(event, 'tt92', 'link1203')" onMouseOut="HideTip('tt92')">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=link1204 onMouseOver="ShowTip(event, 'tt525', 'link1204')" onMouseOut="HideTip('tt525')">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=link1205 onMouseOver="ShowTip(event, 'tt218', 'link1205')" onMouseOut="HideTip('tt218')">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=link1206 onMouseOver="ShowTip(event, 'tt96', 'link1206')" onMouseOut="HideTip('tt96')">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. This implementation updates <a href="#mxGraph.cellsEditable" class=LVariable id=link1207 onMouseOver="ShowTip(event, 'tt96', 'link1207')" onMouseOut="HideTip('tt96')">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. This returns <a href="#mxGraph.isCellsDisconnectable" class=LFunction id=link1208 onMouseOver="ShowTip(event, 'tt375', 'link1208')" onMouseOut="HideTip('tt375')">isCellsDisconnectable</a> for all given cells if <a href="#mxGraph.isCellLocked" class=LFunction id=link1209 onMouseOver="ShowTip(event, 'tt92', 'link1209')" onMouseOut="HideTip('tt92')">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=link1210 onMouseOver="ShowTip(event, 'tt218', 'link1210')" onMouseOut="HideTip('tt218')">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=link1211 onMouseOver="ShowTip(event, 'tt218', 'link1211')" onMouseOut="HideTip('tt218')">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=link1212 onMouseOver="ShowTip(event, 'tt114', 'link1212')" onMouseOut="HideTip('tt114')">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=link1213 onMouseOver="ShowTip(event, 'tt114', 'link1213')" onMouseOut="HideTip('tt114')">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. This implementation returns true for all non-null values and is called by is called by <a href="#mxGraph.isValidConnection" class=LFunction id=link1214 onMouseOver="ShowTip(event, 'tt379', 'link1214')" onMouseOut="HideTip('tt379')">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=link1215 onMouseOver="ShowTip(event, 'tt218', 'link1215')" onMouseOut="HideTip('tt218')">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=link1216 onMouseOver="ShowTip(event, 'tt377', 'link1216')" onMouseOut="HideTip('tt377')">isValidSource</a> for the given cell. This is called by <a href="#mxGraph.isValidConnection" class=LFunction id=link1217 onMouseOver="ShowTip(event, 'tt379', 'link1217')" onMouseOut="HideTip('tt379')">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=link1218 onMouseOver="ShowTip(event, 'tt218', 'link1218')" onMouseOut="HideTip('tt218')">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. 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=link1219 onMouseOver="ShowTip(event, 'tt288', 'link1219')" onMouseOut="HideTip('tt288')">getEdgeValidationError</a>. This implementation returns true if <a href="#mxGraph.isValidSource" class=LFunction id=link1220 onMouseOver="ShowTip(event, 'tt377', 'link1220')" onMouseOut="HideTip('tt377')">isValidSource</a> returns true for the source and <a href="#mxGraph.isValidTarget" class=LFunction id=link1221 onMouseOver="ShowTip(event, 'tt378', 'link1221')" onMouseOut="HideTip('tt378')">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=link1222 onMouseOver="ShowTip(event, 'tt218', 'link1222')" onMouseOut="HideTip('tt218')">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=link1223 onMouseOver="ShowTip(event, 'tt218', 'link1223')" onMouseOut="HideTip('tt218')">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. This implementation updates <a href="../handler/mxConnectionHandler-js.html#mxConnectionHandler.enabled" class=LVariable id=link1224 onMouseOver="ShowTip(event, 'tt526', 'link1224')" onMouseOut="HideTip('tt526')">mxConnectionHandler.enabled</a> in <connectionHandler>.</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 <connectionHandler> 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. This implementation updates <a href="../handler/mxTooltipHandler-js.html#mxTooltipHandler.enabled" class=LVariable id=link1225 onMouseOver="ShowTip(event, 'tt527', 'link1225')" onMouseOut="HideTip('tt527')">mxTooltipHandler.enabled</a> in <tooltipHandler>.</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. This implementation updates <a href="../handler/mxPanningHandler-js.html#mxPanningHandler.panningEnabled" class=LVariable id=link1226 onMouseOver="ShowTip(event, 'tt528', 'link1226')" onMouseOut="HideTip('tt528')">mxPanningHandler.panningEnabled</a> in <panningHandler>.</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. 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=link1227 onMouseOver="ShowTip(event, 'tt218', 'link1227')" onMouseOut="HideTip('tt218')">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. This implementation returns <a href="#mxGraph.autoSizeCells" class=LVariable id=link1228 onMouseOver="ShowTip(event, 'tt115', 'link1228')" onMouseOut="HideTip('tt115')">autoSizeCells</a> or checks if the cell style does specify <a href="../util/mxConstants-js.html#mxConstants.STYLE_AUTOSIZE" class=LVariable id=link1229 onMouseOver="ShowTip(event, 'tt529', 'link1229')" onMouseOut="HideTip('tt529')">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=link1230 onMouseOver="ShowTip(event, 'tt218', 'link1230')" onMouseOut="HideTip('tt218')">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=link1231 onMouseOver="ShowTip(event, 'tt115', 'link1231')" onMouseOut="HideTip('tt115')">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. This implementation sets <a href="#mxGraph.autoSizeCells" class=LVariable id=link1232 onMouseOver="ShowTip(event, 'tt115', 'link1232')" onMouseOut="HideTip('tt115')">autoSizeCells</a> to the given parameter.</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. This implementation returns <a href="#mxGraph.isExtendParents" class=LFunction id=link1233 onMouseOver="ShowTip(event, 'tt389', 'link1233')" onMouseOut="HideTip('tt389')">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=link1234 onMouseOver="ShowTip(event, 'tt218', 'link1234')" onMouseOut="HideTip('tt218')">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=link1235 onMouseOver="ShowTip(event, 'tt134', 'link1235')" onMouseOut="HideTip('tt134')">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=link1236 onMouseOver="ShowTip(event, 'tt134', 'link1236')" onMouseOut="HideTip('tt134')">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=link1237 onMouseOver="ShowTip(event, 'tt134', 'link1237')" onMouseOut="HideTip('tt134')">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=link1238 onMouseOver="ShowTip(event, 'tt135', 'link1238')" onMouseOut="HideTip('tt135')">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=link1239 onMouseOver="ShowTip(event, 'tt135', 'link1239')" onMouseOut="HideTip('tt135')">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=link1240 onMouseOver="ShowTip(event, 'tt135', 'link1240')" onMouseOut="HideTip('tt135')">extendParentsOnAdd</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=link1241 onMouseOver="ShowTip(event, 'tt63', 'link1241')" onMouseOut="HideTip('tt63')">getOverlap</a> and <a href="#mxGraph.isAllowOverlapParent" class=LFunction id=link1242 onMouseOver="ShowTip(event, 'tt64', 'link1242')" onMouseOut="HideTip('tt64')">isAllowOverlapParent</a>. This implementation returns false for all children of edges and <a href="#mxGraph.isConstrainChildren" class=LFunction id=link1243 onMouseOver="ShowTip(event, 'tt133', 'link1243')" onMouseOut="HideTip('tt133')">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=link1244 onMouseOver="ShowTip(event, 'tt218', 'link1244')" onMouseOut="HideTip('tt218')">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=link1245 onMouseOver="ShowTip(event, 'tt132', 'link1245')" onMouseOut="HideTip('tt132')">constrainChildren</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=link1246 onMouseOver="ShowTip(event, 'tt132', 'link1246')" onMouseOut="HideTip('tt132')">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=link1247 onMouseOver="ShowTip(event, 'tt131', 'link1247')" onMouseOut="HideTip('tt131')">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=link1248 onMouseOver="ShowTip(event, 'tt131', 'link1248')" onMouseOut="HideTip('tt131')">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. A value of 0 means all children must stay inside the parent, 1 means the child is allowed to be placed outside of the parent such that it touches one of the parents sides. If <a href="#mxGraph.isAllowOverlapParent" class=LFunction id=link1249 onMouseOver="ShowTip(event, 'tt64', 'link1249')" onMouseOut="HideTip('tt64')">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=link1250 onMouseOver="ShowTip(event, 'tt218', 'link1250')" onMouseOut="HideTip('tt218')">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=link1251 onMouseOver="ShowTip(event, 'tt218', 'link1251')" onMouseOut="HideTip('tt218')">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. 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=link1252 onMouseOver="ShowTip(event, 'tt530', 'link1252')" onMouseOut="HideTip('tt530')">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=link1253 onMouseOver="ShowTip(event, 'tt218', 'link1253')" onMouseOut="HideTip('tt218')">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. If the given cell is an edge, then <isSplitDropTarget> is used, else <isParentDropTarget> is used to compute the return value.</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=link1254 onMouseOver="ShowTip(event, 'tt218', 'link1254')" onMouseOut="HideTip('tt218')">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=link1255 onMouseOver="ShowTip(event, 'tt218', 'link1255')" onMouseOut="HideTip('tt218')">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=link1256 onMouseOver="ShowTip(event, 'tt218', 'link1256')" onMouseOut="HideTip('tt218')">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=link1257 onMouseOver="ShowTip(event, 'tt218', 'link1257')" onMouseOut="HideTip('tt218')">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. If the given array contains a swimlane and <a href="#mxGraph.swimlaneNesting" class=LVariable id=link1258 onMouseOver="ShowTip(event, 'tt158', 'link1258')" onMouseOut="HideTip('tt158')">swimlaneNesting</a> is false then this always returns null. If no cell is given, then the bottommost swimlane at the location of the given event is returned.</p><p>This function should only be used if <a href="#mxGraph.isDropEnabled" class=LFunction id=link1259 onMouseOver="ShowTip(event, 'tt106', 'link1259')" onMouseOut="HideTip('tt106')">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=link1260 onMouseOver="ShowTip(event, 'tt218', 'link1260')" onMouseOut="HideTip('tt218')">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=link1261 onMouseOver="ShowTip(event, 'tt218', 'link1261')" onMouseOut="HideTip('tt218')">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=link1262 onMouseOver="ShowTip(event, 'tt65', 'link1262')" onMouseOut="HideTip('tt65')">defaultParent</a> or <a href="mxGraphView-js.html#mxGraphView.currentRoot" class=LVariable id=link1263 onMouseOver="ShowTip(event, 'tt400', 'link1263')" onMouseOut="HideTip('tt400')">mxGraphView.currentRoot</a> or the first child child of <a href="../model/mxGraphModel-js.html#mxGraphModel.root" class=LVariable id=link1264 onMouseOver="ShowTip(event, 'tt401', 'link1264')" onMouseOut="HideTip('tt401')">mxGraphModel.root</a> if both are null. 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=link1265 onMouseOver="ShowTip(event, 'tt65', 'link1265')" onMouseOut="HideTip('tt65')">defaultParent</a> to the given cell. 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=link1266 onMouseOver="ShowTip(event, 'tt218', 'link1266')" onMouseOut="HideTip('tt218')">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=link1267 onMouseOver="ShowTip(event, 'tt218', 'link1267')" onMouseOut="HideTip('tt218')">mxCell</a> that should be used as the root of the recursion. Default is <a href="#mxGraph.defaultParent" class=LVariable id=link1268 onMouseOver="ShowTip(event, 'tt65', 'link1268')" onMouseOut="HideTip('tt65')">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. This will also return swimlanes if the given location intersects the content area of the swimlane. If this is not desired, then the <a href="#mxGraph.hitsSwimlaneContent" class=LFunction id=link1269 onMouseOver="ShowTip(event, 'tt407', 'link1269')" onMouseOut="HideTip('tt407')">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=link1270 onMouseOver="ShowTip(event, 'tt218', 'link1270')" onMouseOut="HideTip('tt218')">mxCell</a> that should be used as the root of the recursion. Default is <a href="#mxGraph.defaultParent" class=LVariable id=link1271 onMouseOver="ShowTip(event, 'tt65', 'link1271')" onMouseOut="HideTip('tt65')">defaultParent</a>.</td></tr><tr><td class=CDLEntry>vertices</td><td class=CDLDescription>Optional boolean indicating if vertices should be returned. Default is true.</td></tr><tr><td class=CDLEntry>edges</td><td class=CDLDescription>Optional boolean indicating if edges should be returned. 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=link1272 onMouseOver="ShowTip(event, 'tt40', 'link1272')" onMouseOut="HideTip('tt40')">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=link1273 onMouseOver="ShowTip(event, 'tt218', 'link1273')" onMouseOut="HideTip('tt218')">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=link1274 onMouseOver="ShowTip(event, 'tt218', 'link1274')" onMouseOut="HideTip('tt218')">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=link1275 onMouseOver="ShowTip(event, 'tt218', 'link1275')" onMouseOut="HideTip('tt218')">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. 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=link1276 onMouseOver="ShowTip(event, 'tt218', 'link1276')" onMouseOut="HideTip('tt218')">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. Default is false.</td></tr><tr><td class=CDLEntry>edges</td><td class=CDLDescription>Optional boolean that specifies if child edges should be returned. 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=link1277 onMouseOver="ShowTip(event, 'tt218', 'link1277')" onMouseOut="HideTip('tt218')">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. 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=link1278 onMouseOver="ShowTip(event, 'tt218', 'link1278')" onMouseOut="HideTip('tt218')">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. 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=link1279 onMouseOver="ShowTip(event, 'tt218', 'link1279')" onMouseOut="HideTip('tt218')">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. If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell. If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops.</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=link1280 onMouseOver="ShowTip(event, 'tt218', 'link1280')" onMouseOut="HideTip('tt218')">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. 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. 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. 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. 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=link1281 onMouseOver="ShowTip(event, 'tt218', 'link1281')" onMouseOut="HideTip('tt218')">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=link1282 onMouseOver="ShowTip(event, 'tt218', 'link1282')" onMouseOut="HideTip('tt218')">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=link1283 onMouseOver="ShowTip(event, 'tt218', 'link1283')" onMouseOut="HideTip('tt218')">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. 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. 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. 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=link1284 onMouseOver="ShowTip(event, 'tt258', 'link1284')" onMouseOut="HideTip('tt258')">mxPoint</a> representing the given event in the unscaled, non-translated coordinate space of <container> 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=link1285 onMouseOver="ShowTip(event, 'tt53', 'link1285')" onMouseOut="HideTip('tt53')">gridSize</a>. 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). The result is added to the optional result array, which is returned from the function. 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=link1286 onMouseOver="ShowTip(event, 'tt218', 'link1286')" onMouseOut="HideTip('tt218')">mxCell</a> whose children should be checked. Default is <a href="#mxGraph.defaultParent" class=LVariable id=link1287 onMouseOver="ShowTip(event, 'tt65', 'link1287')" onMouseOut="HideTip('tt65')">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=link1288 onMouseOver="ShowTip(event, 'tt218', 'link1288')" onMouseOut="HideTip('tt218')">mxCell</a> whose children should be checked. Default is <a href="#mxGraph.defaultParent" class=LVariable id=link1289 onMouseOver="ShowTip(event, 'tt65', 'link1289')" onMouseOut="HideTip('tt65')">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. 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=link1290 onMouseOver="ShowTip(event, 'tt218', 'link1290')" onMouseOut="HideTip('tt218')">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. 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. If false then outgoing edges will be counted. 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. The function is invoked with the current vertex and the incoming edge as a parameter. This implementation makes sure each vertex is only visited once. The function may return false if the traversal should stop at the given vertex.</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=link1291 onMouseOver="ShowTip(event, 'tt218', 'link1291')" onMouseOut="HideTip('tt218')">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. 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. 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=link1292 onMouseOver="ShowTip(event, 'tt218', 'link1292')" onMouseOut="HideTip('tt218')">mxCell</a> that represents the incoming edge. 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=link1293 onMouseOver="ShowTip(event, 'tt218', 'link1293')" onMouseOut="HideTip('tt218')">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=link1294 onMouseOver="ShowTip(event, 'tt426', 'link1294')" onMouseOut="HideTip('tt426')">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=link1295 onMouseOver="ShowTip(event, 'tt218', 'link1295')" onMouseOut="HideTip('tt218')">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=link1296 onMouseOver="ShowTip(event, 'tt218', 'link1296')" onMouseOut="HideTip('tt218')">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=link1297 onMouseOver="ShowTip(event, 'tt218', 'link1297')" onMouseOut="HideTip('tt218')">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=link1298 onMouseOver="ShowTip(event, 'tt218', 'link1298')" onMouseOut="HideTip('tt218')">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=link1299 onMouseOver="ShowTip(event, 'tt218', 'link1299')" onMouseOut="HideTip('tt218')">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=link1300 onMouseOver="ShowTip(event, 'tt218', 'link1300')" onMouseOut="HideTip('tt218')">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=link1301 onMouseOver="ShowTip(event, 'tt218', 'link1301')" onMouseOut="HideTip('tt218')">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=link1302 onMouseOver="ShowTip(event, 'tt218', 'link1302')" onMouseOut="HideTip('tt218')">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=link1303 onMouseOver="ShowTip(event, 'tt122', 'link1303')" onMouseOut="HideTip('tt122')">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. To select leaf vertices and/or edges use <a href="#mxGraph.selectCells" class=LFunction id=link1304 onMouseOver="ShowTip(event, 'tt444', 'link1304')" onMouseOut="HideTip('tt444')">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=link1305 onMouseOver="ShowTip(event, 'tt218', 'link1305')" onMouseOut="HideTip('tt218')">mxCell</a> whose children should be selected. Default is <a href="#mxGraph.defaultParent" class=LVariable id=link1306 onMouseOver="ShowTip(event, 'tt65', 'link1306')" onMouseOut="HideTip('tt65')">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. Use <a href="#mxGraph.selectAll" class=LFunction id=link1307 onMouseOver="ShowTip(event, 'tt442', 'link1307')" onMouseOut="HideTip('tt442')">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=link1308 onMouseOver="ShowTip(event, 'tt218', 'link1308')" onMouseOut="HideTip('tt218')">mxCell</a> that acts as the root of the recursion. Default is <a href="#mxGraph.defaultParent" class=LVariable id=link1309 onMouseOver="ShowTip(event, 'tt65', 'link1309')" onMouseOut="HideTip('tt65')">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=link1310 onMouseOver="ShowTip(event, 'tt218', 'link1310')" onMouseOut="HideTip('tt218')">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=link1311 onMouseOver="ShowTip(event, 'tt218', 'link1311')" onMouseOut="HideTip('tt218')">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. This implementation returns a new <a href="../handler/mxEdgeHandler-js.html#mxEdgeHandler" class=LClass id=link1312 onMouseOver="ShowTip(event, 'tt531', 'link1312')" onMouseOut="HideTip('tt531')">mxEdgeHandler</a> of the corresponding cell is an edge, otherwise it returns an <a href="../handler/mxVertexHandler-js.html#mxVertexHandler" class=LClass id=link1313 onMouseOver="ShowTip(event, 'tt532', 'link1313')" onMouseOut="HideTip('tt532')">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=link1314 onMouseOver="ShowTip(event, 'tt40', 'link1314')" onMouseOut="HideTip('tt40')">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. The listener must implement the mouseDown, mouseMove and mouseUp methods as shown in the <a href="../util/mxMouseEvent-js.html#mxMouseEvent" class=LClass id=link1315 onMouseOver="ShowTip(event, 'tt451', 'link1315')" onMouseOut="HideTip('tt451')">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=link1316 onMouseOver="ShowTip(event, 'tt451', 'link1316')" onMouseOut="HideTip('tt451')">mxMouseEvent</a> if required.</p></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. Possible event names are <a href="../util/mxEvent-js.html#mxEvent.MOUSE_DOWN" class=LVariable id=link1317 onMouseOver="ShowTip(event, 'tt533', 'link1317')" onMouseOut="HideTip('tt533')">mxEvent.MOUSE_DOWN</a>, <a href="../util/mxEvent-js.html#mxEvent.MOUSE_MOVE" class=LVariable id=link1318 onMouseOver="ShowTip(event, 'tt534', 'link1318')" onMouseOut="HideTip('tt534')">mxEvent.MOUSE_MOVE</a> and <a href="../util/mxEvent-js.html#mxEvent.MOUSE_UP" class=LVariable id=link1319 onMouseOver="ShowTip(event, 'tt535', 'link1319')" onMouseOut="HideTip('tt535')">mxEvent.MOUSE_UP</a>. 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=link1320 onMouseOver="ShowTip(event, 'tt451', 'link1320')" onMouseOut="HideTip('tt451')">mxMouseEvent</a> to be fired.</td></tr><tr><td class=CDLEntry>sender</td><td class=CDLDescription>Optional sender argument. Default is this.</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/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></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/mxHierarchicalLayout-js.html">mxHierarchicalLayout</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></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/mxStencilShape-js.html">mxStencilShape</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/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/mxPath-js.html">mxPath</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/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><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><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><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>mxGraph.prototype.sizeDidChange = function()</td></tr></table></blockquote>Called when the size of the graph has changed. </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.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="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.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="tt29"><div class=CFunction><blockquote><table border=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="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.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="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.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="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>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="tt33"><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="tt34"><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="tt35"><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="tt36"><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="tt37"><div class=CClass>Extends mxEventSource to implement a graph model. </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.view</td></tr></table></blockquote>Holds the mxGraphView that caches the mxCellStates for the cells.</div></div><div class=CToolTip id="tt39"><div class=CClass>Extends mxEventSource to implement a view for a graph. </div></div><div class=CToolTip id="tt40"><div class=CClass>Represents the current state of a cell in a given mxGraphView.</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.stylesheet</td></tr></table></blockquote>Holds the mxStylesheet that defines the appearance of the cells.</div></div><div class=CToolTip id="tt42"><div class=CClass>Defines the appearance of the cells in a graph. </div></div><div class=CToolTip id="tt43"><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="tt44"><div class=CClass>Implements the selection model for a graph. </div></div><div class=CToolTip id="tt45"><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="tt46"><div class=CClass>In-place editor for the graph. </div></div><div class=CToolTip id="tt47"><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="tt48"><div class=CClass>Renders cells into a document object model. </div></div><div class=CToolTip id="tt49"><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="tt50"><div class=CClass>Defines invalid connections along with the error messages that they produce. </div></div><div class=CToolTip id="tt51"><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="tt52"><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="tt53"><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="tt54"><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="tt55"><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="tt56"><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. </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.doubleTapTimeout</td></tr></table></blockquote>Specifies the timeout for double taps. </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.doubleTapTolerance</td></tr></table></blockquote>Specifies the tolerance for double taps. </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.lastTouchTime</td></tr></table></blockquote>Holds the time of the last touch event for double click detection.</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.gestureEnabled</td></tr></table></blockquote>Specifies if the handleGesture method should be invoked. </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.tolerance</td></tr></table></blockquote>Tolerance for a move to be handled as a single click. </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.defaultOverlap</td></tr></table></blockquote>Value returned by getOverlap if isAllowOverlapParent returns true for the given cell. </div></div><div class=CToolTip id="tt63"><div class=CFunction><blockquote><table border=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="tt64"><div class=CFunction><blockquote><table border=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="tt65"><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="tt66"><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="tt67"><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="tt68"><div class=CClass>Encapsulates the URL, width and height of an image.</div></div><div class=CToolTip id="tt69"><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="tt70"><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="tt71"><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="tt72"><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="tt73"><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="tt74"><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="tt75"><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="tt76"><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="tt77"><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="tt78"><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="tt79"><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="tt80"><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="tt81"><div class=CClass>Event handler that listens to keystroke events. </div></div><div class=CToolTip id="tt82"><div class=CFunction><blockquote><table border=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="tt83"><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="tt84"><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="tt85"><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="tt86"><div class=CFunction><blockquote><table border=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="tt87"><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="tt88"><div class=CFunction><blockquote><table border=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="tt89"><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="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.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="tt91"><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="tt92"><div class=CFunction><blockquote><table border=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="tt93"><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="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.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="tt95"><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="tt96"><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="tt97"><div class=CFunction><blockquote><table border=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="tt98"><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="tt99"><div class=CFunction><blockquote><table border=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="tt100"><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="tt101"><div class=CFunction><blockquote><table border=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="tt102"><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="tt103"><div class=CFunction><blockquote><table border=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’s label is moveable. </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.vertexLabelsMovable</td></tr></table></blockquote>Specifies the return value for vertices in isLabelMovable. </div></div><div class=CToolTip id="tt105"><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="tt106"><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="tt107"><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="tt108"><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="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.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="tt110"><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="tt111"><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="tt112"><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="tt113"><div class=CFunction><blockquote><table border=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="tt114"><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="tt115"><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="tt116"><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="tt117"><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="tt118"><div class=CFunction><blockquote><table border=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="tt119"><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="tt120"><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="tt121"><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="tt122"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</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.minimumGraphSize</td></tr></table></blockquote>mxRectangle that specifies the minimum size of the graph. </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.minimumContainerSize</td></tr></table></blockquote>mxRectangle that specifies the minimum size of the container if resizeContainer is true.</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.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="tt126"><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="tt127"><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="tt128"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.ordered</td></tr></table></blockquote>Specifies if the display should reflect the order of the cells in the model. </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.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="tt130"><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="tt131"><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="tt132"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.constrainChildren</td></tr></table></blockquote>Specifies the return value for isConstrainChildren. </div></div><div class=CToolTip id="tt133"><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="tt134"><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="tt135"><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="tt136"><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="tt137"><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="tt138"><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="tt139"><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="tt140"><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="tt141"><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="tt142"><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="tt143"><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="tt144"><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="tt145"><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="tt146"><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="tt147"><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="tt148"><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="tt149"><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="tt150"><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="tt151"><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="tt152"><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="tt153"><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="tt154"><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="tt155"><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="tt156"><div class=CFunction><blockquote><table border=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="tt157"><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="tt158"><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="tt159"><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 ‘swimlane’. </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.imageBundles</td></tr></table></blockquote>Holds the list of image bundles.</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.minFitScale</td></tr></table></blockquote>Specifies the minimum scale to be applied in fit. </div></div><div class=CToolTip id="tt162"><div class=CFunction><blockquote><table border=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="tt163"><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="tt164"><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="tt165"><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="tt166"><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="tt167"><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="tt168"><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="tt169"><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="tt170"><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="tt171"><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="tt172"><div class=CFunction><blockquote><table border=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="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.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="tt174"><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="tt175"><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="tt176"><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="tt177"><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="tt178"><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="tt179"><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="tt180"><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="tt181"><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="tt182"><div class=CFunction><blockquote><table border=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="tt183"><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="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.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="tt185"><div class=CFunction><blockquote><table border=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="tt186"><div class=CFunction><blockquote><table border=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="tt187"><div class=CFunction><blockquote><table border=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="tt188"><div class=CFunction><blockquote><table border=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="tt189"><div class=CFunction><blockquote><table border=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="tt190"><div class=CClass>Extends mxEventSource to implement a graph overlay, represented by an icon and a tooltip. </div></div><div class=CToolTip id="tt191"><div class=CFunction><blockquote><table border=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="tt192"><div class=CFunction><blockquote><table border=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="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.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="tt194"><div class=CFunction><blockquote><table border=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="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>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="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.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="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.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="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.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="tt199"><div class=CEvent>Fires between begin- and endUpdate in cellLabelChanged. </div></div><div class=CToolTip id="tt200"><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="tt201"><div class=CClass>Implements a handler for panning.</div></div><div class=CToolTip id="tt202"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxGraph.prototype.getOffsetSize = function()</td></tr></table></blockquote>Returns the actual size of the the viewport minus padding and border sizes. </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.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="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.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="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.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="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>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="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.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="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.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="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.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="tt210"><div class=CFunction><blockquote><table border=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="tt211"><div class=CFunction><blockquote><table border=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="tt212"><div class=CClass>Maps from keys to base64 encoded images or file locations. </div></div><div class=CToolTip id="tt213"><div class=CFunction><blockquote><table border=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="tt214"><div class=CFunction><blockquote><table border=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="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.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="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.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="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.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="tt218"><div class=CClass>Cells are the elements of the graph model. </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.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="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.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="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.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="tt222"><div class=CClass>Extends mxRectangle to represent the geometry of a cell.</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.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="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.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="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.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="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.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="tt227"><div class=CFunction><blockquote><table border=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="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.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="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.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="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.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="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.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="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.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="tt233"><div class=CFunction><blockquote><table border=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="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.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="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.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="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.handleGesture = function(</td><td class=PParameter nowrap>state,</td></tr><tr><td></td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Invokes if a gesture event has been detected on a cell state.</div></div><div class=CToolTip id="tt237"><div class=CFunction><blockquote><table border=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><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="tt238"><div class=CEvent>Fires between begin- and endUpdate in resizeCells. </div></div><div class=CToolTip id="tt239"><div class=CEvent>Fires between begin- and endUpdate in cellsResized. </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.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="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.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="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.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="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.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="tt244"><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="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.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="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.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="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.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="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.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="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.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="tt250"><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="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.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="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.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="tt253"><div class=CFunction><blockquote><table border=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="tt254"><div class=CEvent>Fires between begin- and endUpdate in connectCell. </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.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="tt256"><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="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.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="tt258"><div class=CClass>Implements a 2-dimensional vector with double precision coordinates.</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.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 “port”, that is, when connecting to it, the cell returned by getTerminalForPort should be used as the terminal and the port should be referenced by the ID in either the mxConstants.STYLE_SOURCE_PORT or the or the mxConstants.STYLE_TARGET_PORT. </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.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="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.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="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.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="tt263"><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="tt264"><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="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.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="tt266"><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="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.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="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.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="tt269"><div class=CFunction><blockquote><table border=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="tt270"><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="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.zoomTo = function(</td><td class=PParameter nowrap>scale</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Zooms the graph to the given scale.</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.zoom = function(</td><td class=PParameter nowrap>factor</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="tt273"><div class=CFunction><blockquote><table border=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="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.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="tt275"><div class=CFunction><blockquote><table border=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="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.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="tt277"><div class=CFunction><blockquote><table border=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="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.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="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.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="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.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="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.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="tt282"><div class=CFunction><blockquote><table border=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="tt283"><div class=CFunction><blockquote><table border=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="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.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="tt285"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxGraph.prototype.isForceMarqueeEvent = 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 forces marquee selection. </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.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="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.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="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.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’ connectivity. </div></div><div class=CToolTip id="tt289"><div class=CFunction><blockquote><table border=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="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.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="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.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="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.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="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.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="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.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="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.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="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.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="tt297"><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="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.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="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.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="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.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="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.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="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.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="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.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="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.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="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.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="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.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="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.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="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.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="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.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="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.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="tt311"><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="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.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="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.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="tt314"><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="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.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="tt316"><div class=CFunction><blockquote><table border=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="tt317"><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="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.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="tt319"><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="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.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="tt321"><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="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.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="tt323"><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="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.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="tt325"><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="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.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="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.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="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.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="tt329"><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="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.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="tt331"><div class=CFunction><blockquote><table border=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="tt332"><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="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.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="tt334"><div class=CFunction><blockquote><table border=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="tt335"><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="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.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="tt337"><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="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.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="tt339"><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="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.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="tt341"><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="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.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="tt343"><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="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.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="tt345"><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="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.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="tt347"><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="tt348"><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="tt349"><div class=CFunction><blockquote><table border=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="tt350"><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="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.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="tt352"><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="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.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="tt354"><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="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.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="tt356"><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="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.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="tt358"><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="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.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="tt360"><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="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.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="tt362"><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="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.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="tt364"><div class=CFunction><blockquote><table border=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="tt365"><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="tt366"><div class=CFunction><blockquote><table border=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="tt367"><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="tt368"><div class=CFunction><blockquote><table border=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="tt369"><div class=CFunction><blockquote><table border=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="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.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="tt371"><div class=CFunction><blockquote><table border=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="tt372"><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="tt373"><div class=CFunction><blockquote><table border=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="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.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="tt375"><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="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.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="tt377"><div class=CFunction><blockquote><table border=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="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.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="tt379"><div class=CFunction><blockquote><table border=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="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.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="tt381"><div class=CFunction><blockquote><table border=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="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.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="tt383"><div class=CFunction><blockquote><table border=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="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.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="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.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="tt386"><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="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.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="tt388"><div class=CFunction><blockquote><table border=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="tt389"><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="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.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="tt391"><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="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.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="tt393"><div class=CFunction><blockquote><table border=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="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.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="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.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="tt396"><div class=CFunction><blockquote><table border=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="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.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="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.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="tt399"><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="tt400"><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="tt401"><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="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.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="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.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="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.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="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.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="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.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="tt407"><div class=CFunction><blockquote><table border=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="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.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="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.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="tt410"><div class=CFunction><blockquote><table border=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="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.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="tt412"><div class=CFunction><blockquote><table border=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="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.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="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.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="tt415"><div class=CFunction><blockquote><table border=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="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.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="tt417"><div class=CFunction><blockquote><table border=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="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.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="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.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="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.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="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.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="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.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="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.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="tt424"><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="tt425"><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="tt426"><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="tt427"><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="tt428"><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="tt429"><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="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.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="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.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="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.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="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.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="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.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="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.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="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.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="tt437"><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="tt438"><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="tt439"><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="tt440"><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="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.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="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.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="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.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="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.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="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.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="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.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="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.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="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.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="tt449"><div class=CFunction><blockquote><table border=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="tt450"><div class=CFunction><blockquote><table border=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.</div></div><div class=CToolTip id="tt451"><div class=CClass>Base class for all mouse events in mxGraph. </div></div><div class=CToolTip id="tt452"><div class=CFunction><blockquote><table border=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="tt453"><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="tt454"><div class=CClass>Event handler that selects rectangular regions. </div></div><div class=CToolTip id="tt455"><div class=CClass>Graph event handler that displays tooltips. </div></div><div class=CToolTip id="tt456"><div class=CClass>Event handler that pans and creates popupmenus. </div></div><div class=CToolTip id="tt457"><div class=CClass>Graph event handler that creates new connections. </div></div><div class=CToolTip id="tt458"><div class=CClass>Graph event handler that handles 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>mxGraphView.prototype.validate = function(</td><td class=PParameter nowrap>cell</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>First validates all bounds and then validates all points recursively on all visible cells starting at the given cell. </div></div><div class=CToolTip id="tt460"><div class=CVariable>Name under which mxImageShape is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt461"><div class=CVariable>Name under which mxLabel is registered in mxCellRenderer. </div></div><div class=CToolTip id="tt462"><div class=CVariable>Defines the key for the image style. </div></div><div class=CToolTip id="tt463"><div class=CFunction><blockquote><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="tt464"><div class=CFunction><blockquote><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="tt465"><div class=CClass>Action to change a user object in a model.</div></div><div class=CToolTip id="tt466"><div class=CClass>Defines various global constants.</div></div><div class=CToolTip id="tt467"><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="tt468"><div class=CClass>Implements a layout manager that updates the layout for a given transaction.</div></div><div class=CToolTip id="tt469"><div class=CVariable>Defines the SVG display dialect name.</div></div><div class=CToolTip id="tt470"><div class=CVariable>Defines the strict HTML display dialect.</div></div><div class=CToolTip id="tt471"><div class=CVariable>Defines the preferred HTML display dialect name.</div></div><div class=CToolTip id="tt472"><div class=CVariable>Defines the mixed HTML display dialect name.</div></div><div class=CToolTip id="tt473"><div class=CVariable>Defines the VML display dialect name.</div></div><div class=CToolTip id="tt474"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.isMixedModeHtml = function()</td></tr></table></blockquote>Used to determine if a shape can be rendered using createHtml in mixed mode Html without compromising the display accuracy. </div></div><div class=CToolTip id="tt475"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxShape.prototype.preferModeHtml</td></tr></table></blockquote>Specifies if createHtml should be used in prefer Html mode. </div></div><div class=CToolTip id="tt476"><div class=CVariable>Defines the rectangle for the A4 portrait page format. </div></div><div class=CToolTip id="tt477"><div class=CClass>Implements printing of a diagram across multiple pages. </div></div><div class=CToolTip id="tt478"><div class=CVariable>Defines the key for the loop style. </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>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="tt480"><div class=CVariable>Defines the key for the fill color. </div></div><div class=CToolTip id="tt481"><div class=CVariable>Defines the key for the rounded style. </div></div><div class=CToolTip id="tt482"><div class=CEvent>Fires between begin- and endUpdate in flipEdge. </div></div><div class=CToolTip id="tt483"><div class=CVariable>Defines the key for the elbow style. </div></div><div class=CToolTip id="tt484"><div class=CEvent>Fires between begin- and endUpdate in orderCells. </div></div><div class=CToolTip id="tt485"><div class=CEvent>Fires between begin- and endUpdate in cellsOrdered. </div></div><div class=CToolTip id="tt486"><div class=CEvent>Fires between begin- and endUpdate in groupCells. </div></div><div class=CToolTip id="tt487"><div class=CEvent>Fires between begin- and endUpdate in addCells. </div></div><div class=CToolTip id="tt488"><div class=CEvent>Fires between begin- and endUpdate in cellsAdded. </div></div><div class=CToolTip id="tt489"><div class=CEvent>Fires between begin- and endUpdate in removeCells. </div></div><div class=CToolTip id="tt490"><div class=CEvent>Fires between begin- and endUpdate in cellsRemoved. </div></div><div class=CToolTip id="tt491"><div class=CEvent>Fires between begin- and endUpdate in splitEdge. </div></div><div class=CToolTip id="tt492"><div class=CEvent>Fires between begin- and endUpdate in toggleCells. </div></div><div class=CToolTip id="tt493"><div class=CEvent>Fires between begin- and endUpdate in foldCells. </div></div><div class=CToolTip id="tt494"><div class=CEvent>Fires between begin- and endUpdate in cellsFolded. </div></div><div class=CToolTip id="tt495"><div class=CEvent>Fires between begin- and endUpdate in updateCellSize. </div></div><div class=CToolTip id="tt496"><div class=CEvent>Fires between begin- and endUpdate in moveCells. </div></div><div class=CToolTip id="tt497"><div class=CEvent>Fires between begin- and endUpdate in cellsMoved. </div></div><div class=CToolTip id="tt498"><div class=CClass>Implements a shape based on a mxStencil.</div></div><div class=CToolTip id="tt499"><div class=CClass>Implements a generic shape which is based on a XML node as a description. </div></div><div class=CToolTip id="tt500"><div class=CEvent>Fires between begin- and endUpdate in cellConnected. </div></div><div class=CToolTip id="tt501"><div class=CFunction><blockquote><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="tt502"><div class=CFunction><blockquote><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="tt503"><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="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>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="tt505"><div class=CFunction><blockquote><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="tt506"><div class=CVariable>Specifies the event name for pan.</div></div><div class=CToolTip id="tt507"><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="tt508"><div class=CFunction><blockquote><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></tr><tr><td></td><td class=PParameter nowrap>geometry</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="tt509"><div class=CFunction><blockquote><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="tt510"><div class=CFunction><blockquote><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="tt511"><div class=CFunction><blockquote><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="tt512"><div class=CVariable>Defines the key for the white-space style. </div></div><div class=CToolTip id="tt513"><div class=CVariable>Defines the key for the overflow style. </div></div><div class=CToolTip id="tt514"><div class=CVariable>Defines the key for the verticalAlign style. </div></div><div class=CToolTip id="tt515"><div class=CVariable>Defines the key for the indicatorColor style. </div></div><div class=CToolTip id="tt516"><div class=CVariable>Defines the key for the indicatorGradientColor style. </div></div><div class=CToolTip id="tt517"><div class=CVariable>Defines the key for the indicator shape used within an mxLabel. </div></div><div class=CToolTip id="tt518"><div class=CVariable>Defines the key for the indicator image used within an mxLabel. </div></div><div class=CToolTip id="tt519"><div class=CClass>Extends mxShape to implement a swimlane shape. </div></div><div class=CToolTip id="tt520"><div class=CVariable>Defines the key for the cloneable style. </div></div><div class=CToolTip id="tt521"><div class=CVariable>Defines the key for the deletable style. </div></div><div class=CToolTip id="tt522"><div class=CVariable>Defines the key for the movable style. </div></div><div class=CToolTip id="tt523"><div class=CVariable>Defines the key for the resizable style. </div></div><div class=CToolTip id="tt524"><div class=CVariable>Defines the key for the bendable style. </div></div><div class=CToolTip id="tt525"><div class=CVariable>Defines the key for the editable style. </div></div><div class=CToolTip id="tt526"><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="tt527"><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="tt528"><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="tt529"><div class=CVariable>Defines the key for the autosize style. </div></div><div class=CToolTip id="tt530"><div class=CVariable>Defines the key for the foldable style. </div></div><div class=CToolTip id="tt531"><div class=CClass>Graph event handler that reconnects edges and modifies control points and the edge label location. </div></div><div class=CToolTip id="tt532"><div class=CClass>Event handler for resizing cells. </div></div><div class=CToolTip id="tt533"><div class=CVariable>Specifies the event name for mouseDown.</div></div><div class=CToolTip id="tt534"><div class=CVariable>Specifies the event name for mouseMove.</div></div><div class=CToolTip id="tt535"><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> |