Change Arrow

I’d like to change the FromArrow and ToArrow in code.
Depending on the FromNode and the ToNode the Arrows need to be set to a specific Arrow Head.

So I tried to implement the OnLinkAdded and wanted to set it over the.
I have the Link as a parameter from that function and as I understand the Path gives me the Path of the one with the x:Name set to Path

How can I set the from and to arrow to Block or none depending on the FromNode and ToNode?

I took a look at the Link Demo, that solved my problem :)

I’m glad you figured it out.

To be clear, the Path that takes the attached property such as go:LinkPanel.ToArrow is actually an arrowhead, not the Path that displays the “line” going between nodes.