This javascript solution is pretty nice, simple and clean. It's from MIT
http://www.graphdracula.net/
Now the labour will be an easy integration with TCL code :)