Package samples.graph

Provides sample graph code that may be of interest.

See:
          Description

Class Summary
AddNodeDemo Thanks to Brad Allen for an original inspiration for this.
BasicRenderer  
ClusteringDemo This simple app demonstrates how one can use our algorithms and visualization libraries in unison.
EdgeLabelDemo Demonstrates 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.
GraphEditorDemo Shows how easy it is to create a graph editor with JUNG.
GraphZoomScrollPaneDemo Demonstrates the use of GraphZoomScrollPane.
InternalFrameSatelliteViewDemo  
LensDemo Demonstrates the use of HyperbolicTransform and MagnifyTransform 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.
MultiViewDemo Demonstrates 3 views of one graph in one model with one layout.
PersistentLayoutDemo Demonstrates the use of PersistentLayout and PersistentLayoutImpl.
PluggableRendererDemo Shows off some of the capabilities of PluggableRenderer.
RankingDemo  
RankingDemoDriver  
SatelliteViewDemo A graph displayed in a main and a satellite view.
ShortestPathDemo  
ShortestPathDemoDriver  
ShowLayouts A demonstrator for some of the graph layout algorithms.
ShowLayouts.GraphChooser  
SimpleGraphDraw Illustrates the simplest possible drawing program.
SubLayoutDemo Demonstrates the Cluster, CircularCluster, and ClusteringLayout classes.
TreeLayoutDemo Demonstrates the use of images to represent graph vertices.
TwoModelDemo Demonstrates a single graph with 2 layouts in 2 views.
UnicodeLabelDemo Demonstrates the use of GraphZoomScrollPane.
VertexImageShaperDemo Demonstrates the use of images to represent graph vertices.
VertexImageShaperDemo.Checkmark a simple Icon that draws a checkmark in the lower-right quadrant of its area.
VertexImageShaperDemo.DemoVertexImageShapeFunction this class exists only to provide settings to turn on/off shapes and image fill in this demo.
VertexImageShaperDemo.LayeredIcon An icon that is made up of a collection of Icons.
VertexImageShaperDemo.PickWithIconListener When Vertices are picked, add a checkmark icon to the imager.
VertexImageShaperDemo.VertexStringerImpl A simple implementation of VertexStringer that gets Vertex labels from a Map
ZoomDemo Deprecated. See the SatelliteViewDemo for a similar demo with more features
 

Package samples.graph Description

Provides sample graph code that may be of interest. In particular,

Source code for the samples is provided in the JUNG distribution.