Package | Description |
---|---|
com.mxgraph.layout |
This package contains various graph layouts.
|
Modifier and Type | Field and Description |
---|---|
mxCompactTreeLayout.TreeNode |
mxCompactTreeLayout.WeightedCellSorter.cell
The cell whose median value is being calculated
|
protected mxCompactTreeLayout.TreeNode |
mxCompactTreeLayout.TreeNode.child |
protected mxCompactTreeLayout.TreeNode |
mxCompactTreeLayout.TreeNode.next |
Modifier and Type | Method and Description |
---|---|
protected mxCompactTreeLayout.TreeNode |
mxCompactTreeLayout.createNode(java.lang.Object cell) |
protected mxCompactTreeLayout.TreeNode |
mxCompactTreeLayout.dfs(java.lang.Object cell,
java.lang.Object parent,
java.util.Set<java.lang.Object> visited)
Does a depth first search starting at the specified cell.
|
Modifier and Type | Method and Description |
---|---|
protected mxRectangle |
mxCompactTreeLayout.apply(mxCompactTreeLayout.TreeNode node,
mxRectangle bounds) |
protected void |
mxCompactTreeLayout.attachParent(mxCompactTreeLayout.TreeNode node,
double height) |
protected mxRectangle |
mxCompactTreeLayout.horizontalLayout(mxCompactTreeLayout.TreeNode node,
double x0,
double y0,
mxRectangle bounds) |
protected double |
mxCompactTreeLayout.join(mxCompactTreeLayout.TreeNode node) |
protected void |
mxCompactTreeLayout.layout(mxCompactTreeLayout.TreeNode node)
Starts the actual compact tree layout algorithm
at the given node.
|
protected void |
mxCompactTreeLayout.layoutLeaf(mxCompactTreeLayout.TreeNode node) |
protected void |
mxCompactTreeLayout.localEdgeProcessing(mxCompactTreeLayout.TreeNode node)
Moves the specified node and all of its children by the given amount.
|
protected void |
mxCompactTreeLayout.moveNode(mxCompactTreeLayout.TreeNode node,
double dx,
double dy)
Moves the specified node and all of its children by the given amount.
|
protected void |
mxCompactTreeLayout.processNodeOutgoing(mxCompactTreeLayout.TreeNode node)
Separates the x position of edges as they connect to vertices
|
protected mxRectangle |
mxCompactTreeLayout.verticalLayout(mxCompactTreeLayout.TreeNode node,
java.lang.Object parent,
double x0,
double y0,
mxRectangle bounds) |
Constructor and Description |
---|
mxCompactTreeLayout.WeightedCellSorter(mxCompactTreeLayout.TreeNode cell,
int weightedValue) |
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.