<li><ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.CellVisitor.html"title="interface in com.mxgraph.layout.hierarchical.model"><spanclass="strong">Next Class</span></a></li>
<li><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<pre>public class <spanclass="strong">mxGraphHierarchyModel</span>
extends <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></pre>
<divclass="block">Internal model of a hierarchical graph. This model stores nodes and edges
<tdclass="colLast"><code><strong><ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.CellVisitor.html"title="interface in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyModel.CellVisitor</a></strong></code>
<divclass="block">Defines the interface that visitors use to perform operations upon the
<divclass="block">Count of the number of times the ancestor dfs has been used</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyEdge</a>></code></td>
<divclass="block">Stores the largest rank number allocated</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<divclass="block">The parent cell whose children are being laid out</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true"title="class or interface in java.lang">Integer</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyRank.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyRank</a>></code></td>
<divclass="block">Mapping from rank number to actual rank</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>></code></td>
<divclass="block">Store of roots of this hierarchy model, these are real graph cells, not
internal cells</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>></code></td>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html#mxGraphHierarchyModel(com.mxgraph.layout.hierarchical.mxHierarchicalLayout, java.lang.Object[], java.util.List, java.lang.Object)">mxGraphHierarchyModel</a></strong>(<ahref="../../../../../com/mxgraph/layout/hierarchical/mxHierarchicalLayout.html"title="class in com.mxgraph.layout.hierarchical">mxHierarchicalLayout</a> layout,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] vertices,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> roots,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent)</code>
<divclass="block">Creates an internal ordered graph model using the vertices passed in.</div>
<tdclass="colLast"><code><strong><ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html#createInternalCells(com.mxgraph.layout.hierarchical.mxHierarchicalLayout, java.lang.Object[], com.mxgraph.layout.hierarchical.model.mxGraphHierarchyNode[])">createInternalCells</a></strong>(<ahref="../../../../../com/mxgraph/layout/hierarchical/mxHierarchicalLayout.html"title="class in com.mxgraph.layout.hierarchical">mxHierarchicalLayout</a> layout,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] vertices,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>[] internalVertices)</code>
<divclass="block">Creates all edges in the internal model</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html#dfs(com.mxgraph.layout.hierarchical.model.mxGraphHierarchyNode, com.mxgraph.layout.hierarchical.model.mxGraphHierarchyNode, com.mxgraph.layout.hierarchical.model.mxGraphHierarchyEdge, com.mxgraph.layout.hierarchical.model.mxGraphHierarchyModel.CellVisitor, java.util.Set, int)">dfs</a></strong>(<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a> parent,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a> root,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyEdge</a> connectingEdge,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.CellVisitor.html"title="interface in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyModel.CellVisitor</a> visitor,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</a><<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>> seen,
int layer)</code>
<divclass="block">Performs a depth first search on the internal hierarchy model</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html#dfs(com.mxgraph.layout.hierarchical.model.mxGraphHierarchyNode, com.mxgraph.layout.hierarchical.model.mxGraphHierarchyNode, com.mxgraph.layout.hierarchical.model.mxGraphHierarchyEdge, com.mxgraph.layout.hierarchical.model.mxGraphHierarchyModel.CellVisitor, java.util.Set, int[], int, int)">dfs</a></strong>(<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a> parent,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a> root,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyEdge</a> connectingEdge,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.CellVisitor.html"title="interface in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyModel.CellVisitor</a> visitor,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</a><<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>> seen,
int[] ancestors,
int childHash,
int layer)</code>
<divclass="block">Performs a depth first search on the internal hierarchy model.</div>
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyEdge</a>></code></td>
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html#setEdgeMapper(java.util.Map)">setEdgeMapper</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyEdge</a>> edgeMapper)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html#setVertexMapper(java.util.Map)">setVertexMapper</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>> vertexMapping)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html#visit(com.mxgraph.layout.hierarchical.model.mxGraphHierarchyModel.CellVisitor, com.mxgraph.layout.hierarchical.model.mxGraphHierarchyNode[], boolean, java.util.Set)">visit</a></strong>(<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.CellVisitor.html"title="interface in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyModel.CellVisitor</a> visitor,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>[] dfsRoots,
boolean trackAncestors,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</a><<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>> seenNodes)</code>
<divclass="block">A depth first search through the internal hierarchy model</div>
<h3>Methods inherited from class java.lang.<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</a></code></li>
<divclass="block">Stores the largest rank number allocated</div>
</li>
</ul>
<aname="vertexMapper">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>vertexMapper</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>> vertexMapper</pre>
<divclass="block">Map from graph vertices to internal model nodes</div>
</li>
</ul>
<aname="edgeMapper">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>edgeMapper</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyEdge</a>> edgeMapper</pre>
<divclass="block">Map from graph edges to internal model edges</div>
</li>
</ul>
<aname="ranks">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>ranks</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Integer.html?is-external=true"title="class or interface in java.lang">Integer</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyRank.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyRank</a>> ranks</pre>
<divclass="block">Mapping from rank number to actual rank</div>
</li>
</ul>
<aname="roots">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>roots</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> roots</pre>
<divclass="block">Store of roots of this hierarchy model, these are real graph cells, not
internal cells</div>
</li>
</ul>
<aname="parent">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>parent</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent</pre>
<divclass="block">The parent cell whose children are being laid out</div>
</li>
</ul>
<aname="dfsCount">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>dfsCount</h4>
<pre>protected int dfsCount</pre>
<divclass="block">Count of the number of times the ancestor dfs has been used</div>
<pre>public mxGraphHierarchyModel(<ahref="../../../../../com/mxgraph/layout/hierarchical/mxHierarchicalLayout.html"title="class in com.mxgraph.layout.hierarchical">mxHierarchicalLayout</a> layout,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] vertices,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>> roots,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> parent)</pre>
<divclass="block">Creates an internal ordered graph model using the vertices passed in. If
there are any, leftward edge need to be inverted in the internal model</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>layout</code> - the enclosing layout object</dd><dd><code>vertices</code> - the vertices for this hierarchy</dd></dl>
<pre>protected void createInternalCells(<ahref="../../../../../com/mxgraph/layout/hierarchical/mxHierarchicalLayout.html"title="class in com.mxgraph.layout.hierarchical">mxHierarchicalLayout</a> layout,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>[] vertices,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>[] internalVertices)</pre>
<divclass="block">Creates all edges in the internal model</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>layout</code> - reference to the layout algorithm</dd><dd><code>vertices</code> - the vertices whom are to have an internal representation
created</dd><dd><code>internalVertices</code> - the blank internal vertices to have their information filled
in using the real vertices</dd></dl>
</li>
</ul>
<aname="initialRank()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>initialRank</h4>
<pre>public void initialRank()</pre>
<divclass="block">Basic determination of minimum layer ranking by working from from sources
<pre>public void visit(<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.CellVisitor.html"title="interface in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyModel.CellVisitor</a> visitor,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>[] dfsRoots,
boolean trackAncestors,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</a><<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>> seenNodes)</pre>
<divclass="block">A depth first search through the internal hierarchy model</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>visitor</code> - the visitor pattern to be called for each node</dd><dd><code>trackAncestors</code> - whether or not the search is to keep track all nodes directly
<pre>public void dfs(<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a> parent,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a> root,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyEdge</a> connectingEdge,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.CellVisitor.html"title="interface in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyModel.CellVisitor</a> visitor,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</a><<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>> seen,
int layer)</pre>
<divclass="block">Performs a depth first search on the internal hierarchy model</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>parent</code> - the parent internal node of the current internal node</dd><dd><code>root</code> - the current internal node</dd><dd><code>connectingEdge</code> - the internal edge connecting the internal node and the parent
internal node, if any</dd><dd><code>visitor</code> - the visitor pattern to be called for each node</dd><dd><code>seen</code> - a set of all nodes seen by this dfs a set of all of the
ancestor node of the current node</dd><dd><code>layer</code> - the layer on the dfs tree ( not the same as the model ranks )</dd></dl>
<pre>public void dfs(<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a> parent,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a> root,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyEdge</a> connectingEdge,
<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.CellVisitor.html"title="interface in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyModel.CellVisitor</a> visitor,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true"title="class or interface in java.util">Set</a><<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>> seen,
int[] ancestors,
int childHash,
int layer)</pre>
<divclass="block">Performs a depth first search on the internal hierarchy model. This dfs
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>parent</code> - the parent internal node of the current internal node</dd><dd><code>root</code> - the current internal node</dd><dd><code>connectingEdge</code> - the internal edge connecting the internal node and the parent
internal node, if any</dd><dd><code>visitor</code> - the visitor pattern to be called for each node</dd><dd><code>seen</code> - a set of all nodes seen by this dfs</dd><dd><code>ancestors</code> - the parent hash code</dd><dd><code>childHash</code> - the new hash code for this node</dd><dd><code>layer</code> - the layer on the dfs tree ( not the same as the model ranks )</dd></dl>
</li>
</ul>
<aname="getVertexMapper()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getVertexMapper</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>> getVertexMapper()</pre>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns the vertexMapping.</dd></dl>
</li>
</ul>
<aname="setVertexMapper(java.util.Map)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setVertexMapper</h4>
<pre>public void setVertexMapper(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyNode.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyNode</a>> vertexMapping)</pre>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>vertexMapping</code> - The vertexMapping to set.</dd></dl>
</li>
</ul>
<aname="getEdgeMapper()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getEdgeMapper</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyEdge</a>> getEdgeMapper()</pre>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns the edgeMapper.</dd></dl>
</li>
</ul>
<aname="setEdgeMapper(java.util.Map)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setEdgeMapper</h4>
<pre>public void setEdgeMapper(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</a><<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>,<ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyEdge</a>> edgeMapper)</pre>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>edgeMapper</code> - The edgeMapper to set.</dd></dl>
</li>
</ul>
<aname="getDfsCount()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getDfsCount</h4>
<pre>public int getDfsCount()</pre>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns the dfsCount.</dd></dl>
<li><ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.CellVisitor.html"title="interface in com.mxgraph.layout.hierarchical.model"><spanclass="strong">Next Class</span></a></li>