TagsTree plugin for hierarchical outline

909 views
Skip to first unread message

VisualTW

unread,
Jan 4, 2008, 3:12:42 PM1/4/08
to TiddlyWiki
I've realeased a new plugin that displays tiddlers in a tree (tags act
as folders). It can be used to create an automatic outlined navigation
in MainMenu or any other place.

Plugin and demo at : http://visualtw.ouvaton.org/VisualTW.html#TagsTreePlugin

Regards
Pascal

Ken Girard

unread,
Jan 4, 2008, 3:26:59 PM1/4/08
to TiddlyWiki
Interesting. I can see using this a couple of things I am using
ForEach to do, as TagglyTagging just doesn't look right with with long
tiddler names.

Ken Girard

FND

unread,
Jan 5, 2008, 2:39:19 AM1/5/08
to Tiddl...@googlegroups.com
> I've realeased a new plugin that displays tiddlers in a tree (tags act
> as folders). It can be used to create an automatic outlined navigation

Looks very interesting - yet another good job, Pascal!
I've been wanting to do something similar (combining tags through
cascading menus), but never quite got around to it - so this sort of
stuff is very much welcome!


-- F.

spacev...@gmail.com

unread,
Jan 6, 2008, 4:14:54 PM1/6/08
to TiddlyWiki
Pascal - thanks for this work - I find it useful for what I want to
do.

Do you see an easy way to *not* use h1--h6 formatting, ie leave just
as plain
text - or allow other formatting types, like '*' or '#' (ie lists)?

-Juergen

VisualTW

unread,
Jan 7, 2008, 5:53:55 AM1/7/08
to TiddlyWiki
OK,

I put the style in the macro attributes (an array of 6 strings named
config.macros.tagsTree.styles).
Now, you can change the html tags used as folder with some code like :
config.macros.tagsTree.styles=["h3","h4","h5","h6","div","div"]

Regards,
Pascal

On 6 jan, 22:14, "spacevult...@gmail.com" <spacevult...@gmail.com>
wrote:

Hugo Pires

unread,
Jan 7, 2008, 7:10:36 AM1/7/08
to TiddlyWiki
Hi

I didn't understand how to link the tags. May I use this macro on
MonkeyTW?

Thank you

Hugo

VisualTW

unread,
Jan 7, 2008, 8:09:20 AM1/7/08
to TiddlyWiki
The first parameter in tagsTree macro sets the root tag. All tiddlers
tagged with that rootTag are then displayed on the first tree level.
All tiddlers tagged with one of them are then displayed at the second
level, and so on.

Pascal

JaredFreeman

unread,
Jan 7, 2008, 10:54:28 AM1/7/08
to TiddlyWiki
Pascal -- If I understand this correctly, this macro can support
networks, not just trees. That is, any child node can belong to
multiple parents, in the same way that any node can have multiple
tags. So... should we users expect any problems with cycles, in which
A claims its parent is B and B claims its parent is A? -- Jared

spacev...@gmail.com

unread,
Jan 7, 2008, 5:54:30 PM1/7/08
to TiddlyWiki
Pascal - works perfectly. Tx for the quick turnaround!
-Juergen

VisualTW

unread,
Jan 7, 2008, 6:07:35 PM1/7/08
to TiddlyWiki
Indeed, there is conceptual difference between hierarchy structure
(tree) and network structure (links). Tiddlywiki is great because it
doesn't lock our mind in a hierarchical structure as many other tools
tend to do. But, sometimes, tree representations are useful (in a top
to down approach). Technically, there is no cycles, because, a folder
(a tag in the tree) never displays any of its ancestors, even if one
of them is tagged with itself (as a child). If a tiddler as several
different ancestors in the tree, it's displayed in each of them (there
is no problem there).

Pascal

Simon Baird

unread,
Jan 20, 2008, 7:54:54 AM1/20/08
to Tiddl...@googlegroups.com
It's very nice. I made something like this once:
http://mptw2.tiddlyspot.com/#SliderSiteMap
--
simon...@gmail.com
Reply all
Reply to author
Forward
0 new messages