sometimes its not so easy to split the path at any point you like. Then you can use text on a path with startOffset to position an "arrow" at any point on a path...
path {
fill: none;
stroke: red;
stroke-width: 3
}
text {
font-size: 35px;
fill: red;
dominant-baseline: central
}