LambrechtsWouter / jsplumb

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

Enhancement: Selecting Connections To/From An Element #281

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice to be able to do something like 

jsPlumb.select({element:'window3'});

that would return all the connections (source or target) involving the 
specified element. 

For my purposes I would greatly prefer that the connection objects are returned 
as well in an array much like the getConnections function.

Original issue reported on code.google.com by scottral...@gmail.com on 3 Oct 2012 at 10:32

GoogleCodeExporter commented 8 years ago
i have fixed this in 1.3.16 dev now.

i can't have the select function's return value be different depending on what 
filters you supplied; it has to stay as it is.  but the work for this actually 
went into the getConnections method, so you can just use that one if you need 
to.

i will be releasing 1.3.16 soon.

Original comment by simon.po...@gmail.com on 21 Oct 2012 at 7:06