dugarab / jsplumb

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

enable drop of source back onto original endpoint after drag #280

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
in this demo

http://jsplumb.org/jquery/flowchartConnectorsDemo.html

you can drag connections off by source endpoint (the blue ones).  when you drag 
it back to the source from which it originated you should be able to drop it to 
reconnect. 

Original issue reported on code.google.com by simon.po...@gmail.com on 20 Sep 2012 at 8:57

GoogleCodeExporter commented 8 years ago
in conjunction with a fix for this I have added some stuff to the API:

- ReattachConnections default.  This allows you to set a default instructing 
jsPlumb to reconnect Connections that the user detached with the mouse and 
which were not dropped on some Endpoint.

- reattach parameter on Endpoint and Connection (this was actually always there 
but not documented properly).

- setReattach/isReattach method on Connection.

- setReattach/isReattach support on the jsPlumb.select() interface.

Original comment by simon.po...@gmail.com on 23 Sep 2012 at 9:59

GoogleCodeExporter commented 8 years ago
this is fixed in development now. will be released soon.

Original comment by simon.po...@gmail.com on 23 Sep 2012 at 10:45

GoogleCodeExporter commented 8 years ago
1.3.15 was released today.

Original comment by simon.po...@gmail.com on 24 Sep 2012 at 1:28