Class ShowLayouts

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

    public class ShowLayouts
    extends JPanel
    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.
    Author:
    Danyel Fisher, Joshua O'Madadhain, Tom Nelson - extensive modification
    See Also:
    Serialized Form
    • Field Detail

      • g_array

        protected static org.jgrapht.Graph<String,​Number>[] g_array
      • graph_index

        protected static int graph_index
      • graph_names

        protected static String[] graph_names
    • Constructor Detail

      • ShowLayouts

        public ShowLayouts()
    • Method Detail

      • main

        public static void main​(String[] args)