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

Update to Sprotty 1.3.0 #191

Merged
merged 2 commits into from
Aug 6, 2024
Merged

Update to Sprotty 1.3.0 #191

merged 2 commits into from
Aug 6, 2024

Conversation

NiklasRentzCAU
Copy link
Member

Updates to Sprotty version 1.3.0 and related packages.

This update changed something in the SVG export, so with a few more changes this also now correctly bounds the SVG to the graph bounds, including any strokes around rectangles or shadows. Fixes #185.

…of the getBBox call caused by stroke widths or because of offsets of invisible outer nodes. Do a best guess to add the same offset on the right/bottom.

Fixes #185
@NiklasRentzCAU NiklasRentzCAU added enhancement New feature or request klighd-core labels Aug 6, 2024
@NiklasRentzCAU NiklasRentzCAU merged commit 6c8c06b into main Aug 6, 2024
1 check passed
@NiklasRentzCAU NiklasRentzCAU deleted the nre/sprotty-1-3-0 branch August 6, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request klighd-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SVG export bounds are around the graph elements, not their graphical representation
1 participant