I have found the TikzGraphs package which wraps Tikz/Pgf really powerful. It satisfies most of what I want to do except I cannot figure out how to specify the length of each edge according to its weight. Following image is what I have achieved so far. Check out my codes here in Polymer.jl.
