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:46:50 +00:00
<!-- Generated by javadoc (11.0.5) on Fri Jan 24 13:39:46 UTC 2020 -->
2020-01-24 13:32:03 +00:00
< title > mxOrganicLayout (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="mxOrganicLayout (mxGraph 4.1.0 API Specification)";
2016-06-02 09:57:18 +00:00
}
}
catch(err) {
2012-05-21 20:32:26 +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":10,"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,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10};
2016-06-02 09:57:18 +00:00
var tabs = {65535:["t0","All 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-05-21 20:32:26 +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/mxOrganicLayout.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 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-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +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: < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#nested.class.summary" > Nested< / a > | < / li >
< li > < a href = "#field.summary" > Field< / a > | < / li >
< li > < a href = "#constructor.summary" > Constr< / a > | < / li >
< li > < a href = "#method.summary" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#field.detail" > Field< / a > | < / li >
< li > < a href = "#constructor.detail" > Constr< / a > | < / 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-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
2018-11-06 11:46:01 +00:00
< / div >
< div class = "navPadding" > < / div >
< script type = "text/javascript" > < ! - -
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
< / script >
2019-07-02 06:45:58 +00:00
< / nav >
< / header >
2012-05-21 20:32:26 +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 > < a href = "package-summary.html" > com.mxgraph.layout< / a > < / div >
2014-04-01 11:30:48 +00:00
< h2 title = "Class mxOrganicLayout" class = "title" > Class mxOrganicLayout< / 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" >
2019-07-02 06:45:58 +00:00
< li > < a href = "mxGraphLayout.html" title = "class in com.mxgraph.layout" > com.mxgraph.layout.mxGraphLayout< / a > < / li >
2014-04-01 11:30:48 +00:00
< li >
< ul class = "inheritance" >
< li > com.mxgraph.layout.mxOrganicLayout< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< dl >
< dt > All Implemented Interfaces:< / dt >
2019-07-02 06:45:58 +00:00
< dd > < code > < a href = "mxIGraphLayout.html" title = "interface in com.mxgraph.layout" > mxIGraphLayout< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< hr >
2016-06-02 09:57:18 +00:00
< pre > public class < span class = "typeNameLabel" > mxOrganicLayout< / span >
2019-07-02 06:45:58 +00:00
extends < a href = "mxGraphLayout.html" title = "class in com.mxgraph.layout" > mxGraphLayout< / a > < / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > An implementation of a simulated annealing layout, based on "Drawing Graphs
2012-05-21 20:32:26 +00:00
Nicely Using Simulated Annealing" by Davidson and Harel (1996). This
paper describes these criteria as being favourable in a graph layout: (1)
distributing nodes evenly, (2) making edge-lengths uniform, (3)
minimizing cross-crossings, and (4) keeping nodes from coming too close
to edges. These criteria are translated into energy cost functions in the
layout. Nodes or edges breaking these criteria create a larger cost function
, the total cost they contribute related to the extent that they break it.
The idea of the algorithm is to minimise the total system energy. Factors
are assigned to each of the criteria describing how important that
criteria is. Higher factors mean that those criteria are deemed to be
relatively preferable in the final layout. Most of the criteria conflict
with the others to some extent and so the setting of the factors determines
the general look of the resulting graph.
< p >
In addition to the four aesthetic criteria the concept of a border line
which induces an energy cost to nodes in proximity to the graph bounds is
introduced to attempt to restrain the graph. All of the 5 factors can be
switched on or off using the < code > isOptimize...< / code > variables.
< p >
Simulated Annealing is a force-directed layout and is one of the more
expensive, but generally effective layouts of this type. Layouts like
the spring layout only really factor in edge length and inter-node
distance being the lowest CPU intensive for the most aesthetic gain. The
additional factors are more expensive but can have very attractive results.
< p >
The main loop of the algorithm consist of processing the nodes in a
deterministic order. During the processing of each node a circle of radius
< code > moveRadius< / code > is made around the node and split into
< code > triesPerCell< / code > equal segments. Each point between neighbour
segments is determined and the new energy of the system if the node were
moved to that position calculated. Only the necessary nodes and edges are
processed new energy values resulting in quadratic performance, O(VE),
whereas calculating the total system energy would be cubic. The default
implementation only checks 8 points around the radius of the circle, as
opposed to the suggested 30 in the paper. Doubling the number of points
double the CPU load and 8 works almost as well as 30.
< p >
The < code > moveRadius< / code > replaces the temperature as the influencing
factor in the way the graph settles in later iterations. If the user does
not set the initial move radius it is set to half the maximum dimension
of the graph. Thus, in 2 iterations a node may traverse the entire graph,
and it is more sensible to find minima this way that uphill moves, which
are little more than an expensive 'tilt' method. The factor by which
the radius is multiplied by after each iteration is important, lowering
it improves performance but raising it towards 1.0 can improve the
resulting graph aesthetics. When the radius hits the minimum move radius
defined, the layout terminates. The minimum move radius should be set
a value where the move distance is too minor to be of interest.
< p >
Also, the idea of a fine tuning phase is used, as described in the paper.
This involves only calculating the edge to node distance energy cost
at the end of the algorithm since it is an expensive calculation and
it really an 'optimizating' function. < code > fineTuningRadius< / code >
defines the radius value that, when reached, causes the edge to node
distance to be calculated.
< p >
There are other special cases that are processed after each iteration.
< code > unchangedEnergyRoundTermination< / code > defines the number of
iterations, after which the layout terminates. If nothing is being moved
it is assumed a good layout has been found. In addition to this if
no nodes are moved during an iteration the move radius is halved, presuming
2014-04-01 11:30:48 +00:00
that a finer granularity is required.< / div >
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- ======== NESTED CLASS 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 = "nested.class.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Nested Class Summary< / h3 >
2019-07-02 06:45:58 +00:00
< table class = "memberSummary" >
2014-04-01 11:30:48 +00:00
< caption > < span > Nested Classes< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "col" > Class< / th >
< th class = "colLast" scope = "col" > Description< / th >
2014-04-01 11:30:48 +00:00
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > class < / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "mxOrganicLayout.CellWrapper.html" title = "class in com.mxgraph.layout" > mxOrganicLayout.CellWrapper< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Internal representation of a node or edge that holds cached information
to enable the layout to perform more quickly and to simplify the code< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2014-04-01 11:30:48 +00:00
<!-- =========== FIELD 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 = "field.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Field Summary< / h3 >
2019-07-02 06:45:58 +00:00
< table class = "memberSummary" >
2014-04-01 11:30:48 +00:00
< caption > < span > Fields< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "col" > Field< / th >
< th class = "colLast" scope = "col" > Description< / th >
2014-04-01 11:30:48 +00:00
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#approxNodeDimensions" > approxNodeDimensions< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Whether or not to use approximate node dimensions or not.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#averageNodeArea" > averageNodeArea< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > The average amount of area allocated per node.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#borderLineCostFactor" > borderLineCostFactor< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cost factor applied to energy calculations for node promixity to the
notional border of the graph.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#boundsHeight" > boundsHeight< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > The height coordinate of the final graph< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#boundsWidth" > boundsWidth< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > The width coordinate of the final graph< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#boundsX" > boundsX< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > The x coordinate of the final graph< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#boundsY" > boundsY< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > The y coordinate of the final graph< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#disableEdgeStyle" > disableEdgeStyle< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are
modified by the result.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > protected < a href = "mxOrganicLayout.CellWrapper.html" title = "class in com.mxgraph.layout" > mxOrganicLayout.CellWrapper< / a > []< / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#e" > e< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Internal models collection of edges to be laid out< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#edgeCrossingCostFactor" > edgeCrossingCostFactor< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cost factor applied to energy calculations involving edges that cross
over one another.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#edgeDistanceCostFactor" > edgeDistanceCostFactor< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cost factor applied to energy calculations involving the distance
nodes and edges.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#edgeLengthCostFactor" > edgeLengthCostFactor< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cost factor applied to energy calculations for the edge lengths.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#fineTuningRadius" > fineTuningRadius< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > The radius below which fine tuning of the layout should start
2012-05-21 20:32:26 +00:00
This involves allowing the distance between nodes and edges to be
2014-04-01 11:30:48 +00:00
taken into account in the total energy calculation.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#initialMoveRadius" > initialMoveRadius< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > The initial value of < code > moveRadius< / code > .< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isFineTuning" > isFineTuning< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Whether or not fine tuning is on.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isOptimizeBorderLine" > isOptimizeBorderLine< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Whether or not nodes will contribute an energy cost as they approach
the bound of the graph.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isOptimizeEdgeCrossing" > isOptimizeEdgeCrossing< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Whether or not edges crosses will be calculated as an energy cost
function.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isOptimizeEdgeDistance" > isOptimizeEdgeDistance< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Whether or not the distance between edge and nodes will be calculated
as an energy cost function.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isOptimizeEdgeLength" > isOptimizeEdgeLength< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Whether or not edge lengths will be calculated as an energy cost
function.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isOptimizeNodeDistribution" > isOptimizeNodeDistribution< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Whether or not node distribute will contribute an energy cost where
nodes are close together.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected int< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#iteration" > iteration< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > current iteration number of the layout< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#maxDistanceLimit" > maxDistanceLimit< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > distance limit beyond which energy costs due to object repulsive is
not calculated as it would be too insignificant< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#maxDistanceLimitSquared" > maxDistanceLimitSquared< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > cached version of < code > maxDistanceLimit< / code > squared< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected int< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#maxIterations" > maxIterations< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Limit to the number of iterations that may take place.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#minDistanceLimit" > minDistanceLimit< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > prevents from dividing with zero and from creating excessive energy
values< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#minDistanceLimitSquared" > minDistanceLimitSquared< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > cached version of < code > minDistanceLimit< / code > squared< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#minMoveRadius" > minMoveRadius< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2019-07-02 06:45:58 +00:00
< div class = "block" > when < a href = "#moveRadius" > < code > moveRadius< / code > < / a > reaches this value, the algorithm is terminated< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#moveRadius" > moveRadius< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > The current radius around each node where the next position energy
values will be calculated for a possible move< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#nodeDistributionCostFactor" > nodeDistributionCostFactor< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cost factor applied to energy calculations involving the general node
distribution of the graph.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#radiusScaleFactor" > radiusScaleFactor< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > The factor by which the < code > moveRadius< / code > is multiplied by after
every iteration.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#resetEdges" > resetEdges< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Specifies if all edge points of traversed edges should be removed.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected int< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#triesPerCell" > triesPerCell< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > determines, in how many segments the circle around cells is divided, to
find a new position for the cell.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected int< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#unchangedEnergyRoundCount" > unchangedEnergyRoundCount< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Keeps track of how many consecutive round have passed without any energy
changes< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected int< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#unchangedEnergyRoundTermination" > unchangedEnergyRoundTermination< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > The number of round of no node moves taking placed that the layout
terminates< / div >
< / td >
< / tr >
< tr class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > protected < a href = "mxOrganicLayout.CellWrapper.html" title = "class in com.mxgraph.layout" > mxOrganicLayout.CellWrapper< / a > []< / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#v" > v< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Internal models collection of nodes ( vertices ) to be laid out< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected double[]< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#xNormTry" > xNormTry< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Array of the x portion of the normalised test vectors that
are tested for a lower energy around each vertex.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected double[]< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#yNormTry" > yNormTry< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Array of the y portion of the normalised test vectors that
are tested for a lower energy around each vertex.< / div >
< / td >
< / tr >
< / table >
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "fields.inherited.from.class.com.mxgraph.layout.mxGraphLayout" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
2019-07-02 06:45:58 +00:00
< h3 > Fields inherited from class com.mxgraph.layout.< a href = "mxGraphLayout.html" title = "class in com.mxgraph.layout" > mxGraphLayout< / a > < / h3 >
< code > < a href = "mxGraphLayout.html#graph" > graph< / a > , < a href = "mxGraphLayout.html#parent" > parent< / a > , < a href = "mxGraphLayout.html#useBoundingBox" > useBoundingBox< / a > < / code > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +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" > < / 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.view.mxGraph)" > mxOrganicLayout< / a > < / span > ​ (< a href = "../view/mxGraph.html" title = "class in com.mxgraph.view" > mxGraph< / a > graph)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Constructor for mxOrganicLayout.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2019-07-02 06:45:58 +00:00
< th class = "colConstructorName" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#%3Cinit%3E(com.mxgraph.view.mxGraph,java.awt.geom.Rectangle2D)" > mxOrganicLayout< / a > < / span > ​ (< a href = "../view/mxGraph.html" title = "class in com.mxgraph.view" > mxGraph< / a > graph,
2018-11-06 11:46:01 +00:00
java.awt.geom.Rectangle2D bounds)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Constructor for mxOrganicLayout.< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +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" > < / span > < / span > < span id = "t2" class = "tableTab" > < span > < a href = "javascript:show(2);" > Instance Methods< / a > < / span > < span class = "tabEnd" > < / span > < / span > < span id = "t4" class = "tableTab" > < span > < a href = "javascript:show(8);" > Concrete Methods< / a > < / span > < span class = "tabEnd" > < / 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 > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#calcEnergyDelta(int,double,double,double,double,double,double)" > calcEnergyDelta< / a > < / span > ​ (int index,
2014-04-01 11:30:48 +00:00
double oldNodeDistribution,
double oldEdgeDistance,
double oldEdgeCrossing,
double oldBorderLine,
double oldEdgeLength,
2018-11-06 11:46:01 +00:00
double oldAdditionalFactorsEnergy)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Calculates the change in energy for the specified node.< / div >
< / td >
< / 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 = "#execute(java.lang.Object)" > execute< / a > < / span > ​ (java.lang.Object parent)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Implements < mxGraphLayout.execute > .< / div >
< / td >
< / 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 > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getAdditionFactorsEnergy(int)" > getAdditionFactorsEnergy< / a > < / span > ​ (int i)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Hook method to adding additional energy factors into the layout.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i3" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getAverageNodeArea()" > getAverageNodeArea< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / 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 > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getBorderline(int)" > getBorderline< / a > < / span > ​ (int i)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > This method calculates the energy of the distance of the specified
node to the notional border of the graph.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i5" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getBorderLineCostFactor()" > getBorderLineCostFactor< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i6" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected int[]< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getConnectedEdges(int)" > getConnectedEdges< / a > < / span > ​ (int cellIndex)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns all Edges that are connected with the specified cell< / div >
< / td >
< / 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 > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getEdgeCrossing(int)" > getEdgeCrossing< / a > < / span > ​ (int i)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > This method calculates the energy of the distance from the specified
edge crossing any other edges.< / div >
< / td >
< / 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 > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getEdgeCrossingAffectedEdges(int)" > getEdgeCrossingAffectedEdges< / a > < / span > ​ (int node)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Obtains the energy cost function for the specified node being moved.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i9" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getEdgeCrossingCostFactor()" > getEdgeCrossingCostFactor< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / 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 > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getEdgeDistanceAffectedNodes(int)" > getEdgeDistanceAffectedNodes< / a > < / span > ​ (int node)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Obtains the energy cost function for the specified node being moved.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i11" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getEdgeDistanceCostFactor()" > getEdgeDistanceCostFactor< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / 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 > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getEdgeDistanceFromEdge(int)" > getEdgeDistanceFromEdge< / a > < / span > ​ (int i)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > This method calculates the energy of the distance between Cells and
Edges.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i13" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getEdgeDistanceFromNode(int)" > getEdgeDistanceFromNode< / a > < / span > ​ (int i)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > This method calculates the energy of the distance between Cells and
Edges.< / 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 > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getEdgeLength(int)" > getEdgeLength< / a > < / span > ​ (int i)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > This method calculates the energy due to the length of the specified
edge.< / div >
< / td >
< / 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 > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getEdgeLengthAffectedEdges(int)" > getEdgeLengthAffectedEdges< / a > < / span > ​ (int node)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Obtains the energy cost function for the specified node being moved.< / div >
< / td >
< / 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 > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getEdgeLengthCostFactor()" > getEdgeLengthCostFactor< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / 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 > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getFineTuningRadius()" > getFineTuningRadius< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / 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 > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getInitialMoveRadius()" > getInitialMoveRadius< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / 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 > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getMaxDistanceLimit()" > getMaxDistanceLimit< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / 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 > int< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getMaxIterations()" > getMaxIterations< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / 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 > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getMinDistanceLimit()" > getMinDistanceLimit< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / 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 > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getMinMoveRadius()" > getMinMoveRadius< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / 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 > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getNodeDistribution(int)" > getNodeDistribution< / a > < / span > ​ (int i)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Calculates the energy cost of the specified node relative to all other
nodes.< / div >
< / td >
< / 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 > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getNodeDistributionCostFactor()" > getNodeDistributionCostFactor< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / 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 > double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getRadiusScaleFactor()" > getRadiusScaleFactor< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / 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 > protected int[]< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getRelevantEdges(int)" > getRelevantEdges< / a > < / span > ​ (int cellIndex)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns all Edges that are not connected to the specified cell< / div >
< / td >
< / 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 > int< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getTriesPerCell()" > getTriesPerCell< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / 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 > int< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getUnchangedEnergyRoundTermination()" > getUnchangedEnergyRoundTermination< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / 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 > boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isApproxNodeDimensions()" > isApproxNodeDimensions< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / 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 > boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isDisableEdgeStyle()" > isDisableEdgeStyle< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i31" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isFineTuning()" > isFineTuning< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i32" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isOptimizeBorderLine()" > isOptimizeBorderLine< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i33" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isOptimizeEdgeCrossing()" > isOptimizeEdgeCrossing< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i34" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isOptimizeEdgeDistance()" > isOptimizeEdgeDistance< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i35" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isOptimizeEdgeLength()" > isOptimizeEdgeLength< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i36" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isOptimizeNodeDistribution()" > isOptimizeNodeDistribution< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i37" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isResetEdges()" > isResetEdges< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i38" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#isVertexIgnored(java.lang.Object)" > isVertexIgnored< / a > < / span > ​ (java.lang.Object vertex)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns true if the given vertex has no connected edges.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i39" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#performRound()" > performRound< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > The main round of the algorithm.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i40" 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 = "#setApproxNodeDimensions(boolean)" > setApproxNodeDimensions< / a > < / span > ​ (boolean approxNodeDimensions)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i41" 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 = "#setAverageNodeArea(double)" > setAverageNodeArea< / a > < / span > ​ (double averageNodeArea)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i42" 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 = "#setBorderLineCostFactor(double)" > setBorderLineCostFactor< / a > < / span > ​ (double borderLineCostFactor)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i43" 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 = "#setDisableEdgeStyle(boolean)" > setDisableEdgeStyle< / a > < / span > ​ (boolean disableEdgeStyle)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i44" 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 = "#setEdgeCrossingCostFactor(double)" > setEdgeCrossingCostFactor< / a > < / span > ​ (double edgeCrossingCostFactor)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i45" 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 = "#setEdgeDistanceCostFactor(double)" > setEdgeDistanceCostFactor< / a > < / span > ​ (double edgeDistanceCostFactor)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i46" 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 = "#setEdgeLengthCostFactor(double)" > setEdgeLengthCostFactor< / a > < / span > ​ (double edgeLengthCostFactor)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i47" 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 = "#setFineTuning(boolean)" > setFineTuning< / a > < / span > ​ (boolean isFineTuning)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i48" 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 = "#setFineTuningRadius(double)" > setFineTuningRadius< / a > < / span > ​ (double fineTuningRadius)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i49" 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 = "#setInitialMoveRadius(double)" > setInitialMoveRadius< / a > < / span > ​ (double initialMoveRadius)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i50" 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 = "#setMaxDistanceLimit(double)" > setMaxDistanceLimit< / a > < / span > ​ (double maxDistanceLimit)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i51" 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 = "#setMaxIterations(int)" > setMaxIterations< / a > < / span > ​ (int maxIterations)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i52" 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 = "#setMinDistanceLimit(double)" > setMinDistanceLimit< / a > < / span > ​ (double minDistanceLimit)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i53" 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 = "#setMinMoveRadius(double)" > setMinMoveRadius< / a > < / span > ​ (double minMoveRadius)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i54" 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 = "#setNodeDistributionCostFactor(double)" > setNodeDistributionCostFactor< / a > < / span > ​ (double nodeDistributionCostFactor)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i55" 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 = "#setOptimizeBorderLine(boolean)" > setOptimizeBorderLine< / a > < / span > ​ (boolean isOptimizeBorderLine)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i56" 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 = "#setOptimizeEdgeCrossing(boolean)" > setOptimizeEdgeCrossing< / a > < / span > ​ (boolean isOptimizeEdgeCrossing)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i57" 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 = "#setOptimizeEdgeDistance(boolean)" > setOptimizeEdgeDistance< / a > < / span > ​ (boolean isOptimizeEdgeDistance)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i58" 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 = "#setOptimizeEdgeLength(boolean)" > setOptimizeEdgeLength< / a > < / span > ​ (boolean isOptimizeEdgeLength)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i59" 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 = "#setOptimizeNodeDistribution(boolean)" > setOptimizeNodeDistribution< / a > < / span > ​ (boolean isOptimizeNodeDistribution)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i60" 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 = "#setRadiusScaleFactor(double)" > setRadiusScaleFactor< / a > < / span > ​ (double radiusScaleFactor)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i61" 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 = "#setResetEdges(boolean)" > setResetEdges< / a > < / span > ​ (boolean resetEdges)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i62" 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 = "#setTriesPerCell(int)" > setTriesPerCell< / a > < / span > ​ (int triesPerCell)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i63" 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 = "#setUnchangedEnergyRoundTermination(int)" > setUnchangedEnergyRoundTermination< / a > < / span > ​ (int unchangedEnergyRoundTermination)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i64" class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > java.lang.String< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#toString()" > toString< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns < code > Organic< / code > , the name of this algorithm.< / div >
< / td >
< / tr >
< / table >
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "methods.inherited.from.class.com.mxgraph.layout.mxGraphLayout" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
2019-07-02 06:45:58 +00:00
< h3 > Methods inherited from class com.mxgraph.layout.< a href = "mxGraphLayout.html" title = "class in com.mxgraph.layout" > mxGraphLayout< / a > < / h3 >
< code > < a href = "mxGraphLayout.html#arrangeGroups(java.lang.Object%5B%5D,int)" > arrangeGroups< / a > , < a href = "mxGraphLayout.html#getConstraint(java.lang.Object,java.lang.Object)" > getConstraint< / a > , < a href = "mxGraphLayout.html#getConstraint(java.lang.Object,java.lang.Object,java.lang.Object,boolean)" > getConstraint< / a > , < a href = "mxGraphLayout.html#getGraph()" > getGraph< / a > , < a href = "mxGraphLayout.html#getParentOffset(java.lang.Object)" > getParentOffset< / a > , < a href = "mxGraphLayout.html#getVertexBounds(java.lang.Object)" > getVertexBounds< / a > , < a href = "mxGraphLayout.html#isEdgeIgnored(java.lang.Object)" > isEdgeIgnored< / a > , < a href = "mxGraphLayout.html#isUseBoundingBox()" > isUseBoundingBox< / a > , < a href = "mxGraphLayout.html#isVertexMovable(java.lang.Object)" > isVertexMovable< / a > , < a href = "mxGraphLayout.html#moveCell(java.lang.Object,double,double)" > moveCell< / a > , < a href = "mxGraphLayout.html#setEdgePoints(java.lang.Object,java.util.List)" > setEdgePoints< / a > , < a href = "mxGraphLayout.html#setEdgeStyleEnabled(java.lang.Object,boolean)" > setEdgeStyleEnabled< / a > , < a href = "mxGraphLayout.html#setOrthogonalEdge(java.lang.Object,boolean)" > setOrthogonalEdge< / a > , < a href = "mxGraphLayout.html#setUseBoundingBox(boolean)" > setUseBoundingBox< / a > , < a href = "mxGraphLayout.html#setVertexLocation(java.lang.Object,double,double)" > setVertexLocation< / a > < / code > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< 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 java.lang.Object< / h3 >
< code > clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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-05-21 20:32:26 +00:00
<!-- ============ FIELD 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 = "field.detail" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Field Detail< / h3 >
2019-07-02 06:45:58 +00:00
< a id = "isOptimizeEdgeDistance" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isOptimizeEdgeDistance< / h4 >
< pre > protected boolean isOptimizeEdgeDistance< / pre >
< div class = "block" > Whether or not the distance between edge and nodes will be calculated
2012-05-21 20:32:26 +00:00
as an energy cost function. This function is CPU intensive and is best
2014-04-01 11:30:48 +00:00
only used in the fine tuning phase.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isOptimizeEdgeCrossing" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isOptimizeEdgeCrossing< / h4 >
< pre > protected boolean isOptimizeEdgeCrossing< / pre >
< div class = "block" > Whether or not edges crosses will be calculated as an energy cost
2012-05-21 20:32:26 +00:00
function. This function is CPU intensive, though if some iterations
without it are required, it is best to have a few cycles at the start
of the algorithm using it, then use it intermittantly through the rest
2014-04-01 11:30:48 +00:00
of the layout.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isOptimizeEdgeLength" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isOptimizeEdgeLength< / h4 >
< pre > protected boolean isOptimizeEdgeLength< / pre >
< div class = "block" > Whether or not edge lengths will be calculated as an energy cost
function. This function not CPU intensive.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isOptimizeBorderLine" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isOptimizeBorderLine< / h4 >
< pre > protected boolean isOptimizeBorderLine< / pre >
< div class = "block" > Whether or not nodes will contribute an energy cost as they approach
2012-05-21 20:32:26 +00:00
the bound of the graph. The cost increases to a limit close to the
border and stays constant outside the bounds of the graph. This function
2014-04-01 11:30:48 +00:00
is not CPU intensive< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isOptimizeNodeDistribution" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isOptimizeNodeDistribution< / h4 >
< pre > protected boolean isOptimizeNodeDistribution< / pre >
< div class = "block" > Whether or not node distribute will contribute an energy cost where
nodes are close together. The function is moderately CPU intensive.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "minMoveRadius" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > minMoveRadius< / h4 >
< pre > protected double minMoveRadius< / pre >
2019-07-02 06:45:58 +00:00
< div class = "block" > when < a href = "#moveRadius" > < code > moveRadius< / code > < / a > reaches this value, the algorithm is terminated< / div >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "moveRadius" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > moveRadius< / h4 >
< pre > protected double moveRadius< / pre >
< div class = "block" > The current radius around each node where the next position energy
values will be calculated for a possible move< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "initialMoveRadius" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > initialMoveRadius< / h4 >
< pre > protected double initialMoveRadius< / pre >
< div class = "block" > The initial value of < code > moveRadius< / code > . If this is set to zero
the layout will automatically determine a suitable value.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "radiusScaleFactor" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > radiusScaleFactor< / h4 >
< pre > protected double radiusScaleFactor< / pre >
< div class = "block" > The factor by which the < code > moveRadius< / code > is multiplied by after
2012-05-21 20:32:26 +00:00
every iteration. A value of 0.75 is a good balance between performance
and aesthetics. Increasing the value provides more chances to find
minimum energy positions and decreasing it causes the minimum radius
2014-04-01 11:30:48 +00:00
termination condition to occur more quickly.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "averageNodeArea" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > averageNodeArea< / h4 >
< pre > protected double averageNodeArea< / pre >
< div class = "block" > The average amount of area allocated per node. If < code > bounds< / code >
2012-05-21 20:32:26 +00:00
is not set this value mutiplied by the number of nodes to find
2014-04-01 11:30:48 +00:00
the total graph area. The graph is assumed square.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "fineTuningRadius" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > fineTuningRadius< / h4 >
< pre > protected double fineTuningRadius< / pre >
< div class = "block" > The radius below which fine tuning of the layout should start
2012-05-21 20:32:26 +00:00
This involves allowing the distance between nodes and edges to be
taken into account in the total energy calculation. If this is set to
2014-04-01 11:30:48 +00:00
zero, the layout will automatically determine a suitable value< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "maxIterations" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > maxIterations< / h4 >
< pre > protected int maxIterations< / pre >
< div class = "block" > Limit to the number of iterations that may take place. This is only
reached if one of the termination conditions does not occur first.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "edgeDistanceCostFactor" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > edgeDistanceCostFactor< / h4 >
< pre > protected double edgeDistanceCostFactor< / pre >
< div class = "block" > Cost factor applied to energy calculations involving the distance
2012-05-21 20:32:26 +00:00
nodes and edges. Increasing this value tends to cause nodes to move away
from edges, at the partial cost of other graph aesthetics.
< code > isOptimizeEdgeDistance< / code > must be true for edge to nodes
2014-04-01 11:30:48 +00:00
distances to be taken into account.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "edgeCrossingCostFactor" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > edgeCrossingCostFactor< / h4 >
< pre > protected double edgeCrossingCostFactor< / pre >
< div class = "block" > Cost factor applied to energy calculations involving edges that cross
2012-05-21 20:32:26 +00:00
over one another. Increasing this value tends to result in fewer edge
crossings, at the partial cost of other graph aesthetics.
< code > isOptimizeEdgeCrossing< / code > must be true for edge crossings
2014-04-01 11:30:48 +00:00
to be taken into account.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "nodeDistributionCostFactor" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > nodeDistributionCostFactor< / h4 >
< pre > protected double nodeDistributionCostFactor< / pre >
< div class = "block" > Cost factor applied to energy calculations involving the general node
2012-05-21 20:32:26 +00:00
distribution of the graph. Increasing this value tends to result in
a better distribution of nodes across the available space, at the
partial cost of other graph aesthetics.
< code > isOptimizeNodeDistribution< / code > must be true for this general
2014-04-01 11:30:48 +00:00
distribution to be applied.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "borderLineCostFactor" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > borderLineCostFactor< / h4 >
< pre > protected double borderLineCostFactor< / pre >
< div class = "block" > Cost factor applied to energy calculations for node promixity to the
2012-05-21 20:32:26 +00:00
notional border of the graph. Increasing this value results in
nodes tending towards the centre of the drawing space, at the
partial cost of other graph aesthetics.
< code > isOptimizeBorderLine< / code > must be true for border
2014-04-01 11:30:48 +00:00
repulsion to be applied.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "edgeLengthCostFactor" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > edgeLengthCostFactor< / h4 >
< pre > protected double edgeLengthCostFactor< / pre >
< div class = "block" > Cost factor applied to energy calculations for the edge lengths.
2012-05-21 20:32:26 +00:00
Increasing this value results in the layout attempting to shorten all
edges to the minimum edge length, at the partial cost of other graph
aesthetics.
< code > isOptimizeEdgeLength< / code > must be true for edge length
2014-04-01 11:30:48 +00:00
shortening to be applied.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "boundsX" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > boundsX< / h4 >
< pre > protected double boundsX< / pre >
< div class = "block" > The x coordinate of the final graph< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "boundsY" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > boundsY< / h4 >
< pre > protected double boundsY< / pre >
< div class = "block" > The y coordinate of the final graph< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "boundsWidth" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > boundsWidth< / h4 >
< pre > protected double boundsWidth< / pre >
< div class = "block" > The width coordinate of the final graph< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "boundsHeight" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > boundsHeight< / h4 >
< pre > protected double boundsHeight< / pre >
< div class = "block" > The height coordinate of the final graph< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "iteration" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > iteration< / h4 >
< pre > protected int iteration< / pre >
< div class = "block" > current iteration number of the layout< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "triesPerCell" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > triesPerCell< / h4 >
< pre > protected int triesPerCell< / pre >
< div class = "block" > determines, in how many segments the circle around cells is divided, to
2012-05-21 20:32:26 +00:00
find a new position for the cell. Doubling this value doubles the CPU
load. Increasing it beyond 16 might mean a change to the
< code > performRound< / code > method might further improve accuracy for a
2014-04-01 11:30:48 +00:00
small performance hit. The change is described in the method comment.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "minDistanceLimit" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > minDistanceLimit< / h4 >
< pre > protected double minDistanceLimit< / pre >
< div class = "block" > prevents from dividing with zero and from creating excessive energy
values< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "minDistanceLimitSquared" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > minDistanceLimitSquared< / h4 >
< pre > protected double minDistanceLimitSquared< / pre >
< div class = "block" > cached version of < code > minDistanceLimit< / code > squared< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "maxDistanceLimit" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > maxDistanceLimit< / h4 >
< pre > protected double maxDistanceLimit< / pre >
< div class = "block" > distance limit beyond which energy costs due to object repulsive is
not calculated as it would be too insignificant< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "maxDistanceLimitSquared" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > maxDistanceLimitSquared< / h4 >
< pre > protected double maxDistanceLimitSquared< / pre >
< div class = "block" > cached version of < code > maxDistanceLimit< / code > squared< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "unchangedEnergyRoundCount" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > unchangedEnergyRoundCount< / h4 >
< pre > protected int unchangedEnergyRoundCount< / pre >
< div class = "block" > Keeps track of how many consecutive round have passed without any energy
changes< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "unchangedEnergyRoundTermination" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > unchangedEnergyRoundTermination< / h4 >
< pre > protected int unchangedEnergyRoundTermination< / pre >
< div class = "block" > The number of round of no node moves taking placed that the layout
terminates< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "approxNodeDimensions" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > approxNodeDimensions< / h4 >
< pre > protected boolean approxNodeDimensions< / pre >
< div class = "block" > Whether or not to use approximate node dimensions or not. Set to true
2012-05-21 20:32:26 +00:00
the radius squared of the smaller dimension is used. Set to false the
radiusSquared variable of the CellWrapper contains the width squared
2014-04-01 11:30:48 +00:00
and heightSquared is used in the obvious manner.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "v" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > v< / h4 >
2019-07-02 06:45:58 +00:00
< pre > protected < a href = "mxOrganicLayout.CellWrapper.html" title = "class in com.mxgraph.layout" > mxOrganicLayout.CellWrapper< / a > [] v< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Internal models collection of nodes ( vertices ) to be laid out< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "e" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > e< / h4 >
2019-07-02 06:45:58 +00:00
< pre > protected < a href = "mxOrganicLayout.CellWrapper.html" title = "class in com.mxgraph.layout" > mxOrganicLayout.CellWrapper< / a > [] e< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Internal models collection of edges to be laid out< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "xNormTry" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > xNormTry< / h4 >
< pre > protected double[] xNormTry< / pre >
< div class = "block" > Array of the x portion of the normalised test vectors that
2012-05-21 20:32:26 +00:00
are tested for a lower energy around each vertex. The vector
of the combined x and y normals are multipled by the current
2014-04-01 11:30:48 +00:00
radius to obtain test points for each vector in the array.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "yNormTry" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > yNormTry< / h4 >
< pre > protected double[] yNormTry< / pre >
< div class = "block" > Array of the y portion of the normalised test vectors that
2012-05-21 20:32:26 +00:00
are tested for a lower energy around each vertex. The vector
of the combined x and y normals are multipled by the current
2014-04-01 11:30:48 +00:00
radius to obtain test points for each vector in the array.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isFineTuning" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isFineTuning< / h4 >
< pre > protected boolean isFineTuning< / pre >
< div class = "block" > Whether or not fine tuning is on. The determines whether or not
2012-05-21 20:32:26 +00:00
node to edge distances are calculated in the total system energy.
This cost function , besides detecting line intersection, is a
performance intensive component of this algorithm and best left
to optimization phase. < code > isFineTuning< / code > is switched to
< code > true< / code > if and when the < code > fineTuningRadius< / code >
radius is reached. Switching this variable to < code > true< / code >
before the algorithm runs mean the node to edge cost function
2014-04-01 11:30:48 +00:00
is always calculated.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "disableEdgeStyle" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > disableEdgeStyle< / h4 >
< pre > protected boolean disableEdgeStyle< / pre >
< div class = "block" > Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are
modified by the result. Default is true.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "resetEdges" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > resetEdges< / h4 >
< pre > protected boolean resetEdges< / pre >
< div class = "block" > Specifies if all edge points of traversed edges should be removed.
Default is true.< / div >
< / li >
< / ul >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +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 = "<init>(com.mxgraph.view.mxGraph)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > mxOrganicLayout< / h4 >
2019-07-02 06:45:58 +00:00
< pre > public mxOrganicLayout​ (< a href = "../view/mxGraph.html" title = "class in com.mxgraph.view" > mxGraph< / a > graph)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Constructor for mxOrganicLayout.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "<init>(com.mxgraph.view.mxGraph,java.awt.geom.Rectangle2D)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > mxOrganicLayout< / h4 >
2019-07-02 06:45:58 +00:00
< pre > public mxOrganicLayout​ (< a href = "../view/mxGraph.html" title = "class in com.mxgraph.view" > mxGraph< / a > graph,
2017-11-24 16:16:54 +00:00
java.awt.geom.Rectangle2D bounds)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Constructor for mxOrganicLayout.< / div >
< / li >
< / ul >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +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 = "isVertexIgnored(java.lang.Object)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isVertexIgnored< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public boolean isVertexIgnored​ (java.lang.Object vertex)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns true if the given vertex has no connected edges.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Overrides:< / span > < / dt >
2019-07-02 06:45:58 +00:00
< dd > < code > < a href = "mxGraphLayout.html#isVertexIgnored(java.lang.Object)" > isVertexIgnored< / a > < / code > in class < code > < a href = "mxGraphLayout.html" title = "class in com.mxgraph.layout" > mxGraphLayout< / a > < / code > < / dd >
2016-06-02 09:57:18 +00:00
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > vertex< / code > - Object that represents the vertex to be tested.< / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns true if the vertex should be ignored.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "execute(java.lang.Object)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > execute< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void execute​ (java.lang.Object parent)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Implements < mxGraphLayout.execute > .< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2019-07-02 06:45:58 +00:00
< dd > < code > < a href = "mxIGraphLayout.html#execute(java.lang.Object)" > execute< / a > < / code > in interface < code > < a href = "mxIGraphLayout.html" title = "interface in com.mxgraph.layout" > mxIGraphLayout< / a > < / code > < / dd >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Overrides:< / span > < / dt >
2019-07-02 06:45:58 +00:00
< dd > < code > < a href = "mxGraphLayout.html#execute(java.lang.Object)" > execute< / a > < / code > in class < code > < a href = "mxGraphLayout.html" title = "class in com.mxgraph.layout" > mxGraphLayout< / a > < / code > < / dd >
2016-06-02 09:57:18 +00:00
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > parent< / code > - Parent cell that contains the children to be layed out.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "performRound()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > performRound< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected void performRound()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > The main round of the algorithm. Firstly, a permutation of nodes
2012-05-21 20:32:26 +00:00
is created and worked through in that random order. Then, for each node
a number of point of a circle of radius < code > moveRadius< / code > are
selected and the total energy of the system calculated if that node
were moved to that new position. If a lower energy position is found
this is accepted and the algorithm moves onto the next node. There
may be a slightly lower energy value yet to be found, but forcing
the loop to check all possible positions adds nearly the current
processing time again, and for little benefit. Another possible
strategy would be to take account of the fact that the energy values
around the circle decrease for half the loop and increase for the
other, as a general rule. If part of the decrease were seen, then
when the energy of a node increased, the previous node position was
almost always the lowest energy position. This adds about two loop
2014-04-01 11:30:48 +00:00
iterations to the inner loop and only makes sense with 16 tries or more.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "calcEnergyDelta(int,double,double,double,double,double,double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > calcEnergyDelta< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected double calcEnergyDelta​ (int index,
2016-06-02 09:57:18 +00:00
double oldNodeDistribution,
double oldEdgeDistance,
double oldEdgeCrossing,
double oldBorderLine,
double oldEdgeLength,
double oldAdditionalFactorsEnergy)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Calculates the change in energy for the specified node. The new energy is
2012-05-21 20:32:26 +00:00
calculated from the cost function methods and the old energy values for
2014-04-01 11:30:48 +00:00
each cost function are passed in as parameters< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > index< / code > - The index of the node in the < code > vertices< / code > array< / dd >
< dd > < code > oldNodeDistribution< / code > - The previous node distribution energy cost of this node< / dd >
< dd > < code > oldEdgeDistance< / code > - The previous edge distance energy cost of this node< / dd >
< dd > < code > oldEdgeCrossing< / code > - The previous edge crossing energy cost for edges connected to
this node< / dd >
< dd > < code > oldBorderLine< / code > - The previous border line energy cost for this node< / dd >
< dd > < code > oldEdgeLength< / code > - The previous edge length energy cost for edges connected to
this node< / dd >
< dd > < code > oldAdditionalFactorsEnergy< / code > - The previous energy cost for additional factors from
2014-04-01 11:30:48 +00:00
sub-classes< / dd >
2016-06-02 09:57:18 +00:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the delta of the new energy cost to the old energy cost< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getNodeDistribution(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getNodeDistribution< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected double getNodeDistribution​ (int i)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Calculates the energy cost of the specified node relative to all other
nodes. Basically produces a higher energy the closer nodes are together.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > i< / code > - the index of the node in the array < code > v< / code > < / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the total node distribution energy of the specified node< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getBorderline(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBorderline< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected double getBorderline​ (int i)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > This method calculates the energy of the distance of the specified
2012-05-21 20:32:26 +00:00
node to the notional border of the graph. The energy increases up to
a limited maximum close to the border and stays at that maximum
2014-04-01 11:30:48 +00:00
up to and over the border.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > i< / code > - the index of the node in the array < code > v< / code > < / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the total border line energy of the specified node< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getEdgeLengthAffectedEdges(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEdgeLengthAffectedEdges< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected double getEdgeLengthAffectedEdges​ (int node)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Obtains the energy cost function for the specified node being moved.
2012-05-21 20:32:26 +00:00
This involves calling < code > getEdgeLength< / code > for all
2014-04-01 11:30:48 +00:00
edges connected to the specified node< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > node< / code > - the node whose connected edges cost functions are to be
2014-04-01 11:30:48 +00:00
calculated< / dd >
2016-06-02 09:57:18 +00:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the total edge length energy of the connected edges< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getEdgeLength(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEdgeLength< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected double getEdgeLength​ (int i)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > This method calculates the energy due to the length of the specified
2012-05-21 20:32:26 +00:00
edge. The energy is proportional to the length of the edge, making
2014-04-01 11:30:48 +00:00
shorter edges preferable in the layout.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > i< / code > - the index of the edge in the array < code > e< / code > < / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the total edge length energy of the specified edge< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getEdgeCrossingAffectedEdges(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEdgeCrossingAffectedEdges< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected double getEdgeCrossingAffectedEdges​ (int node)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Obtains the energy cost function for the specified node being moved.
2012-05-21 20:32:26 +00:00
This involves calling < code > getEdgeCrossing< / code > for all
2014-04-01 11:30:48 +00:00
edges connected to the specified node< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > node< / code > - the node whose connected edges cost functions are to be
2014-04-01 11:30:48 +00:00
calculated< / dd >
2016-06-02 09:57:18 +00:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the total edge crossing energy of the connected edges< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getEdgeCrossing(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEdgeCrossing< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected double getEdgeCrossing​ (int i)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > This method calculates the energy of the distance from the specified
2012-05-21 20:32:26 +00:00
edge crossing any other edges. Each crossing add a constant factor
2014-04-01 11:30:48 +00:00
to the total energy< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > i< / code > - the index of the edge in the array < code > e< / code > < / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the total edge crossing energy of the specified edge< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getEdgeDistanceFromNode(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEdgeDistanceFromNode< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected double getEdgeDistanceFromNode​ (int i)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > This method calculates the energy of the distance between Cells and
2012-05-21 20:32:26 +00:00
Edges. This version of the edge distance cost calculates the energy
cost from a specified < strong > node< / strong > . The distance cost to all
2014-04-01 11:30:48 +00:00
unconnected edges is calculated and the total returned.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > i< / code > - the index of the node in the array < code > v< / code > < / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the total edge distance energy of the node< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getEdgeDistanceAffectedNodes(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEdgeDistanceAffectedNodes< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected double getEdgeDistanceAffectedNodes​ (int node)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Obtains the energy cost function for the specified node being moved.
2012-05-21 20:32:26 +00:00
This involves calling < code > getEdgeDistanceFromEdge< / code > for all
2014-04-01 11:30:48 +00:00
edges connected to the specified node< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > node< / code > - the node whose connected edges cost functions are to be
2014-04-01 11:30:48 +00:00
calculated< / dd >
2016-06-02 09:57:18 +00:00
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the total edge distance energy of the connected edges< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getEdgeDistanceFromEdge(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEdgeDistanceFromEdge< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected double getEdgeDistanceFromEdge​ (int i)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > This method calculates the energy of the distance between Cells and
2012-05-21 20:32:26 +00:00
Edges. This version of the edge distance cost calculates the energy
cost from a specified < strong > edge< / strong > . The distance cost to all
2014-04-01 11:30:48 +00:00
unconnected nodes is calculated and the total returned.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > i< / code > - the index of the edge in the array < code > e< / code > < / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the total edge distance energy of the edge< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getAdditionFactorsEnergy(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getAdditionFactorsEnergy< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected double getAdditionFactorsEnergy​ (int i)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Hook method to adding additional energy factors into the layout.
Calculates the energy just for the specified node.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > i< / code > - the nodes whose energy is being calculated< / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the energy of this node caused by the additional factors< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getRelevantEdges(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getRelevantEdges< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected int[] getRelevantEdges​ (int cellIndex)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns all Edges that are not connected to the specified cell< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > cellIndex< / code > - the cell index to which the edges are not connected< / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Array of all interesting Edges< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getConnectedEdges(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getConnectedEdges< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected int[] getConnectedEdges​ (int cellIndex)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns all Edges that are connected with the specified cell< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > cellIndex< / code > - the cell index to which the edges are connected< / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Array of all connected Edges< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "toString()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > toString< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public java.lang.String toString()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns < code > Organic< / code > , the name of this algorithm.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Overrides:< / span > < / dt >
2017-11-24 16:16:54 +00:00
< dd > < code > toString< / code > in class < code > java.lang.Object< / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getAverageNodeArea()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getAverageNodeArea< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getAverageNodeArea()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the averageNodeArea.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setAverageNodeArea(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setAverageNodeArea< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setAverageNodeArea​ (double averageNodeArea)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > averageNodeArea< / code > - The averageNodeArea to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getBorderLineCostFactor()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBorderLineCostFactor< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getBorderLineCostFactor()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the borderLineCostFactor.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setBorderLineCostFactor(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setBorderLineCostFactor< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setBorderLineCostFactor​ (double borderLineCostFactor)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > borderLineCostFactor< / code > - The borderLineCostFactor to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getEdgeCrossingCostFactor()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEdgeCrossingCostFactor< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getEdgeCrossingCostFactor()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the edgeCrossingCostFactor.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setEdgeCrossingCostFactor(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setEdgeCrossingCostFactor< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setEdgeCrossingCostFactor​ (double edgeCrossingCostFactor)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > edgeCrossingCostFactor< / code > - The edgeCrossingCostFactor to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getEdgeDistanceCostFactor()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEdgeDistanceCostFactor< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getEdgeDistanceCostFactor()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the edgeDistanceCostFactor.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setEdgeDistanceCostFactor(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setEdgeDistanceCostFactor< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setEdgeDistanceCostFactor​ (double edgeDistanceCostFactor)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > edgeDistanceCostFactor< / code > - The edgeDistanceCostFactor to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getEdgeLengthCostFactor()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEdgeLengthCostFactor< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getEdgeLengthCostFactor()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the edgeLengthCostFactor.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setEdgeLengthCostFactor(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setEdgeLengthCostFactor< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setEdgeLengthCostFactor​ (double edgeLengthCostFactor)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > edgeLengthCostFactor< / code > - The edgeLengthCostFactor to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getFineTuningRadius()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getFineTuningRadius< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getFineTuningRadius()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the fineTuningRadius.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setFineTuningRadius(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setFineTuningRadius< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setFineTuningRadius​ (double fineTuningRadius)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > fineTuningRadius< / code > - The fineTuningRadius to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getInitialMoveRadius()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getInitialMoveRadius< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getInitialMoveRadius()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the initialMoveRadius.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setInitialMoveRadius(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setInitialMoveRadius< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setInitialMoveRadius​ (double initialMoveRadius)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > initialMoveRadius< / code > - The initialMoveRadius to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isFineTuning()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isFineTuning< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public boolean isFineTuning()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the isFineTuning.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setFineTuning(boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setFineTuning< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setFineTuning​ (boolean isFineTuning)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > isFineTuning< / code > - The isFineTuning to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isOptimizeBorderLine()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isOptimizeBorderLine< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public boolean isOptimizeBorderLine()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the isOptimizeBorderLine.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setOptimizeBorderLine(boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setOptimizeBorderLine< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setOptimizeBorderLine​ (boolean isOptimizeBorderLine)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > isOptimizeBorderLine< / code > - The isOptimizeBorderLine to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isOptimizeEdgeCrossing()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isOptimizeEdgeCrossing< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public boolean isOptimizeEdgeCrossing()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the isOptimizeEdgeCrossing.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setOptimizeEdgeCrossing(boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setOptimizeEdgeCrossing< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setOptimizeEdgeCrossing​ (boolean isOptimizeEdgeCrossing)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > isOptimizeEdgeCrossing< / code > - The isOptimizeEdgeCrossing to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isOptimizeEdgeDistance()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isOptimizeEdgeDistance< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public boolean isOptimizeEdgeDistance()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the isOptimizeEdgeDistance.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setOptimizeEdgeDistance(boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setOptimizeEdgeDistance< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setOptimizeEdgeDistance​ (boolean isOptimizeEdgeDistance)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > isOptimizeEdgeDistance< / code > - The isOptimizeEdgeDistance to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isOptimizeEdgeLength()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isOptimizeEdgeLength< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public boolean isOptimizeEdgeLength()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the isOptimizeEdgeLength.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setOptimizeEdgeLength(boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setOptimizeEdgeLength< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setOptimizeEdgeLength​ (boolean isOptimizeEdgeLength)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > isOptimizeEdgeLength< / code > - The isOptimizeEdgeLength to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isOptimizeNodeDistribution()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isOptimizeNodeDistribution< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public boolean isOptimizeNodeDistribution()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the isOptimizeNodeDistribution.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setOptimizeNodeDistribution(boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setOptimizeNodeDistribution< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setOptimizeNodeDistribution​ (boolean isOptimizeNodeDistribution)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > isOptimizeNodeDistribution< / code > - The isOptimizeNodeDistribution to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getMaxIterations()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMaxIterations< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public int getMaxIterations()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the maxIterations.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setMaxIterations(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setMaxIterations< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setMaxIterations​ (int maxIterations)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > maxIterations< / code > - The maxIterations to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getMinDistanceLimit()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMinDistanceLimit< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getMinDistanceLimit()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the minDistanceLimit.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setMinDistanceLimit(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setMinDistanceLimit< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setMinDistanceLimit​ (double minDistanceLimit)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > minDistanceLimit< / code > - The minDistanceLimit to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getMinMoveRadius()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMinMoveRadius< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getMinMoveRadius()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the minMoveRadius.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setMinMoveRadius(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setMinMoveRadius< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setMinMoveRadius​ (double minMoveRadius)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > minMoveRadius< / code > - The minMoveRadius to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getNodeDistributionCostFactor()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getNodeDistributionCostFactor< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getNodeDistributionCostFactor()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the nodeDistributionCostFactor.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setNodeDistributionCostFactor(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setNodeDistributionCostFactor< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setNodeDistributionCostFactor​ (double nodeDistributionCostFactor)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > nodeDistributionCostFactor< / code > - The nodeDistributionCostFactor to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getRadiusScaleFactor()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getRadiusScaleFactor< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getRadiusScaleFactor()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the radiusScaleFactor.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setRadiusScaleFactor(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setRadiusScaleFactor< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setRadiusScaleFactor​ (double radiusScaleFactor)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > radiusScaleFactor< / code > - The radiusScaleFactor to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getTriesPerCell()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getTriesPerCell< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public int getTriesPerCell()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the triesPerCell.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setTriesPerCell(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setTriesPerCell< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setTriesPerCell​ (int triesPerCell)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > triesPerCell< / code > - The triesPerCell to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getUnchangedEnergyRoundTermination()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getUnchangedEnergyRoundTermination< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public int getUnchangedEnergyRoundTermination()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the unchangedEnergyRoundTermination.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setUnchangedEnergyRoundTermination(int)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setUnchangedEnergyRoundTermination< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setUnchangedEnergyRoundTermination​ (int unchangedEnergyRoundTermination)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > unchangedEnergyRoundTermination< / code > - The unchangedEnergyRoundTermination to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getMaxDistanceLimit()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMaxDistanceLimit< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public double getMaxDistanceLimit()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > Returns the maxDistanceLimit.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setMaxDistanceLimit(double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setMaxDistanceLimit< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setMaxDistanceLimit​ (double maxDistanceLimit)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > maxDistanceLimit< / code > - The maxDistanceLimit to set.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isApproxNodeDimensions()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isApproxNodeDimensions< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public boolean isApproxNodeDimensions()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the approxNodeDimensions< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setApproxNodeDimensions(boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setApproxNodeDimensions< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setApproxNodeDimensions​ (boolean approxNodeDimensions)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > approxNodeDimensions< / code > - the approxNodeDimensions to set< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isDisableEdgeStyle()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isDisableEdgeStyle< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public boolean isDisableEdgeStyle()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the disableEdgeStyle< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setDisableEdgeStyle(boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setDisableEdgeStyle< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setDisableEdgeStyle​ (boolean disableEdgeStyle)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > disableEdgeStyle< / code > - the disableEdgeStyle to set< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "isResetEdges()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isResetEdges< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public boolean isResetEdges()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the resetEdges< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setResetEdges(boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > setResetEdges< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setResetEdges​ (boolean resetEdges)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > resetEdges< / code > - the resetEdges to set< / dd >
< / dl >
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-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
2019-07-02 06:45:58 +00:00
< footer role = "contentinfo" >
< nav role = "navigation" >
2012-05-21 20:32:26 +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/mxOrganicLayout.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 Classes< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_bottom");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +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: < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#nested.class.summary" > Nested< / a > | < / li >
< li > < a href = "#field.summary" > Field< / a > | < / li >
< li > < a href = "#constructor.summary" > Constr< / a > | < / li >
< li > < a href = "#method.summary" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#field.detail" > Field< / a > | < / li >
< li > < a href = "#constructor.detail" > Constr< / a > | < / 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-05-21 20:32:26 +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 >