Skip to content

Fix labels growing outside of nodes#79

Open
Kr0nox wants to merge 1 commit intomainfrom
fix/label-size-calculation
Open

Fix labels growing outside of nodes#79
Kr0nox wants to merge 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.

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.

1 participant