Label polyline with vertex numbers
For me, what you want works with the expression @geometry_part_num
. In the layer-styling, I set the style to be rendered by geometry-generator with the expression nodes_to_points( $geometry)
. As a marker, I select Font-marker and at the selection of the symbol, I select data-driven override with the expression @geometry_part_num