This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Okay. So Alexander Shapiro at TouchGraph has created a visualization engine. No biggie. But they can use it to visualize a wiki!

Go to this page, then download the TGWikiBrowser. You'll need Java for this - and I recommend JDK1.4 for the sheer speed increase. Do this now. It's tres cool :-).

They come with a MeatballWiki visualizer installed. You can play with that, or you can download a JSPWiki link file (generated on 21-Apr-2002), by clicking here.

Then, launch the TGWikiBrowser with the following simple command (on UNIX systems):

java -cp TGWikiBrowser.jar:BrowserLauncher.jar com.touchgraph.wikibrowser.TGWikiBrowser jspwiki-tg.txt\?page= Main

or on Windows systems:

java -cp TGWikiBrowser.jar;BrowserLauncher.jar com.touchgraph.wikibrowser.TGWikiBrowser jspwiki-tg.txt Main

Creating the link file via XML-RPC#

You can also use the following snippet of Java to recreate the JSPWiki link list at any time. It works by downloading the link list from any wiki that supports the WikiRPCInterface. You need the Hula package from MahlenMorris to do this.

import org.mahlen.hula.rpcclient.*;

 *  Creates a simple link map for the TouchGraph WikiBrowser v1.1 to standard
 *  output.
 *  <P>
 *  Usage: java Visualizer [optional url] > wikiname.txt
 *  <P>
 *  If the optional url is not defined, contacts JSPWiki.  Requires
 *  the Hula library from Mahlen Morris, and the Jakarta XML-RPC library 
 *  for Java.
 *  @author Janne Jalkanen
public class Visualizer
    public static void main(String argv[])
        String wikiAddress = "";

        if( argv.length > 0 )
            wikiAddress = argv[0];

            RPCClient client = new RPCClient(wikiAddress);

            String[] allPages = client.getAllPages();

            for( int i = 0; i < allPages.length; i++ )

                System.out.print( allPages[i] );

                LinkInfo[] l = client.listLinks(allPages[i]);
                for( int j = 0; j < l.length; j++ )
                    System.out.print(" "+l[j].getLink());
        catch( Exception e )
            System.err.println("Failed to do my thang.");
            e.printStackTrace( System.err );

Any ideas on how to run the browser from a jsp page? It would be nice if users could access the graph from the wiki itself, yet I can't see how it would be done and I can't but help think it should be able to work.

That. Is. Wicked!

Very interesting application. Even more incentive for me to do the XML-RPC Wiki Facade to other Wiki's thing that's been bobbling about in my head. TheMotherWiki would be scary visualized like this. I'd need a bigger monitor! -- MahlenMorris

Sweet! I was hoping to see something XML-RPC-ized connected up to this TouchGraph browser! -- LesOrchard

Would someone please make a Touch Graph front end that shows archived/previous webpage versions, as in, on mouseover, amidst Dogpile/Google/Sherlock search results, and Name it? BrianCady413

A problem. I use a tikiwiki wiki. It has a xmlrpc utility, but if I try to connect this code with my xmlrpc url (, I get this error:

Failed to do my thang.
org.apache.xmlrpc.XmlRpcException: Unknown method
        at org.apache.xmlrpc.XmlRpcClient$Worker.execute(
        at org.apache.xmlrpc.XmlRpcClient.execute(
        at org.mahlen.hula.rpcclient.RPCClient.getRPCVersionSupported(
        at org.mahlen.hula.rpcclient.RPCClient.checkConnect(
        at org.mahlen.hula.rpcclient.RPCClient.<init>(
        at Visualizer.main(

Can anyone help me?

My guess would be that the tikiwiki XML-RPC API is not compatible with WikiRPCInterface... --JanneJalkanen

I would like to make you aware of a new tool that can be used to visualize a Wiki that provides an Wiki RPC Interface. It uses the hypergraph tool. Hypergraph is Java based and provides a small API for graphs and also code for hyperbolic graph visualization.

It appears that you can't download the TGWikiBrowser here anymore. Nor can I find this: MeatballWiki:TouchGraphWikiBrowser

Try the TouchGraph page on SourceForge. The downloads are old (2002) but are probably the most current. The code has not been significantly updated since then. Note that there are some unresolved bugs using TG with Java 5 involving freezing due to Thread locks. -- MurrayAltheim

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 25-Jul-2007 01:20 by MurrayAltheim.