Problem about linking!

I'm linking from left to right!
but it wrong!
this is my nodetemplate code:

I don’t understand what is wrong and what you actually want.

If you want the “DoubleArrow” Path to be the node’s “port”, then you need to set go:Node.PortId="" on that Path element. By default the “port” is the whole node, i.e. the Grid element in this case.

I want link from the leftcenter to rightcenter the center element is a DoubleArrow NodeFigure.