Uses of Interface
edu.uci.ics.jung.algorithms.layout.Layout
Packages that use Layout
Package
Description
Algorithms for assigning 2D coordinates (typically used for graph visualizations)
to vertices.
Sample applications created using JUNG, largely focused on visualization.
Frameworks and mechanisms for visualizing JUNG graphs using Swing/AWT.
Visualization mechanisms related to graph layout: caching, persistence,
event-emitting, etc.
Visualization mechanisms for supporting the selection of graph elements.
Visualization mechanisms relating to rendering.
Visualization mechanisms relating to grouping or hiding specified element sets.
-
Uses of Layout in edu.uci.ics.jung.algorithms.layout
Classes in edu.uci.ics.jung.algorithms.layout that implement LayoutModifier and TypeClassDescriptionclass
AbstractLayout<V,
E> Abstract class for implementations ofLayout
.class
AggregateLayout<V,
E> ALayout
implementation that combines multiple other layouts so that they may be manipulated as one layout.class
BalloonLayout<V,
E> ALayout
implementation that assigns positions toTree
orForest
vertices using associations with nested circles ("balloons").class
CircleLayout<V,
E> ALayout
implementation that positions vertices equally spaced on a regular circle.class
DAGLayout<V,
E> An implementation ofLayout
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> Fields in edu.uci.ics.jung.algorithms.layout declared as LayoutFields in edu.uci.ics.jung.algorithms.layout with type parameters of type LayoutMethods in edu.uci.ics.jung.algorithms.layout that return LayoutMethods in edu.uci.ics.jung.algorithms.layout that return types with arguments of type LayoutMethods in edu.uci.ics.jung.algorithms.layout with parameters of type LayoutModifier and TypeMethodDescriptionGets the vertex nearest to the location of the (x,y) location selected, whose endpoints are <maxDistance
.Returns the vertex, if any, associated with (x, y).Gets the vertex nearest to the location of the (x,y) location selected, within a distance of maxDistance.Gets the vertex nearest to the location of the (x,y) location selected, within a distance ofmaxDistance
.GraphElementAccessor.getVertices
(Layout<V, E> layout, Shape rectangle) RadiusGraphElementAccessor.getVertices
(Layout<V, E> layout, Shape rectangle) void
Adds the passed layout as a sublayout, and specifies the center of where this sublayout should appear.void
Removeslayout
from this instance.void
AggregateLayout.setDelegate
(Layout<V, E> delegate) void
LayoutDecorator.setDelegate
(Layout<V, E> delegate) Constructors in edu.uci.ics.jung.algorithms.layout with parameters of type LayoutModifierConstructorDescriptionAggregateLayout
(Layout<V, E> delegate) Creates an instance backed by the specifieddelegate
.LayoutDecorator
(Layout<V, E> delegate) Creates an instance backed by the specifieddelegate
. -
Uses of Layout in edu.uci.ics.jung.samples
Fields in edu.uci.ics.jung.samples declared as LayoutModifier and TypeFieldDescriptionLensDemo.gridLayout
(package private) Layout
VertexCollapseDemo.layout
(package private) Layout
VertexCollapseDemoWithLayouts.layout
VertexLabelAsShapeDemo.layout
Methods in edu.uci.ics.jung.samples that return LayoutModifier and TypeMethodDescriptionSubLayoutDemo.getLayoutFor
(Class<CircleLayout> layoutClass, Graph<String, Number> graph) Methods in edu.uci.ics.jung.samples that return types with arguments of type Layout -
Uses of Layout in edu.uci.ics.jung.visualization
Fields in edu.uci.ics.jung.visualization declared as LayoutModifier and TypeFieldDescriptionDefaultVisualizationModel.layout
the layout algorithm currently in useMethods in edu.uci.ics.jung.visualization that return LayoutModifier and TypeMethodDescriptionBasicVisualizationServer.getGraphLayout()
DefaultVisualizationModel.getGraphLayout()
Returns the current graph layout.VisualizationModel.getGraphLayout()
VisualizationServer.getGraphLayout()
Methods in edu.uci.ics.jung.visualization with parameters of type LayoutModifier and TypeMethodDescriptionvoid
BasicVisualizationServer.setGraphLayout
(Layout<V, E> 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 600x600void
DefaultVisualizationModel.setGraphLayout
(Layout<V, E> layout, Dimension viewSize) Removes the current graph layout, and adds a new one.void
VisualizationModel.setGraphLayout
(Layout<V, E> layout) set the graph Layoutvoid
VisualizationModel.setGraphLayout
(Layout<V, E> layout, Dimension d) Sets the graph Layout and initialize the Layout size to the passed dimensions.void
VisualizationServer.setGraphLayout
(Layout<V, E> layout) Replaces the current graph layout withlayout
.Constructors in edu.uci.ics.jung.visualization with parameters of type LayoutModifierConstructorDescriptionBasicVisualizationServer
(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) -
Uses of Layout in edu.uci.ics.jung.visualization.layout
Subinterfaces of Layout in edu.uci.ics.jung.visualization.layoutModifier and TypeInterfaceDescriptioninterface
PersistentLayout<V,
E> interface for PersistentLayout Also holds a nested class Point to serialize the Vertex locationsClasses in edu.uci.ics.jung.visualization.layout that implement LayoutModifier and TypeClassDescriptionclass
CachingLayout<V,
E> A LayoutDecorator that caches locations in a clearable Map.class
A LayoutDecorator that fires ChangeEvents when certain methods are called.class
PersistentLayoutImpl<V,
E> Implementation of PersistentLayout.Fields in edu.uci.ics.jung.visualization.layout declared as LayoutModifier and TypeFieldDescriptionLayoutTransition.endLayout
BoundingRectangleCollector.layout
BoundingRectanglePaintable.layout
LayoutTransition.startLayout
LayoutTransition.transitionLayout
Constructors in edu.uci.ics.jung.visualization.layout with parameters of type LayoutModifierConstructorDescriptionBoundingRectangleCollector
(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) ObservableCachingLayout
(Layout<V, E> delegate) PersistentLayoutImpl
(Layout<V, E> layout) create an instance with a passed layout create containers for graph components -
Uses of Layout in edu.uci.ics.jung.visualization.picking
Methods in edu.uci.ics.jung.visualization.picking with parameters of type LayoutModifier and TypeMethodDescriptionGets the edge nearest to the location of the (x,y) location selected.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.Returns an edge whose shape intersects the 'pickArea' footprint of the passed x,y, coordinates.protected Collection
<E> ShapePickSupport.getFilteredEdges
(Layout<V, E> layout) protected Collection
<V> ShapePickSupport.getFilteredVertices
(Layout<V, E> layout) private Shape
ShapePickSupport.getTransformedEdgeShape
(Layout<V, E> layout, E e) Retrieves the shape template fore
and transforms it according to the positions of its endpoints inlayout
.Gets the vertex nearest to the location of the (x,y) location selected, within a distance of maxDistance.Gets the vertex nearest to the location of the (x,y) location selected, within a distance of maxDistance.Returns the vertex, if any, whose shape contains (x, y).ClosestShapePickSupport.getVertices
(Layout<V, E> layout, Shape rectangle) LayoutLensShapePickSupport.getVertices
(Layout<V, E> layout, Shape rectangle) ShapePickSupport.getVertices
(Layout<V, E> layout, Shape shape) Returns the vertices whose layout coordinates are contained inShape
.ViewLensShapePickSupport.getVertices
(Layout<V, E> layout, Shape rectangle) -
Uses of Layout in edu.uci.ics.jung.visualization.renderers
Methods in edu.uci.ics.jung.visualization.renderers with parameters of type LayoutModifier and TypeMethodDescriptionprotected void
BasicEdgeRenderer.drawSimpleEdge
(RenderContext<V, E> rc, Layout<V, E> layout, E e) Draws the edgee
, whose endpoints are at(x1,y1)
and(x2,y2)
, on the graphics contextg
.protected void
CachingEdgeRenderer.drawSimpleEdge
(RenderContext<V, E> rc, Layout<V, E> layout, E e) Draws the edgee
, whose endpoints are at(x1,y1)
and(x2,y2)
, on the graphics contextg
.protected void
ReshapingEdgeRenderer.drawSimpleEdge
(RenderContext<V, E> rc, Layout<V, E> layout, E e) Draws the edgee
, whose endpoints are at(x1,y1)
and(x2,y2)
, on the graphics contextg
.void
void
void
Renderer.EdgeLabel.NOOP.labelEdge
(RenderContext rc, Layout layout, Object e, 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.labelVertex
(RenderContext<V, E> rc, Layout<V, E> layout, V v, String label) void
Renderer.VertexLabel.NOOP.labelVertex
(RenderContext rc, Layout layout, Object v, 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
void
Renderer.Edge.NOOP.paintEdge
(RenderContext rc, Layout layout, Object e) void
protected void
BasicVertexRenderer.paintIconForVertex
(RenderContext<V, E> rc, V v, Layout<V, E> layout) Paintv
's icon ong
at(x,y)
.protected void
CachingVertexRenderer.paintIconForVertex
(RenderContext<V, E> rc, V v, Layout<V, E> layout) Paintv
's icon ong
at(x,y)
.void
BasicVertexRenderer.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
Renderer.Vertex.NOOP.paintVertex
(RenderContext rc, Layout layout, Object v) void
Renderer.Vertex.paintVertex
(RenderContext<V, E> rc, Layout<V, E> layout, V 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
void
void
BasicRenderer.renderEdge
(RenderContext<V, E> rc, Layout<V, E> layout, E e) void
Renderer.renderEdge
(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.renderEdgeLabel
(RenderContext<V, E> rc, Layout<V, E> layout, E e) void
BasicRenderer.renderVertex
(RenderContext<V, E> rc, Layout<V, E> layout, V v) void
Renderer.renderVertex
(RenderContext<V, E> rc, Layout<V, E> layout, V v) void
BasicRenderer.renderVertexLabel
(RenderContext<V, E> rc, Layout<V, E> layout, V v) void
Renderer.renderVertexLabel
(RenderContext<V, E> rc, Layout<V, E> layout, V v) -
Uses of Layout in edu.uci.ics.jung.visualization.spatial
Classes in edu.uci.ics.jung.visualization.spatial that implement LayoutModifier and TypeClassDescriptionclass
FastRenderingLayout<V,
E> break into several rectangular areas, each of which will have a reference GraphFields in edu.uci.ics.jung.visualization.spatial declared as LayoutConstructors in edu.uci.ics.jung.visualization.spatial with parameters of type Layout -
Uses of Layout in edu.uci.ics.jung.visualization.subLayout
Methods in edu.uci.ics.jung.visualization.subLayout with parameters of type Layout