Label on Links overlapped by another link

Hi!
is there a way to set a layer on the label which will be on top of any link? Or something like this.
I think I dont wonna go the way where I need to check if this label is overlapped by another rect and move this label if it is.

Do you want each link label to be in front of all links? That can only be done using a different Part. Here’s one possibility:
https://gojs.net/extras/linkLabelsInFront.html

Yes, exactly what I needed.
Thanks walter.