public class GraphZoomScrollPaneDemo extends Object
GraphZoomScrollPane.
This class shows the VisualizationViewer zooming
and panning capabilities, using horizontal and
vertical scrollbars.
This demo also shows ToolTips on graph vertices and edges, and a key listener to change graph mouse modes.
| Constructor and Description |
|---|
GraphZoomScrollPaneDemo()
create an instance of a simple graph with controls to
demo the zoom features.
|
public GraphZoomScrollPaneDemo()
public static void main(String[] args)
Copyright © 2016. All rights reserved.