Created attachment 62886 [details] a named arrow as appear in Draw is usefull a (automatic) text background color feature for lines (and shapes). As now a named arrow appear Strikethrough, see attached "arrowNamedDraw". Visio has this feature, see attached "arrowNamedVisio".
Created attachment 62887 [details] a named arrow as appear in Visio
You can manually edit the text to move it above or below the line. But the example you showed from Visio does indeed look nice. Making this a lowest priority enhancement. Thanks for reporting.
how do you move the text of a named arrow?
Highlight text, right click, click on "Text...", add a number to "Spacing to borders". For instance to move it up 2 inches add a 2" bottom border and it'll push it up. An example that I did awhile back: https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg
ok thank you for explanation of a workaround
Created attachment 64102 [details] named arrow in Visio with background this show the text background color
*** This bug has been marked as a duplicate of bug 45028 ***
bug 45028 seems related to connectors and not lines and shapes like this one. So please mark this as duplicate but be sure to add a note on that bug to solve the trouble with simple lines too ot this RFE will be lost.
Reopened as bug 45028 is for libvisio component, and this ticket is improvement for LibreOffice Draw.