I built a proof-of-concept to play with lines connecting draggables. I
got it to the point where you could grab boxes and put them inside
container boxes, save the drawing as XML and reload it from XML, but I
lost the source code.

Here's an earlier version that you can feel free to do whatever you
want with. The newer one was a lot more object-oriented but at least
this will give you a good start. You can resize the boxes by dragging
the corners. You can click on the boxed to edit their contents.

http://beta.moveable.com/jameslab/ajaxio/


- James.

Here's
On Mar 8, 3:17 pm, "airafroman" <[EMAIL PROTECTED]> wrote:
> Im trying to something like a class diagram graphical editor.
>
> At the begining the problem was making draggables, but the real
> problem i have is to draw lines and capture events like drag and drop
> a single node of the line or use the line more like an object in
> general.
>
> Has some one solved a similar problem?
>
> Thx in advance


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to