whoops.. realised I've made some other changes since that might effect
the code I posted above.
Should be "tiddlytagmindmapobject" where it says "ttmm_current".
I'd recommend backing up any changes before applying this fix. If
there is no rush here should be a new version up by the end of the
week!

/*CODE*/
Story.prototype.beforettmm_displayTiddler =
Story.prototype.displayTiddler;

Story.prototype.displayTiddler =
function(srcElement,tiddler,template,animate,unused,customFields,toggle)
{
story.beforettmm_displayTiddler(srcElement,tiddler,template,animate,unused,customFields,toggle);

if(!tiddlytagmindmapobject) config.macros.tiddlytagmindmap.handler();
        var title = (tiddler instanceof Tiddler)? tiddler.title :
tiddler;
        var tiddlerElem = this.getTiddler(title);

if(tiddlytagmindmapobject){
        try{
        var res = ttmm_current.createNodeFromJSON(createJSON(title));
        if(res && ttmm_current.rgraph){
                tiddlytagmindmapobject.centerOnNode(title);
                tiddlytagmindmapobject.computeThenPlot();
        }
        }
        catch(e){
                console.log("exception: " + e);
        }

}

doColouring(title);

};


On Oct 26, 9:56 am, rakugo <[EMAIL PROTECTED]> wrote:
> Strange..
> I just posted but it doesn't seem to have appeared.
>
> I know exactly why your history plugin is not working and I've made a
> fix for the next release. HistoryPlugin and TagMindMap both make use
> of the function to display tiddlers however mine does it quite crudely
> and forgets the previous function, so due to the alphabet
> HistoryPlugin gets loaded first, then TagMindMap loads and undoes one
> of HistoryPlugins changes.. bit rude. If you are keen for a quick fix
> in the plugin find the function Story.prototype.displayTiddler =
> function(srcElement,tiddler,template,animate,unused,customFields,toggle)
> and replace with the code at the bottom. Apologies for this!
>
> In terms of tag trees plugin - I can think of a way this could be
> done, but it depends on your goals. If you just want to use TagMindMap
> as a table of contents I could provide options to turn off the graph
> updates -this would then give you full control of what data goes into
> the mind map (ie. clicking on a tiddler wouldn't draw it in the map)),
> then what we could do is expose a macro <<LoadBranch tiddler>> which
> starting with tiddler would load all data on a branch into the graph
> (just like TagsTreePlugin), which you could run at startup or place in
> certain tiddlers where you would like content pages. What are your
> thoughts on this?
>
> In terms of ghosting effect could you reupload that file? I would be
> keen to diagnose your problem!
>
> Thanks
> Jon
> ---------------------------
> /*CODE*/
> Story.prototype.beforettmm_displayTiddler =
> Story.prototype.displayTiddler;
>
> Story.prototype.displayTiddler =
> function(srcElement,tiddler,template,animate,unused,customFields,toggle)
> {
> story.beforettmm_displayTiddler(srcElement,tiddler,template,animate,unused,customFields,toggle);
>
> if(!ttmm_current) config.macros.tiddlytagmindmap.handler();
>         var title = (tiddler instanceof Tiddler)? tiddler.title : tiddler;
>         var tiddlerElem = this.getTiddler(title);
>
> if(ttmm_current){
>         try{
>         var res = ttmm_current.createNodeFromJSON(createJSON(title));
>         if(res && ttmm_current.rgraph){
>                 ttmm_current.centerOnNode(title);
>                 ttmm_current.computeThenPlot();
>         }
>         }
>         catch(e){
>                 console.log("exception: " + e);
>         }
>
> }
>
> doColouring(title);
>
> };
>
> On Oct 25, 5:14 pm, "c.skye" <[EMAIL PROTECTED]> wrote:
>
> > Hi Again
>
> > I played around with the widths and margins of the SideBarTabs (where
> > the map is actrually embdded) and now the ghosting effect has
> > dissapeared...don´t askme why!!!!
>
> > So, ignore my request to opn th file and check it out...and my
> > suggestion as to a functionality similar to TagsTreePlugin still
> > holds!!!
>
> > Thanks
> > Skye
>
> > On 25 out, 14:55, "c.skye" <[EMAIL PROTECTED]> wrote:
>
> > > Thanks
>
> > > Have disabled (removed) History Plugin. The question of this ghosting
> > > is strange as th TW is not very lage and as yet has few tiddlers...in
> > > fact its principally a TW I am using to test the plugin in. And its
> > > strange that th ghosting is clearly on only part of the map and not th
> > > cntral part....and that it happening from the start.
>
> > > I have uploaded the TW 
> > > tohttps://dl-web.getdropbox.com/get/TW/R2withMindmapping.html?w=46688139
> > > maybe someone has the time to open it and quickly see what is
> > > happening.
>
> > > Note - this plugin would be extra wondrful if it usd something like
> > > TiddlyTools TagsTreePlugin......so that it maps from a specific tag
> > > and then all th tiddlers directly relatd to it. Having the it map all
> > > th etiddlers is grat for the TW developer.....but the map gets messy
> > > with larger TWs. I can imagine many wonderful presentations using this
> > > plugin...if I could map just those tags related to a specific
> > > tag......is that possible?
>
> > > Thanks
> > > Skye
>
> > > On 25 out, 09:27, wolfgang <[EMAIL PROTECTED]> wrote:
>
> > > > Thanks for correcting my mistake - the more for first mentioning this
> > > > online service - where one almost forgets that one's dropbox public
> > > > folder also has a http address.
>
> > > > W.
>
> > > > > > file:///F:/Dropbox/My%20Dropbox/Public/TiddlyTagmapGraph.html
>
> > > > > AKAhttp://dl.getdropbox.com/u/241006/TiddlyTagmapGraph.html
>
> > > > > -- F.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to