Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported SVGs include property inline-size:0px which seems like an error #39

Open
Eddykasp opened this issue Aug 30, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Eddykasp
Copy link
Contributor

Eddykasp commented Aug 30, 2024

In Sprotty 1.3.0 the SVG exporter has been updated, see here. Not sure what the best way to resolve this is, but the property inline-size should probably not be in the final exported SVG.

Example diagram
diagram1

Github seems to strip this, here is the beginning of the raw SVG:

<svg xmlns="http://www.w3.org/2000/svg" id="stpa_0_root" class="sprotty-graph" style="border-block-end-color:rgb(211, 198, 170);border-block-start-color:rgb(211, 198, 170);border-bottom-color:rgb(211, 198, 170);border-inline-end-color:rgb(211, 198, 170);border-inline-start-color:rgb(211, 198, 170);border-left-color:rgb(211, 198, 170);border-right-color:rgb(211, 198, 170);border-top-color:rgb(211, 198, 170);caret-color:rgb(211, 198, 170);color:rgb(211, 198, 170);column-rule-color:rgb(211, 198, 170);flex-basis:0%;flex-grow:1;font-family:&quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;font-size:13px;inline-size:0px;outline-color:rgb(211, 198, 170);

@Eddykasp Eddykasp added the bug Something isn't working label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant