Links Overlapping

Hi, i try to build diagram very similar to “State Chart” that appears in your Demo, but when I drag the labels, they appear to be below other links:

Is there a way to make labels to be always above any link?
Thanks

Are you asking about dragging the labels on the links, the labels on the nodes, or dragging the nodes themselves?

You can always have the Links behind the Nodes by setting:

    go:Part.LayerName="Background"

on the Link DataTemplate(s).

I’m asking about dragging the labels on the link.
For example I want the label “down”:

To be shown above any link that I drag to:

The label and the link are configured in following DataTemplate (this example taken from GoWPFDemo sample - StateChart):
`

<DataTemplate x:Key="TransitionTemplate">
        <go:LinkPanel go:Link.SelectionElementName="Path" go:Part.Reshapable="True">
    <go:Link.Route>
      <go:Route Curve="Bezier" Adjusting="Stretch"
                RelinkableFrom="True" RelinkableTo="True"
                Curviness="{Binding Path=Data.Curviness}" />
    </go:Link.Route>
    <go:LinkShape x:Name="Path" StrokeThickness="2"
                  Stroke="{Binding Path=Part.IsSelected,
                           Converter={StaticResource theSelectedBrushConverter}}" />
    <Path Fill="Black" go:LinkPanel.ToArrow="Standard" />
    <go:NodePanel Sizing="Auto" go:LinkPanel.Offset="{Binding Path=Data.Offset, Mode=TwoWay}">
                <Rectangle>
        <Shape.Fill>
          <RadialGradientBrush>
            <GradientStop Offset="0.5" Color="White" />
            <GradientStop Offset="1" Color="Transparent" />
          </RadialGradientBrush>
        </Shape.Fill>
      </Rectangle>
      <TextBlock Text="{Binding Path=Data.Text, Mode=TwoWay}"
                 TextWrapping="Wrap" TextAlignment="Center"
                 go:Part.TextEditable="True" Margin="10"  />
    </go:NodePanel>
  </go:LinkPanel>
</DataTemplate>

`

There is a ZOrder property for Nodes, but not for Links.

I suppose you could try calling LinkLayer.Remove and then LinkLayer.Add of the Link. Link.Layer has the Layer that it’s in.