| Package | Description |
|---|---|
| graph.layout |
Layouters which are invoked in order to lay out graphs.
|
| graph.layout.automatic |
Classes for laying graphs automatically, based on their properties.
|
| Modifier and Type | Method and Description |
|---|---|
LayoutAlgorithms |
Layouter.getAlgorithm() |
static LayoutAlgorithms |
LayoutAlgorithms.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LayoutAlgorithms[] |
LayoutAlgorithms.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractLayouter<V,E> |
LayouterFactory.createLayouter(LayoutAlgorithms algorithm)
Creates the appropriate layouter instance
|
static GraphLayoutProperties |
DefaultGraphLayoutProperties.getDefaultLayoutProperties(LayoutAlgorithms algorithm,
Graph<?,?> graph)
Sets default layout properties of the algorithm given a graph
|
void |
Layouter.setAlgorithm(LayoutAlgorithms algorithm) |
| Constructor and Description |
|---|
Layouter(java.util.List<V> vertices,
java.util.List<E> edges,
LayoutAlgorithms algorithm)
Constructs the layouter and sets lists of vertices and edges, as well
as the layout algorithm which should be used
|
Layouter(java.util.List<V> vertices,
java.util.List<E> edges,
LayoutAlgorithms algorithm,
GraphLayoutProperties layoutProperties)
Constructs the layouter and sets lists of vertices and edges, as well
as the layout algorithm which should be used and its properties
|
| Modifier and Type | Method and Description |
|---|---|
LayoutAlgorithms |
LayoutPicker.pickAlgorithm(Graph<V,E> graph)
Picks the appropriate algorithm based on the properties of the graph
|
LayoutAlgorithms |
LayoutPicker.pickAlgorithm(java.util.List<V> vertices,
java.util.List<E> edges) |