Results 1 to 3 of 3

Thread: Dynamic Path Between Two Elements - Raphael

  1. #1
    Join Date
    Mar 2012

    Dynamic Path Between Two Elements - Raphael


    I have spent some time researching this problem but have had no luck.

    Using the Raphael javascript library I am able to visualize some data. These elements (rectangles) are draggable. This works fine. However I would like to join two elements together using a path that stays connected when someone drags the elements around.

    I know this can be done because there is a demo of it on the Raphael site: (LINK).

    I'm not sure how to make a path (line) that stays connected in this manner. Any help or pointers would be much appreciated.

  2. #2
    Join Date
    Nov 2006
    The easiest way is to certainly download all the script and HTML from that demo then dig through to learn more about the inner working of that library.

  3. #3
    Join Date
    Mar 2012
    Thank you. Yes, that is what I'll do. It's not bad at all but still a little complicated when coming to it new. I was being a bit lazy and hoping someone might have an easy guide or even a library that enables this.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center