Change placement of text of link from middle to left (towards the from node)

hi

I wanted to change placement of text on link to 25% away from “from node”.
For eg:

I tried using offset but in that case while moving state the text gets aligned differently.
For eg:

i want text to maintain the same margin irrespective of the rotation of transition
Please suggest.
Thanks in advance

Instead of setting the label’s Offset, set its Fraction:

    go:LinkPanel.Fraction="0.25"

hi
i am still not able to get the desired results.

below is my code and the image of the diagram.
please let me know if there is something else i should be doing.

thanks in advance

I’m sorry, I guess I should have provided a more complete description. You also need to set go:LinkPanel.Index, or else it will always be at the midpoint.

If you try something like this:

        <go:NodePanel Sizing="Auto" . . .
                      go:LinkPanel.Orientation="Upright45"
                      go:LinkPanel.Fraction="0.75"
                      go:LinkPanel.Index="0">
           . . .

I think that will position the label at 3/4 * 1/3 == 1/4 of the whole distance, because the automatic calculations of the control points of a Bezier link are at 1/3 and 2/3 of the total distance.

thanks a lot :slight_smile: