How to make Link Label Transparent

I’m wondering how can I make link labels transparent as below.

I believe State Chart demonstrates what you are looking for

Thanks for the reply. Actually I tried this but still towards to two endings label is not trasparent.

Is there a elegant way to overcome this?

Set the TextBlock.background to be “white” or whatever your diagram background color is.

That sample intentionally sets it to a Brush that has a gradient so that the stroke of the link path is still partly visible. Just replace with a solid color.

Yep, It did the trick. Thanks Walter!