ls1intum / Apollon

UML Modeling Editor written in React
https://apollon-library.readthedocs.io
MIT License
65 stars 22 forks source link

Broken exported diagrams #312

Closed loreanvictor closed 9 months ago

loreanvictor commented 10 months ago

Describe the bug

In some cases, exported diagrams are broken, with boundaries and positions of elements being miscalculated, causing relationships to not connect, child elements not anchoring to their parents properly, etc.

To Reproduce

  1. Open this diagram
  2. Click on File > Export, and export as any desired format.
  3. See buggy export

Having relationships that affect the boundaries of the whole diagram seem to suffice as well, specifically relationships that have points with lower coordinates than other elements.

Expected behavior

Diagrams are exported correctly.

Screenshots

UMLClassDiagram-2

Environment

The issue seems environment agnostic. This is the environments I reproduced the issue for completeness.

 - OS: macOS Ventura 13.4.1
 - Browser: Chrome, Safari
 - Version: 114.0.5735.198, 16.5.1  (respectively).
rstief commented 10 months ago

Bug also occurs on Win10 + Chrome (ver 118.0.5993.90)