Dugong - kind of ugly mindmapping in javascript

For a (currently undisclosed) project, I decided that it would be a great idea to have some sort of markdown-to-mindmap converter. This is actually a bit of a misnomer - what I wanted was something that would take plaintext, in a format as simple and memorable as markdown, and turn it into a graphical mind map, probably in svg. I’ve been hacking greasemonkey scripts at work, and with that comes at least a base level of competence with javascript: the perfect language for converting a div to an svg, on the fly, in your browser.

The result is dugong. It’s a pretty simple library - no-frills, nice and small, with no dependencies on external libraries. Just download, plug into your webpage, and watch it convert lists to mind maps in front of your very eyes.

This is unlikely to become anything larger than it is right now - I could spend ages putting all kinds of fancy facilities into it, but I don’t feel like it’s a worth the hassle. Now go forth and outline.