one thing that i've found to be quite painful in the jsPlumb API is
dealing with more than one connection at a time. there is a
getConnections method but it requires that you loop through its
results one by one; plenty of times i've wanted to select a list of
connections and operate on them en masse, like
jsPlumb.getConnections({source:"some element"}).setHover(true);
so i'm proposing to add a 'selectConnections' method to jsPlumb, which
wraps getConnections and executes some operation on all of them.
ideally the list of operations supported would be everything that a
single connections supports, plus a couple of the methods in jsPlumb
like "detach" (actually i can't think of another one off the top of my
head).
this would also be chainable - each operation would return the full
list.
i'm interested in what people think of this idea.
here's the issue on google code:
http://code.google.com/p/jsplumb/issues/detail?id=202