link.labels()

Return a shallow copy of labels array.

link.labels(labelsArray [, opt])

Set array of labels on the link.