| please see the newer TouchGraphPlugin which is a new and improved version of this add-on |
This add on supports browsing your TWiki webs using
AlexShapiro's
TouchGraph wiki browser.
Overview
What is a TouchGraph?

While most categorization schemes make you go up and down
hierarchical trees to get to the items at their leaves,
TouchGraph takes you to the information canopy,
where you can wander uninterrupted across adjacent clusters.
The field of Graph Based Interfaces is still in it's infancy,
partially because the main commercial applications such as
InXight
,
TheBrain
, and
ThinkMap
, are proprietary
and thus do not allow for outside experimentation
and modification of their code.
TGWB, the Meatball:TouchGraphWikiBrowser, is a quick demonstration
of how
TouchGraph can be used to visualize a Wiki.
The best part of the interface is
that it really gives one a sence of how any given page fits
in context with the rest of the pages.
Another bonus is that backlinks are clearly visible.
The user is presented with a split view,
with a conventional html browser on the left side of the screen,
and a graph of a local region of the Wiki on the right.
When the mouse is moved over a hyperlink in the browser pane
for which the corresponding node is visible in the graph,
the node is colored light blue.
TWiki goes TouchGraph
What we really want,
is a link named like |
Graph | on each page,
which starts the TGWB centered around that page.
As of now, the TGWB reads a static link database text file at startup
and centers the graph at the location passed as argument.
Plain (wiki-) words in the DB are interpreted as internal links
relative to the wiki's base URL.
Full URLs are interpreted as external links.
So the Addon has to provide this:
- The TGWB client software
- A link database file ready for download from
%PUBURL%/%WEB%/touchgraph.txt -- this must be generated frequently by tgdb
- A link on each page, which sends the call arguments for the TGWB client software
Addon Installation Instructions
TWiki server
- Download the attached tgaddon.tar.gz
- Unpack it into your TWiki top dir
- Edit your crontab to schedule
...twiki/bin/tgdb like mailnotify
- Edit your
view.tglaunch.tmpl if you want non-default call options
- Edit your
view.tmpl to include this link: <a href="%<nop>SCRIPTURLPATH%/view%<nop>SCRIPTSUFFIX%/%<nop>WEB%/%<nop>TOPIC%?skin=tglaunch&contenttype=application/x-touchgraph-launch">Graph</a>
Check the view.patch for the precise spelling and location of this change.
Each client
- Download the attached tgwb.zip
(It is a subset of http://touchgraph.sourceforge.net/index.html
plus a remote launch.bat hack)
- Unzip it to
C:\touchgraph
- Edit
launch.bat, if you don't want TGWB in C:\touchgraph
- At the first invocation of a |Graph| link, your browser will not know what to do:
- A message like 'Unknown File Type' pops up
- Select 'Pick application'
- Choose
C:\touchgraph\launch.bat
- Select 'Never ask for this type of application'
Skins
An extra skin for TGWB's integrated web browser is a good idea,
but not strictly necessary.
Could be
view.plain.tmpl or the supplied
view.tg.tmpl.
Why?
- You don't need all the navigational stuff any more
- The java renderer doesn't handle fancy html too well
Normally, the skin parameter is passed as argument to the URL.
This breaks TGWB's simplistic method
of appending the
WikiWord to the base URL.
You need to patch
...twiki/bin/view as described in
SetSkinViaUrlPath
Then change
view.tglaunch.tmpl to use
%<nop>SCRIPTURL%/tg%<nop>SCRIPTSUFFIX%/%<nop>WEB%/
as base URL.
And you can shorten
view.tmpl a bit:
<a href="%<nop>SCRIPTURLPATH%/tglaunch%<nop>SCRIPTSUFFIX%/%<nop>WEB%/%<nop>TOPIC%?contenttype=application/x-touchgraph-launch">Graph</a>
User Support
If you have many users on your intranet site (you do ;-),
offer a simpler, standardised procedure to install the TGWB:
- Customize the
tgwb.zip to your preferred location
- Offer a help page close to the |Graph| link explaining the client install procedure
- Add a refresh link to
.../twiki/tgdb/%WEB%, e.g. in WebMaintenance
Addon Info
- Set SHORTDESCRIPTION = Browse TWiki webs using TouchGraph wiki browser
Please update these instructions and give any other feedback to
TouchGraphAddOnDev.
--
PeterKlausner - 09 + 14 Oct 2002