Sign up ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

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


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.