Presenting...

ObjectGraph

By: Chris Penney


What is ObjectGraph?

ObjectGraph is a widget designed for ParcPlace Systems, Inc.'s VisualWorks 2.0 SmallTalk environment. It provides a widget capable of holding and operating on a rooted graph with multiple roots. ObjectGraph was written by Christopher Penney and is copyright 1995 by the Intelligent Systems Laboratory at Michigan State University.

The ObjectGraph widget provides a scrollable box to hold a rooted graph (much like the text box holds text). The nodes in the graph represent objects that the programmer can specify (each node thus has a value). The machinery is in no way hard coded for a specific type of object... anything can be represented with little effort.

In addition to being able to represent and display objects in a graph, the widget allows for various kinds of user interraction with the graph. This is mostly done throught context sensitive menus that are configurable at runtime.

The example that comes with the ObjectGraph source is the start of a graph based class browser. This is a good example of how ObjectGraph can be used to represent objects.

For more information I suggest getting it and running through the exmaples. The basic example will take no more that 20 or 30 minutes to complete (including installation).

What's New?

VW 2.5.2 Temp Fix (June 9, 1997)
Using VisualWorks 2.5.2? You may need to add an instance method to ObjectGraphController if your select button doesn't work. The method goes in the mouse tracking protocol and should look like this:

redButtonPressedEvent: event
	self redButtonActivity
Version 0.7 (September 1, 1995)
Fixed a problem in the tree traversal methods
Moved some code from the Controller to the View be be a better MVC app :)
Fixed a couple places where the grah redrew itself twice during an operation
Version 0.6 (July 27, 1995)
Added support for expanding and collapsing subtrees
Fixed a problem in the tree traversal methods
Version 0.5 (Early July, 1995)
Released

How can one get it?

ObjectGraph is available for anonymous FTP from isl.cps.msu.edu and is in /pub/ObjectGraph.

You can view the readme.

There is a ziped file for PCs, a tar file for Unix workstations, and for Macs and people wishing to get single files, each file is available in text form in a directory. If you have trouble getting these files please let me know.


ObjectGraph / penney@cps.msu.edu