Hi everyone,

this isn't quite ready for public consumption yet, but based on Mike 
Bostock's really cool implementation of zoomable circular treemaps (on 
bl.ocks.org), I've been working on a widget that can generate and render 
diagrams like the following one: 

<https://i.imgur.com/29Kqoa7.png>
(Screen recording <https://i.imgur.com/ncYVCu6.mp4> of the same diagram in 
action).

The motivation behind this is to have dynamically generated diagrams which 
can provide a "bird's eye view" on larger hierarchies of tiddlers inside a 
TiddlyWiki.

The diagrams display hierarchies as layouts of nested circles. These 
hierarchies are automatically discovered by recursively following TW links 
or tags, starting from a root tiddler. Usually, leaf nodes in circular 
treemaps are different in their size, which can be used to visualize some 
tiddler properties, like a tiddler's character count, or the number of 
links, number of backlinks, or number of tags each tiddler has. The leaf 
node size can also be a uniform value for all circles.

There are a few remaining problems, though. The diagrams currently won't 
always update when a new tiddler is created and should show up, but I think 
this can be fixed. Also, the tree builder should be a reusable component, 
so instead of one plugin this should be split up into two dependent 
plugins, one for the diagram widget, and one for the tree builder. 
Unfortunately, there's also a small amount of code that is common to both 
components, and I have no good idea how to not duplicate these parts.

If anyone feels inclined to try this out, here's an expiring link: 
http://viewtransform.net/d3trees/d3trees-preview.html. I'll leave this up 
for a few days.

Best wishes,
-- Roland

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/e1a114b5-c93f-4ad2-bcd0-ebcdc601629f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to