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

Align layer labels with layer width in horizontal layout #2290

Open
1 task
rashidakanchwala opened this issue Mar 3, 2025 · 0 comments
Open
1 task

Align layer labels with layer width in horizontal layout #2290

rashidakanchwala opened this issue Mar 3, 2025 · 0 comments

Comments

@rashidakanchwala
Copy link
Contributor

rashidakanchwala commented Mar 3, 2025

Description:

In the horizontal layout, the width of each layer is determined by the number of nodes inside it, which is correct. However, the layer names (labels) are positioned above the layer rectangle and their width is calculated separately from the layer's width.

This misalignment makes it difficult to:

  • Ensure that long layer names fit within the corresponding layer rectangle.
  • Properly wrap or adjust long labels.
  • Maintain padding on both sides of the text for readability (especially when you zoom in/zoom out)
  • Since layer rectangles and layer labels are calculated differently, fixing this requires changes to how labels are positioned and how their width is determined.

Image

This issue is to fix the above and it is going to be a bit complicated. I would give it a 5 or an 8.

  • Include labels so that we can categorise your feature request
@rashidakanchwala rashidakanchwala changed the title <Title> Align layer labels with layer width in horizontal layout Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant