Drawing Graphs with VGJ



About the Project

VGJ, Visualizing Graphs with Java, is a tool for graph drawing and graph layout. Graphs can be input into VGJ in two ways: with a textual description (GML), or through a drawing the user creates using our graph editor. The user can then select an algorithm to layout the graph in an organized and (hopefully) aesthetically pleasing way.

The current version is 1.03, released on 4/20/98. Development of VGJ at this (the original) site has stopped. Several groups are using or extending VGJ. If you search the web for "VGJ" and "graph" or "VGJ" and "java" you will find some. I have not tried any of these and can't make any comments about the quality.

VGJ may be distributed under the terms of the GNU General Public License, Version 2.


FLGL is a non-public licensed Java 1.1 / Swing (Java 1.3 compatible) graph drawing library based on VGJ. Currently, FLGL is being used for UML diagrams and debugger object views in jGRASP.

Unlike VGJ, FLGL is constructed as a library. The components are easily subclassed, and factory methods allow subclasses to be used in the existing user interface mechanism. Multiple synchronized views can be attached to a graph. Scrolling and scaling controls can easily be connected (and multiple controls of one type will sync). Multiple edges are supported. The user interface is easily customized (what mouse action has what effect, what actions are allowed).

Due to agreements with license holders, FLGL can not be released under a free license. This may change in the future. Because free Java graph drawing libraries are available, there is little demand for one that isn't free, and so the FLGL demo versions are no longer available here.


VGJ

Run the VGJ applet.
Screen Capture of VGJ.


VGJ Manual
An html manual for VGJ.
VGJ Source (Java) Documentation (Package Index)
Links to Sun's Java 1.0 documentation (which is no longer available online from Sun) are now broken.
Each class description file has a link to its source.
VGJ.zip (503k - ftp) The whole VGJ project (sources, classes, documentation) zipped up.
VGJ.tar (1604k - ftp) (same stuff as VGJ.zip) The whole VGJ project tarred up - untar with __ tar xf VGJ.tar __.




Email comments/questions about VGJ/FLGL to Larry Barowski at larrybarATengDOTauburnDOTeduANDTHATISALL (email encoded to cut down on spam).