<!-- saved from url=(0026)http://www.naturaldocs.org -->
<divid=Content><divclass="CClass"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxCell"></a>mxCell</h1><divclass=CBody><p>Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph.</p><h4class=CHeading>Custom attributes</h4><p>For custom attributes we recommend using an XML node as the value of a cell. The following code can be used to create a cell with an XML node as the value:</p><blockquote><preclass="prettyprint">var doc = mxUtils.createXmlDocument();
graph.insertVertex(graph.getDefaultParent(), null, node, 40, 40, 80, 30);</pre></blockquote><p>For the label to work, <ahref="../view/mxGraph-js.html#mxGraph.convertValueToString"class=LFunctionid=link67onMouseOver="ShowTip(event, 'tt58', 'link67')"onMouseOut="HideTip('tt58')">mxGraph.convertValueToString</a> and <ahref="../view/mxGraph-js.html#mxGraph.cellLabelChanged"class=LFunctionid=link68onMouseOver="ShowTip(event, 'tt59', 'link68')"onMouseOut="HideTip('tt59')">mxGraph.cellLabelChanged</a> should be overridden as follows:</p><blockquote><preclass="prettyprint">graph.convertValueToString = function(cell)
};</pre></blockquote><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxCell">mxCell</a></td><tdclass=SDescription>Cells are the elements of the graph model. </td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxCell.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxCell.onInit">onInit</a></td><tdclass=SDescription>Called from within the constructor.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxCell.mxCell"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">mxCell</a></td><tdclass=SDescription>Constructs a new cell to be used in a graph model. </td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxCell.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxCell.id"id=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">id</a></td><tdclass=SDescription>Holds the Id. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxCell.value"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">value</a></td><tdclass=SDescription>Holds the user object. </td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxCell.geometry"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">geometry</a></td><tdclass=SDescription>Holds the <ahref="mxGeometry-js.html#mxGeometry"class=LClassid=link5onMouseOver="ShowTip(event, 'tt5', 'link5')"onMouseOut="HideTip('tt5')">mxGeometry</a>. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxCell.style"id=link6onMouseOver="ShowTip(event, 'tt6', 'link6')"onMouseOut="HideTip('tt6')">style</a></td><tdclass=SDescription>Holds the style as a string of the form [(stylename|key=value);]. </td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxCell.vertex"id=link7onMouseOver="ShowTip(event, 'tt7', 'link7')"onMouseOut="HideTip('tt7')">vertex</a></td><tdclass=SDescription>Specifies whether the cell is a vertex. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxCell.edge"id=link8onMouseOver="ShowTip(event, 'tt8', 'link8')"onMouseOut="HideTip('tt8')">edge</a></td><tdclass=SDescription>Specifies whether the cell is an edge. </td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxCell.connectable"id=link9onMouseOver="ShowTip(event, 'tt9', 'link9')"onMouseOut="HideTip('tt9')">connectable</a></td><tdclass=SDescription>Specifies whether the cell is connectable. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxCell.visible"id=link10onMouseOver="ShowTip(event, 'tt10', 'link10')"onMouseOut="HideTip('tt10')">visible</a></td><tdclass=SDescription>Specifies whether the cell is visible. </td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxCell.collapsed"id=link11onMouseOver="ShowTip(event, 'tt11', 'link11')"onMouseOut="HideTip('tt11')">collapsed</a></td><tdclass=SDescription>Specifies whether the cell is collapsed. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxCell.parent"id=link12onMouseOver="ShowTip(event, 'tt12', 'link12')"onMouseOut="HideTip('tt12')">parent</a></td><tdclass=SDescription>Reference to the parent cell.</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxCell.source"id=link13onMouseOver="ShowTip(event, 'tt13', 'link13')"onMouseOut="HideTip('tt13')">source</a></td><tdclass=SDescription>Reference to the source terminal.</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxCell.target"id=link14onMouseOver="ShowTip(event, 'tt14', 'link14')"onMouseOut="HideTip('tt14')">target</a></td><tdclass=SDescription>Reference to the target terminal.</td></tr><trclass="SVariable SIndent2 SMarked"><
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.onInit"></a>onInit</h3><divclass=CBody><p>Called from within the constructor.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.mxCell"></a>mxCell</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function mxCell(</td><tdclass="PParameter prettyprint "nowrap>value,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>geometry,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>style</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new cell to be used in a graph model. This method invokes <ahref="#mxCell.onInit"class=LFunctionid=link69onMouseOver="ShowTip(event, 'tt60', 'link69')"onMouseOut="HideTip('tt60')">onInit</a> upon completion.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>value</td><tdclass=CDLDescription>Optional object that represents the cell value.</td></tr><tr><tdclass=CDLEntry>geometry</td><tdclass=CDLDescription>Optional <ahref="mxGeometry-js.html#mxGeometry"class=LClassid=link70onMouseOver="ShowTip(event, 'tt5', 'link70')"onMouseOut="HideTip('tt5')">mxGeometry</a> that specifies the geometry.</td></tr><tr><tdclass=CDLEntry>style</td><tdclass=CDLDescription>Optional formatted string that defines the style.</td></tr></table></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.id"></a>id</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.id</td></tr></table></blockquote><p>Holds the Id. Default is null.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.value"></a>value</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.value</td></tr></table></blockquote><p>Holds the user object. Default is null.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.geometry"></a>geometry</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.geometry</td></tr></table></blockquote><p>Holds the <ahref="mxGeometry-js.html#mxGeometry"class=LClassid=link71onMouseOver="ShowTip(event, 'tt5', 'link71')"onMouseOut="HideTip('tt5')">mxGeometry</a>. Default is null.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.style"></a>style</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.style</td></tr></table></blockquote><p>Holds the style as a string of the form [(stylename|key=value);]. Default is null.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.vertex"></a>vertex</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.vertex</td></tr></table></blockquote><p>Specifies whether the cell is a vertex. Default is false.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.edge"></a>edge</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.edge</td></tr></table></blockquote><p>Specifies whether the cell is an edge. Default is false.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.connectable"></a>connectable</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.connectable</td></tr></table></blockquote><p>Specifies whether the cell is connectable. Default is true.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.visible"></a>visible</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.visible</td></tr></table></blockquote><p>Specifies whether the cell is visible. Default is true.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.collapsed"></a>collapsed</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.collapsed</td></tr></table></blockquote><p>Specifies whether the cell is collapsed. Default is false.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.parent"></a>parent</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.parent</td></tr></table></blockquote><p>Reference to the parent cell.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.source"></a>source</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.source</td></tr></table></blockquote><p>Reference to the source terminal.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.target"></a>target</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.target</td></tr></table></blockquote><p>Reference to the target terminal.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.children"></a>children</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.children</td></tr></table></blockquote><p>Holds the child cells.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.edges"></a>edges</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.edges</td></tr></table></blockquote><p>Holds the edges.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxCell.mxTransient"></a>mxTransient</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.mxTransient</td></tr></table></blockquote><p>List of members that should not be cloned inside <ahref="#mxCell.clone"class=LFunctionid=link72onMouseOver="ShowTip(event, 'tt18', 'link72')"onMouseOut="HideTip('tt18')">clone</a>. This field is passed to <ahref="../util/mxUtils-js.html#mxUtils.clone"class=LFunctionid=link73onMouseOver="ShowTip(event, 'tt61', 'link73')"onMouseOut="HideTip('tt61')">mxUtils.clone</a> and is not made persistent in <ahref="../io/mxCellCodec-js.html#mxCellCodec"class=LClassid=link74onMouseOver="ShowTip(event, 'tt62', 'link74')"onMouseOut="HideTip('tt62')">mxCellCodec</a>. This is not a convention for all classes, it is only used in this class to mark transient fields since transient modifiers are not supported by the language.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.getId"></a>getId</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.getId = function()</td></tr></table></blockquote><p>Returns the Id of the cell as a string.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.setId"></a>setId</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.setId = function(</td><tdclass="PParameter prettyprint "nowrap>id</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the Id of the cell to the given string.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.getValue"></a>getValue</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.getValue = function()</td></tr></table></blockquote><p>Returns the user object of the cell. The user object is stored in <ahref="#mxCell.value"class=LVariableid=link75onMouseOver="ShowTip(event, 'tt3', 'link75')"onMouseOut="HideTip('tt3')">value</a>.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.setValue"></a>setValue</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.setValue = function(</td><tdclass="PParameter prettyprint "nowrap>value</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the user object of the cell. The user object is stored in <ahref="#mxCell.value"class=LVariableid=link76onMouseOver="ShowTip(event, 'tt3', 'link76')"onMouseOut="HideTip('tt3')">value</a>.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.valueChanged"></a>valueChanged</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.valueChanged = function(</td><tdclass="PParameter prettyprint "nowrap>newValue</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Changes the user object after an in-place edit and returns the previous value. This implementation replaces the user object with the given value and returns the old user object.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.getGeometry"></a>getGeometry</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.getGeometry = function()</td></tr></table></blockquote><p>Returns the <ahref="mxGeometry-js.html#mxGeometry"class=LClassid=link77onMouseOver="ShowTip(event, 'tt5', 'link77')"onMouseOut="HideTip('tt5')">mxGeometry</a> that describes the <ahref="#mxCell.geometry"class=LVariableid=link78onMouseOver="ShowTip(event, 'tt4', 'link78')"onMouseOut="HideTip('tt4')">geometry</a>.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.setGeometry"></a>setGeometry</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.setGeometry = function(</td><tdclass="PParameter prettyprint "nowrap>geometry</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the <ahref="mxGeometry-js.html#mxGeometry"class=LClassid=link79onMouseOver="ShowTip(event, 'tt5', 'link79')"onMouseOut="HideTip('tt5')">mxGeometry</a> to be used as the <ahref="#mxCell.geometry"class=LVariableid=link80onMouseOver="ShowTip(event, 'tt4', 'link80')"onMouseOut="HideTip('tt4')">geometry</a>.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.getStyle"></a>getStyle</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.getStyle = function()</td></tr></table></blockquote><p>Returns a string that describes the <ahref="#mxCell.style"class=LVariableid=link81onMouseOver="ShowTip(event, 'tt6', 'link81')"onMouseOut="HideTip('tt6')">style</a>.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.setStyle"></a>setStyle</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.setStyle = function(</td><tdclass="PParameter prettyprint "nowrap>style</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the string to be used as the <ahref="#mxCell.style"class=LVariableid=link82onMouseOver="ShowTip(event, 'tt6', 'link82')"onMouseOut="HideTip('tt6')">style</a>.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.isVertex"></a>isVertex</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.isVertex = function()</td></tr></table></blockquote><p>Returns true if the cell is a vertex.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.setVertex"></a>setVertex</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.setVertex = function(</td><tdclass="PParameter prettyprint "nowrap>vertex</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the cell is a vertex. This should only be assigned at construction of the cell and not be changed during its lifecycle.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>vertex</td><tdclass=CDLDescription>Boolean that specifies if the cell is a vertex.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.isEdge"></a>isEdge</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.isEdge = function()</td></tr></table></blockquote><p>Returns true if the cell is an edge.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.setEdge"></a>setEdge</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.setEdge = function(</td><tdclass="PParameter prettyprint "nowrap>edge</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the cell is an edge. This should only be assigned at construction of the cell and not be changed during its lifecycle.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>edge</td><tdclass=CDLDescription>Boolean that specifies if the cell is an edge.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.isConnectable"></a>isConnectable</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.isConnectable = function()</td></tr></table></blockquote><p>Returns true if the cell is connectable.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.setConnectable"></a>setConnectable</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.setConnectable = function(</td><tdclass="PParameter prettyprint "nowrap>connectable</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the connectable state.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>connectable</td><tdclass=CDLDescription>Boolean that specifies the new connectable state.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.isVisible"></a>isVisible</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.isVisible = function()</td></tr></table></blockquote><p>Returns true if the cell is visibile.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.setVisible"></a>setVisible</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.setVisible = function(</td><tdclass="PParameter prettyprint "nowrap>visible</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the cell is visible.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>visible</td><tdclass=CDLDescription>Boolean that specifies the new visible state.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.isCollapsed"></a>isCollapsed</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.isCollapsed = function()</td></tr></table></blockquote><p>Returns true if the cell is collapsed.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.setCollapsed"></a>setCollapsed</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.setCollapsed = function(</td><tdclass="PParameter prettyprint "nowrap>collapsed</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the collapsed state.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>collapsed</td><tdclass=CDLDescription>Boolean that specifies the new collapsed state.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.setParent"></a>setParent</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.setParent = function(</td><tdclass="PParameter prettyprint "nowrap>parent</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the parent cell.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>parent</td><tdclass=CDLDescription><ahref="#mxCell.mxCell"class=LFunctionid=link83onMouseOver="ShowTip(event, 'tt1', 'link83')"onMouseOut="HideTip('tt1')">mxCell</a> that represents the new parent.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.getTerminal"></a>getTerminal</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.getTerminal = function(</td><tdclass="PParameter prettyprint "nowrap>source</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the source or target terminal.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>source</td><tdclass=CDLDescription>Boolean that specifies if the source terminal should be returned.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.setTerminal"></a>setTerminal</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.setTerminal = function(</td><tdclass="PParameter prettyprint "nowrap>terminal,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>isSource</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the source or target terminal and returns the new terminal.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>terminal</td><tdclass=CDLDescription><ahref="#mxCell.mxCell"class=LFunctionid=link84onMouseOver="ShowTip(event, 'tt1', 'link84')"onMouseOut="HideTip('tt1')">mxCell</a> that represents the new source or target terminal.</td></tr><tr><tdclass=CDLEntry>isSource</td><tdclass=CDLDescription>Boolean that specifies if the source or target terminal should be set.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.getChildCount"></a>getChildCount</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.getChildCount = function()</td></tr></table></blockquote><p>Returns the number of child cells.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.getIndex"></a>getIndex</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.getIndex = function(</td><tdclass="PParameter prettyprint "nowrap>child</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the index of the specified child in the child array.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>child</td><tdclass=CDLDescription>Child whose index should be returned.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.getChildAt"></a>getChildAt</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.getChildAt = function(</td><tdclass="PParameter prettyprint "nowrap>index</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the child at the specified index.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>index</td><tdclass=CDLDescription>Integer that specifies the child to be returned.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.insert"></a>insert</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.insert = function(</td><tdclass="PParameter prettyprint "nowrap>child,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>index</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Inserts the specified child into the child array at the specified index and updates the parent reference of the child. If not childIndex is specified then the child is appended to the child array. Returns the inserted child.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>child</td><tdclass=CDLDescription><ahref="#mxCell.mxCell"class=LFunctionid=link85onMouseOver="ShowTip(event, 'tt1', 'link85')"onMouseOut="HideTip('tt1')">mxCell</a> to be inserted or appended to the child array.</td></tr><tr><tdclass=CDLEntry>index</td><tdclass=CDLDescription>Optional integer that specifies the index at which the child should be inserted into the child array.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.remove"></a>remove</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.remove = function(</td><tdclass="PParameter prettyprint "nowrap>index</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the child at the specified index from the child array and returns the child that was removed. Will remove the parent reference of the child.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>index</td><tdclass=CDLDescription>Integer that specifies the index of the child to be removed.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.removeFromParent"></a>removeFromParent</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.removeFromParent = function()</td></tr></table></blockquote><p>Removes the cell from its parent.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.getEdgeCount"></a>getEdgeCount</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.getEdgeCount = function()</td></tr></table></blockquote><p>Returns the number of edges in the edge array.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.getEdgeIndex"></a>getEdgeIndex</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.getEdgeIndex = function(</td><tdclass="PParameter prettyprint "nowrap>edge</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the index of the specified edge in <ahref="#mxCell.edges"class=LVariableid=link86onMouseOver="ShowTip(event, 'tt16', 'link86')"onMouseOut="HideTip('tt16')">edges</a>.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>edge</td><tdclass=CDLDescription><ahref="#mxCell.mxCell"class=LFunctionid=link87onMouseOver="ShowTip(event, 'tt1', 'link87')"onMouseOut="HideTip('tt1')">mxCell</a> whose index in <ahref="#mxCell.edges"class=LVariableid=link88onMouseOver="ShowTip(event, 'tt16', 'link88')"onMouseOut="HideTip('tt16')">edges</a> should be returned.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.getEdgeAt"></a>getEdgeAt</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.getEdgeAt = function(</td><tdclass="PParameter prettyprint "nowrap>index</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the edge at the specified index in <ahref="#mxCell.edges"class=LVariableid=link89onMouseOver="ShowTip(event, 'tt16', 'link89')"onMouseOut="HideTip('tt16')">edges</a>.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>index</td><tdclass=CDLDescription>Integer that specifies the index of the edge to be returned.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.insertEdge"></a>insertEdge</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.insertEdge = function(</td><tdclass="PParameter prettyprint "nowrap>edge,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>isOutgoing</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Inserts the specified edge into the edge array and returns the edge. Will update the respective terminal reference of the edge.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>edge</td><tdclass=CDLDescription><ahref="#mxCell.mxCell"class=LFunctionid=link90onMouseOver="ShowTip(event, 'tt1', 'link90')"onMouseOut="HideTip('tt1')">mxCell</a> to be inserted into the edge array.</td></tr><tr><tdclass=CDLEntry>isOutgoing</td><tdclass=CDLDescription>Boolean that specifies if the edge is outgoing.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.removeEdge"></a>removeEdge</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.removeEdge = function(</td><tdclass="PParameter prettyprint "nowrap>edge,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>isOutgoing</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the specified edge from the edge array and returns the edge. Will remove the respective terminal reference from the edge.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>edge</td><tdclass=CDLDescription><ahref="#mxCell.mxCell"class=LFunctionid=link91onMouseOver="ShowTip(event, 'tt1', 'link91')"onMouseOut="HideTip('tt1')">mxCell</a> to be removed from the edge array.</td></tr><tr><tdclass=CDLEntry>isOutgoing</td><tdclass=CDLDescription>Boolean that specifies if the edge is outgoing.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.removeFromTerminal"></a>removeFromTerminal</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.removeFromTerminal = function(</td><tdclass="PParameter prettyprint "nowrap>isSource</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the edge from its source or target terminal.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>isSource</td><tdclass=CDLDescription>Boolean that specifies if the edge should be removed from its source or target terminal.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.hasAttribute"></a>hasAttribute</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.hasAttribute = function(</td><tdclass="PParameter prettyprint "nowrap>name</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the user object is an XML node that contains the given attribute.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>name</td><tdclass=CDLDescription>Name of the attribute.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.getAttribute"></a>getAttribute</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.getAttribute = function(</td><tdclass="PParameter prettyprint "nowrap>name,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>defaultValue</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the specified attribute from the user object if it is an XML node.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>name</td><tdclass=CDLDescription>Name of the attribute whose value should be returned.</td></tr><tr><tdclass=CDLEntry>defaultValue</td><tdclass=CDLDescription>Optional default value to use if the attribute has no value.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.setAttribute"></a>setAttribute</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxCell.prototype.setAttribute = function(</td><tdclass="PParameter prettyprint "nowrap>name,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>value</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the specified attribute on the user object if it is an XML node.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>name</td><tdclass=CDLDescription>Name of the attribute whose value should be set.</td></tr><tr><tdclass=CDLEntry>value</td><tdclass=CDLDescription>New value of the attribute.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.clone"></a>clone</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.clone = function()</td></tr></table></blockquote><p>Returns a clone of the cell. Uses <ahref="#mxCell.cloneValue"class=LFunctionid=link92onMouseOver="ShowTip(event, 'tt57', 'link92')"onMouseOut="HideTip('tt57')">cloneValue</a> to clone the user object. All fields in <ahref="#mxCell.mxTransient"class=LVariableid=link93onMouseOver="ShowTip(event, 'tt17', 'link93')"onMouseOut="HideTip('tt17')">mxTransient</a> are ignored during the cloning.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxCell.cloneValue"></a>cloneValue</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.cloneValue = function()</td></tr></table></blockquote><p>Returns a clone of the cell’s user object.</p></div></div></div>
<divclass=CToolTipid="tt1"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>function mxCell(</td><tdclass="PParameter prettyprint "nowrap>value,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>geometry,</td></tr><tr><td></td><tdclass="PParameter prettyprint "nowrap>style</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new cell to be used in a graph model. </div></div><divclass=CToolTipid="tt2"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.id</td></tr></table></blockquote>Holds the Id. </div></div><divclass=CToolTipid="tt3"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.value</td></tr></table></blockquote>Holds the user object. </div></div><divclass=CToolTipid="tt4"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.geometry</td></tr></table></blockquote>Holds the mxGeometry. </div></div><divclass=CToolTipid="tt5"><divclass=CClass>Extends mxRectangle to represent the geometry of a cell.</div></div><divclass=CToolTipid="tt6"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.style</td></tr></table></blockquote>Holds the style as a string of the form [(stylename|key=value);]. </div></div><divclass=CToolTipid="tt7"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.vertex</td></tr></table></blockquote>Specifies whether the cell is a vertex. </div></div><divclass=CToolTipid="tt8"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.edge</td></tr></table></blockquote>Specifies whether the cell is an edge. </div></div><divclass=CToolTipid="tt9"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.connectable</td></tr></table></blockquote>Specifies whether the cell is connectable. </div></div><divclass=CToolTipid="tt10"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.visible</td></tr></table></blockquote>Specifies whether the cell is visible. </div></div><divclass=CToolTipid="tt11"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.collapsed</td></tr></table></blockquote>Specifies whether the cell is collapsed. </div></div><divclass=CToolTipid="tt12"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.parent</td></tr></table></blockquote>Reference to the parent cell.</div></div><divclass=CToolTipid="tt13"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.source</td></tr></table></blockquote>Reference to the source terminal.</div></div><divclass=CToolTipid="tt14"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.target</td></tr></table></blockquote>Reference to the target terminal.</div></div><divclass=CToolTipid="tt15"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxCell.prototype.children</td></tr></table></blockquote>Holds the child cells.</div></div><divclass=CToolTipid="tt16"><divclass=CVariable><blockquote><tableborde