<AHREF="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model"><B>PREV CLASS</B></A>
<AHREF="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.CellVisitor.html"title="interface in com.mxgraph.layout.hierarchical.model"><B>NEXT CLASS</B></A></FONT></TD>
<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>
<IMGSRC="../../../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.layout.hierarchical.model.mxGraphHierarchyModel</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxGraphHierarchyModel</B><DT>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></DL>
</PRE>
<P>
Internal model of a hierarchical graph. This model stores nodes and edges
equivalent to the real graph nodes and edges, but also stores the rank of the
cells, the order within the ranks and the new candidate locations of cells.
The internal model also reverses edge direction were appropriate , ignores
self-loop and groups parallels together under one edge object.
<TD><CODE><B><AHREF="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.CellVisitor.html"title="interface in com.mxgraph.layout.hierarchical.model">mxGraphHierarchyModel.CellVisitor</A></B></CODE>
<BR>
Defines the interface that visitors use to perform operations upon the
graph information during depth first search (dfs) or other tree-traversal
strategies implemented by subclassers.</TD>
</TR>
</TABLE>
<!-- =========== FIELD SUMMARY =========== -->
<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></FONT></TD>
<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></FONT></TD>
<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></FONT></TD>
<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></FONT></TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html#mxGraphHierarchyModel(com.mxgraph.layout.hierarchical.mxHierarchicalLayout, java.lang.Object[], java.util.List, java.lang.Object, boolean, boolean, boolean)">mxGraphHierarchyModel</A></B>(<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,
boolean ordered,
boolean deterministic,
boolean scanRanksFromSinks)</CODE>
<BR>
Creates an internal ordered graph model using the vertices passed in.</TD>
<TD><CODE><B><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></B>(<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>
<BR>
Creates all edges in the internal model</TD>
<TD><CODE><B><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></B>(<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>
<BR>
Performs a depth first search on the internal hierarchy model</TD>
<TD><CODE><B><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></B>(<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>
<BR>
Performs a depth first search on the internal hierarchy model.</TD>
<TD><CODE><B><AHREF="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html#formOrderedHierarchy(com.mxgraph.layout.hierarchical.mxHierarchicalLayout, java.lang.Object[], java.lang.Object)">formOrderedHierarchy</A></B>(<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/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> parent)</CODE>
<BR>
Creates an internal ordered graph model using the vertices passed in.</TD>
<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></FONT></TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html#setEdgeMapper(java.util.Map)">setEdgeMapper</A></B>(<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><CODE><B><AHREF="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.html#setVertexMapper(java.util.Map)">setVertexMapper</A></B>(<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><CODE><B><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></B>(<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>
<BR>
A depth first search through the internal hierarchy model</TD>
<THALIGN="left"><B>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></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><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></TD>
<DD>Whether the rank assignment is done from the sinks or sources.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="maxRank"><!----></A><H3>
maxRank</H3>
<PRE>
public int <B>maxRank</B></PRE>
<DL>
<DD>Stores the largest rank number allocated
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="vertexMapper"><!----></A><H3>
vertexMapper</H3>
<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>><B>vertexMapper</B></PRE>
<DL>
<DD>Map from graph vertices to internal model nodes
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="edgeMapper"><!----></A><H3>
edgeMapper</H3>
<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>><B>edgeMapper</B></PRE>
<DL>
<DD>Map from graph edges to internal model edges
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="ranks"><!----></A><H3>
ranks</H3>
<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>><B>ranks</B></PRE>
<DL>
<DD>Mapping from rank number to actual rank
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="roots"><!----></A><H3>
roots</H3>
<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>><B>roots</B></PRE>
<DL>
<DD>Store of roots of this hierarchy model, these are real graph cells, not
internal cells
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="parent"><!----></A><H3>
parent</H3>
<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><B>parent</B></PRE>
<DL>
<DD>The parent cell whose children are being laid out
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="dfsCount"><!----></A><H3>
dfsCount</H3>
<PRE>
protected int <B>dfsCount</B></PRE>
<DL>
<DD>Count of the number of times the ancestor dfs has been used
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="deterministic"><!----></A><H3>
deterministic</H3>
<PRE>
protected boolean <B>deterministic</B></PRE>
<DL>
<DD>Whether or not cells are ordered according to the order in the graph
model. Defaults to false since sorting usually produces quadratic
performance. Note that since JGraph 6 returns edges in a deterministic
order, it might be that this layout is always deterministic using that
JGraph regardless of this flag setting (i.e. leave it false in that case)
public <B>mxGraphHierarchyModel</B>(<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,
boolean ordered,
boolean deterministic,
boolean scanRanksFromSinks)</PRE>
<DL>
<DD>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
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>layout</CODE> - the enclosing layout object<DD><CODE>vertices</CODE> - the vertices for this hierarchy<DD><CODE>ordered</CODE> - whether or not the vertices are already ordered<DD><CODE>deterministic</CODE> - whether or not this layout should be deterministic on each<DD><CODE>scanRanksFromSinks</CODE> - Whether the rank assignment is done from the sinks or sources.
public void <B>formOrderedHierarchy</B>(<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/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> parent)</PRE>
<DL>
<DD>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
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>layout</CODE> - reference to the layout algorithm<DD><CODE>vertices</CODE> - the vertices to be laid out</DL>
protected void <B>createInternalCells</B>(<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>
<DL>
<DD>Creates all edges in the internal model
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>layout</CODE> - reference to the layout algorithm<DD><CODE>vertices</CODE> - the vertices whom are to have an internal representation
created<DD><CODE>internalVertices</CODE> - the blank internal vertices to have their information filled
in using the real vertices</DL>
</DD>
</DL>
<HR>
<ANAME="initialRank()"><!----></A><H3>
initialRank</H3>
<PRE>
public void <B>initialRank</B>()</PRE>
<DL>
<DD>Basic determination of minimum layer ranking by working from from sources
or sinks and working through each node in the relevant edge direction.
Starting at the sinks is basically a longest path layering algorithm.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="fixRanks()"><!----></A><H3>
fixRanks</H3>
<PRE>
public void <B>fixRanks</B>()</PRE>
<DL>
<DD>Fixes the layer assignments to the values stored in the nodes. Also needs
to create dummy nodes for edges that cross layers.
public void <B>visit</B>(<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>
<DL>
<DD>A depth first search through the internal hierarchy model
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>visitor</CODE> - the visitor pattern to be called for each node<DD><CODE>trackAncestors</CODE> - whether or not the search is to keep track all nodes directly
public void <B>dfs</B>(<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>
<DL>
<DD>Performs a depth first search on the internal hierarchy model
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent internal node of the current internal node<DD><CODE>root</CODE> - the current internal node<DD><CODE>connectingEdge</CODE> - the internal edge connecting the internal node and the parent
internal node, if any<DD><CODE>visitor</CODE> - the visitor pattern to be called for each node<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><CODE>layer</CODE> - the layer on the dfs tree ( not the same as the model ranks )</DL>
public void <B>dfs</B>(<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>
<DL>
<DD>Performs a depth first search on the internal hierarchy model. This dfs
extends the default version by keeping track of cells ancestors, but it
should be only used when necessary because of it can be computationally
intensive for deep searches.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent internal node of the current internal node<DD><CODE>root</CODE> - the current internal node<DD><CODE>connectingEdge</CODE> - the internal edge connecting the internal node and the parent
internal node, if any<DD><CODE>visitor</CODE> - the visitor pattern to be called for each node<DD><CODE>seen</CODE> - a set of all nodes seen by this dfs<DD><CODE>ancestors</CODE> - the parent hash code<DD><CODE>childHash</CODE> - the new hash code for this node<DD><CODE>layer</CODE> - the layer on the dfs tree ( not the same as the model ranks )</DL>
</DD>
</DL>
<HR>
<ANAME="getVertexMapper()"><!----></A><H3>
getVertexMapper</H3>
<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>><B>getVertexMapper</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the vertexMapping.</DL>
public void <B>setVertexMapper</B>(<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>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>vertexMapping</CODE> - The vertexMapping to set.</DL>
</DD>
</DL>
<HR>
<ANAME="getEdgeMapper()"><!----></A><H3>
getEdgeMapper</H3>
<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>><B>getEdgeMapper</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the edgeMapper.</DL>
public void <B>setEdgeMapper</B>(<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>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>edgeMapper</CODE> - The edgeMapper to set.</DL>
</DD>
</DL>
<HR>
<ANAME="getDfsCount()"><!----></A><H3>
getDfsCount</H3>
<PRE>
public int <B>getDfsCount</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the dfsCount.</DL>
</DD>
</DL>
<HR>
<ANAME="setDfsCount(int)"><!----></A><H3>
setDfsCount</H3>
<PRE>
public void <B>setDfsCount</B>(int dfsCount)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dfsCount</CODE> - The dfsCount to set.</DL>
</DD>
</DL>
<HR>
<ANAME="isDeterministic()"><!----></A><H3>
isDeterministic</H3>
<PRE>
public boolean <B>isDeterministic</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the deterministic.</DL>
<AHREF="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyEdge.html"title="class in com.mxgraph.layout.hierarchical.model"><B>PREV CLASS</B></A>
<AHREF="../../../../../com/mxgraph/layout/hierarchical/model/mxGraphHierarchyModel.CellVisitor.html"title="interface in com.mxgraph.layout.hierarchical.model"><B>NEXT CLASS</B></A></FONT></TD>