Hello Shyam,
I thought, I almost done.. until I found new issue about rendering label this morning.
I create Node as BasicShapes.Path
PathData = "M 0,0 L 1,0 M 0,1 M 0,-1" (I have more complex, this is the simplest. I need to have M 0,1 M 0,-1 to balance space above and below line, so the line is at middle)
Pivot = (0 , 0.5)
Then add Label with Offset.Y=0.45f and VerticalAlignment.Bottom
I got what I need BUT.. NOT every today's browsers.
MS Edge, IE, Chrome are perfect. I got the line at middle and label above the line.
Safari, FireFox are NOT OK. I got the line draw at the top of node space and label place under the line.
Any suggestion?