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

Computed bounding box of compound nodes is wrong #135

Open
spoenemann opened this issue Oct 15, 2019 · 0 comments
Open

Computed bounding box of compound nodes is wrong #135

spoenemann opened this issue Oct 15, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@spoenemann
Copy link
Contributor

With the new package node added to the class diagram example in #134, a weird behavior is revealed:
When the Bar class is moved out of its package, the size of the package is updated accordingly. But if the new position is left of or above the package, the position of the package is not updated, so the resizing has no effect (i.e. the class is rendered outside of the package).

This is caused by HiddenBoundsUpdater.getBoundsFromDOM, which applies the size of the bounding box obtained from the DOM, but not its position.

@spoenemann spoenemann added the bug Something isn't working label Nov 6, 2023
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