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

elk.stress edge labels are not positioned as expected in unconnected graphs #1121

Open
YorikHansen opened this issue Jan 5, 2025 · 1 comment
Labels
bug Erroneous behaviour.

Comments

@YorikHansen
Copy link

Describe the bug
When using the elk.stress algorithm to layout an unconnected graph, edge labels are not always correctly positioned on their corresponding edges. This issue appears to occur specifically when multiple nodes form a cycle (or would form a cycle if the edges were treated as undirected or bidirectional).

Example (edgeLabels.inline: true makes this even clearer)

Expected behavior
The edge labels should be at their / on their corresponding edge.

Screenshots
grafik

ELK Version
0.9.0 and above (note: this is not an issue in v0.8)

Additional context
Add any other context about the problem here.

@YorikHansen YorikHansen added the bug Erroneous behaviour. label Jan 5, 2025
@YorikHansen
Copy link
Author

A "rollback" to v0.8 would not work, as there seem to be other issues regarding label placement: example

@Eddykasp Eddykasp added this to the Release 0.11.0 milestone Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Erroneous behaviour.
Projects
None yet
Development

No branches or pull requests

2 participants