Based on a previous request (See
http://groups.google.com/group/TiddlyWikiDev/browse_frm/thread/e036e19b58e7ab2b/af3162a34b036081?q=Brain&rnum=1#af3162a34b036081)
I'm releasing a TiddlyWiki hypergraph plug-in I've been working on.
Uses hypergraph 0.6.3 applet to create navigation graphs. You need to
enable java applets in your browser for this to work. I've tested with
FF 1.0.7 and IE 6. I've had quite a few revelations with it already,
using it to map my existing TiddlyWikis.
It's a very early prototype so I'd like feedback, suggestions and
hoping that someone more familiar with visualisation theory and code
experience might pick this up.
Enjoy.
Dawn.
- It kills FF 1.5.0.1. FYI.
- I think it would be interesting to see the links between tiddlers.
For example, have one kind of link denote a tag, and another denote a
reference. Clicking on a tiddler name should not only open the tiddler
but also center the tiddler's node in the graph so you can see what's
related to it.
Luke
I appreciate all the testing, feedback and suggestions. Dawn.
This could work really will with tags and links between tiddlers.
Here's what I'd love to see in a hypergraph layout:
The tags should be at the top level of the hierarchy, perhaps starting
with the "home" tag in the middle.
All subtags are tagged with tags higher than them in the tag hierarchy.
These connections are represented by solid directional hypergraph
lines of color (a), with arrows pointing from higher tags to lower
tags. Any tiddlers with a tag are connected to that tag with dotted
lines of color (a). The links between tiddlers are represented by
solid directional lines of color (b), with arrows pointing from the
tiddler with the link to the linked tiddler. That's it!
I think a hypergraph laid out this way would group the tiddlers
optimally and allow really great navigation. Is it possible?
Thoughts?
Also, for clicking... I think it would be best if clicking on a tag or
tiddler once centered it, while clicking twice opens it. (For me,
right now, double clicking centers it and single clicking does
nothing.)
This is exactly the sort of navigational tool I was hoping for, thanks!
-Garrett
Yes, I'd like to use a hypergraph with only (a subset of) tags and
tiddlers.
> options in the HypergraphOptions shadow tiddler.to only generate the
> child group node you want. Or have I missed it?
> What is a subtag? Can you elaborate?
Sure. You can open or create any tiddler and give it content and tags.
And you can open a tag as tiddler. In that tag-tiddler you will
automatically see a list of tiddlers having that tag, as well as the
content of the tag-tiddler and the tags of the tag-tiddler. So you can
tag tiddlers AND you can tag tag-tiddlers. Another way of thinking
about it is that when a tiddler name is used as a tag, that tiddler
becomes a tag-tiddler.
So, this provides the capability to build a natural hierarchy.
Tag-tiddlers have tags corresponding to tag-tiddlers higher up in the
hierarchy. Each tiddler can be given the most appropriate tag -- sort
of like putting files in a folder in a filesystem. And this should
look really neat in hypergraph!
I've got this sort of hierarchy kludged together here, under the
"Contents" tab:
http://deferentialgeometry.org
And Simon Baird has recently put together a SiteMap macro to do this
hierarchical listing automatically.
Am I making sense?
> This graph could get quite complicated.
> 1. Each tag node would have n tiddler connections.
> 2. Each tiddler would have y linked tiddler connections.
> 3. Each tiddler would have x reference tiddler connections.
Yep.
> I'm not convinced that this structure will be usable.
It might be useful to be able to selectively turn off the display of
links between tiddlers, or the tags and tag links.
But I think a large set of interestingly connected tiddlers is exactly
where hypergraph would be useful! Until you get more than a few
hundred tiddlers, but then you're hitting other TW limitations.
If showing the links is too god-awful messy, it would still be neat to
have the tag hierarchy and tagged tiddlers.
> It's probably better in an actual tiddler. Any suggestions where to
> place the navigation hypergraph in the page?
I like it at the top. :) In the middle of the title bar -- heck, make
the title the "root" node, with all the tags that are not tagged linked
off of it.
If you want to get fancy you could provide a toggle switch to display
or not display it.
Can you set a hypergraph to "width:100%", so it spans the whole window?
> My dear, anything is possible (given infinite time, money, resources
> ...) :o). I need the subtags idea resolved and I'll start looking at
> it.
This is why I've always loved computer science.
> Hmm ... write a cheque with a 1 and 6 zeros to me ?
If only.
> I totally agree with you about the click/double click behaviour but
> this is a feature of hypergraph. I'm looking into the enabling
> doubleclicking. So it's in progress.
Cool.
> You are very welcome.:-)
Yip!