Blazor.Diagrams
Blazor.Diagrams copied to clipboard
Enhancement request: Export to PDF
It would be really nice to get a PDF of the diagram :-)
Not sure how the API would look, maybe return an IFormFile?
Hello, Exporting to any format will prove to be very difficult. This is because the library uses a mix of HTML and SVG, and the library doesn't know how a node or a link looks like, so it can't generate anything itself.
JS libraries can help you with this. You can use html2canvas
in order to help you do what you want.