<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.analysis.mxGraphStructure</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxGraphStructure</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>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#areConnected(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object, java.lang.Object)">areConnected</A></B>(<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><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#complementaryGraph(com.mxgraph.analysis.mxAnalysisGraph)">complementaryGraph</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<BR>
Makes the complement of <b>aGraph</b></TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#getConnectingEdge(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object, java.lang.Object)">getConnectingEdge</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#getCutEdges(com.mxgraph.analysis.mxAnalysisGraph)">getCutEdges</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#getCutVertices(com.mxgraph.analysis.mxAnalysisGraph)">getCutVertices</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#getDirectedLeaf(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object)">getDirectedLeaf</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#getGraphComponents(com.mxgraph.analysis.mxAnalysisGraph)">getGraphComponents</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#getLowestDegreeVertex(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object[])">getLowestDegreeVertex</A></B>(<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>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#getSinkVertices(com.mxgraph.analysis.mxAnalysisGraph)">getSinkVertices</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#getSourceVertices(com.mxgraph.analysis.mxAnalysisGraph)">getSourceVertices</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#getVertexWithValue(com.mxgraph.analysis.mxAnalysisGraph, int)">getVertexWithValue</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph,
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#indegree(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object)">indegree</A></B>(<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><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#isBiconnected(com.mxgraph.analysis.mxAnalysisGraph)">isBiconnected</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#isConnected(com.mxgraph.analysis.mxAnalysisGraph)">isConnected</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#isCutEdge(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object)">isCutEdge</A></B>(<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><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#isCutVertex(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object)">isCutVertex</A></B>(<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><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#isCyclicDirected(com.mxgraph.analysis.mxAnalysisGraph)">isCyclicDirected</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#isCyclicUndirected(com.mxgraph.analysis.mxAnalysisGraph)">isCyclicUndirected</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#isSimple(com.mxgraph.analysis.mxAnalysisGraph)">isSimple</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#isTree(com.mxgraph.analysis.mxAnalysisGraph)">isTree</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#makeConnected(com.mxgraph.analysis.mxAnalysisGraph)">makeConnected</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<BR>
Makes the graph connected</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#makeSimple(com.mxgraph.analysis.mxAnalysisGraph)">makeSimple</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#makeTreeDirected(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object)">makeTreeDirected</A></B>(<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>
<BR>
Makes a tree graph directed from the source to the leaves</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#outdegree(com.mxgraph.analysis.mxAnalysisGraph, java.lang.Object)">outdegree</A></B>(<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><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#regularity(com.mxgraph.analysis.mxAnalysisGraph)">regularity</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/analysis/mxGraphStructure.html#setDefaultGraphStyle(com.mxgraph.analysis.mxAnalysisGraph, boolean)">setDefaultGraphStyle</A></B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph,
boolean resetEdgeValues)</CODE>
<BR>
Sets the style of the graph to that as in GraphEditor</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>
public static boolean <B>isConnected</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> -
<DT><B>Returns:</B><DD>true if the graph is connected</DL>
public static boolean <B>isCyclicUndirected</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</PRE>
public static boolean <B>isSimple</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> -
<DT><B>Returns:</B><DD>true if the graph is simple (no self loops and no multiple edges)</DL>
public static boolean <B>isTree</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> -
<DT><B>Returns:</B><DD>true if the graph has the structure of a tree, regardless of edge direction</DL>
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><B>getLowestDegreeVertex</B>(<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>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> - <DD><CODE>omitVertex</CODE> - vertices in this array will be omitted, set this parameter to null if you don't want this feature
<DT><B>Returns:</B><DD>a vertex that has lowest degree, or one of those in case if there are more</DL>
public static boolean <B>areConnected</B>(<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><B>Returns:</B><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.</DL>
public static void <B>makeSimple</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>graph</CODE> - Make a graph simple (remove parallel edges and self loops)</DL>
public static void <B>makeConnected</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</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>[][] <B>getGraphComponents</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</PRE>
public static void <B>makeTreeDirected</B>(<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>
<DL>
<DD>Makes a tree graph directed from the source to the leaves
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> - <DD><CODE>startVertex</CODE> - - this vertex will be root of the tree (the only source node)
<DT><B>Throws:</B>
<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)</DL>
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><B>getConnectingEdge</B>(<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><B>Returns:</B><DD>an edge that directly connects <b>vertexOne</b> and <b>vertexTwo</b> regardless of direction, null if they are not connected directly</DL>
public static boolean <B>isCyclicDirected</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>graph</CODE> -
<DT><B>Returns:</B><DD>Returns true if the graph has at least one cycle, taking edge direction into account</DL>
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><B>getDirectedLeaf</B>(<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><B>Returns:</B><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.</DL>
public static void <B>complementaryGraph</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</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><B>getVertexWithValue</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph,
int value)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> - - the graph to search<DD><CODE>value</CODE> - - desired value
<DT><B>Returns:</B><DD>the first vertex with the wanted value. If none are found, null is returned</DL>
public static void <B>setDefaultGraphStyle</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph,
boolean resetEdgeValues)</PRE>
<DL>
<DD>Sets the style of the graph to that as in GraphEditor
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> - <DD><CODE>resetEdgeValues</CODE> - - set to true if you want to re-generate edge weights</DL>
public static int <B>regularity</B>(<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>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> -
<DT><B>Returns:</B><DD>the regularity of the graph
<DT><B>Throws:</B>
<DD><CODE><AHREF="../../../com/mxgraph/analysis/StructuralException.html"title="class in com.mxgraph.analysis">StructuralException</A></CODE> - if the graph is irregular</DL>
public static int <B>indegree</B>(<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>
public static int <B>outdegree</B>(<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>
public static boolean <B>isCutVertex</B>(<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>
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>[] <B>getCutVertices</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> -
<DT><B>Returns:</B><DD>all cut vertices of <b>aGraph</b></DL>
public static boolean <B>isCutEdge</B>(<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>
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>[] <B>getCutEdges</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> -
<DT><B>Returns:</B><DD>all cut edges of <b>aGraph</b></DL>
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>[] <B>getSourceVertices</B>(<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>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> -
<DT><B>Returns:</B><DD>all source vertices of <b>aGraph</b>
<DT><B>Throws:</B>
<DD><CODE><AHREF="../../../com/mxgraph/analysis/StructuralException.html"title="class in com.mxgraph.analysis">StructuralException</A></CODE> - the graph must be directed</DL>
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>[] <B>getSinkVertices</B>(<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>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> -
<DT><B>Returns:</B><DD>all sink vertices of <b>aGraph</b>
<DT><B>Throws:</B>
<DD><CODE><AHREF="../../../com/mxgraph/analysis/StructuralException.html"title="class in com.mxgraph.analysis">StructuralException</A></CODE> - the graph must be directed</DL>
public static boolean <B>isBiconnected</B>(<AHREF="../../../com/mxgraph/analysis/mxAnalysisGraph.html"title="class in com.mxgraph.analysis">mxAnalysisGraph</A> aGraph)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aGraph</CODE> -
<DT><B>Returns:</B><DD>true if <b>aGraph</b> is biconnected</DL>