public class BasicGraphDemo
extends java.lang.Object
The interaction and display in the graph editor, although currently fairly simple, uses the features of the Diva canvas to good effect. The use of two views of the graph highlights the Swing-style model-view-controller architecture of the graph package.
Red |
Constructor and Description |
---|
BasicGraphDemo(AppContext context)
Construct a new instance of the graph demo in a particular context.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] argv)
Construct a new instance of graph demo, which does the work of
setting up the graphs and displaying itself.
|
public BasicGraphDemo(AppContext context)
context
- The context in which the demo is constructed.