<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxChildChange.html"title="class in com.mxgraph.model">mxGraphModel.mxChildChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxCollapseChange.html"title="class in com.mxgraph.model">mxGraphModel.mxCollapseChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxGeometryChange.html"title="class in com.mxgraph.model">mxGraphModel.mxGeometryChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxRootChange.html"title="class in com.mxgraph.model">mxGraphModel.mxRootChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxStyleChange.html"title="class in com.mxgraph.model">mxGraphModel.mxStyleChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxTerminalChange.html"title="class in com.mxgraph.model">mxGraphModel.mxTerminalChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxValueChange.html"title="class in com.mxgraph.model">mxGraphModel.mxValueChange</a></strong></code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.mxVisibleChange.html"title="class in com.mxgraph.model">mxGraphModel.mxVisibleChange</a></strong></code> </td>
<h3>Nested classes/interfaces inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<code><ahref="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></li>
<h3>Nested classes/interfaces inherited from interface com.mxgraph.model.<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></h3>
<code><ahref="../../../com/mxgraph/model/mxIGraphModel.mxAtomicGraphModelChange.html"title="class in com.mxgraph.model">mxIGraphModel.mxAtomicGraphModelChange</a></code></li>
<divclass="block">Specifies if the model should automatically create Ids for new cells.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</a></code></td>
<h3>Fields inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<divclass="block">Creates a new root cell with a default layer (child 0).</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</a></code></td>
<divclass="block">Decrements the updateLevel by one and fires a notification event if the
updateLevel reaches 0.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#execute(com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange)">execute</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.mxAtomicGraphModelChange.html"title="class in com.mxgraph.model">mxIGraphModel.mxAtomicGraphModelChange</a> change)</code>
<divclass="block">Executes the given atomic change and adds it to the current edit.</div>
<ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a> filter)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#filterDescendants(com.mxgraph.model.mxIGraphModel, com.mxgraph.model.mxGraphModel.Filter)">filterDescendants</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a> filter)</code>
<divclass="block">Creates a collection of cells using the visitor pattern.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#filterDescendants(com.mxgraph.model.mxIGraphModel, com.mxgraph.model.mxGraphModel.Filter, java.lang.Object)">filterDescendants</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a> filter,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getChildEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getChildEdges</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getChildren(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getChildren</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getChildVertices(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getChildVertices</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getConnections(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getConnections</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getDescendants(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getDescendants</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns a all descendants of the given cell and the cell itself
as a collection.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getDirectedEdgeCount(com.mxgraph.model.mxIGraphModel, java.lang.Object, boolean)">getDirectedEdgeCount</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getEdges</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getEdgesBetween(com.mxgraph.model.mxIGraphModel, java.lang.Object, java.lang.Object)">getEdgesBetween</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getIncomingEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getIncomingEdges</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getOpposites(com.mxgraph.model.mxIGraphModel, java.lang.Object[], java.lang.Object)">getOpposites</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getOutgoingEdges(com.mxgraph.model.mxIGraphModel, java.lang.Object)">getOutgoingEdges</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getParents(com.mxgraph.model.mxIGraphModel, java.lang.Object[])">getParents</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#getTopmostCells(com.mxgraph.model.mxIGraphModel, java.lang.Object[])">getTopmostCells</a></strong>(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns true if the given cell is visible.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/model/mxGraphModel.html#mergeChildren(com.mxgraph.model.mxICell, com.mxgraph.model.mxICell, boolean)">mergeChildren</a></strong>(<ahref="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</a> from,
<ahref="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</a> to,
boolean cloneAllEdges)</code>
<divclass="block">Merges the children of the given cell into the given target cell inside
<h3>Methods inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<h3>Methods inherited from interface com.mxgraph.model.<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></h3>
<divclass="block">Specifies if edges should automatically be moved into the nearest common
ancestor of their terminals. Default is true.</div>
</li>
</ul>
<aname="createIds">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>createIds</h4>
<pre>protected boolean createIds</pre>
<divclass="block">Specifies if the model should automatically create Ids for new cells.
Default is true.</div>
</li>
</ul>
<aname="nextId">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>nextId</h4>
<pre>protected int nextId</pre>
<divclass="block">Specifies the next Id to be created. Initial value is 0.</div>
</li>
</ul>
<aname="currentEdit">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>currentEdit</h4>
<pre>protected transient <ahref="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</a> currentEdit</pre>
<divclass="block">Holds the changes for the current transaction. If the transaction is
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getRoot()">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the root of the model or the topmost parent of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getRoot()">getRoot</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the root cell.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setRoot(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the root of the model and resets all structures.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setRoot(java.lang.Object)">setRoot</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>root</code> - Cell that specifies the new root.</dd></dl>
<divclass="block">Inner callback to change the root of the model and update the internal
datastructures, such as cells and nextId. Returns the previous root.</div>
</li>
</ul>
<aname="createUndoableEdit()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>createUndoableEdit</h4>
<pre>protected <ahref="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</a> createUndoableEdit()</pre>
<divclass="block">Creates a new undoable edit.</div>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#cloneCells(java.lang.Object[], boolean)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns an array of clones for the given array of cells.
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#cloneCells(java.lang.Object[], boolean)">cloneCells</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cells</code> - Array of cells to be cloned.</dd><dd><code>includeChildren</code> - Boolean indicating if the cells should be cloned
with all descendants.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns a cloned array of cells.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isAncestor(java.lang.Object, java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the given parent is an ancestor of the given child.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isAncestor(java.lang.Object, java.lang.Object)">isAncestor</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>parent</code> - Cell that specifies the parent.</dd><dd><code>child</code> - Cell that specifies the child.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if child is an ancestor of parent.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#contains(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the model contains the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#contains(java.lang.Object)">contains</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell to be checked.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if the cell is in the model.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getParent(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the parent of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getParent(java.lang.Object)">getParent</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>child</code> - Cell whose parent should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the parent of the given cell.</dd></dl>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#add(java.lang.Object, java.lang.Object, int)">add</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>parent</code> - Cell that specifies the parent to contain the child.</dd><dd><code>child</code> - Cell that specifies the child to be inserted.</dd><dd><code>index</code> - Integer that specifies the index of the child.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the inserted child.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#remove(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Removes the specified cell from the model. This operation will remove
the cell and all of its children from the model.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#remove(java.lang.Object)">remove</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that should be removed.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the removed cell.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getChildCount(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the number of children in the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getChildCount(java.lang.Object)">getChildCount</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose number of children should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the number of children in the given cell.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getChildAt(java.lang.Object, int)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the child of the given parent at the given index.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getChildAt(java.lang.Object, int)">getChildAt</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>parent</code> - Cell that represents the parent.</dd><dd><code>index</code> - Integer that specifies the index of the child to be
returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the child at index in parent.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getTerminal(java.lang.Object, boolean)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the source or target terminal of the given edge depending on the
value of the boolean parameter.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getTerminal(java.lang.Object, boolean)">getTerminal</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Cell that specifies the edge.</dd><dd><code>isSource</code> - Boolean indicating which end of the edge should be
returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the source or target of the given edge.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setTerminal(java.lang.Object, java.lang.Object, boolean)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the source or target terminal of the given edge using.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setTerminal(java.lang.Object, java.lang.Object, boolean)">setTerminal</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Cell that specifies the edge.</dd><dd><code>terminal</code> - Cell that specifies the new terminal.</dd><dd><code>isSource</code> - Boolean indicating if the terminal is the new source or
target terminal of the edge.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new terminal.</dd></dl>
<divclass="block">Updates the parents of the edges connected to the given cell and all its
descendants so that the edge is contained in the nearest-common-ancestor.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose edges should be checked and updated.</dd><dd><code>root</code> - Root of the cell hierarchy that contains all cells.</dd></dl>
<divclass="block">Inner helper method to update the parent of the specified edge to the
nearest-common-ancestor of its two terminals.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Specifies the edge to be updated.</dd><dd><code>root</code> - Current root of the model.</dd></dl>
<pre>public <ahref="../../../com/mxgraph/util/mxPoint.html"title="class in com.mxgraph.util">mxPoint</a> getOrigin(java.lang.Object cell)</pre>
<divclass="block">Returns the nearest common ancestor for the specified cells.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cell1</code> - Cell that specifies the first cell in the tree.</dd><dd><code>cell2</code> - Cell that specifies the second cell in the tree.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the nearest common ancestor of the given cells.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getEdgeCount(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the number of distinct edges connected to the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getEdgeCount(java.lang.Object)">getEdgeCount</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that represents the vertex.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the number of edges connected to cell.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getEdgeAt(java.lang.Object, int)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the edge of cell at the given index.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getEdgeAt(java.lang.Object, int)">getEdgeAt</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>parent</code> - Cell that specifies the vertex.</dd><dd><code>index</code> - Integer that specifies the index of the edge to return.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the edge at the given index.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isVertex(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the given cell is a vertex.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isVertex(java.lang.Object)">isVertex</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that represents the possible vertex.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if the given cell is a vertex.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isEdge(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the given cell is an edge.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isEdge(java.lang.Object)">isEdge</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell that represents the possible edge.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if the given cell is an edge.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isConnectable(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the given cell is connectable.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isConnectable(java.lang.Object)">isConnectable</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose connectable state should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the connectable state of the given cell.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getValue(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the user object of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getValue(java.lang.Object)">getValue</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose user object should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the user object of the given cell.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setValue(java.lang.Object, java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the user object of then given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setValue(java.lang.Object, java.lang.Object)">setValue</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose user object should be changed.</dd><dd><code>value</code> - Object that defines the new user object.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new value.</dd></dl>
<pre>public <ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> getGeometry(java.lang.Object cell)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getGeometry(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the geometry of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getGeometry(java.lang.Object)">getGeometry</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose geometry should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the geometry of the given cell.</dd></dl>
<pre>public <ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> setGeometry(java.lang.Object cell,
<ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geometry)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setGeometry(java.lang.Object, com.mxgraph.model.mxGeometry)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the geometry of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setGeometry(java.lang.Object, com.mxgraph.model.mxGeometry)">setGeometry</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose geometry should be changed.</dd><dd><code>geometry</code> - Object that defines the new geometry.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new geometry.</dd></dl>
<pre>protected <ahref="../../../com/mxgraph/model/mxGeometry.html"title="class in com.mxgraph.model">mxGeometry</a> geometryForCellChanged(java.lang.Object cell,
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getStyle(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns the style of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#getStyle(java.lang.Object)">getStyle</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose style should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the style of the given cell.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setStyle(java.lang.Object, java.lang.String)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the style of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setStyle(java.lang.Object, java.lang.String)">setStyle</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose style should be changed.</dd><dd><code>style</code> - String of the form stylename[;key=value] to specify
the new cell style.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new style.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isCollapsed(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the given cell is collapsed.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isCollapsed(java.lang.Object)">isCollapsed</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose collapsed state should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the collapsed state of the given cell.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setCollapsed(java.lang.Object, boolean)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the collapsed state of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setCollapsed(java.lang.Object, boolean)">setCollapsed</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose collapsed state should be changed.</dd><dd><code>collapsed</code> - Boolean that specifies the new collpased state.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new collapsed state.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isVisible(java.lang.Object)">mxIGraphModel</a></code></strong></div>
<divclass="block">Returns true if the given cell is visible.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#isVisible(java.lang.Object)">isVisible</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose visible state should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the visible state of the given cell.</dd></dl>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setVisible(java.lang.Object, boolean)">mxIGraphModel</a></code></strong></div>
<divclass="block">Sets the visible state of the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#setVisible(java.lang.Object, boolean)">setVisible</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<dt><spanclass="strong">Parameters:</span></dt><dd><code>cell</code> - Cell whose visible state should be changed.</dd><dd><code>visible</code> - Boolean that specifies the new visible state.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the new visible state.</dd></dl>
<pre>public void execute(<ahref="../../../com/mxgraph/model/mxIGraphModel.mxAtomicGraphModelChange.html"title="class in com.mxgraph.model">mxIGraphModel.mxAtomicGraphModelChange</a> change)</pre>
<divclass="block">Executes the given atomic change and adds it to the current edit.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>change</code> - Atomic change to be executed.</dd></dl>
</li>
</ul>
<aname="beginUpdate()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>beginUpdate</h4>
<pre>public void beginUpdate()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#beginUpdate()">mxIGraphModel</a></code></strong></div>
<divclass="block">Increments the updateLevel by one. The event notification is queued
until updateLevel reaches 0 by use of endUpdate.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#beginUpdate()">beginUpdate</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
</dl>
</li>
</ul>
<aname="endUpdate()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>endUpdate</h4>
<pre>public void endUpdate()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#endUpdate()">mxIGraphModel</a></code></strong></div>
<divclass="block">Decrements the updateLevel by one and fires a notification event if the
updateLevel reaches 0.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../com/mxgraph/model/mxIGraphModel.html#endUpdate()">endUpdate</a></code> in interface <code><ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a></code></dd>
<pre>protected void mergeChildrenImpl(<ahref="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</a> from,
<ahref="../../../com/mxgraph/model/mxICell.html"title="interface in com.mxgraph.model">mxICell</a> to,
<pre>public static int getDirectedEdgeCount(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns the number of incoming or outgoing edges.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Graph model that contains the connection data.</dd><dd><code>cell</code> - Cell whose edges should be counted.</dd><dd><code>outgoing</code> - Boolean that specifies if the number of outgoing or
incoming edges should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the number of incoming or outgoing edges.</dd></dl>
<pre>public static int getDirectedEdgeCount(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns the number of incoming or outgoing edges, ignoring the given
edge.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Graph model that contains the connection data.</dd><dd><code>cell</code> - Cell whose edges should be counted.</dd><dd><code>outgoing</code> - Boolean that specifies if the number of outgoing or
incoming edges should be returned.</dd><dd><code>ignoredEdge</code> - Object that represents an edge to be ignored.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the number of incoming or outgoing edges.</dd></dl>
<pre>public static java.lang.Object[] getEdges(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns all edges connected to this cell including loops.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the connection information.</dd><dd><code>cell</code> - Cell whose connections should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the array of connected edges for the given cell.</dd></dl>
<pre>public static java.lang.Object[] getConnections(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns all edges connected to this cell without loops.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the connection information.</dd><dd><code>cell</code> - Cell whose connections should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the connected edges for the given cell.</dd></dl>
<pre>public static java.lang.Object[] getIncomingEdges(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns the incoming edges of the given cell without loops.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Graphmodel that contains the edges.</dd><dd><code>cell</code> - Cell whose incoming edges should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the incoming edges for the given cell.</dd></dl>
<pre>public static java.lang.Object[] getOutgoingEdges(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns the outgoing edges of the given cell without loops.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Graphmodel that contains the edges.</dd><dd><code>cell</code> - Cell whose outgoing edges should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the outgoing edges for the given cell.</dd></dl>
<pre>public static java.lang.Object[] getEdges(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns all distinct edges connected to this cell.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the connection information.</dd><dd><code>cell</code> - Cell whose connections should be returned.</dd><dd><code>incoming</code> - Specifies if incoming edges should be returned.</dd><dd><code>outgoing</code> - Specifies if outgoing edges should be returned.</dd><dd><code>includeLoops</code> - Specifies if loops should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the array of connected edges for the given cell.</dd></dl>
<pre>public static java.lang.Object[] getEdgesBetween(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns all edges from the given source to the given target.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - The graph model that contains the graph.</dd><dd><code>source</code> - Object that defines the source cell.</dd><dd><code>target</code> - Object that defines the target cell.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns all edges from source to target.</dd></dl>
<pre>public static java.lang.Object[] getEdgesBetween(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
otherwise, all edges between the two cells are returned.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - The graph model that contains the graph.</dd><dd><code>source</code> - Object that defines the source cell.</dd><dd><code>target</code> - Object that defines the target cell.</dd><dd><code>directed</code> - Boolean that specifies if the direction of the edge
should be taken into account.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns all edges between the given source and target.</dd></dl>
<pre>public static java.lang.Object[] getOpposites(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns all opposite cells of terminal for the given edges.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the connection information.</dd><dd><code>edges</code> - Array of edges to be examined.</dd><dd><code>terminal</code> - Cell that specifies the known end of the edges.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the opposite cells of the given terminal.</dd></dl>
<pre>public static java.lang.Object[] getOpposites(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the connection information.</dd><dd><code>edges</code> - Array of edges to be examined.</dd><dd><code>terminal</code> - Cell that specifies the known end of the edges.</dd><dd><code>sources</code> - Boolean that specifies if source terminals should
be contained in the result. Default is true.</dd><dd><code>targets</code> - Boolean that specifies if target terminals should
be contained in the result. Default is true.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the array of opposite terminals for the given edges.</dd></dl>
<pre>public static void setTerminals(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Sets the source and target of the given edge in a single atomic change.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>edge</code> - Cell that specifies the edge.</dd><dd><code>source</code> - Cell that specifies the new source terminal.</dd><dd><code>target</code> - Cell that specifies the new target terminal.</dd></dl>
<pre>public static java.lang.Object[] getChildren(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns all children of the given cell regardless of their type.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the hierarchical information.</dd><dd><code>parent</code> - Cell whose child vertices or edges should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the child vertices and/or edges of the given parent.</dd></dl>
<pre>public static java.lang.Object[] getChildVertices(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns the child vertices of the given parent.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the hierarchical information.</dd><dd><code>parent</code> - Cell whose child vertices should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the child vertices of the given parent.</dd></dl>
<pre>public static java.lang.Object[] getChildEdges(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<divclass="block">Returns the child edges of the given parent.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the hierarchical information.</dd><dd><code>parent</code> - Cell whose child edges should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the child edges of the given parent.</dd></dl>
<pre>public static java.lang.Object[] getChildCells(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
children are returned regardless of their type.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>model</code> - Model that contains the hierarchical information.</dd><dd><code>parent</code> - Cell whose child vertices or edges should be returned.</dd><dd><code>vertices</code> - Boolean indicating if child vertices should be returned.</dd><dd><code>edges</code> - Boolean indicating if child edges should be returned.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the child vertices and/or edges of the given parent.</dd></dl>
<pre>public static java.lang.Object[] getParents(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<pre>public static java.util.Collection<java.lang.Object> getDescendants(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<pre>public static java.util.Collection<java.lang.Object> filterDescendants(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a> filter)</pre>
<pre>public static java.util.Collection<java.lang.Object> filterDescendants(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,
<ahref="../../../com/mxgraph/model/mxGraphModel.Filter.html"title="interface in com.mxgraph.model">mxGraphModel.Filter</a> filter,
<pre>public static java.lang.Object[] getTopmostCells(<ahref="../../../com/mxgraph/model/mxIGraphModel.html"title="interface in com.mxgraph.model">mxIGraphModel</a> model,