maxGraph/java/docs/com/mxgraph/layout/mxCompactTreeLayout.html

1322 lines
60 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
<html lang="en">
<head>
2018-10-08 12:01:08 +00:00
<!-- Generated by javadoc (1.8.0_171) on Mon Oct 08 11:58:18 UTC 2018 -->
<title>mxCompactTreeLayout (mxGraph 3.9.10 API Specification)</title>
<meta name="date" content="2018-10-08">
2014-04-01 11:30:48 +00:00
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
2016-06-02 09:57:18 +00:00
<script type="text/javascript" src="../../../script.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) {
2018-10-08 12:01:08 +00:00
parent.document.title="mxCompactTreeLayout (mxGraph 3.9.10 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
//-->
2016-06-02 09:57:18 +00:00
var methods = {"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};
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";
2014-04-01 11:30:48 +00:00
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2016-06-02 09:57:18 +00:00
<div class="topNav"><a name="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>
<a name="navbar.top.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxCompactTreeLayout.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>
2018-10-08 12:01:08 +00:00
<div class="aboutLanguage"><p><b>mxGraph 3.9.10</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList">
2016-06-02 09:57:18 +00:00
<li><a href="../../../com/mxgraph/layout/mxCircleLayout.html" title="class in com.mxgraph.layout"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polygon.html" title="class in com.mxgraph.layout"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/mxgraph/layout/mxCompactTreeLayout.html" target="_top">Frames</a></li>
2016-06-02 09:57:18 +00:00
<li><a href="mxCompactTreeLayout.html" target="_top">No&nbsp;Frames</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="navList" id="allclasses_navbar_top">
2016-06-02 09:57:18 +00:00
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
</div>
2016-06-02 09:57:18 +00:00
<a name="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 ========= -->
<!-- ======== START OF CLASS DATA ======== -->
2014-04-01 11:30:48 +00:00
<div class="header">
<div class="subTitle">com.mxgraph.layout</div>
<h2 title="Class mxCompactTreeLayout" class="title">Class mxCompactTreeLayout</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
2017-11-24 16:16:54 +00:00
<li>java.lang.Object</li>
2014-04-01 11:30:48 +00:00
<li>
<ul class="inheritance">
<li><a href="../../../com/mxgraph/layout/mxGraphLayout.html" title="class in com.mxgraph.layout">com.mxgraph.layout.mxGraphLayout</a></li>
<li>
<ul class="inheritance">
<li>com.mxgraph.layout.mxCompactTreeLayout</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../com/mxgraph/layout/mxIGraphLayout.html" title="interface in com.mxgraph.layout">mxIGraphLayout</a></dd>
</dl>
<hr>
<br>
2016-06-02 09:57:18 +00:00
<pre>public class <span class="typeNameLabel">mxCompactTreeLayout</span>
2014-04-01 11:30:48 +00:00
extends <a href="../../../com/mxgraph/layout/mxGraphLayout.html" title="class in com.mxgraph.layout">mxGraphLayout</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- ======== NESTED CLASS SUMMARY ======== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2016-06-02 09:57:18 +00:00
<li class="blockList"><a name="nested.class.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Nested Class Summary</h3>
2016-06-02 09:57:18 +00:00
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
2014-04-01 11:30:48 +00:00
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static class&nbsp;</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polygon.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polygon</a></span></code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static class&nbsp;</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</a></span></code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static class&nbsp;</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a></span></code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected class&nbsp;</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.WeightedCellSorter.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.WeightedCellSorter</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">A utility class used to track cells whilst sorting occurs on the weighted
sum of their connected edges.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
2016-06-02 09:57:18 +00:00
<li class="blockList"><a name="field.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Field Summary</h3>
2016-06-02 09:57:18 +00:00
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
2014-04-01 11:30:48 +00:00
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#channelBuffer">channelBuffer</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">The size of the vertical buffer in the center of inter-rank channels
where edge control points should not be placed</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#edgeRouting">edgeRouting</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">Whether or not to apply the internal tree edge routing</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#groupPadding">groupPadding</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">Padding added to resized parents</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#horizontal">horizontal</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">Specifies the orientation of the layout.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#invert">invert</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">Specifies if edge directions should be inverted.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#levelDistance">levelDistance</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">Holds the levelDistance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#minEdgeJetty">minEdgeJetty</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">The minimum distance for an edge jetty from a vertex</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#moveTree">moveTree</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">Specifies if the tree should be moved to the top, left corner
if it is inside a top-level layer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#nodeDistance">nodeDistance</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">Holds the nodeDistance.</div>
</td>
</tr>
<tr class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>protected java.util.Set&lt;java.lang.Object&gt;</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#parentsChanged">parentsChanged</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">A set of the parents that need updating based on children
process as part of the layout</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#prefHozEdgeSep">prefHozEdgeSep</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">The preferred horizontal distance between edges exiting a vertex</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#prefVertEdgeOff">prefVertEdgeOff</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">The preferred vertical offset between edges exiting a vertex</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#resetEdges">resetEdges</a></span></code>
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 boolean</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#resizeParent">resizeParent</a></span></code>
2014-04-01 11:30:48 +00:00
<div class="block">If the parents should be resized to match the width/height of the
children.</div>
</td>
</tr>
</table>
<ul class="blockList">
2016-06-02 09:57:18 +00:00
<li class="blockList"><a name="fields.inherited.from.class.com.mxgraph.layout.mxGraphLayout">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;com.mxgraph.layout.<a href="../../../com/mxgraph/layout/mxGraphLayout.html" title="class in com.mxgraph.layout">mxGraphLayout</a></h3>
<code><a href="../../../com/mxgraph/layout/mxGraphLayout.html#graph">graph</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#parent">parent</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#useBoundingBox">useBoundingBox</a></code></li>
</ul>
</li>
</ul>
2012-05-21 20:32:26 +00:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2016-06-02 09:57:18 +00:00
<li class="blockList"><a name="constructor.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Constructor Summary</h3>
2016-06-02 09:57:18 +00:00
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
2014-04-01 11:30:48 +00:00
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
2016-06-02 09:57:18 +00:00
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#mxCompactTreeLayout-com.mxgraph.view.mxGraph-">mxCompactTreeLayout</a></span>(<a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a>&nbsp;graph)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
2016-06-02 09:57:18 +00:00
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#mxCompactTreeLayout-com.mxgraph.view.mxGraph-boolean-">mxCompactTreeLayout</a></span>(<a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a>&nbsp;graph,
2014-04-01 11:30:48 +00:00
boolean&nbsp;horizontal)</code>&nbsp;</td>
</tr>
<tr class="altColor">
2016-06-02 09:57:18 +00:00
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#mxCompactTreeLayout-com.mxgraph.view.mxGraph-boolean-boolean-">mxCompactTreeLayout</a></span>(<a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a>&nbsp;graph,
2014-04-01 11:30:48 +00:00
boolean&nbsp;horizontal,
boolean&nbsp;invert)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
2012-05-21 20:32:26 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2016-06-02 09:57:18 +00:00
<li class="blockList"><a name="method.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Method Summary</h3>
2016-06-02 09:57:18 +00:00
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
2014-04-01 11:30:48 +00:00
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</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 void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#adjustParents--">adjustParents</a></span>()</code>
2014-04-01 11:30:48 +00:00
<div class="block">Adjust parent cells whose child geometries have changed.</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>protected <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#apply-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-com.mxgraph.util.mxRectangle-">apply</a></span>(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node,
2014-04-01 11:30:48 +00:00
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;bounds)</code>&nbsp;</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 void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#attachParent-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-double-">attachParent</a></span>(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node,
2014-04-01 11:30:48 +00:00
double&nbsp;height)</code>&nbsp;</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>protected <a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</a></code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#bridge-com.mxgraph.layout.mxCompactTreeLayout.Polyline-double-double-com.mxgraph.layout.mxCompactTreeLayout.Polyline-double-double-">bridge</a></span>(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</a>&nbsp;line1,
2014-04-01 11:30:48 +00:00
double&nbsp;x1,
double&nbsp;y1,
<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</a>&nbsp;line2,
double&nbsp;x2,
double&nbsp;y2)</code>&nbsp;</td>
</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 <a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</a></code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#createLine-double-double-com.mxgraph.layout.mxCompactTreeLayout.Polyline-">createLine</a></span>(double&nbsp;dx,
2014-04-01 11:30:48 +00:00
double&nbsp;dy,
<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</a>&nbsp;next)</code>&nbsp;</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>protected <a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a></code></td>
2017-11-24 16:16:54 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#createNode-java.lang.Object-">createNode</a></span>(java.lang.Object&nbsp;cell)</code>&nbsp;</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 <a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a></code></td>
2017-11-24 16:16:54 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#dfs-java.lang.Object-java.lang.Object-java.util.Set-">dfs</a></span>(java.lang.Object&nbsp;cell,
java.lang.Object&nbsp;parent,
java.util.Set&lt;java.lang.Object&gt;&nbsp;visited)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Does a depth first search starting at 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>void</code></td>
2017-11-24 16:16:54 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#execute-java.lang.Object-">execute</a></span>(java.lang.Object&nbsp;parent)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Executes the layout for the children of the specified parent.</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>void</code></td>
2017-11-24 16:16:54 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#execute-java.lang.Object-java.lang.Object-">execute</a></span>(java.lang.Object&nbsp;parent,
java.lang.Object&nbsp;root)</code>
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="i9" class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.util.List&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#findTreeRoots-java.lang.Object-boolean-">findTreeRoots</a></span>(java.lang.Object&nbsp;parent,
2014-04-01 11:30:48 +00:00
boolean&nbsp;invert)</code>
<div class="block">Returns all visible children in the given parent which do not have
incoming edges.</div>
</td>
</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>double</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#getGroupPadding--">getGroupPadding</a></span>()</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</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>int</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#getLevelDistance--">getLevelDistance</a></span>()</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i12" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>int</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#getNodeDistance--">getNodeDistance</a></span>()</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</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 <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#horizontalLayout-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-double-double-com.mxgraph.util.mxRectangle-">horizontalLayout</a></span>(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node,
2014-04-01 11:30:48 +00:00
double&nbsp;x0,
double&nbsp;y0,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;bounds)</code>&nbsp;</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>boolean</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#isEdgeRouting--">isEdgeRouting</a></span>()</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i15" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#isHorizontal--">isHorizontal</a></span>()</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i16" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#isInvert--">isInvert</a></span>()</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i17" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#isMoveTree--">isMoveTree</a></span>()</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i18" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#isResetEdges--">isResetEdges</a></span>()</code>&nbsp;</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>boolean</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#isResizeParent--">isResizeParent</a></span>()</code>&nbsp;</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>boolean</code></td>
2017-11-24 16:16:54 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#isVertexIgnored-java.lang.Object-">isVertexIgnored</a></span>(java.lang.Object&nbsp;vertex)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Returns a boolean indicating if the given <mxCell> should be ignored as a
vertex.</div>
</td>
</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>protected double</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#join-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-">join</a></span>(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node)</code>&nbsp;</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>protected void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#layout-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-">layout</a></span>(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Starts the actual compact tree layout algorithm
at the given node.</div>
</td>
</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 void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#layoutLeaf-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-">layoutLeaf</a></span>(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node)</code>&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i24" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>protected void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#localEdgeProcessing-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-">localEdgeProcessing</a></span>(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Moves the specified node and all of its children by the given amount.</div>
</td>
</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>protected double</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#merge-com.mxgraph.layout.mxCompactTreeLayout.Polygon-com.mxgraph.layout.mxCompactTreeLayout.Polygon-">merge</a></span>(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polygon.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polygon</a>&nbsp;p1,
2014-04-01 11:30:48 +00:00
<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polygon.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polygon</a>&nbsp;p2)</code>&nbsp;</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i26" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>protected void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#moveNode-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-double-double-">moveNode</a></span>(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node,
2014-04-01 11:30:48 +00:00
double&nbsp;dx,
double&nbsp;dy)</code>
<div class="block">Moves the specified node and all of its children by the given amount.</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>protected double</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#offset-double-double-double-double-double-double-">offset</a></span>(double&nbsp;p1,
2014-04-01 11:30:48 +00:00
double&nbsp;p2,
double&nbsp;a1,
double&nbsp;a2,
double&nbsp;b1,
double&nbsp;b2)</code>&nbsp;</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i28" class="altColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>protected void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#processNodeOutgoing-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-">processNodeOutgoing</a></span>(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node)</code>
2014-04-01 11:30:48 +00:00
<div class="block">Separates the x position of edges as they connect to vertices</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i29" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#setEdgeRouting-boolean-">setEdgeRouting</a></span>(boolean&nbsp;edgeRouting)</code>&nbsp;</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>void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#setGroupPadding-int-">setGroupPadding</a></span>(int&nbsp;groupPadding)</code>&nbsp;</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>void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#setHorizontal-boolean-">setHorizontal</a></span>(boolean&nbsp;horizontal)</code>&nbsp;</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>void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#setInvert-boolean-">setInvert</a></span>(boolean&nbsp;invert)</code>&nbsp;</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>void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#setLevelDistance-int-">setLevelDistance</a></span>(int&nbsp;levelDistance)</code>&nbsp;</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>void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#setMoveTree-boolean-">setMoveTree</a></span>(boolean&nbsp;moveTree)</code>&nbsp;</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>void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#setNodeDistance-int-">setNodeDistance</a></span>(int&nbsp;nodeDistance)</code>&nbsp;</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>void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#setResetEdges-boolean-">setResetEdges</a></span>(boolean&nbsp;resetEdges)</code>&nbsp;</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>void</code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#setResizeParent-boolean-">setResizeParent</a></span>(boolean&nbsp;resizeParent)</code>&nbsp;</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>protected <a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a></code></td>
2016-06-02 09:57:18 +00:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.html#verticalLayout-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-java.lang.Object-double-double-com.mxgraph.util.mxRectangle-">verticalLayout</a></span>(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;parent,
2014-04-01 11:30:48 +00:00
double&nbsp;x0,
double&nbsp;y0,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;bounds)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
2016-06-02 09:57:18 +00:00
<li class="blockList"><a name="methods.inherited.from.class.com.mxgraph.layout.mxGraphLayout">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.mxgraph.layout.<a href="../../../com/mxgraph/layout/mxGraphLayout.html" title="class in com.mxgraph.layout">mxGraphLayout</a></h3>
2016-06-02 09:57:18 +00:00
<code><a href="../../../com/mxgraph/layout/mxGraphLayout.html#arrangeGroups-java.lang.Object:A-int-">arrangeGroups</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#getConstraint-java.lang.Object-java.lang.Object-">getConstraint</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#getConstraint-java.lang.Object-java.lang.Object-java.lang.Object-boolean-">getConstraint</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#getGraph--">getGraph</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#getParentOffset-java.lang.Object-">getParentOffset</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#getVertexBounds-java.lang.Object-">getVertexBounds</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#isEdgeIgnored-java.lang.Object-">isEdgeIgnored</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#isUseBoundingBox--">isUseBoundingBox</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#isVertexMovable-java.lang.Object-">isVertexMovable</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#moveCell-java.lang.Object-double-double-">moveCell</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#setEdgePoints-java.lang.Object-java.util.List-">setEdgePoints</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#setEdgeStyleEnabled-java.lang.Object-boolean-">setEdgeStyleEnabled</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#setOrthogonalEdge-java.lang.Object-boolean-">setOrthogonalEdge</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#setUseBoundingBox-boolean-">setUseBoundingBox</a>, <a href="../../../com/mxgraph/layout/mxGraphLayout.html#setVertexLocation-java.lang.Object-double-double-">setVertexLocation</a></code></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="blockList">
2016-06-02 09:57:18 +00:00
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2017-11-24 16:16:54 +00:00
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
2014-04-01 11:30:48 +00:00
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- ============ FIELD DETAIL =========== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2016-06-02 09:57:18 +00:00
<li class="blockList"><a name="field.detail">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="horizontal">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>horizontal</h4>
<pre>protected&nbsp;boolean horizontal</pre>
<div class="block">Specifies the orientation of the layout. Default is true.</div>
</li>
</ul>
<a name="invert">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>invert</h4>
<pre>protected&nbsp;boolean invert</pre>
<div class="block">Specifies if edge directions should be inverted. Default is false.</div>
</li>
</ul>
<a name="resizeParent">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resizeParent</h4>
<pre>protected&nbsp;boolean resizeParent</pre>
<div class="block">If the parents should be resized to match the width/height of the
children. Default is true.</div>
</li>
</ul>
<a name="groupPadding">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupPadding</h4>
<pre>protected&nbsp;int groupPadding</pre>
<div class="block">Padding added to resized parents</div>
</li>
</ul>
<a name="parentsChanged">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parentsChanged</h4>
2017-11-24 16:16:54 +00:00
<pre>protected&nbsp;java.util.Set&lt;java.lang.Object&gt; parentsChanged</pre>
2014-04-01 11:30:48 +00:00
<div class="block">A set of the parents that need updating based on children
process as part of the layout</div>
</li>
</ul>
<a name="moveTree">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>moveTree</h4>
<pre>protected&nbsp;boolean moveTree</pre>
<div class="block">Specifies if the tree should be moved to the top, left corner
if it is inside a top-level layer. Default is false.</div>
</li>
</ul>
<a name="resetEdges">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetEdges</h4>
<pre>protected&nbsp;boolean resetEdges</pre>
<div class="block">Specifies if all edge points of traversed edges should be removed.
Default is true.</div>
</li>
</ul>
<a name="levelDistance">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>levelDistance</h4>
<pre>protected&nbsp;int levelDistance</pre>
<div class="block">Holds the levelDistance. Default is 10.</div>
</li>
</ul>
<a name="nodeDistance">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nodeDistance</h4>
<pre>protected&nbsp;int nodeDistance</pre>
<div class="block">Holds the nodeDistance. Default is 20.</div>
</li>
</ul>
<a name="prefHozEdgeSep">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prefHozEdgeSep</h4>
<pre>protected&nbsp;int prefHozEdgeSep</pre>
<div class="block">The preferred horizontal distance between edges exiting a vertex</div>
</li>
</ul>
<a name="prefVertEdgeOff">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prefVertEdgeOff</h4>
<pre>protected&nbsp;int prefVertEdgeOff</pre>
<div class="block">The preferred vertical offset between edges exiting a vertex</div>
</li>
</ul>
<a name="minEdgeJetty">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minEdgeJetty</h4>
<pre>protected&nbsp;int minEdgeJetty</pre>
<div class="block">The minimum distance for an edge jetty from a vertex</div>
</li>
</ul>
<a name="channelBuffer">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>channelBuffer</h4>
<pre>protected&nbsp;int channelBuffer</pre>
<div class="block">The size of the vertical buffer in the center of inter-rank channels
where edge control points should not be placed</div>
</li>
</ul>
<a name="edgeRouting">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>edgeRouting</h4>
<pre>protected&nbsp;boolean edgeRouting</pre>
<div class="block">Whether or not to apply the internal tree edge routing</div>
</li>
</ul>
</li>
</ul>
2012-05-21 20:32:26 +00:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2016-06-02 09:57:18 +00:00
<li class="blockList"><a name="constructor.detail">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Constructor Detail</h3>
2016-06-02 09:57:18 +00:00
<a name="mxCompactTreeLayout-com.mxgraph.view.mxGraph-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mxCompactTreeLayout</h4>
<pre>public&nbsp;mxCompactTreeLayout(<a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a>&nbsp;graph)</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>graph</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="mxCompactTreeLayout-com.mxgraph.view.mxGraph-boolean-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mxCompactTreeLayout</h4>
<pre>public&nbsp;mxCompactTreeLayout(<a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a>&nbsp;graph,
2016-06-02 09:57:18 +00:00
boolean&nbsp;horizontal)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>graph</code> - </dd>
<dd><code>horizontal</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="mxCompactTreeLayout-com.mxgraph.view.mxGraph-boolean-boolean-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>mxCompactTreeLayout</h4>
<pre>public&nbsp;mxCompactTreeLayout(<a href="../../../com/mxgraph/view/mxGraph.html" title="class in com.mxgraph.view">mxGraph</a>&nbsp;graph,
2016-06-02 09:57:18 +00:00
boolean&nbsp;horizontal,
boolean&nbsp;invert)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>graph</code> - </dd>
<dd><code>horizontal</code> - </dd>
<dd><code>invert</code> - </dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</li>
</ul>
2012-05-21 20:32:26 +00:00
<!-- ============ METHOD DETAIL ========== -->
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2016-06-02 09:57:18 +00:00
<li class="blockList"><a name="method.detail">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Method Detail</h3>
2016-06-02 09:57:18 +00:00
<a name="isVertexIgnored-java.lang.Object-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isVertexIgnored</h4>
2017-11-24 16:16:54 +00:00
<pre>public&nbsp;boolean&nbsp;isVertexIgnored(java.lang.Object&nbsp;vertex)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns a boolean indicating if the given <mxCell> should be ignored as a
vertex. This returns true if the cell has no connections.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../com/mxgraph/layout/mxGraphLayout.html#isVertexIgnored-java.lang.Object-">isVertexIgnored</a></code>&nbsp;in class&nbsp;<code><a href="../../../com/mxgraph/layout/mxGraphLayout.html" title="class in com.mxgraph.layout">mxGraphLayout</a></code></dd>
<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>
2016-06-02 09:57:18 +00:00
<a name="isHorizontal--">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isHorizontal</h4>
<pre>public&nbsp;boolean&nbsp;isHorizontal()</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the horizontal</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="setHorizontal-boolean-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHorizontal</h4>
<pre>public&nbsp;void&nbsp;setHorizontal(boolean&nbsp;horizontal)</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>horizontal</code> - the horizontal to set</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="isInvert--">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isInvert</h4>
<pre>public&nbsp;boolean&nbsp;isInvert()</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the invert</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="setInvert-boolean-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInvert</h4>
<pre>public&nbsp;void&nbsp;setInvert(boolean&nbsp;invert)</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>invert</code> - the invert to set</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="isResizeParent--">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isResizeParent</h4>
<pre>public&nbsp;boolean&nbsp;isResizeParent()</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the resizeParent</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="setResizeParent-boolean-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResizeParent</h4>
<pre>public&nbsp;void&nbsp;setResizeParent(boolean&nbsp;resizeParent)</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>resizeParent</code> - the resizeParent to set</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="isMoveTree--">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isMoveTree</h4>
<pre>public&nbsp;boolean&nbsp;isMoveTree()</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the moveTree</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="setMoveTree-boolean-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMoveTree</h4>
<pre>public&nbsp;void&nbsp;setMoveTree(boolean&nbsp;moveTree)</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>moveTree</code> - the moveTree to set</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="isResetEdges--">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isResetEdges</h4>
<pre>public&nbsp;boolean&nbsp;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>
2016-06-02 09:57:18 +00:00
<a name="setResetEdges-boolean-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResetEdges</h4>
<pre>public&nbsp;void&nbsp;setResetEdges(boolean&nbsp;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>
2016-06-02 09:57:18 +00:00
<a name="isEdgeRouting--">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEdgeRouting</h4>
<pre>public&nbsp;boolean&nbsp;isEdgeRouting()</pre>
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="setEdgeRouting-boolean-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEdgeRouting</h4>
<pre>public&nbsp;void&nbsp;setEdgeRouting(boolean&nbsp;edgeRouting)</pre>
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="getLevelDistance--">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLevelDistance</h4>
<pre>public&nbsp;int&nbsp;getLevelDistance()</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the levelDistance</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="setLevelDistance-int-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLevelDistance</h4>
<pre>public&nbsp;void&nbsp;setLevelDistance(int&nbsp;levelDistance)</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>levelDistance</code> - the levelDistance to set</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="getNodeDistance--">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodeDistance</h4>
<pre>public&nbsp;int&nbsp;getNodeDistance()</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the nodeDistance</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="setNodeDistance-int-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNodeDistance</h4>
<pre>public&nbsp;void&nbsp;setNodeDistance(int&nbsp;nodeDistance)</pre>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nodeDistance</code> - the nodeDistance to set</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="getGroupPadding--">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGroupPadding</h4>
<pre>public&nbsp;double&nbsp;getGroupPadding()</pre>
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="setGroupPadding-int-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGroupPadding</h4>
<pre>public&nbsp;void&nbsp;setGroupPadding(int&nbsp;groupPadding)</pre>
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="execute-java.lang.Object-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
2017-11-24 16:16:54 +00:00
<pre>public&nbsp;void&nbsp;execute(java.lang.Object&nbsp;parent)</pre>
2016-06-02 09:57:18 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../com/mxgraph/layout/mxIGraphLayout.html#execute-java.lang.Object-">mxIGraphLayout</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Executes the layout for the children of the specified parent.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/mxgraph/layout/mxIGraphLayout.html#execute-java.lang.Object-">execute</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/mxgraph/layout/mxIGraphLayout.html" title="interface in com.mxgraph.layout">mxIGraphLayout</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../com/mxgraph/layout/mxGraphLayout.html#execute-java.lang.Object-">execute</a></code>&nbsp;in class&nbsp;<code><a href="../../../com/mxgraph/layout/mxGraphLayout.html" title="class in com.mxgraph.layout">mxGraphLayout</a></code></dd>
<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>
2016-06-02 09:57:18 +00:00
<a name="execute-java.lang.Object-java.lang.Object-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
2017-11-24 16:16:54 +00:00
<pre>public&nbsp;void&nbsp;execute(java.lang.Object&nbsp;parent,
java.lang.Object&nbsp;root)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Implements <mxGraphLayout.execute>.
2012-05-21 20:32:26 +00:00
If the parent has any connected edges, then it is used as the root of
the tree. Else, <mxGraph.findTreeRoots> will be used to find a suitable
2014-04-01 11:30:48 +00:00
root node within the set of children of the given parent.</div>
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="findTreeRoots-java.lang.Object-boolean-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findTreeRoots</h4>
2017-11-24 16:16:54 +00:00
<pre>public&nbsp;java.util.List&lt;java.lang.Object&gt;&nbsp;findTreeRoots(java.lang.Object&nbsp;parent,
boolean&nbsp;invert)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Returns all visible children in the given parent which do not have
2012-05-21 20:32:26 +00:00
incoming edges. If the result is empty then the children with the
maximum difference between incoming and outgoing edges are returned.
This takes into account edges that are being promoted to the given
2014-04-01 11:30:48 +00:00
root due to invisible children or collapsed cells.</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Cell whose children should be checked.</dd>
<dd><code>invert</code> - Specifies if outgoing or incoming edges should be counted
2014-04-01 11:30:48 +00:00
for a tree root. If false then outgoing edges will be counted.</dd>
2016-06-02 09:57:18 +00:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>List of tree roots in parent.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="moveNode-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-double-double-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>moveNode</h4>
<pre>protected&nbsp;void&nbsp;moveNode(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node,
2016-06-02 09:57:18 +00:00
double&nbsp;dx,
double&nbsp;dy)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Moves the specified node and all of its children by the given amount.</div>
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="dfs-java.lang.Object-java.lang.Object-java.util.Set-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dfs</h4>
2017-11-24 16:16:54 +00:00
<pre>protected&nbsp;<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;dfs(java.lang.Object&nbsp;cell,
java.lang.Object&nbsp;parent,
java.util.Set&lt;java.lang.Object&gt;&nbsp;visited)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Does a depth first search starting at the specified cell.
2012-05-21 20:32:26 +00:00
Makes sure the specified parent is never left by the
2014-04-01 11:30:48 +00:00
algorithm.</div>
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="layout-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>layout</h4>
<pre>protected&nbsp;void&nbsp;layout(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node)</pre>
<div class="block">Starts the actual compact tree layout algorithm
at the given node.</div>
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="horizontalLayout-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-double-double-com.mxgraph.util.mxRectangle-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>horizontalLayout</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;horizontalLayout(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node,
2016-06-02 09:57:18 +00:00
double&nbsp;x0,
double&nbsp;y0,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;bounds)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="verticalLayout-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-java.lang.Object-double-double-com.mxgraph.util.mxRectangle-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>verticalLayout</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;verticalLayout(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;parent,
2016-06-02 09:57:18 +00:00
double&nbsp;x0,
double&nbsp;y0,
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;bounds)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="attachParent-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-double-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>attachParent</h4>
<pre>protected&nbsp;void&nbsp;attachParent(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node,
2016-06-02 09:57:18 +00:00
double&nbsp;height)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="layoutLeaf-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>layoutLeaf</h4>
<pre>protected&nbsp;void&nbsp;layoutLeaf(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node)</pre>
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="join-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>join</h4>
<pre>protected&nbsp;double&nbsp;join(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node)</pre>
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="merge-com.mxgraph.layout.mxCompactTreeLayout.Polygon-com.mxgraph.layout.mxCompactTreeLayout.Polygon-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>merge</h4>
<pre>protected&nbsp;double&nbsp;merge(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polygon.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polygon</a>&nbsp;p1,
2016-06-02 09:57:18 +00:00
<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polygon.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polygon</a>&nbsp;p2)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="offset-double-double-double-double-double-double-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>offset</h4>
<pre>protected&nbsp;double&nbsp;offset(double&nbsp;p1,
2016-06-02 09:57:18 +00:00
double&nbsp;p2,
double&nbsp;a1,
double&nbsp;a2,
double&nbsp;b1,
double&nbsp;b2)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="bridge-com.mxgraph.layout.mxCompactTreeLayout.Polyline-double-double-com.mxgraph.layout.mxCompactTreeLayout.Polyline-double-double-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bridge</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</a>&nbsp;bridge(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</a>&nbsp;line1,
2016-06-02 09:57:18 +00:00
double&nbsp;x1,
double&nbsp;y1,
<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</a>&nbsp;line2,
double&nbsp;x2,
double&nbsp;y2)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="createNode-java.lang.Object-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNode</h4>
2017-11-24 16:16:54 +00:00
<pre>protected&nbsp;<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;createNode(java.lang.Object&nbsp;cell)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="apply-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-com.mxgraph.util.mxRectangle-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>apply</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;apply(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node,
2016-06-02 09:57:18 +00:00
<a href="../../../com/mxgraph/util/mxRectangle.html" title="class in com.mxgraph.util">mxRectangle</a>&nbsp;bounds)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - </dd>
<dd><code>bounds</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="createLine-double-double-com.mxgraph.layout.mxCompactTreeLayout.Polyline-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createLine</h4>
<pre>protected&nbsp;<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</a>&nbsp;createLine(double&nbsp;dx,
2016-06-02 09:57:18 +00:00
double&nbsp;dy,
<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polyline.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.Polyline</a>&nbsp;next)</pre>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="adjustParents--">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>adjustParents</h4>
<pre>protected&nbsp;void&nbsp;adjustParents()</pre>
<div class="block">Adjust parent cells whose child geometries have changed. The default
2012-05-30 16:26:17 +00:00
implementation adjusts the group to just fit around the children with
2014-04-01 11:30:48 +00:00
a padding.</div>
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="localEdgeProcessing-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>localEdgeProcessing</h4>
<pre>protected&nbsp;void&nbsp;localEdgeProcessing(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node)</pre>
<div class="block">Moves the specified node and all of its children by the given amount.</div>
</li>
</ul>
2016-06-02 09:57:18 +00:00
<a name="processNodeOutgoing-com.mxgraph.layout.mxCompactTreeLayout.TreeNode-">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>processNodeOutgoing</h4>
<pre>protected&nbsp;void&nbsp;processNodeOutgoing(<a href="../../../com/mxgraph/layout/mxCompactTreeLayout.TreeNode.html" title="class in com.mxgraph.layout">mxCompactTreeLayout.TreeNode</a>&nbsp;node)</pre>
<div class="block">Separates the x position of edges as they connect to vertices</div>
2016-06-02 09:57:18 +00:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - the root node of the tree</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2016-06-02 09:57:18 +00:00
<div class="bottomNav"><a name="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>
<a name="navbar.bottom.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxCompactTreeLayout.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>
2018-10-08 12:01:08 +00:00
<div class="aboutLanguage"><p><b>mxGraph 3.9.10</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList">
2016-06-02 09:57:18 +00:00
<li><a href="../../../com/mxgraph/layout/mxCircleLayout.html" title="class in com.mxgraph.layout"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/mxgraph/layout/mxCompactTreeLayout.Polygon.html" title="class in com.mxgraph.layout"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/mxgraph/layout/mxCompactTreeLayout.html" target="_top">Frames</a></li>
2016-06-02 09:57:18 +00:00
<li><a href="mxCompactTreeLayout.html" target="_top">No&nbsp;Frames</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
2016-06-02 09:57:18 +00:00
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
2012-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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
</div>
2016-06-02 09:57:18 +00:00
<a name="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 ======= -->
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>
2014-04-01 11:30:48 +00:00
</body>
</html>