Package | Description |
---|---|
org.eclipse.gef4.layout |
This package provides an interface-based facade to exchange layout
information with layout algorithms (within this package), concrete
implementations of layout algorithms (
org.eclipse.gef4.layout.algorithms ), as well as listeners to hook
into the layout computation (org.eclipse.gef4.layout.listeners ). |
org.eclipse.gef4.layout.algorithms |
This package provides different implementations of concrete layout
algorithms.
|
Modifier and Type | Method and Description |
---|---|
ILayoutAlgorithm |
ILayoutContext.getDynamicLayoutAlgorithm() |
ILayoutAlgorithm |
AbstractLayoutContext.getDynamicLayoutAlgorithm() |
ILayoutAlgorithm |
ILayoutContext.getStaticLayoutAlgorithm()
Returns the static layout algorithm used to layout a newly initialized
graph or after heavy changes to it.
|
ILayoutAlgorithm |
AbstractLayoutContext.getStaticLayoutAlgorithm() |
Modifier and Type | Method and Description |
---|---|
void |
ILayoutContext.setDynamicLayoutAlgorithm(ILayoutAlgorithm algorithm)
Sets the dynamic layout algorithm for this context.
|
void |
AbstractLayoutContext.setDynamicLayoutAlgorithm(ILayoutAlgorithm dynamicLayoutAlgorithm) |
void |
ILayoutContext.setStaticLayoutAlgorithm(ILayoutAlgorithm algorithm)
Sets the static layout algorithm for this context.
|
void |
AbstractLayoutContext.setStaticLayoutAlgorithm(ILayoutAlgorithm staticLayoutAlgorithm) |
Modifier and Type | Class and Description |
---|---|
class |
BoxLayoutAlgorithm
Layout algorithm that places all elements in one column or one row, depending
on set orientation.
|
class |
CompositeLayoutAlgorithm
The
CompositeLayoutAlgorithm combines multiple
ILayoutAlgorithm s. |
class |
GridLayoutAlgorithm
The
GridLayoutAlgorithm lays out nodes in a grid. |
class |
HorizontalShiftAlgorithm
This layout shifts overlapping nodes to the right.
|
class |
RadialLayoutAlgorithm
This layout will take the given entities, apply a tree layout to them, and
then display the tree in a circular fashion with the roots in the center.
|
class |
SpaceTreeLayoutAlgorithm
Layout algorithm implementing SpaceTree.
|
class |
SpringLayoutAlgorithm
The SpringLayoutAlgorithm has its own data repository and relation
repository.
|
class |
SugiyamaLayoutAlgorithm
The SugiyamaLayoutAlgorithm class implements an algorithm to arrange a
directed graph in a layered tree-like layout.
|
class |
TreeLayoutAlgorithm
The TreeLayoutAlgorithm class implements a simple algorithm to arrange graph
nodes in a layered tree-like layout.
|
Constructor and Description |
---|
CompositeLayoutAlgorithm(ILayoutAlgorithm[] algorithms)
Constructs a new
CompositeLayoutAlgorithm that combines the given
ILayoutAlgorithm s. |
Copyright (c) 2014 itemis AG and others. All rights reserved.