Okay.  So Alexander Shapiro at [TouchGraph|http://www.touchgraph.com] has created a visualization engine.  No biggie.  But they can __use it to visualize a wiki__!

Go to [this page|http://www.touchgraph.com], 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|http://www.ecyrd.com/~jalkanen/jspwiki-tg.txt].

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 
http://www.ecyrd.com/JSPWiki/Wiki.jsp\?page= Main
}}}

or on Windows systems:
{{{
java -cp TGWikiBrowser.jar;BrowserLauncher.jar com.touchgraph.wikibrowser.TGWikiBrowser jspwiki-tg.txt 
http://www.ecyrd.com/JSPWiki/Wiki.jsp?page= Main
}}}

!Other relevant links:
* [MeatballWiki:TouchGraphWikiBrowser]

!!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 = "http://www.ecyrd.com/JSPWiki/RPC2/";

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

        try
        {
            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());
                }
                System.out.println();
            }
        }
        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|WikiWikiWeb:WelcomeVisitors] 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 archive.org, on mouseover, amidst Dogpile/Google/Sherlock search results, and Name it? [BrianCady413]

----

A problem. I use a [tikiwiki|http://tikiwiki.sourceforge.net] wiki. It has a xmlrpc utility, but if I try to connect this code with my xmlrpc url (http://www.aronchi.org/wiki/xmlrpc.php), I get this error:

{{{
Failed to do my thang.
org.apache.xmlrpc.XmlRpcException: Unknown method
        at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:457)
        at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163)
        at org.mahlen.hula.rpcclient.RPCClient.getRPCVersionSupported(RPCClient.java:107)
        at org.mahlen.hula.rpcclient.RPCClient.checkConnect(RPCClient.java:83)
        at org.mahlen.hula.rpcclient.RPCClient.<init>(RPCClient.java:69)
        at Visualizer.main(Visualizer.java:29)
}}}

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|WikiRPCInterface]. 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|http://www.touchgraph.com] anymore.  Nor can I find this: [MeatballWiki:TouchGraphWikiBrowser]

----

Try the [TouchGraph|http://sourceforge.net/projects/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