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

org.eclipse.elk.nodeLabels.placement values have no effect #188

Open
robert-wettstaedt opened this issue Dec 1, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@robert-wettstaedt
Copy link

robert-wettstaedt commented Dec 1, 2022

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Current behavior

Adding the layout option org.eclipse.elk.nodeLabels.placement will always put the node labels above the node, regardless of the used value. None of the possible values (H_LEFT, H_CENTER, H_RIGHT, V_TOP, V_CENTER, V_BOTTOM, INSIDE, OUTSIDE, H_PRIORITY) will have any effect on the label position. Even the value INSIDE will place the label outside of the node.

Expected behavior

Using the layout option 'org.eclipse.elk.nodeLabels.placement': 'H_LEFT' should place the label on the left side of the node.
Using the layout option 'org.eclipse.elk.nodeLabels.placement': 'V_BOTTOM' should place the label on the bottom of the node.
Etc.

Minimal reproduction of the problem with instructions

Code Sandbox

What is the motivation / use case for changing the behavior?

Placing labels to specific sides outside of a node

Environment


Libs:
- react version: 18.2.0
- realayers version: 5.1.0


Browser:
- [x] Chrome (desktop) version 81
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [x] Firefox version 108
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

@amcdnl amcdnl added the bug Something isn't working label Dec 1, 2022
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

2 participants