Last month posting GraphvizFiddle did provide a nice (cool) tool to automatically layout (directed) graphs and even to load and save the input DOT language files. This was nice and useful, but missed an important feature the other "fiddle" tools I mentioned in the posting provide -- Share!
Since today new "Share" button is available in GraphvizFiddle tool -- let me give an example "shared" link:
States of Germany borders
If you move your mouse cursor on that link or open it, you will see that I just made the URLencoded DOT file the Fragment part of the URL. This has some nice consequences ;-)
- Accessing above link is "secure" -- while clicking on that link the GraphvizFiddle page and viz.js are still retrieved from my private website (stamm-wilbrandt.de), the Fragment part will NOT be submitted to my site. Instead your browser will open GraphvizFiddle tool, and then trigger <body> onload fucntion that does URLdecoding of the fragment (in your browser), and finally Draw it
- Since all the information is in the URL, you can bookmark, send by email or twitter, publish on website or blog, ...
Especially sharing GraphvizFiddle links on twitter is nice!
As you know there is a 140 character limit for a twitter tweet -- but since the URL gets shortened it does "cost" nearly nothing! Copying above link into a fresh Twitter form results in 118 characters remaining! And that is independent of the size of the DOT language file. [Of course sharing a GraphvizFiddle link on twitter is NOT secure anymore :-)]
Have fun with the new GraphvizFiddle link feature -- I will twitter some nice ones from time to time myself.