Hareeshchandera / jsplumb

Automatically exported from code.google.com/p/jsplumb
0 stars 0 forks source link

Connection.repaint doesn't work. #122

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I create a bunch of connectors with jsPlumb.connect.. and as the parent 
container is moved I wish to update all connections to child containers.

So I store the connections as returned by jsPlumb.connect for use in the drag 
handler of the parent and call "repaint" on connections to each of its children 
as it moves.

The connections remain pointing at the original location though.

Note: I am using jsPlumb 1.3.2

Original issue reported on code.google.com by james.ma...@gmail.com on 23 Aug 2011 at 8:25

GoogleCodeExporter commented 8 years ago
If I move one of the nodes (via the drag handlers automatically installed by 
jsPlumb) the connections repaint in the correct position.. but not when I call 
repaint myself via the child movement.

Original comment by you.dont...@gmail.com on 23 Aug 2011 at 8:39

GoogleCodeExporter commented 8 years ago
i'll need a test page or a jsfiddle for this. 

Original comment by simon.po...@gmail.com on 23 Aug 2011 at 8:49

GoogleCodeExporter commented 8 years ago
i will be releasing 1.3.3 soon; this issue will need a test page or jsfiddle or 
i'll close it out.

Original comment by simon.po...@gmail.com on 31 Aug 2011 at 11:40

GoogleCodeExporter commented 8 years ago

Original comment by simon.po...@gmail.com on 1 Sep 2011 at 11:14