How can we calulate distance between Nodes in Meshing triangle

Begineer:I have completed Meshing and want to calulate the distance between nodes ,and draw line between origin and node(Id) of mesh triangle.
please help me

Bob dev's picture

please help me