Graphviz-based mindmap with Tomboy

After having started using Tomboy, I've already become addicted to it. It's basically a merger between a note taking tool and a desktop wiki (with some issues with WikiWords nonetheless: #396177).

I was missing a Mind map feature though. Thus I wrote the tiny teeny hack of the day which processes Tomboy's notes from ~/.tomboy/ and generates a Graphviz graph that is then rendered (to SVG) and shown on the fly. Now I can just run mindmap to obtain a Mind map of my notes, the following is a sample result:

screenshot.png

Enjoy mindmap

  • tomboy2dot.xsl (XSLT stylesheet for converting a Tomboy note to a Graphviz snippet)
  • mindmap.sh (Main executable which process all Tomboy notes with the above stylesheet, supposedly in ~/bin/, and do all the remaining jazz)

TODO

  • add hyperlinks from the SVG output back to Tomboy notes (easy) and find an SVG viewer which follow hyperlinks on click invoking tomboy (uhm, ... anyone knows a SVG viewer able to follow links?)

Kudos to Sebastian Menge who wrote the XSLT stylesheet I started from.