Package edu.uci.ics.jung.samples
package edu.uci.ics.jung.samples
Sample applications created using JUNG, largely focused on visualization. Current features demonstrated in the samples include:
- visualization of changing graphs
- visualization animation
- layouts: BalloonLayout, TreeLayout, RadialTreeLayout
- clustering, shortest path, minimum spanning tree
- sublayouts
- label variations: orientation, position
- customization of color, shape, stroke
- on-the-fly visualization filtering
- graph editor
- vertex 'collapsing'
- multiple models, multiple views with the same model
- vertices as Icons
- magnifying lens overlay
- satellite view
-
ClassesClassDescriptionDemonstrates visualization of a graph being actively updated.A variation of AddNodeDemo that animates transitions between graph states.AnnotationsDemo<V,
E> Demonstrates annotation of graph elements.Demonstrates the visualization of a Tree using TreeLayout and BalloonLayout.This simple app demonstrates how one can use our algorithms and visualization libraries in unison.Demonstrates the use of images to represent graph vertices.A demo that shows drawn Icons as verticesDemonstrates jung support for drawing edge labels that can be positioned at any point along the edge, and can be rotated to be parallel with the edge.Shows how to create a graph editor with JUNG.Demonstrates loading (and visualizing) a graph from a GraphML file.A nested class to demo the GraphMouseListener finding the right vertices after zoom/panDemonstrates the use ofGraphZoomScrollPane
.A nested class to demo the GraphMouseListener finding the right vertices after zoom/panDemonstrates the use of images on graph edge labels.Similar to the SatelliteViewDemo, but using JInternalFrame.A variant of TreeLayoutDemo that rotates the view by 90 degrees from the default orientation.Demonstrates the use ofHyperbolicTransform
andMagnifyTransform
applied to either the model (graph layout) or the view (VisualizationViewer) The hyperbolic transform is applied in an elliptical lens that affects that part of the visualization.Demonstrates the use of images to represent graph vertices.Demonstrates a single graph with 3 layouts in 3 views.Demonstrates 3 views of one graph in one model with one layout.Demonstrates the use ofPersistentLayout
andPersistentLayoutImpl
.Shows off some of the capabilities ofPluggableRenderer
.Controls the shape, size, and aspect ratio for each vertex.Shows a RadialTreeLayout view of a Forest.SatelliteViewDemo<V,E> Demonstrates the construction of a graph visualization with a main and a satellite view.draws a grid on the SatelliteViewer's lensDemonstrates use of the shortest path algorithm and visualization of the results.Demonstrates several of the graph layout algorithms.A class that shows the minimal work necessary to load and visualize a graph.Demonstrates the AggregateLayout class.Demonstrates "collapsing"/"expanding" of a tree's subtrees.Demonsrates TreeLayout and RadialTreeLayout.Demonstrates a single graph with 2 layouts in 2 views.A demo that shows flag images as vertices, and uses unicode to render vertex labels.A demo that shows how collections of vertices can be collapsed into a single vertex.A demo that shows how collections of vertices can be collapsed into a single vertex.Demonstrates the use of images to represent graph vertices.this class exists only to provide settings to turn on/off shapes and image fill in this demo.This class exists only to provide settings to turn on/off shapes and image fill in this demo.When Vertices are picked, add a checkmark icon to the imager.A simple implementation of VertexStringer that gets Vertex labels from a MapThis demo shows how to use the vertex labels themselves as the vertex shapes.Demonstrates vertex label positioning controlled by the user.Demonstrates VisualizationImageServer.Shows a graph overlaid on a world map image.