I made one of those animated rubbery graph things using a HTML5 canvas. It's a bit unstable at the moment, because I'm processing an edge at a time. I should instead compute the forces at each vertex, apply those to a copy of the vertex array, replace the original array with the copy and repeat the process.