Skip to content

Added example for parent size behavior with node labels.#23

Open
soerendomroes wants to merge 2 commits intoeclipse-elk:masterfrom
soerendomroes:sdo/nodeLabelParentSize
Open

Added example for parent size behavior with node labels.#23
soerendomroes wants to merge 2 commits intoeclipse-elk:masterfrom
soerendomroes:sdo/nodeLabelParentSize

Conversation

@soerendomroes
Copy link
Copy Markdown
Contributor

I want to showcase all the different options I am always forgetting about node labels and what works and what does not work here.

I hope that this may help users or me in the future.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a comprehensive example demonstrating how node label placement and parent size behavior work together in ELK (Eclipse Layout Kernel). The example showcases different label placement configurations and how they affect parent node sizing.

  • Demonstrates various node label placement options (center, top, bottom, top-left) and their sizing effects
  • Shows the difference between child nodes and parent nodes in label space reservation
  • Illustrates the use of nodeSize.constraints and nodeSize.options for controlling label space allocation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread examples/labels/nodeLabelAndParentSize.elkt Outdated
Comment thread examples/labels/nodeLabelAndParentSize.elkt Outdated
Comment thread examples/labels/nodeLabelAndParentSize.elkt Outdated
Comment thread examples/labels/nodeLabelAndParentSize.elkt
Comment thread examples/labels/nodeLabelAndParentSize.elkt Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Sören Domrös <sdo@informatik.uni-kiel.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants