Class MinimumSpanningTreeDemo

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer

public class MinimumSpanningTreeDemo extends JApplet
Demonstrates a single graph with 3 layouts in 3 views. The first view is an undirected graph using KKLayout The second view show a TreeLayout view of a MinimumSpanningTree of the first graph. The third view shows the complete graph of the first view, using the layout positions of the MinimumSpanningTree tree view.
Author:
Tom Nelson
See Also:
  • Constructor Details

    • MinimumSpanningTreeDemo

      public MinimumSpanningTreeDemo()
      create an instance of a simple graph in two views with controls to demo the zoom features.
  • Method Details

    • main

      public static void main(String[] args)