<!-- saved from url=(0026)http://www.naturaldocs.org -->
<divid=Content><divclass="CClass"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxGraphAbstractHierarchyCell"></a>mxGraphAbstractHierarchyCell</h1><divclass=CBody><p>An abstraction of an internal hierarchy node or edge</p><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell">mxGraphAbstractHierarchyCell</a></td><tdclass=SDescription>An abstraction of an internal hierarchy node or edge</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.mxGraphAbstractHierarchyCell"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">mxGraphAbstractHierarchyCell</a></td><tdclass=SDescription>Constructs a new hierarchical layout algorithm.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.maxRank"id=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">maxRank</a></td><tdclass=SDescription>The maximum rank this cell occupies. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.minRank"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">minRank</a></td><tdclass=SDescription>The minimum rank this cell occupies. </td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.x"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">x</a></td><tdclass=SDescription>The x position of this cell for each layer it occupies</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.y"id=link5onMouseOver="ShowTip(event, 'tt5', 'link5')"onMouseOut="HideTip('tt5')">y</a></td><tdclass=SDescription>The y position of this cell for each layer it occupies</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.width"id=link6onMouseOver="ShowTip(event, 'tt6', 'link6')"onMouseOut="HideTip('tt6')">width</a></td><tdclass=SDescription>The width of this cell</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.height"id=link7onMouseOver="ShowTip(event, 'tt7', 'link7')"onMouseOut="HideTip('tt7')">height</a></td><tdclass=SDescription>The height of this cell</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.nextLayerConnectedCells"id=link8onMouseOver="ShowTip(event, 'tt8', 'link8')"onMouseOut="HideTip('tt8')">nextLayerConnectedCells</a></td><tdclass=SDescription>A cached version of the cells this cell connects to on the next layer up</td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.previousLayerConnectedCells"id=link9onMouseOver="ShowTip(event, 'tt9', 'link9')"onMouseOut="HideTip('tt9')">previousLayerConnectedCells</a></td><tdclass=SDescription>A cached version of the cells this cell connects to on the next layer down</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.temp"id=link10onMouseOver="ShowTip(event, 'tt10', 'link10')"onMouseOut="HideTip('tt10')">temp</a></td><tdclass=SDescription>Temporary variable for general use. </td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxGraphAbstractHierarchyCell.getNextLayerConnectedCells"id=link11onMouseOver="ShowTip(event, 'tt11', 'link11')"onMouseOut="HideTip('tt11')">getNex
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.mxGraphAbstractHierarchyCell"></a>mxGraphAbstractHierarchyCell</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>function mxGraphAbstractHierarchyCell()</td></tr></table></blockquote><p>Constructs a new hierarchical layout algorithm.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>graph</td><tdclass=CDLDescription>Reference to the enclosing <ahref="../../../view/mxGraph-js.html#mxGraph"class=LClassid=link20onMouseOver="ShowTip(event, 'tt20', 'link20')"onMouseOut="HideTip('tt20')">mxGraph</a>.</td></tr><tr><tdclass=CDLEntry>deterministic</td><tdclass=CDLDescription>Optional boolean that specifies if this layout should be deterministic. Default is true.</td></tr></table></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.maxRank"></a>maxRank</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.maxRank</td></tr></table></blockquote><p>The maximum rank this cell occupies. Default is -1.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.minRank"></a>minRank</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.minRank</td></tr></table></blockquote><p>The minimum rank this cell occupies. Default is -1.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.x"></a>x</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.x</td></tr></table></blockquote><p>The x position of this cell for each layer it occupies</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.y"></a>y</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.y</td></tr></table></blockquote><p>The y position of this cell for each layer it occupies</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.width"></a>width</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.width</td></tr></table></blockquote><p>The width of this cell</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.height"></a>height</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.height</td></tr></table></blockquote><p>The height of this cell</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.nextLayerConnectedCells"></a>nextLayerConnectedCells</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.nextLayerConnectedCells</td></tr></table></blockquote><p>A cached version of the cells this cell connects to on the next layer up</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.previousLayerConnectedCells"></a>previousLayerConnectedCells</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.previousLayerConnectedCells</td></tr></table></blockquote><p>A cached version of the cells this cell connects to on the next layer down</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.temp"></a>temp</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.temp</td></tr></table></blockquote><p>Temporary variable for general use. Generally, try to avoid carrying information between stages. Currently, the longest path layering sets temp to the rank position in fixRanks() and the crossing reduction uses this. This meant temp couldn’t be used for hashing the nodes in the model dfs and so hashCode was created</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.getNextLayerConnectedCells"></a>getNextLayerConnectedCells</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParameterscolspan=2>mxGraphAbstractHierarchyCell.prototype.getNextLayerConnectedCells = function(</td></tr><tr><td> </td><tdclass=PParameternowrapwidth=100%>layer</td></tr><tr><tdclass=PAfterParameterscolspan=2>)</td></tr></table></td></tr></table></blockquote><p>Returns the cells this cell connects to on the next layer up</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.getPreviousLayerConnectedCells"></a>getPreviousLayerConnectedCells</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParameterscolspan=2>mxGraphAbstractHierarchyCell.prototype.getPreviousLayerConnectedCells = function(</td></tr><tr><td> </td><tdclass=PParameternowrapwidth=100%>layer</td></tr><tr><tdclass=PAfterParameterscolspan=2>)</td></tr></table></td></tr></table></blockquote><p>Returns the cells this cell connects to on the next layer down</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.isEdge"></a>isEdge</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.isEdge = function()</td></tr></table></blockquote><p>Returns whether or not this cell is an edge</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.isVertex"></a>isVertex</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.isVertex = function()</td></tr></table></blockquote><p>Returns whether or not this cell is a node</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.getGeneralPurposeVariable"></a>getGeneralPurposeVariable</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParameterscolspan=2>mxGraphAbstractHierarchyCell.prototype.getGeneralPurposeVariable = function(</td></tr><tr><td> </td><tdclass=PParameternowrapwidth=100%>layer</td></tr><tr><tdclass=PAfterParameterscolspan=2>)</td></tr></table></td></tr></table></blockquote><p>Gets the value of temp for the specified layer</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.setGeneralPurposeVariable"></a>setGeneralPurposeVariable</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParameterscolspan=2>mxGraphAbstractHierarchyCell.prototype.setGeneralPurposeVariable = function(</td></tr><tr><td> </td><tdclass=PParameternowrapwidth=100%>layer,</td></tr><tr><td> </td><tdclass=PParameternowrapwidth=100%>value</td></tr><tr><tdclass=PAfterParameterscolspan=2>)</td></tr></table></td></tr></table></blockquote><p>Set the value of temp for the specified layer</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.setX"></a>setX</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxGraphAbstractHierarchyCell.prototype.setX = function(</td><tdclass=PParameternowrap>layer,</td></tr><tr><td></td><tdclass=PParameternowrap>value</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Set the value of x for the specified layer</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.getX"></a>getX</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxGraphAbstractHierarchyCell.prototype.getX = function(</td><tdclass=PParameternowrap>layer</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Gets the value of x on the specified layer</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxGraphAbstractHierarchyCell.setY"></a>setY</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>mxGraphAbstractHierarchyCell.prototype.setY = function(</td><tdclass=PParameternowrap>layer,</td></tr><tr><td></td><tdclass=PParameternowrap>value</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Set the value of y for the specified layer</p></div></div></div>
</div><!--Content-->
<divid=Footer><ahref="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
<divclass=CToolTipid="tt1"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>function mxGraphAbstractHierarchyCell()</td></tr></table></blockquote>Constructs a new hierarchical layout algorithm.</div></div><divclass=CToolTipid="tt2"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.maxRank</td></tr></table></blockquote>The maximum rank this cell occupies. </div></div><divclass=CToolTipid="tt3"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.minRank</td></tr></table></blockquote>The minimum rank this cell occupies. </div></div><divclass=CToolTipid="tt4"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.x</td></tr></table></blockquote>The x position of this cell for each layer it occupies</div></div><divclass=CToolTipid="tt5"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.y</td></tr></table></blockquote>The y position of this cell for each layer it occupies</div></div><divclass=CToolTipid="tt6"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.width</td></tr></table></blockquote>The width of this cell</div></div><divclass=CToolTipid="tt7"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.height</td></tr></table></blockquote>The height of this cell</div></div><divclass=CToolTipid="tt8"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.nextLayerConnectedCells</td></tr></table></blockquote>A cached version of the cells this cell connects to on the next layer up</div></div><divclass=CToolTipid="tt9"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.previousLayerConnectedCells</td></tr></table></blockquote>A cached version of the cells this cell connects to on the next layer down</div></div><divclass=CToolTipid="tt10"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstractHierarchyCell.prototype.temp</td></tr></table></blockquote>Temporary variable for general use. </div></div><divclass=CToolTipid="tt11"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParameterscolspan=2>mxGraphAbstractHierarchyCell.prototype.getNextLayerConnectedCells = function(</td></tr><tr><td> </td><tdclass=PParameternowrapwidth=100%>layer</td></tr><tr><tdclass=PAfterParameterscolspan=2>)</td></tr></table></td></tr></table></blockquote>Returns the cells this cell connects to on the next layer up</div></div><divclass=CToolTipid="tt12"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParameterscolspan=2>mxGraphAbstractHierarchyCell.prototype.getPreviousLayerConnectedCells = function(</td></tr><tr><td> </td><tdclass=PParameternowrapwidth=100%>layer</td></tr><tr><tdclass=PAfterParameterscolspan=2>)</td></tr></table></td></tr></table></blockquote>Returns the cells this cell connects to on the next layer down</div></div><divclass=CToolTipid="tt13"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>mxGraphAbstrac