Hi there,
I´m writting a program that simulates an ER model. I´ve managed to draw the entities and relations but I´m stuck now...
I drew the relations using "wz_jsgraphics. js" lib from http://www.c-point.com/javascript_vect or_draw.htm .
My problem now is that this lib draws lines by creating tons of divs and combining them together, fact that doesn´t meet my goals, because I wanted to turn the relation "draggable" (with dragdrop lib from YUI). Because I have tones not just one div per relation, I cannot turn them draggable. I tryed to insert them into a collection of draggable objects and go from there, but not only the divs are created with no id, but also I can´t determine how many are there in each relation...
Any ideas to go around this would be greatly welcome.
Thanks
I´m writting a program that simulates an ER model. I´ve managed to draw the entities and relations but I´m stuck now...
I drew the relations using "wz_jsgraphics. js" lib from http://www.c-point.com/javascript_vect or_draw.htm .
My problem now is that this lib draws lines by creating tons of divs and combining them together, fact that doesn´t meet my goals, because I wanted to turn the relation "draggable" (with dragdrop lib from YUI). Because I have tones not just one div per relation, I cannot turn them draggable. I tryed to insert them into a collection of draggable objects and go from there, but not only the divs are created with no id, but also I can´t determine how many are there in each relation...
Any ideas to go around this would be greatly welcome.
Thanks
Comment