I use svg path with
style="stroke: rgb(0,0,0); stroke-width: 10; stroke-linecap: round; fill: none;"
that allows me not to close svg path and it will have particular stroke width and shape.
But I need to use pure svg path without any properties or styles and get the same result. Is there're any algorithms to achieve it?
Here is an input svg.
An output should looks like
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="500" height="500" xml:space="preserve">
<path d="path-data"/>
</svg>