diva.graph.tutorial
Class EditorTutorial

java.lang.Object
  extended by diva.graph.tutorial.EditorTutorial

public class EditorTutorial
extends java.lang.Object

This tutorial expands on the simple tutorial and turns it into a more complete graph editor. Along with the editing window, the user has the ability to layout the graph. Control-click to add nodes, select a node and control-drag to create new edges.

Version:
$Id: EditorTutorial.java 40108 2005-12-14 05:02:17Z cxh $
Author:
Michael Shilman
Accepted Rating:
Red

Nested Class Summary
 class EditorTutorial.LayoutActionListener
          An inner class for layout.
 class EditorTutorial.LayoutWidget
          A widget for configuring layouts.
 
Field Summary
(package private)  JGraph _editor
           
(package private)  GlobalLayout _layout
           
(package private)  BasicGraphModel _model
           
(package private)  LayoutTarget _target
           
 
Constructor Summary
EditorTutorial(AppContext context)
           
 
Method Summary
static void main(java.lang.String[] argv)
          Pop up an empty graph editing window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_target

LayoutTarget _target

_layout

GlobalLayout _layout

_editor

JGraph _editor

_model

BasicGraphModel _model
Constructor Detail

EditorTutorial

public EditorTutorial(AppContext context)
Method Detail

main

public static void main(java.lang.String[] argv)
Pop up an empty graph editing window.