Take the 2-minute tour ×

What is a good javascript library (for use with Ruby on Rails) for drawing shapes and dynamic connections (lines connecting shapes that adjust as you move the shapes)?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Try rapheal.

It's a mature library for manipulating graphics through SVG.

It has complete flexibility to create many different objects then manipulate individual objects or tie event handlers to these objects.

This is not an out of the box graphing solution though. It does allow you to do what you want with more programming effort, but in return you get a great amount of customizability.

Check out their demo

share|improve this answer
Why? What's good about it? Providing links is useful but not as much as your experience. Please expand your answer. –  Walter May 15 '11 at 12:37
@Walter good point. I've expanded slightly. –  Raynos May 15 '11 at 12:41
Much better. +1 –  Walter May 15 '11 at 12:44

Your Answer


