Package | Description |
---|---|
edu.uci.ics.jung.algorithms.layout |
Algorithms for assigning 2D coordinates (typically used for graph visualizations)
to vertices.
|
edu.uci.ics.jung.visualization |
Frameworks and mechanisms for visualizing JUNG graphs using Swing/AWT.
|
edu.uci.ics.jung.visualization.layout |
Visualization mechanisms related to graph layout: caching, persistence,
event-emitting, etc.
|
edu.uci.ics.jung.visualization.picking |
Visualization mechanisms for supporting the selection of graph elements.
|
edu.uci.ics.jung.visualization.renderers |
Visualization mechanisms relating to rendering.
|
edu.uci.ics.jung.visualization.spatial | |
edu.uci.ics.jung.visualization.subLayout |
Visualization mechanisms relating to grouping or hiding specified element sets.
|
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 initializer,
and has no other behavior.
|
class |
TreeLayout<V,E> |
Modifier and Type | Field and Description |
---|---|
protected Layout<V,E> |
LayoutDecorator.delegate |
protected Layout<V,E> |
AggregateLayout.delegate |
Modifier and Type | Field and Description |
---|---|
protected Map<Layout<V,E>,Point2D> |
AggregateLayout.layouts |
Modifier and Type | Method and Description |
---|---|
Layout<V,E> |
LayoutDecorator.getDelegate() |
Layout<V,E> |
AggregateLayout.getDelegate() |
Modifier and Type | Method and Description |
---|---|
Map<Layout<V,E>,Point2D> |
AggregateLayout.getLayouts() |
Modifier and Type | Method and Description |
---|---|
Point2D |
AggregateLayout.get(Layout<V,E> layout) |
E |
RadiusGraphElementAccessor.getEdge(Layout<V,E> layout,
double x,
double y) |
E |
GraphElementAccessor.getEdge(Layout<V,E> layout,
double x,
double y) |
E |
RadiusGraphElementAccessor.getEdge(Layout<V,E> layout,
double x,
double y,
double maxDistance)
Gets the vertex nearest to the location of the (x,y) location selected,
whose endpoints are <
maxDistance . |
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 |
GraphElementAccessor.getVertex(Layout<V,E> layout,
double x,
double y)
Returns the vertex, if any, associated with (x, y).
|
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 . |
Collection<V> |
RadiusGraphElementAccessor.getVertices(Layout<V,E> layout,
Shape rectangle) |
Collection<V> |
GraphElementAccessor.getVertices(Layout<V,E> layout,
Shape rectangle) |
void |
AggregateLayout.put(Layout<V,E> layout,
Point2D center)
Adds the passed layout as a sublayout, and specifies
the center of where this sublayout should appear.
|
void |
AggregateLayout.remove(Layout<V,E> layout)
Removes
layout from this instance. |
void |
LayoutDecorator.setDelegate(Layout<V,E> delegate) |
void |
AggregateLayout.setDelegate(Layout<V,E> delegate) |
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 . |
Modifier and Type | Field and Description |
---|---|
protected Layout<V,E> |
DefaultVisualizationModel.layout
the layout algorithm currently in use
|
Modifier and Type | Method and Description |
---|---|
Layout<V,E> |
VisualizationServer.getGraphLayout() |
Layout<V,E> |
VisualizationModel.getGraphLayout() |
Layout<V,E> |
DefaultVisualizationModel.getGraphLayout()
Returns the current graph layout.
|
Layout<V,E> |
BasicVisualizationServer.getGraphLayout() |
Modifier and Type | Method and Description |
---|---|
void |
VisualizationServer.setGraphLayout(Layout<V,E> layout)
Replaces the current graph layout with
layout . |
void |
VisualizationModel.setGraphLayout(Layout<V,E> layout)
set the graph Layout
|
void |
DefaultVisualizationModel.setGraphLayout(Layout<V,E> layout)
set the graph Layout and if it is not already initialized, initialize
it to the default VisualizationViewer preferred size of 600x600
|
void |
BasicVisualizationServer.setGraphLayout(Layout<V,E> layout) |
void |
VisualizationModel.setGraphLayout(Layout<V,E> layout,
Dimension d)
Sets the graph Layout and initialize the Layout size to
the passed dimensions.
|
void |
DefaultVisualizationModel.setGraphLayout(Layout<V,E> layout,
Dimension viewSize)
Removes the current graph layout, and adds a new one.
|
Constructor and Description |
---|
BasicVisualizationServer(Layout<V,E> layout)
Create an instance with the specified Layout.
|
BasicVisualizationServer(Layout<V,E> layout,
Dimension preferredSize)
Create an instance with the specified Layout and view dimension.
|
DefaultVisualizationModel(Layout<V,E> layout) |
DefaultVisualizationModel(Layout<V,E> layout,
Dimension d)
Create an instance with the specified layout and dimension.
|
VisualizationImageServer(Layout<V,E> layout,
Dimension preferredSize)
Creates a new instance with the specified layout and preferred size.
|
VisualizationViewer(Layout<V,E> layout) |
VisualizationViewer(Layout<V,E> layout,
Dimension preferredSize) |
Modifier and Type | Interface and Description |
---|---|
interface |
PersistentLayout<V,E>
interface for PersistentLayout
Also holds a nested class Point to serialize the
Vertex locations
|
Modifier and Type | Class and Description |
---|---|
class |
CachingLayout<V,E>
A LayoutDecorator that caches locations in a clearable Map.
|
class |
ObservableCachingLayout<V,E>
A LayoutDecorator that fires ChangeEvents when certain methods
are called.
|
class |
PersistentLayoutImpl<V,E>
Implementation of PersistentLayout.
|
Modifier and Type | Field and Description |
---|---|
protected Layout<V,E> |
LayoutTransition.endLayout |
protected Layout<V,E> |
BoundingRectanglePaintable.layout |
protected Layout<V,E> |
BoundingRectangleCollector.layout |
protected Layout<V,E> |
LayoutTransition.startLayout |
protected Layout<V,E> |
LayoutTransition.transitionLayout |
Constructor and Description |
---|
BoundingRectangleCollector(RenderContext<V,E> rc,
Layout<V,E> layout) |
BoundingRectanglePaintable(RenderContext<V,E> rc,
Layout<V,E> layout) |
CachingLayout(Layout<V,E> delegate) |
LayoutTransition(VisualizationViewer<V,E> vv,
Layout<V,E> startLayout,
Layout<V,E> endLayout) |
LayoutTransition(VisualizationViewer<V,E> vv,
Layout<V,E> startLayout,
Layout<V,E> endLayout) |
ObservableCachingLayout(Layout<V,E> delegate) |
PersistentLayoutImpl(Layout<V,E> layout)
create an instance with a passed layout
create containers for graph components
|
Modifier and Type | Method and Description |
---|---|
E |
ViewLensShapePickSupport.getEdge(Layout<V,E> layout,
double x,
double y) |
E |
ShapePickSupport.getEdge(Layout<V,E> layout,
double x,
double y)
Returns an edge whose shape intersects the 'pickArea' footprint of the passed
x,y, coordinates.
|
E |
RadiusPickSupport.getEdge(Layout<V,E> layout,
double x,
double y)
Gets the edge nearest to the location of the (x,y) location selected.
|
E |
LayoutLensShapePickSupport.getEdge(Layout<V,E> layout,
double x,
double y) |
E |
ClosestShapePickSupport.getEdge(Layout<V,E> layout,
double x,
double y) |
E |
RadiusPickSupport.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.
|
protected Collection<E> |
ShapePickSupport.getFilteredEdges(Layout<V,E> layout) |
protected Collection<V> |
ShapePickSupport.getFilteredVertices(Layout<V,E> layout) |
V |
ViewLensShapePickSupport.getVertex(Layout<V,E> layout,
double x,
double y) |
V |
ShapePickSupport.getVertex(Layout<V,E> layout,
double x,
double y)
Returns the vertex, if any, whose shape contains (x, y).
|
V |
RadiusPickSupport.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 |
LayoutLensShapePickSupport.getVertex(Layout<V,E> layout,
double x,
double y) |
V |
ClosestShapePickSupport.getVertex(Layout<V,E> layout,
double x,
double y) |
V |
RadiusPickSupport.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.
|
Collection<V> |
ViewLensShapePickSupport.getVertices(Layout<V,E> layout,
Shape rectangle) |
Collection<V> |
ShapePickSupport.getVertices(Layout<V,E> layout,
Shape shape)
Returns the vertices whose layout coordinates are contained in
Shape . |
Collection<V> |
LayoutLensShapePickSupport.getVertices(Layout<V,E> layout,
Shape rectangle) |
Collection<V> |
ClosestShapePickSupport.getVertices(Layout<V,E> layout,
Shape rectangle) |
Modifier and Type | Method and Description |
---|---|
protected void |
ReshapingEdgeRenderer.drawSimpleEdge(RenderContext<V,E> rc,
Layout<V,E> layout,
E e)
Draws the edge
e , whose endpoints are at (x1,y1)
and (x2,y2) , on the graphics context g . |
protected void |
CachingEdgeRenderer.drawSimpleEdge(RenderContext<V,E> rc,
Layout<V,E> layout,
E e)
Draws the edge
e , whose endpoints are at (x1,y1)
and (x2,y2) , on the graphics context g . |
protected void |
BasicEdgeRenderer.drawSimpleEdge(RenderContext<V,E> rc,
Layout<V,E> layout,
E e)
Draws the edge
e , whose endpoints are at (x1,y1)
and (x2,y2) , on the graphics context g . |
void |
Renderer.EdgeLabel.labelEdge(RenderContext<V,E> rc,
Layout<V,E> layout,
E e,
String label) |
void |
BasicEdgeLabelRenderer.labelEdge(RenderContext<V,E> rc,
Layout<V,E> layout,
E e,
String label) |
void |
Renderer.EdgeLabel.NOOP.labelEdge(RenderContext rc,
Layout layout,
Object e,
String label) |
void |
VertexLabelAsShapeRenderer.labelVertex(RenderContext<V,E> rc,
Layout<V,E> layout,
V v,
String label)
Labels the specified vertex with the specified label.
|
void |
Renderer.VertexLabel.labelVertex(RenderContext<V,E> rc,
Layout<V,E> layout,
V v,
String label) |
void |
BasicVertexLabelRenderer.labelVertex(RenderContext<V,E> rc,
Layout<V,E> layout,
V v,
String label)
Labels the specified vertex with the specified label.
|
void |
Renderer.VertexLabel.NOOP.labelVertex(RenderContext rc,
Layout layout,
Object v,
String label) |
void |
Renderer.Edge.paintEdge(RenderContext<V,E> rc,
Layout<V,E> layout,
E e) |
void |
BasicEdgeRenderer.paintEdge(RenderContext<V,E> rc,
Layout<V,E> layout,
E e) |
void |
Renderer.Edge.NOOP.paintEdge(RenderContext rc,
Layout layout,
Object e) |
protected void |
CachingVertexRenderer.paintIconForVertex(RenderContext<V,E> rc,
V v,
Layout<V,E> layout)
Paint
v 's icon on g at (x,y) . |
protected void |
BasicVertexRenderer.paintIconForVertex(RenderContext<V,E> rc,
V v,
Layout<V,E> layout)
Paint
v 's icon on g at (x,y) . |
void |
Renderer.Vertex.paintVertex(RenderContext<V,E> rc,
Layout<V,E> layout,
V v) |
void |
GradientVertexRenderer.paintVertex(RenderContext<V,E> rc,
Layout<V,E> layout,
V v) |
void |
BasicVertexRenderer.paintVertex(RenderContext<V,E> rc,
Layout<V,E> layout,
V v) |
void |
Renderer.Vertex.NOOP.paintVertex(RenderContext rc,
Layout layout,
Object v) |
protected Shape |
BasicEdgeRenderer.prepareFinalEdgeShape(RenderContext<V,E> rc,
Layout<V,E> layout,
E e,
int[] coords,
boolean[] loop) |
protected Shape |
BasicVertexRenderer.prepareFinalVertexShape(RenderContext<V,E> rc,
V v,
Layout<V,E> layout,
int[] coords)
Returns the vertex shape in view coordinates.
|
void |
Renderer.render(RenderContext<V,E> rc,
Layout<V,E> layout) |
void |
BasicRenderer.render(RenderContext<V,E> renderContext,
Layout<V,E> layout) |
void |
Renderer.renderEdge(RenderContext<V,E> rc,
Layout<V,E> layout,
E e) |
void |
BasicRenderer.renderEdge(RenderContext<V,E> rc,
Layout<V,E> layout,
E e) |
void |
Renderer.renderEdgeLabel(RenderContext<V,E> rc,
Layout<V,E> layout,
E e) |
void |
BasicRenderer.renderEdgeLabel(RenderContext<V,E> rc,
Layout<V,E> layout,
E e) |
void |
Renderer.renderVertex(RenderContext<V,E> rc,
Layout<V,E> layout,
V v) |
void |
BasicRenderer.renderVertex(RenderContext<V,E> rc,
Layout<V,E> layout,
V v) |
void |
Renderer.renderVertexLabel(RenderContext<V,E> rc,
Layout<V,E> layout,
V v) |
void |
BasicRenderer.renderVertexLabel(RenderContext<V,E> rc,
Layout<V,E> layout,
V v) |
Modifier and Type | Class and Description |
---|---|
class |
FastRenderingLayout<V,E>
break into several rectangular areas, each of which will have a reference Graph
|
Modifier and Type | Field and Description |
---|---|
protected Layout<V,E> |
FastRenderingLayout.layout |
protected Layout<V,E> |
FastRenderingGraph.layout |
Constructor and Description |
---|
FastRenderingLayout(Layout<V,E> layout) |
Modifier and Type | Method and Description |
---|---|
void |
TreeCollapser.collapse(Layout layout,
Forest tree,
Object subRoot) |
Copyright © 2015. All rights reserved.