You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see that the arrow head on top is facing left, but it is supposed to face down. Root cause is there are two duplicate points on the edge, which makes SVG cannot decide the direction, so it use the default direction.
Expected behavior
There shouldn't be duplicate points on an edge.
Describe the bug
![Screenshot 2024-10-30 at 10 50 55 AM](https://private-user-images.githubusercontent.com/733544/381673497-592d6f5c-f81b-4baa-802a-888ece590362.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyODU0MzIsIm5iZiI6MTczOTI4NTEzMiwicGF0aCI6Ii83MzM1NDQvMzgxNjczNDk3LTU5MmQ2ZjVjLWY4MWItNGJhYS04MDJhLTg4OGVjZTU5MDM2Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQxNDQ1MzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02NTI3ZGJkOGZhZDE3OGE4YjZmZjQ1N2EwM2NmN2FhMGQwNzdmZWI1ZjA1ZGU5NzgyZGQ1ZjNlNzllYjdiMjViJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.fjr2hKwZ1v0j1-sKuOYGVeTWNVem-TCZtcuBEoHFM4Y)
There are duplicate points on edges. It makes the SVG marker-end arrow head have a wrong direction.
Reproduce it
You can see that the arrow head on top is facing left, but it is supposed to face down. Root cause is there are two duplicate points on the edge, which makes SVG cannot decide the direction, so it use the default direction.
Expected behavior
There shouldn't be duplicate points on an edge.
ELK Version
0.9.3
Additional context
You can see that
startPoint === bendPoints[0]
andendPoint === bendPoints[bendPoints.length-1]
.But this doesn't happen to other edges, only this edge has the issue.
The text was updated successfully, but these errors were encountered: