maxGraph/java/docs/com/mxgraph/analysis/mxGraphGenerator.html

1075 lines
49 KiB
HTML
Raw Normal View History

2019-07-02 06:45:58 +00:00
<!DOCTYPE HTML>
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
<html lang="en">
<head>
2020-01-24 13:32:03 +00:00
<!-- Generated by javadoc (11.0.5) on Fri Jan 24 12:51:57 UTC 2020 -->
<title>mxGraphGenerator (mxGraph 4.1.0 API Specification)</title>
2018-11-06 11:46:01 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2020-01-24 13:32:03 +00:00
<meta name="dc.created" content="2020-01-24">
2014-04-01 11:30:48 +00:00
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
2018-11-06 11:46:01 +00:00
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
2016-06-02 09:57:18 +00:00
<script type="text/javascript" src="../../../script.js"></script>
2018-11-06 11:46:01 +00:00
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
2019-07-02 06:45:58 +00:00
<script type="text/javascript" src="../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-migrate-3.0.1.js"></script>
2018-11-06 11:46:01 +00:00
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
2014-04-01 11:30:48 +00:00
</head>
<body>
<script type="text/javascript"><!--
2016-06-02 09:57:18 +00:00
try {
if (location.href.indexOf('is-external=true') == -1) {
2020-01-24 13:32:03 +00:00
parent.document.title="mxGraphGenerator (mxGraph 4.1.0 API Specification)";
2016-06-02 09:57:18 +00:00
}
}
catch(err) {
2012-12-18 13:09:38 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
2019-07-02 06:45:58 +00:00
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10};
2016-06-02 09:57:18 +00:00
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
2019-07-02 06:45:58 +00:00
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
2014-04-01 11:30:48 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2019-07-02 06:45:58 +00:00
<header role="banner">
<nav role="navigation">
2018-11-06 11:46:01 +00:00
<div class="fixedNav">
2012-12-18 13:09:38 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2019-07-02 06:45:58 +00:00
<div class="topNav"><a id="navbar.top">
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
2019-07-02 06:45:58 +00:00
<a id="navbar.top.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2019-07-02 06:45:58 +00:00
<li><a href="../../../index.html">Overview</a></li>
2014-04-01 11:30:48 +00:00
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxGraphGenerator.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
2020-01-24 13:32:03 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.1.0</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
2019-07-02 06:45:58 +00:00
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</ul>
2018-11-06 11:46:01 +00:00
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
2014-04-01 11:30:48 +00:00
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
2012-12-18 13:09:38 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-12-18 13:09:38 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
2018-11-06 11:46:01 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2014-04-01 11:30:48 +00:00
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
</div>
2019-07-02 06:45:58 +00:00
<a id="skip.navbar.top">
2014-04-01 11:30:48 +00:00
<!-- -->
</a></div>
2012-12-18 13:09:38 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
2018-11-06 11:46:01 +00:00
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
2019-07-02 06:45:58 +00:00
</nav>
</header>
2012-12-18 13:09:38 +00:00
<!-- ======== START OF CLASS DATA ======== -->
2019-07-02 06:45:58 +00:00
<main role="main">
2014-04-01 11:30:48 +00:00
<div class="header">
2019-07-02 06:45:58 +00:00
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">com.mxgraph.analysis</a></div>
2014-04-01 11:30:48 +00:00
<h2 title="Class mxGraphGenerator" class="title">Class mxGraphGenerator</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
2017-11-24 16:16:54 +00:00
<li>java.lang.Object</li>
2014-04-01 11:30:48 +00:00
<li>
<ul class="inheritance">
<li>com.mxgraph.analysis.mxGraphGenerator</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
2016-06-02 09:57:18 +00:00
<pre>public class <span class="typeNameLabel">mxGraphGenerator</span>
2017-11-24 16:16:54 +00:00
extends java.lang.Object</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
2012-12-18 13:09:38 +00:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="constructor.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Constructor Summary</h3>
2019-07-02 06:45:58 +00:00
<table class="memberSummary">
2014-04-01 11:30:48 +00:00
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
2018-11-06 11:46:01 +00:00
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
2019-07-02 06:45:58 +00:00
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(com.mxgraph.generatorfunction.mxGeneratorFunction,com.mxgraph.costfunction.mxCostFunction)">mxGraphGenerator</a></span>&#8203;(<a href="../generatorfunction/mxGeneratorFunction.html" title="class in com.mxgraph.generatorfunction">mxGeneratorFunction</a>&nbsp;generatorFunction,
<a href="../costfunction/mxCostFunction.html" title="class in com.mxgraph.costfunction">mxCostFunction</a>&nbsp;costFunction)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
</table>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2012-12-18 13:09:38 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="method.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Method Summary</h3>
2019-07-02 06:45:58 +00:00
<table class="memberSummary">
2016-06-02 09:57:18 +00:00
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
2014-04-01 11:30:48 +00:00
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i0" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBipartiteGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">getBipartiteGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
int&nbsp;numVerticesGroup1,
2018-11-06 11:46:01 +00:00
int&nbsp;numVerticesGroup2)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i1" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCompleteBipartiteGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">getCompleteBipartiteGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2012-12-18 13:09:38 +00:00
int&nbsp;numVerticesGroup1,
2018-11-06 11:46:01 +00:00
int&nbsp;numVerticesGroup2)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i2" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCompleteGraph(com.mxgraph.analysis.mxAnalysisGraph,int)">getCompleteGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2018-11-06 11:46:01 +00:00
int&nbsp;numVertices)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i3" class="rowColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code><a href="../costfunction/mxCostFunction.html" title="class in com.mxgraph.costfunction">mxCostFunction</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCostFunction()">getCostFunction</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i4" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFriendshipWindmillGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">getFriendshipWindmillGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
int&nbsp;numBranches,
2018-11-06 11:46:01 +00:00
int&nbsp;branchSize)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i5" class="rowColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code><a href="../generatorfunction/mxGeneratorFunction.html" title="class in com.mxgraph.generatorfunction">mxGeneratorFunction</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGeneratorFunction()">getGeneratorFunction</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i6" class="altColor">
2019-07-02 06:45:58 +00:00
<td class="colFirst"><code>static <a href="../generatorfunction/mxGeneratorFunction.html" title="class in com.mxgraph.generatorfunction">mxGeneratorFunction</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGeneratorFunction(com.mxgraph.view.mxGraph,boolean,double,double)">getGeneratorFunction</a></span>&#8203;(<a href="../view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a>&nbsp;graph,
2014-04-01 11:30:48 +00:00
boolean&nbsp;weighted,
double&nbsp;minWeight,
2018-11-06 11:46:01 +00:00
double&nbsp;maxWeight)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i7" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGridGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">getGridGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
int&nbsp;numColumns,
2018-11-06 11:46:01 +00:00
int&nbsp;numRows)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i8" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getKingGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">getKingGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
int&nbsp;xDim,
2018-11-06 11:46:01 +00:00
int&nbsp;yDim)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i9" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getKingMoveVertexes(com.mxgraph.analysis.mxAnalysisGraph,int,int,int,int)">getKingMoveVertexes</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
int&nbsp;xDim,
int&nbsp;yDim,
int&nbsp;xCoord,
2018-11-06 11:46:01 +00:00
int&nbsp;yCoord)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i10" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getKnightGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">getKnightGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
int&nbsp;xDim,
2018-11-06 11:46:01 +00:00
int&nbsp;yDim)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i11" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getKnightMoveVertexes(com.mxgraph.analysis.mxAnalysisGraph,int,int,int,int)">getKnightMoveVertexes</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
int&nbsp;xDim,
int&nbsp;yDim,
int&nbsp;xCoord,
2018-11-06 11:46:01 +00:00
int&nbsp;yCoord)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i12" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getKnightTour(com.mxgraph.analysis.mxAnalysisGraph,int,int,int)">getKnightTour</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
int&nbsp;xDim,
int&nbsp;yDim,
2018-11-06 11:46:01 +00:00
int&nbsp;startVertexValue)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i13" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Double</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNewEdgeValue(com.mxgraph.analysis.mxAnalysisGraph)">getNewEdgeValue</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Creates a new edge value based on graph properties in mxAnalysisGraph.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i14" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNullGraph(com.mxgraph.analysis.mxAnalysisGraph,int)">getNullGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2018-11-06 11:46:01 +00:00
int&nbsp;numVertices)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i15" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPathGraph(com.mxgraph.analysis.mxAnalysisGraph,int)">getPathGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2018-11-06 11:46:01 +00:00
int&nbsp;numVertices)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i16" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPetersenGraph(com.mxgraph.analysis.mxAnalysisGraph)">getPetersenGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i17" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>int</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRandomInt(int,int)">getRandomInt</a></span>&#8203;(int&nbsp;minValue,
2018-11-06 11:46:01 +00:00
int&nbsp;maxValue)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i18" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSimpleRandomGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int,boolean,boolean,boolean)">getSimpleRandomGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
int&nbsp;numNodes,
int&nbsp;numEdges,
boolean&nbsp;allowSelfLoops,
boolean&nbsp;allowMultipleEdges,
2018-11-06 11:46:01 +00:00
boolean&nbsp;forceConnected)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Generates a random graph</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i19" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSimpleRandomTree(com.mxgraph.analysis.mxAnalysisGraph,int)">getSimpleRandomTree</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2018-11-06 11:46:01 +00:00
int&nbsp;vertexCount)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Generates a random tree graph</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i20" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStarGraph(com.mxgraph.analysis.mxAnalysisGraph,int)">getStarGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2018-11-06 11:46:01 +00:00
int&nbsp;numVertices)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i21" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>int[]</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVertexGridCoords(int,int,int)">getVertexGridCoords</a></span>&#8203;(int&nbsp;xDim,
2014-04-01 11:30:48 +00:00
int&nbsp;yDim,
2018-11-06 11:46:01 +00:00
int&nbsp;value)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">use this only with the grid graph, and various chess-board graphs, because of vertex ordering</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i22" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWheelGraph(com.mxgraph.analysis.mxAnalysisGraph,int)">getWheelGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2018-11-06 11:46:01 +00:00
int&nbsp;numVertices)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i23" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWindmillGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">getWindmillGraph</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
int&nbsp;numBranches,
2018-11-06 11:46:01 +00:00
int&nbsp;branchSize)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i24" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#oneSpanningTree(com.mxgraph.analysis.mxAnalysisGraph,boolean,boolean)">oneSpanningTree</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
boolean&nbsp;forceConnected,
2018-11-06 11:46:01 +00:00
boolean&nbsp;forceSimple)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i25" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBipartiteGraphSpacing(com.mxgraph.analysis.mxAnalysisGraph,int,int,double,double)">setBipartiteGraphSpacing</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
int&nbsp;numVerticesGroup1,
int&nbsp;numVerticesGroup2,
double&nbsp;vertexSpacing,
2018-11-06 11:46:01 +00:00
double&nbsp;groupSpacing)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the physical spacing between vertices in a bipartite graph.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i26" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCostFunction(com.mxgraph.costfunction.mxCostFunction)">setCostFunction</a></span>&#8203;(<a href="../costfunction/mxCostFunction.html" title="class in com.mxgraph.costfunction">mxCostFunction</a>&nbsp;costFunction)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i27" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setGridGraphSpacing(com.mxgraph.analysis.mxAnalysisGraph,double,double,int,int)">setGridGraphSpacing</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
double&nbsp;xSpacing,
double&nbsp;ySpacing,
int&nbsp;numColumns,
2018-11-06 11:46:01 +00:00
int&nbsp;numRows)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the physical spacing between vertices in a grid graph.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i28" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPathGraphSpacing(com.mxgraph.analysis.mxAnalysisGraph,double)">setPathGraphSpacing</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2018-11-06 11:46:01 +00:00
double&nbsp;spacing)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the physical spacing between vertices in a path graph.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i29" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setStarGraphLayout(com.mxgraph.analysis.mxAnalysisGraph,double)">setStarGraphLayout</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2018-11-06 11:46:01 +00:00
double&nbsp;graphSize)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the physical size of a star graph.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i30" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setWindmillGraphLayout(com.mxgraph.analysis.mxAnalysisGraph,int,int,double)">setWindmillGraphLayout</a></span>&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2014-04-01 11:30:48 +00:00
int&nbsp;numBranches,
int&nbsp;numVerticesInBranch,
2018-11-06 11:46:01 +00:00
double&nbsp;graphSize)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Sets the layout of a windmill graph.</div>
</td>
</tr>
</table>
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2017-11-24 16:16:54 +00:00
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
2014-04-01 11:30:48 +00:00
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
2012-12-18 13:09:38 +00:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="constructor.detail">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Constructor Detail</h3>
2019-07-02 06:45:58 +00:00
<a id="&lt;init&gt;(com.mxgraph.generatorfunction.mxGeneratorFunction,com.mxgraph.costfunction.mxCostFunction)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>mxGraphGenerator</h4>
2019-07-02 06:45:58 +00:00
<pre>public&nbsp;mxGraphGenerator&#8203;(<a href="../generatorfunction/mxGeneratorFunction.html" title="class in com.mxgraph.generatorfunction">mxGeneratorFunction</a>&nbsp;generatorFunction,
<a href="../costfunction/mxCostFunction.html" title="class in com.mxgraph.costfunction">mxCostFunction</a>&nbsp;costFunction)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2012-12-18 13:09:38 +00:00
<!-- ============ METHOD DETAIL ========== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="method.detail">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Method Detail</h3>
2019-07-02 06:45:58 +00:00
<a id="getNullGraph(com.mxgraph.analysis.mxAnalysisGraph,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNullGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getNullGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numVertices)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numVertexes</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getCompleteGraph(com.mxgraph.analysis.mxAnalysisGraph,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCompleteGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getCompleteGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numVertices)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numVertices</code> - number of vertices</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getGridGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGridGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getGridGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numColumns,
int&nbsp;numRows)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numRows</code> - - number of rows in the grid graph</dd>
<dd><code>numColumns</code> - - number of columns in the grid graph</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setGridGraphSpacing(com.mxgraph.analysis.mxAnalysisGraph,double,double,int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGridGraphSpacing</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;setGridGraphSpacing&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
double&nbsp;xSpacing,
double&nbsp;ySpacing,
int&nbsp;numColumns,
int&nbsp;numRows)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the physical spacing between vertices in a grid graph. This works for now only for a graph generated with mxGraphCreator.getGridGraph() only after creating the graph</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>xSpacing</code> - - horizontal spacing between vertices</dd>
<dd><code>ySpacing</code> - - vertical spacing between vertices</dd>
<dd><code>numRows</code> - - number of rows in the grid graph</dd>
<dd><code>numColumns</code> - - number of columns in the grid graph</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getBipartiteGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBipartiteGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getBipartiteGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numVerticesGroup1,
int&nbsp;numVerticesGroup2)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numVerticesGroup1</code> - number of vertices in group 1</dd>
<dd><code>numVerticesGroup2</code> - number of vertices in group 2</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setBipartiteGraphSpacing(com.mxgraph.analysis.mxAnalysisGraph,int,int,double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBipartiteGraphSpacing</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;setBipartiteGraphSpacing&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numVerticesGroup1,
int&nbsp;numVerticesGroup2,
double&nbsp;vertexSpacing,
double&nbsp;groupSpacing)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the physical spacing between vertices in a bipartite graph. This works for now only for a graph generated with mxGraphCreator.getBipartiteGraph()
only after creating the graph</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numVerticesGroup1</code> - - number of vertices in group 1</dd>
<dd><code>numVerticesGroup2</code> - - number of vertices in group 2</dd>
<dd><code>vertexSpacing</code> - - vertical spacing between vertices in the same group</dd>
<dd><code>groupSpacing</code> - - spacing between groups</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getCompleteBipartiteGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCompleteBipartiteGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getCompleteBipartiteGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numVerticesGroup1,
int&nbsp;numVerticesGroup2)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numVerticesGroup1</code> - number of vertices in group 1</dd>
<dd><code>numVerticesGroup2</code> - number of vertices in group 2</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getKnightGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKnightGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getKnightGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;xDim,
int&nbsp;yDim)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>xDim</code> - </dd>
<dd><code>yDim</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getKnightMoveVertexes(com.mxgraph.analysis.mxAnalysisGraph,int,int,int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKnightMoveVertexes</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object[]&nbsp;getKnightMoveVertexes&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2017-11-24 16:16:54 +00:00
int&nbsp;xDim,
int&nbsp;yDim,
int&nbsp;xCoord,
int&nbsp;yCoord)</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>xDim</code> - x dimension of chess-board, size starts from 1</dd>
<dd><code>yDim</code> - y dimension of chess-board, size starts from 1</dd>
<dd><code>xCoord</code> - x coordinate on the chess-board, coordinate starts from 1</dd>
<dd><code>yCoord</code> - y coordinate on the chess-board, coordinate starts from 1</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a list of ALL vertexes which would be valid moves from the current position, regardless if they were visited or not
Note that both dimensions and both coordinates must be positive</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getVertexGridCoords(int,int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVertexGridCoords</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;int[]&nbsp;getVertexGridCoords&#8203;(int&nbsp;xDim,
2016-06-02 09:57:18 +00:00
int&nbsp;yDim,
int&nbsp;value)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">use this only with the grid graph, and various chess-board graphs, because of vertex ordering</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>xDim</code> - x dimension of chess-board, size starts from 1</dd>
<dd><code>yDim</code> - y dimension of chess-board, size starts from 1</dd>
<dd><code>value</code> - value of the vertex that needs coordinates returned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>int[x,y] where x and y are the coordinates in the grid or chess-board
Note that both dimensions must be positive</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getKingGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKingGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getKingGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;xDim,
int&nbsp;yDim)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>xDim</code> - </dd>
<dd><code>yDim</code> - </dd>
<dd><code>weights</code> - Return a king graph of size <b>xDim</b> x <b>yDim</b>
Note that the minimum size is 4x4</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getKingMoveVertexes(com.mxgraph.analysis.mxAnalysisGraph,int,int,int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKingMoveVertexes</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object[]&nbsp;getKingMoveVertexes&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2017-11-24 16:16:54 +00:00
int&nbsp;xDim,
int&nbsp;yDim,
int&nbsp;xCoord,
int&nbsp;yCoord)</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>xDim</code> - x dimension of the chessboard</dd>
<dd><code>yDim</code> - y dimension of the chessboard</dd>
<dd><code>xCoord</code> - the current x position of the king</dd>
<dd><code>yCoord</code> - the current y position of the king</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of all possible moves of a king from the specified position
Note that both dimensions and both coordinates must be positive</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getPetersenGraph(com.mxgraph.analysis.mxAnalysisGraph)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPetersenGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getPetersenGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph)</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - Returns a Petersen graph</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getPathGraph(com.mxgraph.analysis.mxAnalysisGraph,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPathGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getPathGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numVertices)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numVertices</code> - Returns a path graph</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setPathGraphSpacing(com.mxgraph.analysis.mxAnalysisGraph,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPathGraphSpacing</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;setPathGraphSpacing&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
double&nbsp;spacing)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the physical spacing between vertices in a path graph. This works for now only for a graph generated with mxGraphCreator.getPathGraph()
only after creating the graph</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>spacing</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getStarGraph(com.mxgraph.analysis.mxAnalysisGraph,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStarGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getStarGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numVertices)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numVertices</code> - Returns a star graph
Note that minimum vertex number is 4</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setStarGraphLayout(com.mxgraph.analysis.mxAnalysisGraph,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStarGraphLayout</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;setStarGraphLayout&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
double&nbsp;graphSize)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the physical size of a star graph. This works for now only for a graph generated with mxGraphCreator.getStarGraph() and getWheelGraph()</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>graphSize</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getWheelGraph(com.mxgraph.analysis.mxAnalysisGraph,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWheelGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getWheelGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numVertices)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numVertices</code> - Returns a wheel graph. Note that numVertices has to be at least 4.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getFriendshipWindmillGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFriendshipWindmillGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getFriendshipWindmillGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numBranches,
int&nbsp;branchSize)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numBranches</code> - number of branches (minimum >= 2)</dd>
<dd><code>branchSize</code> - number of vertices in a single branch (minimum >= 2)
Returns a friendship windmill graph (aka Dutch windmill)</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getWindmillGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWindmillGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getWindmillGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numBranches,
int&nbsp;branchSize)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numBranches</code> - - number of branches (minimum >= 2)</dd>
<dd><code>branchSize</code> - - number of vertices in a single branch (minimum >= 2)
Returns a windmill graph</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setWindmillGraphLayout(com.mxgraph.analysis.mxAnalysisGraph,int,int,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWindmillGraphLayout</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;setWindmillGraphLayout&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numBranches,
int&nbsp;numVerticesInBranch,
double&nbsp;graphSize)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Sets the layout of a windmill graph. Use this method only for graphs generated with mxGraphGenerator.getWindmillGraph() and getFriendshitWindmillGraph()</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numBranches</code> - </dd>
<dd><code>numVerticesInBranch</code> - </dd>
<dd><code>graphSize</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getSimpleRandomGraph(com.mxgraph.analysis.mxAnalysisGraph,int,int,boolean,boolean,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSimpleRandomGraph</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getSimpleRandomGraph&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;numNodes,
int&nbsp;numEdges,
boolean&nbsp;allowSelfLoops,
boolean&nbsp;allowMultipleEdges,
boolean&nbsp;forceConnected)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Generates a random graph</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>numNodes</code> - number of vertexes</dd>
<dd><code>numEdges</code> - number of edges (may be inaccurate if <b>forceConnected</b> is set to true</dd>
<dd><code>allowSelfLoops</code> - if true, there will be a chance that self loops will be generated too</dd>
<dd><code>allowMultipleEdges</code> - if true, there will be a chance that multiple edges will be generated (multiple edges between the same two vertices)</dd>
<dd><code>forceConnected</code> - if true the resulting graph will be always connected, but this may alter <b>numEdges</b></dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getSimpleRandomTree(com.mxgraph.analysis.mxAnalysisGraph,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSimpleRandomTree</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getSimpleRandomTree&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;vertexCount)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Generates a random tree graph</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>vertexCount</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getNewEdgeValue(com.mxgraph.analysis.mxAnalysisGraph)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNewEdgeValue</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Double&nbsp;getNewEdgeValue&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Creates a new edge value based on graph properties in mxAnalysisGraph. Used mostly when creating new edges during graph generation.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getGeneratorFunction(com.mxgraph.view.mxGraph,boolean,double,double)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGeneratorFunction</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public static&nbsp;<a href="../generatorfunction/mxGeneratorFunction.html" title="class in com.mxgraph.generatorfunction">mxGeneratorFunction</a>&nbsp;getGeneratorFunction&#8203;(<a href="../view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a>&nbsp;graph,
2016-06-02 09:57:18 +00:00
boolean&nbsp;weighted,
double&nbsp;minWeight,
double&nbsp;maxWeight)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>graph</code> - </dd>
<dd><code>weighted</code> - if true, the edges will be weighted, otherwise all will have default value (1.0)</dd>
<dd><code>minWeight</code> - minimum edge weight if weighted</dd>
<dd><code>maxWeight</code> - maximum edge weight if weighted</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a generator function</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getGeneratorFunction()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGeneratorFunction</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;<a href="../generatorfunction/mxGeneratorFunction.html" title="class in com.mxgraph.generatorfunction">mxGeneratorFunction</a>&nbsp;getGeneratorFunction()</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getRandomInt(int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRandomInt</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;int&nbsp;getRandomInt&#8203;(int&nbsp;minValue,
2016-06-02 09:57:18 +00:00
int&nbsp;maxValue)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minValue</code> - </dd>
<dd><code>maxValue</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a random integer in the interval [minValue, maxValue]</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="oneSpanningTree(com.mxgraph.analysis.mxAnalysisGraph,boolean,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>oneSpanningTree</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;oneSpanningTree&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
boolean&nbsp;forceConnected,
boolean&nbsp;forceSimple)
2019-07-02 06:45:58 +00:00
throws <a href="StructuralException.html" title="class in com.mxgraph.analysis">StructuralException</a></pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>graph</code> - </dd>
<dd><code>forceConnected</code> - if true, an unconnected graph is made connected</dd>
<dd><code>forceSimple</code> - if true, a non-simple graph is made simple
2012-12-18 13:09:38 +00:00
Calculates one spanning tree of graph, which doesn't have to be but can be minimal
(this is faster than minimal spanning tree, so if you need any spanning tree, use this one)
Self loops and multiple edges are automatically removed!
2014-04-01 11:30:48 +00:00
Also, unconnected graphs are made connected!</dd>
2016-06-02 09:57:18 +00:00
<dt><span class="throwsLabel">Throws:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="StructuralException.html" title="class in com.mxgraph.analysis">StructuralException</a></code> - the graph has to be simple (no self-loops and no multiple edges)</dd>
2016-06-02 09:57:18 +00:00
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getKnightTour(com.mxgraph.analysis.mxAnalysisGraph,int,int,int)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKnightTour</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;getKnightTour&#8203;(<a href="mxAnalysisGraph.html" title="class in com.mxgraph.analysis">mxAnalysisGraph</a>&nbsp;aGraph,
2016-06-02 09:57:18 +00:00
int&nbsp;xDim,
int&nbsp;yDim,
int&nbsp;startVertexValue)
2019-07-02 06:45:58 +00:00
throws <a href="StructuralException.html" title="class in com.mxgraph.analysis">StructuralException</a></pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aGraph</code> - </dd>
<dd><code>xDim</code> - x dimension of the chessboard</dd>
<dd><code>yDim</code> - y dimension of the chessboard</dd>
<dd><code>startVertexValue</code> - vertex where the tour will start</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="StructuralException.html" title="class in com.mxgraph.analysis">StructuralException</a></code> - not all size combinations are allowed, see wikipedia for a more detailed explanation
2016-06-02 09:57:18 +00:00
Returns a Knight's Tour graph</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="getCostFunction()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCostFunction</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;<a href="../costfunction/mxCostFunction.html" title="class in com.mxgraph.costfunction">mxCostFunction</a>&nbsp;getCostFunction()</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="setCostFunction(com.mxgraph.costfunction.mxCostFunction)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setCostFunction</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;void&nbsp;setCostFunction&#8203;(<a href="../costfunction/mxCostFunction.html" title="class in com.mxgraph.costfunction">mxCostFunction</a>&nbsp;costFunction)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</div>
</div>
2019-07-02 06:45:58 +00:00
</main>
2012-12-18 13:09:38 +00:00
<!-- ========= END OF CLASS DATA ========= -->
2019-07-02 06:45:58 +00:00
<footer role="contentinfo">
<nav role="navigation">
2012-12-18 13:09:38 +00:00
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2019-07-02 06:45:58 +00:00
<div class="bottomNav"><a id="navbar.bottom">
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
2019-07-02 06:45:58 +00:00
<a id="navbar.bottom.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2019-07-02 06:45:58 +00:00
<li><a href="../../../index.html">Overview</a></li>
2014-04-01 11:30:48 +00:00
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxGraphGenerator.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
2020-01-24 13:32:03 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.1.0</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
2019-07-02 06:45:58 +00:00
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
2012-12-18 13:09:38 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-12-18 13:09:38 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
2018-11-06 11:46:01 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2014-04-01 11:30:48 +00:00
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
</div>
2019-07-02 06:45:58 +00:00
<a id="skip.navbar.bottom">
2014-04-01 11:30:48 +00:00
<!-- -->
</a></div>
2012-12-18 13:09:38 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2019-07-02 06:45:58 +00:00
</nav>
2017-06-27 11:43:19 +00:00
<p class="legalCopy"><small><font size=1>Copyright (c) 2010-2017 <a href="http://www.jgraph.com/"
target="_blank">Gaudenz Alder, JGraph Ltd</a>. All rights reserved.</font></small></p>
2019-07-02 06:45:58 +00:00
</footer>
2014-04-01 11:30:48 +00:00
</body>
</html>