Hareeshchandera / jsplumb

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

Label of a Connection #170

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Hi Simon,

How to get the label of a connection . I tried with the method conn.getLabel() 
but it is not working.

Regards
Rabindra

Original issue reported on code.google.com by gaan.rab...@gmail.com on 10 Jan 2012 at 9:10

GoogleCodeExporter commented 8 years ago
getLabel on a overlay works, but dunno is conn.getLabel() should work.

http://jsfiddle.net/wLTd9/

Original comment by j.verdur...@2bmore.nl on 10 Jan 2012 at 8:11

GoogleCodeExporter commented 8 years ago
a connection has zero or more overlays, each of which can be retrieved via the 
getOverlay(id) function.  so the way you've got that jsFiddle now is the 
correct usage.

Original comment by simon.po...@gmail.com on 10 Jan 2012 at 8:59

GoogleCodeExporter commented 8 years ago
so, i'm closing this out.  there does not appear to be anything to do.

Original comment by simon.po...@gmail.com on 12 Jan 2012 at 12:44