Package | Description |
---|---|
edu.uci.ics.jung.algorithms.layout |
Algorithms for assigning 2D coordinates (typically used for graph visualizations)
to vertices.
|
org.girod.jgraphml.layout |
This package contains one factory class allowing to simplify applying layouts to
GraphMLDiagram graphs. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLayout<V,E>
Abstract class for implementations of
Layout . |
class |
AggregateLayout<V,E>
A
Layout implementation that combines
multiple other layouts so that they may be manipulated
as one layout. |
class |
BalloonLayout<V,E>
A
Layout implementation that assigns positions to Tree or
Forest vertices using associations with nested circles ("balloons"). |
class |
CircleLayout<V,E>
A
Layout implementation that positions vertices equally spaced on a regular circle. |
class |
DAGLayout<V,E>
An implementation of
Layout suitable for tree-like directed
acyclic graphs. |
class |
FRLayout<V,E>
Implements the Fruchterman-Reingold force-directed algorithm for node layout.
|
class |
FRLayout2<V,E>
Implements the Fruchterman-Reingold force-directed algorithm for node layout.
|
class |
ISOMLayout<V,E>
Implements a self-organizing map layout algorithm, based on Meyer's
self-organizing graph methods.
|
class |
KKLayout<V,E>
Implements the Kamada-Kawai algorithm for node layout.
|
class |
LayoutDecorator<V,E>
a pure decorator for the Layout interface.
|
class |
RadialTreeLayout<V,E>
A radial layout for Tree or Forest graphs.
|
class |
SpringLayout<V,E>
The SpringLayout package represents a visualization of a set of nodes.
|
class |
SpringLayout2<V,E>
The SpringLayout package represents a visualization of a set of nodes.
|
class |
StaticLayout<V,E>
StaticLayout places the vertices in the locations specified by its Transformer
|
class |
SugiyamaLayout<V,E>
Arranges the nodes with the Sugiyama Layout Algorithm.
|
class |
TreeLayout<V,E> |
Modifier and Type | Field and Description |
---|---|
protected Layout<V,E> |
AggregateLayout.delegate |
protected Layout<V,E> |
LayoutDecorator.delegate |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<Layout<V,E>,java.awt.geom.Point2D> |
AggregateLayout.layouts |
Modifier and Type | Method and Description |
---|---|
Layout<V,E> |
AggregateLayout.getDelegate() |
Layout<V,E> |
LayoutDecorator.getDelegate()
Returns the backing (delegate) layout.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<Layout<V,E>,java.awt.geom.Point2D> |
AggregateLayout.getLayouts()
Returns a map from each
Layout instance to its center point. |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D |
AggregateLayout.get(Layout<V,E> layout)
Returns the center of the passed layout.
|
E |
GraphElementAccessor.getEdge(Layout<V,E> layout,
double x,
double y)
Returns an edge which is associated with the
location
(x,y) . |
E |
RadiusGraphElementAccessor.getEdge(Layout<V,E> layout,
double x,
double y)
Gets the edge nearest to the location of the (x,y) location selected.
|
E |
RadiusGraphElementAccessor.getEdge(Layout<V,E> layout,
double x,
double y,
double maxDistance)
Gets the edge nearest to the location of the (x,y) location selected,
within a distance of maxDistance, Iterates through all
visible edges and checks their distance from the click.
|
V |
GraphElementAccessor.getVertex(Layout<V,E> layout,
double x,
double y)
Returns a vertex which is associated with the
location
(x,y) . |
V |
RadiusGraphElementAccessor.getVertex(Layout<V,E> layout,
double x,
double y)
Gets the vertex nearest to the location of the (x,y) location selected,
within a distance of maxDistance.
|
V |
RadiusGraphElementAccessor.getVertex(Layout<V,E> layout,
double x,
double y,
double maxDistance)
Gets the vertex nearest to the location of the (x,y) location selected,
within a distance of maxDistance.
|
java.util.Collection<V> |
GraphElementAccessor.getVertices(Layout<V,E> layout,
java.awt.Shape rectangle)
Returns the vertices contained within
rectangle relative
to layout . |
java.util.Collection<V> |
RadiusGraphElementAccessor.getVertices(Layout<V,E> layout,
java.awt.Shape rectangle) |
void |
AggregateLayout.put(Layout<V,E> layout,
java.awt.geom.Point2D center)
adds the passed layout as a sublayout, also specifying
the center of where this sublayout should appear
|
void |
AggregateLayout.remove(Layout<V,E> layout)
Removes
layout from this instance. |
void |
AggregateLayout.setDelegate(Layout<V,E> delegate) |
void |
LayoutDecorator.setDelegate(Layout<V,E> delegate)
Sets the backing (delegate) layout.
|
Constructor and Description |
---|
AggregateLayout(Layout<V,E> delegate)
Creates an instance backed by the specified
delegate . |
LayoutDecorator(Layout<V,E> delegate)
Creates an instance backed by the specified delegate layout.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphMLLayoutFactory.layout(GraphMLDiagram diagram,
Layout<IGraphMLNode,GraphMLEdge> layout)
Apply a layout on a default size.
|
void |
GraphMLLayoutFactory.layout(GraphMLDiagram diagram,
Layout<IGraphMLNode,GraphMLEdge> layout,
boolean updateEdges)
Apply a layout on a default size.
|
void |
GraphMLLayoutFactory.layout(GraphMLDiagram diagram,
Layout<IGraphMLNode,GraphMLEdge> layout,
boolean updateEdges,
java.awt.Dimension size)
Apply a layout.
|
void |
GraphMLLayoutFactory.layout(GraphMLDiagram diagram,
Layout<IGraphMLNode,GraphMLEdge> layout,
java.awt.Dimension size)
Apply a layout.
|
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence