On links the user can change the logical direction (i.e flip the arrowhead) which changes the label. For example a link for Person → drives → car, would then change to Car → is driven by → person.
Furthermore the user can change the default label. The data model has 3 attribute:
-linkText
-flippedLinkText
-isFlipped
I can have a binding like this to show the correct value:
If you look at the documentation for Binding.makeTwoWayBinding | GoJS API or for Binding.backConverterBinding | GoJS API, you will see that the converter will be given, in addition to the new value as the first argument, the data object and the model as the second and third arguments.