splitbrain / dokuwiki-plugin-graphviz

Create Graphviz graphs from within DokuWiki
http://www.dokuwiki.org/plugin:graphviz
12 stars 15 forks source link

Add support for URLs and tooltips. #11

Open oschuett opened 9 years ago

oschuett commented 9 years ago

I added support for URLs and tooltips to your Graphviz plugin. Basically, I'm calling dot with "-Tcmapx" to create a html image map. One big problem with image maps is that they have to match the displayed image. Since the browser might rescale the image, I had to add a javascript library to update the map on the fly: https://github.com/davidjbradshaw/imagemap-resizer

I removed the server-side resizing of images, because this saves me from having to resize the map on the server as well. Hence, the plugin now relies entirely on the browser for resizing the image.