Thx, ok, here is what can easily be done (and soon will be ;-) ) : - start from a tiddler an get it's relationship (depth can be configured) - add a filterTag/excludeList and the possibility to draw from many tags (and not just one)
I'm thinking about adding features in fields (instead of JSon). Like : absolute positionning of the node, or node color. The idea for me is that this graph component is not a graphical drawing tool. I would like to stay close to wiki and TW philosophy : based on text with simple syntax. Maybe the dot/graphviz syntax could be a good solution to build rapidly graphs. But for now, what I intend to do is graph based on the text we input, with some fancy around. but, I will think about your proposition. On 20 jan, 12:53, rakugo <[email protected]> wrote: > Lovely! Really like the redrag feature. > > From a user perspective, it seems quite painful to tag items graph/ > draw to make them appear in my graph. I'm not convinced you have the > best mechanism here. I would expect to provide a list of tags to > exclude in the macro call or provide a list of tags that should be > drawn or maybe a root node (Eg. > > <<graph 500 200 draw 200 rootTiddler:wilma>> would draw wilma and all > things wilma is tagging and tagged with (and all the things they are > tagged with) > > <<graph 500 200 draw 200 excludeList:[wilma,dino]>> would draw > everything in your tiddlywiki except those items tagged wilma or dino > > Something like > <<graph 500 200 draw 200 graphTag:graph>> might draw everything tagged > with the tag graph which would work for your existing example. > > It might also be an idea to look at storing the graph as at tiddler > meta data (eg. if you had <<graph>> in the tiddler called "example" > the tiddler might have a field called graphjson containing a > representation of the graph. If you provided mechanisms to draw > straight into the graph (ie. new node buttons, new arc buttons) then > the tiddler could just become a graph which you could embed in other > tiddlers using <<tiddler example>> - something to think about. > > Hope I've given you a few ideas! > > PS. I noticed it doesn't work in Safari -probably something easy to > fix. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/TiddlyWikiDev?hl=en -~----------~----~----~----~------~----~------~--~---
