Class ShowLayouts

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

public class ShowLayouts extends JApplet
Demonstrates several of the graph layout algorithms. Allows the user to interactively select one of several graphs, and one of several layouts, and visualizes the combination.
See Also:
  • Field Details

    • g_array

      protected static Graph<? extends Object,? extends Object>[] g_array
    • graph_index

      protected static int graph_index
    • graph_names

      protected static String[] graph_names
  • Constructor Details

    • ShowLayouts

      public ShowLayouts()
  • Method Details

    • getGraphPanel

      private static JPanel getGraphPanel()
    • start

      public void start()
      Overrides:
      start in class Applet
    • getCombos

      private static Class<? extends Layout>[] getCombos()
      Returns:
    • main

      public static void main(String[] args)