Skip to content

Diagrams do not render correctly (SVG / PNG) #6

@laingsimon

Description

@laingsimon

Draw.io offloads PDF rendering to a webservice, https://exp-pdf.draw.io/ImageExport4/export, it may be possible to re-use this - or identify how it works to achieve the same result in-house.

Reproduction steps

http://localhost:8080/?url=https://laingsimon.github.io/render-diagram/Sample%20file.xml&format=png

actual expected
image image
POST https://exp-pdf.draw.io/ImageExport4/export HTTP/1.1
Host: exp-pdf.draw.io
Content-Type: application/x-www-form-urlencoded

format=png&allPages=1&bg=none&base64=0&embedXml=0&xml=<url encoded file content>

This method works for PDF & PNG exports, but doesn't support SVG

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions