Refresh TagMindMap and some questions

12 views
Skip to first unread message

dukeja

unread,
Jan 28, 2009, 4:38:59 PM1/28/09
to TiddlyWiki
I have been trying TagMindMap and have some questions. Your
experience and help would be greatly appreciated.

1. If I put tagmindmap into PageTemplate, after change some Tag
relationship, I have to save the page and then reload it to get map
refreshed. Is there more easy way? I have installed Eric's refresh
plugin (the whole page one), but it does not help.

2. Now when I saved the page and reopen it, the default GettingStarted
tiddler will not be open. Instead, the last tiddler at bottom of the
stack shown before save will show up. Is it normal due to
tagmindmap?

3. Now the starting node is hard coded into PageTemplate as:
<div id='tagmindmap' parameters='width:600 height:200 id:TagMap1 zoom:
50 breadcrumbs:true notagcloud:true startState:{{store.filterTiddlers
("[tag[MyStuff]]")}}'></div>

Could anyone kind enough give me a hint how I may input the target
string (e.g. MyStuff) sent to TagMindMap without opening and editing
PageTemplate? Thanks!

4. Currently the zoom level change increment is large. With a small
map, either nodes are crowded together or they are spreaded outside of
map. Anyone find out how to reduce the zooming increment level in the
source code?

Thanks a lot for the help.

Duke

rakugo

unread,
Jan 29, 2009, 5:50:08 AM1/29/09
to TiddlyWiki
Hi Duke,
Have had a play around to try and fix your problems, but it would help
if you could share your tiddlywiki... is this possibly? In terms of
your questions...
1) Unfortunately no - I haven't put any node deletion into the plugin
so you effectively have to reload the whole visualisation for the
updates to show. To do this you would need to fire off the macro
every time a delete takes place. Relationships are added to the
mindmap but not deleted... yet. Maybe try putting <div
tiddler='tagmindmap' refresh='content'></div> into your page template
and put the macro call in tagmindmap. Not sure if that will help.

2) This is odd and shouldn't happen due to tagmindmap...

3) Not sure I understand the question... if you just want everything
tagged with MyStuff to appear on start up the startState parameter
should be set to {{['MyStuff']}} - hopefully that will achieve what
your wanting..

4) Try playing with different zoom parameter, width and height
parameters - say 62 or 64 until you get something that looks about
right. May help here.

Hope this helps somehow..!
Jon

dukeja

unread,
Jan 29, 2009, 8:54:06 AM1/29/09
to TiddlyWiki
Hi, Jon:

Thanks for the reply. The reason I did not share my tiddler is
because most of them have Asian characters and it maybe confusing to
show. I'll clean up a new one and show it some time.

For #1, Yes, I notice that new edge will be added but old edge not
deleted until I save & reload.
For #2, I must damaged something so the default tiddler
(GettingStarted) is not reloaded.
For #3, I have many "topics" that I want to use as the startState in
the MindMap. For example, there may be "Vegetable" tiddler and many
related veggies tagged to it, and "Fruit" tidder and many other fruits
tagged to it. When I want to study one of them, I would set it as the
startState. Certain I could put the MindMap in a tiddler with
different startState, but then I can not use SinglePageMode(only allow
one tiddler, but I need map tiddler plus Note tiddler open). If there
is input box (like serach box), then I can put in whatever starting
tag and the mindmap will opened with that tiddler everytime until I
change it.
For #4, I can set the zoom level manually. But when I need to change
it during node exploration, I need to use the + & - buttons on the map
to change zoom level. That change increment is too big. If will be
nice the zooming step size may be customizable.

In addition, could you show some example of map style customization? I
saw a few lines from the StyleSheet in your example map and some from
ML's example, but there must be a complete list or something? Bear
with my ignorance on the CSS.

By using the TagMindMap in pageTemplate + singlePageMode +
BreadCrumbPlugin, it almost look exactly link PersonalBrain(The
Brain). The MindMap is the Plex, BreadCrum looks like the history,
and SingePage tiddler is the Note. But TiddlyWiki is more power than
The Brain in terms of linking capability. Since now the tagging
relationship is used for linking, in addition to that the Wikiword
link (e.g. [[go_there]]) provide extra linking capability in the
"Note" that "jump" to other "thought"(tiddler), which The Brain does
not have such capability yet. The develop group of The Brain is well
acknowledge this advantage and may try to implement it in the future
(they called in Wiki in The Brain).

So I see this TiddlyWikii map has great potential. With the file
attachment plugin from Eric, now we can attach file to the tiddler.

But I found the current layout of TagMindMap is not too easy to use
(just personal taste maybe). All related tiddler node randomly
surrounding the center node seem less organizing to visualize.
Instead, the layout in The Brain may be used as examples. The Normal
layout has the parent node on top and all children node sorted in the
alphabetic order at bottom. Or the Outline layout which shows the
relation similar to the tree structure. The key is some sorting in
the children layout helps a lot. Would it be possible in the current
TagMindMap?

Thanks for the great work,

Duke
Reply all
Reply to author
Forward
0 new messages