Class SubLayoutDemo

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

public class SubLayoutDemo extends JApplet
Demonstrates the AggregateLayout class. In this demo, vertices are visually clustered as they are selected. The cluster is formed in a new Layout centered at the middle locations of the selected vertices. The size and layout algorithm for each new cluster is selectable.
Author:
Tom Nelson
See Also:
  • Constructor Details

    • SubLayoutDemo

      public SubLayoutDemo()
      create an instance of a simple graph with controls to demo the zoomand hyperbolic features.
  • Method Details

    • main

      public static void main(String[] args)