Skip to content

Fix labels growing outside of nodes#79

Merged
Kr0nox merged 1 commit intomainfrom
fix/label-size-calculation
Feb 19, 2026
Merged

Fix labels growing outside of nodes#79
Kr0nox merged 1 commit intomainfrom
fix/label-size-calculation

Conversation

@Kr0nox
Copy link
Contributor

@Kr0nox Kr0nox commented Feb 7, 2026

The LabelSizeRenderer was not correctly injected. Due to that the label size was not calculated and set as 0.

Now we set it manually on node creation.
To avoid circular injections (leading to too much recursion) we split the renderer into a size calculator and a renderer.

@Kr0nox Kr0nox merged commit c04336c into main Feb 19, 2026
4 checks passed
@Kr0nox Kr0nox deleted the fix/label-size-calculation branch February 19, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments