<li><ahref="../../../com/mxgraph/analysis/mxGraphProperties.GraphType.html"title="enum in com.mxgraph.analysis"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis"><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>
<li>
<ulclass="inheritance">
<li>com.mxgraph.analysis.mxGraphStructure</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<hr>
<br>
<pre>public class <spanclass="strong">mxGraphStructure</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>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#areConnected(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object, java.lang.Object)">areConnected</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> sourceVertex,
<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> targetVertex)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#complementaryGraph(com.mxgraph.analysis.mxAnalysisGraph)">complementaryGraph</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code>
<divclass="block">Makes the complement of <b>aGraph</b></div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <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>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#getConnectingEdge(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object, java.lang.Object)">getConnectingEdge</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> vertexOne,
<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> vertexTwo)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <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>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#getCutEdges(com.mxgraph.analysis.mxAnalysisGraph)">getCutEdges</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <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>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#getCutVertices(com.mxgraph.analysis.mxAnalysisGraph)">getCutVertices</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <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>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#getDirectedLeaf(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object)">getDirectedLeaf</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <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>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#getGraphComponents(com.mxgraph.analysis.mxAnalysisGraph)">getGraphComponents</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <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>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#getLowestDegreeVertex(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object[])">getLowestDegreeVertex</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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>[] omitVertex)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <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>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#getSinkVertices(com.mxgraph.analysis.mxAnalysisGraph)">getSinkVertices</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <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>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#getSourceVertices(com.mxgraph.analysis.mxAnalysisGraph)">getSourceVertices</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <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>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#getVertexWithValue(com.mxgraph.analysis.mxAnalysisGraph, int)">getVertexWithValue</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
int value)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#indegree(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object)">indegree</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> vertex)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#isBiconnected(com.mxgraph.analysis.mxAnalysisGraph)">isBiconnected</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#isConnected(com.mxgraph.analysis.mxAnalysisGraph)">isConnected</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#isCutEdge(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object)">isCutEdge</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> edge)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#isCutVertex(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object)">isCutVertex</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> vertex)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#isCyclicDirected(com.mxgraph.analysis.mxAnalysisGraph)">isCyclicDirected</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#isCyclicUndirected(com.mxgraph.analysis.mxAnalysisGraph)">isCyclicUndirected</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#isSimple(com.mxgraph.analysis.mxAnalysisGraph)">isSimple</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#isTree(com.mxgraph.analysis.mxAnalysisGraph)">isTree</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#makeConnected(com.mxgraph.analysis.mxAnalysisGraph)">makeConnected</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code>
<divclass="block">Makes the graph connected</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#makeSimple(com.mxgraph.analysis.mxAnalysisGraph)">makeSimple</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#makeTreeDirected(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object)">makeTreeDirected</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> startVertex)</code>
<divclass="block">Makes a tree graph directed from the source to the leaves</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#outdegree(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object)">outdegree</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> vertex)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static int</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#regularity(com.mxgraph.analysis.mxAnalysisGraph)">regularity</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</code> </td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/analysis/mxGraphStructure.html#setDefaultGraphStyle(com.mxgraph.analysis.mxAnalysisGraph, boolean)">setDefaultGraphStyle</a></strong>(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
boolean resetEdgeValues)</code>
<divclass="block">Sets the style of the graph to that as in GraphEditor</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>
<pre>public static boolean isConnected(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</pre>
<pre>public static boolean isCyclicUndirected(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</pre>
<pre>public static boolean isSimple(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</pre>
<pre>public static boolean isTree(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</pre>
<pre>public static <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> getLowestDegreeVertex(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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>[] omitVertex)</pre>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>aGraph</code> - </dd><dd><code>omitVertex</code> - vertices in this array will be omitted, set this parameter to null if you don't want this feature</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>a vertex that has lowest degree, or one of those in case if there are more</dd></dl>
<pre>public static boolean areConnected(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> sourceVertex,
<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> targetVertex)</pre>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns true if the two vertices are connected directly by an edge. If directed, the result is true if they are connected by an edge that points from source to target, if false direction isn't takein into account, just connectivity.</dd></dl>
<pre>public static void makeSimple(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</pre>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>graph</code> - Make a graph simple (remove parallel edges and self loops)</dd></dl>
<pre>public static void makeConnected(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</pre>
<pre>public static <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>[][] getGraphComponents(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</pre>
<pre>public static void makeTreeDirected(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> startVertex)
throws <ahref="../../../com/mxgraph/analysis/StructuralException.html"title="class in com.mxgraph.analysis">StructuralException</a></pre>
<divclass="block">Makes a tree graph directed from the source to the leaves</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>aGraph</code> - </dd><dd><code>startVertex</code> - - this vertex will be root of the tree (the only source node)</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../com/mxgraph/analysis/StructuralException.html"title="class in com.mxgraph.analysis">StructuralException</a></code> - - the graph must be a tree (edge direction doesn't matter)</dd></dl>
<pre>public static <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> getConnectingEdge(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> vertexOne,
<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> vertexTwo)</pre>
<dt><spanclass="strong">Returns:</span></dt><dd>an edge that directly connects <b>vertexOne</b> and <b>vertexTwo</b> regardless of direction, null if they are not connected directly</dd></dl>
<pre>public static boolean isCyclicDirected(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</pre>
<pre>public static <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> getDirectedLeaf(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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>
<dt><spanclass="strong">Returns:</span></dt><dd>A helper function for <b>isDirectedCyclic</b> and it isn't for general use. It returns a node that hasn't incoming or outgoing edges. It could be considered a "leaf" in a directed graph, but this definition isn't formal.</dd></dl>
<pre>public static void complementaryGraph(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</pre>
<divclass="block">Makes the complement of <b>aGraph</b></div>
<pre>public static <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> getVertexWithValue(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
int value)</pre>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>aGraph</code> - - the graph to search</dd><dd><code>value</code> - - desired value</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>the first vertex with the wanted value. If none are found, null is returned</dd></dl>
<pre>public static void setDefaultGraphStyle(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
boolean resetEdgeValues)</pre>
<divclass="block">Sets the style of the graph to that as in GraphEditor</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>aGraph</code> - </dd><dd><code>resetEdgeValues</code> - - set to true if you want to re-generate edge weights</dd></dl>
<pre>public static int regularity(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)
throws <ahref="../../../com/mxgraph/analysis/StructuralException.html"title="class in com.mxgraph.analysis">StructuralException</a></pre>
<dt><spanclass="strong">Returns:</span></dt><dd>the regularity of the graph</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../com/mxgraph/analysis/StructuralException.html"title="class in com.mxgraph.analysis">StructuralException</a></code> - if the graph is irregular</dd></dl>
<pre>public static int indegree(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> vertex)</pre>
<pre>public static int outdegree(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> vertex)</pre>
<pre>public static boolean isCutVertex(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> vertex)</pre>
<pre>public static <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>[] getCutVertices(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</pre>
<pre>public static boolean isCutEdge(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph,
<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> edge)</pre>
<pre>public static <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>[] getCutEdges(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</pre>
<pre>public static <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>[] getSourceVertices(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)
throws <ahref="../../../com/mxgraph/analysis/StructuralException.html"title="class in com.mxgraph.analysis">StructuralException</a></pre>
<dt><spanclass="strong">Returns:</span></dt><dd>all source vertices of <b>aGraph</b></dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../com/mxgraph/analysis/StructuralException.html"title="class in com.mxgraph.analysis">StructuralException</a></code> - the graph must be directed</dd></dl>
<pre>public static <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>[] getSinkVertices(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)
throws <ahref="../../../com/mxgraph/analysis/StructuralException.html"title="class in com.mxgraph.analysis">StructuralException</a></pre>
<dt><spanclass="strong">Returns:</span></dt><dd>all sink vertices of <b>aGraph</b></dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../com/mxgraph/analysis/StructuralException.html"title="class in com.mxgraph.analysis">StructuralException</a></code> - the graph must be directed</dd></dl>
<pre>public static boolean isBiconnected(<ahref="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</a> aGraph)</pre>
<li><ahref="../../../com/mxgraph/analysis/mxGraphProperties.GraphType.html"title="enum in com.mxgraph.analysis"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../com/mxgraph/analysis/mxICostFunction.html"title="interface in com.mxgraph.analysis"><spanclass="strong">Next Class</span></a></li>