Class PluggableRendererDemo

  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Panel
              extended by java.applet.Applet
                  extended by javax.swing.JApplet
                      extended by edu.uci.ics.jung.samples.PluggableRendererDemo
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer

public class PluggableRendererDemo
extends JApplet
implements ActionListener

Shows off some of the capabilities of PluggableRenderer. This code provides examples of different ways to provide and change the various functions that provide property information to the renderer.

This demo creates a random mixed-mode graph with random edge weights using TestGraph.generateMixedRandomGraph. It then runs VoltageRanker on this graph, using half of the "seed" vertices from the random graph generation as voltage sources, and half of them as voltage sinks.

What the controls do: