maxGraph/docs/php-api/files/model/mxCell-php.html

149 lines
71 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxCell</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="mxCell"></a>mxCell</h1><div class=CBody><p>Cells are the elements of the graph model.&nbsp; They represent the state of the groups, vertices and edges in a graph.</p><!--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="#mxCell" >mxCell</a></td><td class=SDescription>Cells are the elements of the graph model. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxCell.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxCell.id" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">id</a></td><td class=SDescription>Holds the Id. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxCell.value" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">value</a></td><td class=SDescription>Holds the user object. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxCell.geometry" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">geometry</a></td><td class=SDescription>Holds the <a href="mxGeometry-php.html#mxGeometry" class=LClass id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">mxGeometry</a>. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxCell.style" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">style</a></td><td class=SDescription>Holds the style as a string of the form [(stylename|key=value);]. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxCell.vertex" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">vertex</a></td><td class=SDescription>Specifies whether the cell is a vertex. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxCell.edge" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">edge</a></td><td class=SDescription>Specifies whether the cell is an edge. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxCell.connectable" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">connectable</a></td><td class=SDescription>Specifies whether the cell is connectable. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxCell.visible" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">visible</a></td><td class=SDescription>Specifies whether the cell is visible. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxCell.collapsed" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">collapsed</a></td><td class=SDescription>Specifies whether the cell is collapsed. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxCell.parent" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">parent</a></td><td class=SDescription>Reference to the parent cell.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxCell.source" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">source</a></td><td class=SDescription>Reference to the source terminal.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxCell.target" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">target</a></td><td class=SDescription>Reference to the target terminal.</td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxCell.children" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">children</a></td><td class=SDescription>Holds the child cells.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxCell.edges" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">edges</a></td><td class=SDescription>Holds the edges.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxCell.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.mxCell" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')">mxCell</a></td><td class=SDescription>Constructs a new cell to be used in a graph model. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.getId" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')">getId</a></td><td class=SDescription>Returns the Id of the cell as a string.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.setId" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')">setId</a></td><td class=SDescription>Sets the Id of the cell to the given string.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.getValue" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')">getValue</a></td><td class=SDescription>Returns the user object of the cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.setValue" id=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')">setValue</a></td><td class=SDescription>Sets the user object of the cell. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.getGeometry" id=link21 onMouseOver="ShowTip(event, 'tt21', 'link21')" onMouseOut="HideTip('tt21')">getGeometry</a></td><td class=SDescription>Returns the <a href="mxGeometry-php.html#mxGeometry" class=LClass id=link22 onMouseOver="ShowTip(event, 'tt4', 'link22')" onMouseOut="HideTip('tt4')">mxGeometry</a> that describes the <a href="#mxCell.geometry" class=LVariable id=link23 onMouseOver="ShowTip(event, 'tt3', 'link23')" onMouseOut="HideTip('tt3')">geometry</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.setGeometry" id=link24 onMouseOver="ShowTip(event, 'tt22', 'link24')" onMouseOut="HideTip('tt22')">setGeometry</a></td><td class=SDescription>Sets the <a href="mxGeometry-php.html#mxGeometry" class=LClass id=link25 onMouseOver="ShowTip(event, 'tt4', 'link25')" onMouseOut="HideTip('tt4')">mxGeometry</a> to be used as the <a href="#mxCell.geometry" class=LVariable id=link26 onMouseOver="ShowTip(event, 'tt3', 'link26')" onMouseOut="HideTip('tt3')">geometry</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.getStyle" id=link27 onMouseOver="ShowTip(event, 'tt23', 'link27')" onMouseOut="HideTip('tt23')">getStyle</a></td><td class=SDescription>Returns a string that describes the <a href="#mxCell.style" class=LVariable id=link28 onMouseOver="ShowTip(event, 'tt5', 'link28')" onMouseOut="HideTip('tt5')">style</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.setStyle" id=link29 onMouseOver="ShowTip(event, 'tt24', 'link29')" onMouseOut="HideTip('tt24')">setStyle</a></td><td class=SDescription>Sets the string to be used as the <a href="#mxCell.style" class=LVariable id=link30 onMouseOver="ShowTip(event, 'tt5', 'link30')" onMouseOut="HideTip('tt5')">style</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.isVertex" id=link31 onMouseOver="ShowTip(event, 'tt25', 'link31')" onMouseOut="HideTip('tt25')">isVertex</a></td><td class=SDescription>Returns true if the cell is a vertex.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.setVertex" id=link32 onMouseOver="ShowTip(event, 'tt26', 'link32')" onMouseOut="HideTip('tt26')">setVertex</a></td><td class=SDescription>Specifies if the cell is a vertex. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.isEdge" id=link33 onMouseOver="ShowTip(event, 'tt27', 'link33')" onMouseOut="HideTip('tt27')">isEdge</a></td><td class=SDescription>Returns true if the cell is an edge.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.setEdge" id=link34 onMouseOver="ShowTip(event, 'tt28', 'link34')" onMouseOut="HideTip('tt28')">setEdge</a></td><td class=SDescription>Specifies if the cell is an edge. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.isConnectable" id=link35 onMouseOver="ShowTip(event, 'tt29', 'link35')" onMouseOut="HideTip('tt29')">isConnectable</a></td><td class=SDescription>Returns true if the cell is connectable.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.setConnectable" id=link36 onMouseOver="ShowTip(event, 'tt30', 'link36')" onMouseOut="HideTip('tt30')">setConnectable</a></td><td class=SDescription>Sets the connectable state.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.isVisible" id=link37 onMouseOver="ShowTip(event, 'tt31', 'link37')" onMouseOut="HideTip('tt31')">isVisible</a></td><td class=SDescription>Returns true if the cell is visibile.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.setVisible" id=link38 onMouseOver="ShowTip(event, 'tt32', 'link38')" onMouseOut="HideTip('tt32')">setVisible</a></td><td class=SDescription>Specifies if the cell is visible.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.isCollapsed" id=link39 onMouseOver="ShowTip(event, 'tt33', 'link39')" onMouseOut="HideTip('tt33')">isCollapsed</a></td><td class=SDescription>Returns true if the cell is collapsed.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.setCollapsed" id=link40 onMouseOver="ShowTip(event, 'tt34', 'link40')" onMouseOut="HideTip('tt34')">setCollapsed</a></td><td class=SDescription>Sets the collapsed state.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.getParent" id=link41 onMouseOver="ShowTip(event, 'tt35', 'link41')" onMouseOut="HideTip('tt35')">getParent</a></td><td class=SDescription>Returns the cell&rsquo;s parent.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.setParent" id=link42 onMouseOver="ShowTip(event, 'tt36', 'link42')" onMouseOut="HideTip('tt36')">setParent</a></td><td class=SDescription>Sets the parent cell.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.getTerminal" id=link43 onMouseOver="ShowTip(event, 'tt37', 'link43')" onMouseOut="HideTip('tt37')">getTerminal</a></td><td class=SDescription>Returns the source or target terminal.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.setTerminal" id=link44 onMouseOver="ShowTip(event, 'tt38', 'link44')" onMouseOut="HideTip('tt38')">setTerminal</a></td><td class=SDescription>Sets the source or target terminal and returns the new terminal.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.getChildCount" id=link45 onMouseOver="ShowTip(event, 'tt39', 'link45')" onMouseOut="HideTip('tt39')">getChildCount</a></td><td class=SDescription>Returns the number of child cells.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.getIndex" id=link46 onMouseOver="ShowTip(event, 'tt40', 'link46')" onMouseOut="HideTip('tt40')">getIndex</a></td><td class=SDescription>Returns the index of the specified child in the child array.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.getChildAt" id=link47 onMouseOver="ShowTip(event, 'tt41', 'link47')" onMouseOut="HideTip('tt41')">getChildAt</a></td><td class=SDescription>Returns the child at the specified index.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.insert" id=link48 onMouseOver="ShowTip(event, 'tt42', 'link48')" onMouseOut="HideTip('tt42')">insert</a></td><td class=SDescription>Inserts the specified child into the child array at the specified index and updates the parent reference of the child. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.remove" id=link49 onMouseOver="ShowTip(event, 'tt43', 'link49')" onMouseOut="HideTip('tt43')">remove</a></td><td class=SDescription>Removes the child at the specified index from the child array and returns the child that was removed. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.removeFromParent" id=link50 onMouseOver="ShowTip(event, 'tt44', 'link50')" onMouseOut="HideTip('tt44')">removeFromParent</a></td><td class=SDescription>Removes the cell from its parent.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.getEdgeCount" id=link51 onMouseOver="ShowTip(event, 'tt45', 'link51')" onMouseOut="HideTip('tt45')">getEdgeCount</a></td><td class=SDescription>Returns the number of edges in the edge array.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.getEdgeIndex" id=link52 onMouseOver="ShowTip(event, 'tt46', 'link52')" onMouseOut="HideTip('tt46')">getEdgeIndex</a></td><td class=SDescription>Returns the index of the specified edge in <a href="#mxCell.edges" class=LVariable id=link53 onMouseOver="ShowTip(event, 'tt15', 'link53')" onMouseOut="HideTip('tt15')">edges</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.getEdgeAt" id=link54 onMouseOver="ShowTip(event, 'tt47', 'link54')" onMouseOut="HideTip('tt47')">getEdgeAt</a></td><td class=SDescription>Returns the edge at the specified index in <a href="#mxCell.edges" class=LVariable id=link55 onMouseOver="ShowTip(event, 'tt15', 'link55')" onMouseOut="HideTip('tt15')">edges</a>.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.insertEdge" id=link56 onMouseOver="ShowTip(event, 'tt48', 'link56')" onMouseOut="HideTip('tt48')">insertEdge</a></td><td class=SDescription>Inserts the specified edge into the edge array and returns the edge. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.removeEdge" id=link57 onMouseOver="ShowTip(event, 'tt49', 'link57')" onMouseOut="HideTip('tt49')">removeEdge</a></td><td class=SDescription>Removes the specified edge from the edge array and returns the edge. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.removeFromTerminal" id=link58 onMouseOver="ShowTip(event, 'tt50', 'link58')" onMouseOut="HideTip('tt50')">removeFromTerminal</a></td><td class=SDescription>Removes the edge from its source or target terminal.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.getAttribute" id=link59 onMouseOver="ShowTip(event, 'tt51', 'link59')" onMouseOut="HideTip('tt51')">getAttribute</a></td><td class=SDescription>Returns the specified attribute from the user object if it is an XML node.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.setAttribute" id=link60 onMouseOver="ShowTip(event, 'tt52', 'link60')" onMouseOut="HideTip('tt52')">setAttribute</a></td><td class=SDescription>Sets the specified attribute on the user object if it is an XML node.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxCell.copy" id=link61 onMouseOver="ShowTip(event, 'tt53', 'link61')" onMouseOut="HideTip('tt53')">copy</a></td><td class=SDescription>Returns a clone of the cell. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxCell.copyValue" id=link62 onMouseOver="ShowTip(event, 'tt54', 'link62')" onMouseOut="HideTip('tt54')">copyValue</a></td><td class=SDescription>Returns a clone of the cell&rsquo;s user object.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCell.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.id"></a>id</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $id</td></tr></table></blockquote><p>Holds the Id.&nbsp; Default is null.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.value"></a>value</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $value</td></tr></table></blockquote><p>Holds the user object.&nbsp; Default is null.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.geometry"></a>geometry</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $geometry</td></tr></table></blockquote><p>Holds the <a href="mxGeometry-php.html#mxGeometry" class=LClass id=link63 onMouseOver="ShowTip(event, 'tt4', 'link63')" onMouseOut="HideTip('tt4')">mxGeometry</a>.&nbsp; Default is null.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.style"></a>style</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $style</td></tr></table></blockquote><p>Holds the style as a string of the form [(stylename|key=value);].&nbsp; Default is null.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.vertex"></a>vertex</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $vertex</td></tr></table></blockquote><p>Specifies whether the cell is a vertex.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.edge"></a>edge</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $edge</td></tr></table></blockquote><p>Specifies whether the cell is an edge.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.connectable"></a>connectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $connectable</td></tr></table></blockquote><p>Specifies whether the cell is connectable.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.visible"></a>visible</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $visible</td></tr></table></blockquote><p>Specifies whether the cell is visible.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.collapsed"></a>collapsed</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $collapsed</td></tr></table></blockquote><p>Specifies whether the cell is collapsed.&nbsp; Default is false.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.parent"></a>parent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $parent</td></tr></table></blockquote><p>Reference to the parent cell.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.source"></a>source</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $source</td></tr></table></blockquote><p>Reference to the source terminal.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.target"></a>target</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $target</td></tr></table></blockquote><p>Reference to the target terminal.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.children"></a>children</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $children</td></tr></table></blockquote><p>Holds the child cells.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxCell.edges"></a>edges</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $edges</td></tr></table></blockquote><p>Holds the edges.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxCell.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.mxCell"></a>mxCell</h3><div class=CBody><blockquote><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 mxCell(</td><td class=PParameter nowrap>$value</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> null,</td></tr><tr><td></td><td class=PParameter nowrap>$geometry</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> null,</td></tr><tr><td></td><td class=PParameter nowrap>$style</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new cell to be used in a graph model.&nbsp; This method invokes &lt;onInit&gt; upon completion.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>Optional object that represents the cell value.</td></tr><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>Optional <a href="mxGeometry-php.html#mxGeometry" class=LClass id=link64 onMouseOver="ShowTip(event, 'tt4', 'link64')" onMouseOut="HideTip('tt4')">mxGeometry</a> that specifies the geometry.</td></tr><tr><td class=CDLEntry>style</td><td class=CDLDescription>Optional formatted string that defines the style.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getId"></a>getId</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getId()</td></tr></table></blockquote><p>Returns the Id of the cell as a string.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.setId"></a>setId</h3><div class=CBody><blockquote><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 setId(</td><td class=PParameter nowrap>$id</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the Id of the cell to the given string.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getValue"></a>getValue</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getValue()</td></tr></table></blockquote><p>Returns the user object of the cell.&nbsp; The user object is stored in <a href="#mxCell.value" class=LVariable id=link65 onMouseOver="ShowTip(event, 'tt2', 'link65')" onMouseOut="HideTip('tt2')">value</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.setValue"></a>setValue</h3><div class=CBody><blockquote><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 setValue(</td><td class=PParameter nowrap>$value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the user object of the cell.&nbsp; The user object is stored in <a href="#mxCell.value" class=LVariable id=link66 onMouseOver="ShowTip(event, 'tt2', 'link66')" onMouseOut="HideTip('tt2')">value</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getGeometry"></a>getGeometry</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getGeometry()</td></tr></table></blockquote><p>Returns the <a href="mxGeometry-php.html#mxGeometry" class=LClass id=link67 onMouseOver="ShowTip(event, 'tt4', 'link67')" onMouseOut="HideTip('tt4')">mxGeometry</a> that describes the <a href="#mxCell.geometry" class=LVariable id=link68 onMouseOver="ShowTip(event, 'tt3', 'link68')" onMouseOut="HideTip('tt3')">geometry</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.setGeometry"></a>setGeometry</h3><div class=CBody><blockquote><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 setGeometry(</td><td class=PParameter nowrap>$geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the <a href="mxGeometry-php.html#mxGeometry" class=LClass id=link69 onMouseOver="ShowTip(event, 'tt4', 'link69')" onMouseOut="HideTip('tt4')">mxGeometry</a> to be used as the <a href="#mxCell.geometry" class=LVariable id=link70 onMouseOver="ShowTip(event, 'tt3', 'link70')" onMouseOut="HideTip('tt3')">geometry</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getStyle"></a>getStyle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getStyle()</td></tr></table></blockquote><p>Returns a string that describes the <a href="#mxCell.style" class=LVariable id=link71 onMouseOver="ShowTip(event, 'tt5', 'link71')" onMouseOut="HideTip('tt5')">style</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.setStyle"></a>setStyle</h3><div class=CBody><blockquote><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 setStyle(</td><td class=PParameter nowrap>$style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the string to be used as the <a href="#mxCell.style" class=LVariable id=link72 onMouseOver="ShowTip(event, 'tt5', 'link72')" onMouseOut="HideTip('tt5')">style</a>.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.isVertex"></a>isVertex</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function isVertex()</td></tr></table></blockquote><p>Returns true if the cell is a vertex.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.setVertex"></a>setVertex</h3><div class=CBody><blockquote><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 setVertex(</td><td class=PParameter nowrap>$vertex</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the cell is a vertex.&nbsp; This should only be assigned at construction of the cell and not be changed during its lifecycle.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>vertex</td><td class=CDLDescription>Boolean that specifies if the cell is a vertex.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.isEdge"></a>isEdge</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function isEdge()</td></tr></table></blockquote><p>Returns true if the cell is an edge.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.setEdge"></a>setEdge</h3><div class=CBody><blockquote><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 setEdge(</td><td class=PParameter nowrap>$edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the cell is an edge.&nbsp; This should only be assigned at construction of the cell and not be changed during its lifecycle.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>edge</td><td class=CDLDescription>Boolean that specifies if the cell is an edge.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.isConnectable"></a>isConnectable</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function isConnectable()</td></tr></table></blockquote><p>Returns true if the cell is connectable.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.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>function setConnectable(</td><td class=PParameter nowrap>$connectable</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the connectable state.</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 that specifies the new connectable state.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.isVisible"></a>isVisible</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function isVisible()</td></tr></table></blockquote><p>Returns true if the cell is visibile.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.setVisible"></a>setVisible</h3><div class=CBody><blockquote><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 setVisible(</td><td class=PParameter nowrap>$visible</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Specifies if the cell is visible.</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 the new visible state.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.isCollapsed"></a>isCollapsed</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function isCollapsed()</td></tr></table></blockquote><p>Returns true if the cell is collapsed.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.setCollapsed"></a>setCollapsed</h3><div class=CBody><blockquote><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 setCollapsed(</td><td class=PParameter nowrap>$collapsed</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the collapsed state.</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 that specifies the new collapsed state.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getParent"></a>getParent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getParent()</td></tr></table></blockquote><p>Returns the cell&rsquo;s parent.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.setParent"></a>setParent</h3><div class=CBody><blockquote><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 setParent(</td><td class=PParameter nowrap>$parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the parent cell.</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="#mxCell.mxCell" class=LFunction id=link73 onMouseOver="ShowTip(event, 'tt16', 'link73')" onMouseOut="HideTip('tt16')">mxCell</a> that represents the new parent.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getTerminal"></a>getTerminal</h3><div class=CBody><blockquote><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 getTerminal(</td><td class=PParameter nowrap>$source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the source or target terminal.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>source</td><td class=CDLDescription>Boolean that specifies if the source terminal should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.setTerminal"></a>setTerminal</h3><div class=CBody><blockquote><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 setTerminal(</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>Sets the source or target terminal and returns the new terminal.</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="#mxCell.mxCell" class=LFunction id=link74 onMouseOver="ShowTip(event, 'tt16', 'link74')" onMouseOut="HideTip('tt16')">mxCell</a> that represents the new source or target terminal.</td></tr><tr><td class=CDLEntry>source</td><td class=CDLDescription>Boolean that specifies if the source or target terminal should be set.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getChildCount"></a>getChildCount</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getChildCount()</td></tr></table></blockquote><p>Returns the number of child cells.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getIndex"></a>getIndex</h3><div class=CBody><blockquote><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 getIndex(</td><td class=PParameter nowrap>$child</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the index of the specified child in the child array.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>child</td><td class=CDLDescription>Child whose index should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getChildAt"></a>getChildAt</h3><div class=CBody><blockquote><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 getChildAt(</td><td class=PParameter nowrap>$index</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the child at the specified index.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>index</td><td class=CDLDescription>Integer that specifies the child to be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.insert"></a>insert</h3><div class=CBody><blockquote><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 insert(</td><td class=PParameter nowrap>$child,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PParameter nowrap>$index</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> null</td><td class=PAfterParameters 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.&nbsp; If not childIndex is specified then the child is appended to the child array.&nbsp; Returns the inserted child.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>child</td><td class=CDLDescription><a href="#mxCell.mxCell" class=LFunction id=link75 onMouseOver="ShowTip(event, 'tt16', 'link75')" onMouseOut="HideTip('tt16')">mxCell</a> to be inserted or appended to the child array.</td></tr><tr><td class=CDLEntry>index</td><td class=CDLDescription>Optional integer that specifies the index at which the child should be inserted into the child array.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.remove"></a>remove</h3><div class=CBody><blockquote><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 remove(</td><td class=PParameter nowrap>$index</td><td class=PAfterParameters 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.&nbsp; Will remove the parent reference of the child.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>index</td><td class=CDLDescription>Integer that specifies the index of the child to be removed.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.removeFromParent"></a>removeFromParent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function removeFromParent()</td></tr></table></blockquote><p>Removes the cell from its parent.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getEdgeCount"></a>getEdgeCount</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getEdgeCount()</td></tr></table></blockquote><p>Returns the number of edges in the edge array.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getEdgeIndex"></a>getEdgeIndex</h3><div class=CBody><blockquote><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 getEdgeIndex(</td><td class=PParameter nowrap>$edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the index of the specified edge in <a href="#mxCell.edges" class=LVariable id=link76 onMouseOver="ShowTip(event, 'tt15', 'link76')" onMouseOut="HideTip('tt15')">edges</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="#mxCell.mxCell" class=LFunction id=link77 onMouseOver="ShowTip(event, 'tt16', 'link77')" onMouseOut="HideTip('tt16')">mxCell</a> whose index in <a href="#mxCell.edges" class=LVariable id=link78 onMouseOver="ShowTip(event, 'tt15', 'link78')" onMouseOut="HideTip('tt15')">edges</a> should be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getEdgeAt"></a>getEdgeAt</h3><div class=CBody><blockquote><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 getEdgeAt(</td><td class=PParameter nowrap>$index</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the edge at the specified index in <a href="#mxCell.edges" class=LVariable id=link79 onMouseOver="ShowTip(event, 'tt15', 'link79')" onMouseOut="HideTip('tt15')">edges</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>index</td><td class=CDLDescription>Integer that specifies the index of the edge to be returned.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.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>function insertEdge(</td><td class=PParameter nowrap>$edge,</td></tr><tr><td></td><td class=PParameter nowrap>$outgoing</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Inserts the specified edge into the edge array and returns the edge.&nbsp; Will update the respective terminal reference of the 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="#mxCell.mxCell" class=LFunction id=link80 onMouseOver="ShowTip(event, 'tt16', 'link80')" onMouseOut="HideTip('tt16')">mxCell</a> to be inserted into the edge array.</td></tr><tr><td class=CDLEntry>outgoing</td><td class=CDLDescription>Boolean that specifies if the edge is outgoing.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.removeEdge"></a>removeEdge</h3><div class=CBody><blockquote><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 removeEdge(</td><td class=PParameter nowrap>$edge,</td></tr><tr><td></td><td class=PParameter nowrap>$outgoing</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the specified edge from the edge array and returns the edge.&nbsp; Will remove the respective terminal reference from the 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="#mxCell.mxCell" class=LFunction id=link81 onMouseOver="ShowTip(event, 'tt16', 'link81')" onMouseOut="HideTip('tt16')">mxCell</a> to be removed from the edge array.</td></tr><tr><td class=CDLEntry>outgoing</td><td class=CDLDescription>Boolean that specifies if the edge is outgoing.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.removeFromTerminal"></a>removeFromTerminal</h3><div class=CBody><blockquote><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 removeFromTerminal(</td><td class=PParameter nowrap>$source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes the edge from its source or target terminal.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>source</td><td class=CDLDescription>Boolean that specifies if the edge should be removed from its source or target terminal.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.getAttribute"></a>getAttribute</h3><div class=CBody><blockquote><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 getAttribute(</td><td class=PParameter nowrap>$key,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PParameter nowrap>$defaultValue</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the specified attribute from the user object if it is an XML node.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.setAttribute"></a>setAttribute</h3><div class=CBody><blockquote><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 setAttribute(</td><td class=PParameter nowrap>$key,</td></tr><tr><td></td><td class=PParameter nowrap>$value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the specified attribute on the user object if it is an XML node.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.copy"></a>copy</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function copy()</td></tr></table></blockquote><p>Returns a clone of the cell.&nbsp; Uses &lt;cloneValue&gt; to clone the user object.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxCell.copyValue"></a>copyValue</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function copyValue()</td></tr></table></blockquote><p>Returns a clone of the cell&rsquo;s user object.</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=MFile><a href="../canvas/mxGdCanvas-php.html">canvas/<wbr>mxGdCanvas.php</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Io</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../io/mxCellCodec-php.html">mxCellCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxCodec-php.html">mxCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxCodecRegistry-php.html">mxCodecRegistry</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxModelCodec-php.html">mxModelCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxObjectCodec-php.html">mxObjectCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxStylesheetCodec-php.html">mxStylesheetCodec</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Model</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile id=MSelected>mxCell</div></div><div class=MEntry><div class=MFile><a href="mxCellPath-php.html">mxCellPath</a></div></div><div class=MEntry><div class=MFile><a href="mxGeometry-php.html">mxGeometry</a></div></div><div class=MEntry><div class=MFile><a href="mxGraphModel-php.html">mxGraphModel</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../reader/mxGraphViewHtmlReader-php.html">mxGraphViewHtmlReader</a></div></div><div class=MEntry><div class=MFile><a href="../reader/mxGraphViewImageReader-php.html">mxGraphViewImageReader</a></div></div><div class=MEntry><div class=MFile><a href="../canvas/mxHtmlCanvas-php.html">mxHtmlCanvas</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Util</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../util/mxConstants-php.html">mxConstants</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxEvent-php.html">mxEvent</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxEventObject-php.html">mxEventObject</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxEventSource-php.html">mxEventSource</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxImageBundle-php.html">mxImageBundle</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxLog-php.html">mxLog</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxPoint-php.html">mxPoint</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxRectangle-php.html">mxRectangle</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxUtils-php.html">mxUtils</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">View</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../view/mxCellState-php.html">mxCellState</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxConnectionConstraint-php.html">mxConnectionConstraint</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxEdgeStyle-php.html">mxEdgeStyleFunction</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxGraph-php.html">mxGraph</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxGraphView-php.html">mxGraphView</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxPerimeter-php.html">mxPerimeterFunction</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxStyleRegistry-php.html">mxStyleRegistry</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxStylesheet-php.html">mxStylesheet</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Index</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</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/Interfaces.html">Interfaces</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="Files">Files</option><option value="Functions">Functions</option><option value="Interfaces">Interfaces</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([2, 3, 1], 6);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $id</td></tr></table></blockquote>Holds the Id. </div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $value</td></tr></table></blockquote>Holds the user object. </div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $geometry</td></tr></table></blockquote>Holds the mxGeometry. </div></div><div class=CToolTip id="tt4"><div class=CClass>Represents the geometry of a cell. </div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $style</td></tr></table></blockquote>Holds the style as a string of the form [(stylename|key=value);]. </div></div><div class=CToolTip id="tt6"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $vertex</td></tr></table></blockquote>Specifies whether the cell is a vertex. </div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $edge</td></tr></table></blockquote>Specifies whether the cell is an edge. </div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $connectable</td></tr></table></blockquote>Specifies whether the cell is connectable. </div></div><div class=CToolTip id="tt9"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $visible</td></tr></table></blockquote>Specifies whether the cell is visible. </div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $collapsed</td></tr></table></blockquote>Specifies whether the cell is collapsed. </div></div><div class=CToolTip id="tt11"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $parent</td></tr></table></blockquote>Reference to the parent cell.</div></div><div class=CToolTip id="tt12"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $source</td></tr></table></blockquote>Reference to the source terminal.</div></div><div class=CToolTip id="tt13"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $target</td></tr></table></blockquote>Reference to the target terminal.</div></div><div class=CToolTip id="tt14"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $children</td></tr></table></blockquote>Holds the child cells.</div></div><div class=CToolTip id="tt15"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>var $edges</td></tr></table></blockquote>Holds the edges.</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>function mxCell(</td><td class=PParameter nowrap>$value</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> null,</td></tr><tr><td></td><td class=PParameter nowrap>$geometry</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> null,</td></tr><tr><td></td><td class=PParameter nowrap>$style</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new cell to be used in a graph model. </div></div><div class=CToolTip id="tt17"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getId()</td></tr></table></blockquote>Returns the Id of the cell as a string.</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>function setId(</td><td class=PParameter nowrap>$id</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the Id of the cell to the given string.</div></div><div class=CToolTip id="tt19"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getValue()</td></tr></table></blockquote>Returns the user object of the 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>function setValue(</td><td class=PParameter nowrap>$value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the user object of the cell. </div></div><div class=CToolTip id="tt21"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getGeometry()</td></tr></table></blockquote>Returns the mxGeometry that describes the geometry.</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>function setGeometry(</td><td class=PParameter nowrap>$geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the mxGeometry to be used as the geometry.</div></div><div class=CToolTip id="tt23"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getStyle()</td></tr></table></blockquote>Returns a string that describes the style.</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>function setStyle(</td><td class=PParameter nowrap>$style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the string to be used as the style.</div></div><div class=CToolTip id="tt25"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function isVertex()</td></tr></table></blockquote>Returns true if the cell is a vertex.</div></div><div class=CToolTip id="tt26"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function setVertex(</td><td class=PParameter nowrap>$vertex</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the cell is a vertex. </div></div><div class=CToolTip id="tt27"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function isEdge()</td></tr></table></blockquote>Returns true if the cell is an edge.</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>function setEdge(</td><td class=PParameter nowrap>$edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the cell is an edge. </div></div><div class=CToolTip id="tt29"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function isConnectable()</td></tr></table></blockquote>Returns true if the cell is connectable.</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>function setConnectable(</td><td class=PParameter nowrap>$connectable</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the connectable state.</div></div><div class=CToolTip id="tt31"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function isVisible()</td></tr></table></blockquote>Returns true if the cell is visibile.</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 setVisible(</td><td class=PParameter nowrap>$visible</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Specifies if the cell is visible.</div></div><div class=CToolTip id="tt33"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function isCollapsed()</td></tr></table></blockquote>Returns true if the cell is collapsed.</div></div><div class=CToolTip id="tt34"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function setCollapsed(</td><td class=PParameter nowrap>$collapsed</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the collapsed state.</div></div><div class=CToolTip id="tt35"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getParent()</td></tr></table></blockquote>Returns the cell&rsquo;s parent.</div></div><div class=CToolTip id="tt36"><div class=CFunction><blockquote><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 setParent(</td><td class=PParameter nowrap>$parent</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the parent cell.</div></div><div class=CToolTip id="tt37"><div class=CFunction><blockquote><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 getTerminal(</td><td class=PParameter nowrap>$source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the source or target terminal.</div></div><div class=CToolTip id="tt38"><div class=CFunction><blockquote><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 setTerminal(</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>Sets the source or target terminal and returns the new terminal.</div></div><div class=CToolTip id="tt39"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getChildCount()</td></tr></table></blockquote>Returns the number of child cells.</div></div><div class=CToolTip id="tt40"><div class=CFunction><blockquote><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 getIndex(</td><td class=PParameter nowrap>$child</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the index of the specified child in the child array.</div></div><div class=CToolTip id="tt41"><div class=CFunction><blockquote><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 getChildAt(</td><td class=PParameter nowrap>$index</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the child at the specified index.</div></div><div class=CToolTip id="tt42"><div class=CFunction><blockquote><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 insert(</td><td class=PParameter nowrap>$child,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PParameter nowrap>$index</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Inserts the specified child into the child array at the specified index and updates the parent reference of the child. </div></div><div class=CToolTip id="tt43"><div class=CFunction><blockquote><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 remove(</td><td class=PParameter nowrap>$index</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the child at the specified index from the child array and returns the child that was removed. </div></div><div class=CToolTip id="tt44"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function removeFromParent()</td></tr></table></blockquote>Removes the cell from its parent.</div></div><div class=CToolTip id="tt45"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function getEdgeCount()</td></tr></table></blockquote>Returns the number of edges in the edge array.</div></div><div class=CToolTip id="tt46"><div class=CFunction><blockquote><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 getEdgeIndex(</td><td class=PParameter nowrap>$edge</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the index of the specified edge in edges.</div></div><div class=CToolTip id="tt47"><div class=CFunction><blockquote><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 getEdgeAt(</td><td class=PParameter nowrap>$index</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the edge at the specified index in edges.</div></div><div class=CToolTip id="tt48"><div class=CFunction><blockquote><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 insertEdge(</td><td class=PParameter nowrap>$edge,</td></tr><tr><td></td><td class=PParameter nowrap>$outgoing</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Inserts the specified edge into the edge array and returns the edge. </div></div><div class=CToolTip id="tt49"><div class=CFunction><blockquote><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 removeEdge(</td><td class=PParameter nowrap>$edge,</td></tr><tr><td></td><td class=PParameter nowrap>$outgoing</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the specified edge from the edge array and returns the edge. </div></div><div class=CToolTip id="tt50"><div class=CFunction><blockquote><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 removeFromTerminal(</td><td class=PParameter nowrap>$source</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes the edge from its source or target terminal.</div></div><div class=CToolTip id="tt51"><div class=CFunction><blockquote><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 getAttribute(</td><td class=PParameter nowrap>$key,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PParameter nowrap>$defaultValue</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the specified attribute from the user object if it is an XML node.</div></div><div class=CToolTip id="tt52"><div class=CFunction><blockquote><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 setAttribute(</td><td class=PParameter nowrap>$key,</td></tr><tr><td></td><td class=PParameter nowrap>$value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the specified attribute on the user object if it is an XML node.</div></div><div class=CToolTip id="tt53"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function copy()</td></tr></table></blockquote>Returns a clone of the cell. </div></div><div class=CToolTip id="tt54"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>function copyValue()</td></tr></table></blockquote>Returns a clone of the cell&rsquo;s user object.</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>