Class ShowLayoutsWithGraphFileImport

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

    public class ShowLayoutsWithGraphFileImport
    extends JFrame
    Demonstrates several of the graph layout algorithms. Allows the user to interactively select one of several graphs, loaded from files using JGrapht io, and one of several layouts, and visualizes the combination.

    This application has been tested with the graphml sample files in https://github.com/melaniewalsh/sample-social-network-datasets

    Author:
    Tom Nelson
    See Also:
    Serialized Form
    • Constructor Detail

      • ShowLayoutsWithGraphFileImport

        public ShowLayoutsWithGraphFileImport()
    • Method Detail

      • main

        public static void main​(String[] args)