Closed stefano-caporale-wk closed 7 years ago
The reason is that markers are currently supported for paths only. The workaround would be to replace the line element with a path element:
<path d="M 100 100 L 200 200" marker-end="url(#triangle-end)" marker-start="url(#circle-start)" stroke="#000000"></path>
Thank you @HackbrettXXX . My bad on not doing a good check on paths. I'm closing the issue.
Since this is a possible improvement that we can add to the library and for documenting the current state, I am reopening this so that we can track it.
@stefano-caporale-wk we added marker support for line and polygon elements. This feature will come with the next release.
I used the following SVG as a test but the markers are not rendered in PDF.