Closed GoogleCodeExporter closed 9 years ago
without a demo page it's difficult for me to see what's happening here, but it
would appear that you're passing the same JS object in as the paint style for
all your connections; then when you make a change to it, everything is
affected. i'm not sure that this is a bug, but then i can't be, without a demo
page.
the selectDemo page is a work in progress and i would not want to release a
version of jsPlumb with such an awful API to achieve something simple like
changing a connection's style - i think perhaps what this shows is that
Connections should have a setStyle method, like the one i just added to
Endpoint.
Original comment by simon.po...@gmail.com
on 16 Mar 2011 at 9:26
i've now added a setPaintStyle method to Connection in 1.2.6-RC1. i haven't
finished the documentation yet but you can see it in use in
demo/jquery/selectDemo.html. marking this as fixed.
Original comment by simon.po...@gmail.com
on 19 Mar 2011 at 11:08
Original issue reported on code.google.com by
rkkil...@gmail.com
on 16 Mar 2011 at 4:39