How to customize the number on the line markups?

Hi!
Recently, I tried to use a line to represent the relationship between segmentation pairs. However, I want to display the custom number. Is there a way to achieve this goal? Displaying the description would be great too.

Currently, node name and measurements are displayed in the node properties label. You can disable length measurement to hide the length value. You can set a desired node name or add custom static measurements to display custom text there.

Node description is automatically updated based on measurements, so we would need to change the design (for example, introduce an additional node property to store measurement results string and change the subject hierarchy tree to be able to show that). It is doable, but since there are other ways to display custom text in the markup node properties label, this design change does not seem necessary.