Prevent bleeding of link labels into nodes

Hello!

When my links have labels, if these labels are too long or the links are too short, they bleed into the nearby nodes. Would there be a way for the labels to display an ellipsis in such cases?

Thanks,
Marc.

You could write code to check the label to see if it overlaps any nodes.

But it might be easier to just put each Link in a Layer that is behind the Nodes.
If you aren’t otherwise using it, you could just use the “Background” layer:
layerName: "Background"
in your link template.

It works. Thanks Walter!