-
Notifications
You must be signed in to change notification settings - Fork 86
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
Edge-Node overlap in JSON format #1093
Comments
Graph showing the problem
|
Are you getting the following layout when you use ELKT? I tried auto-translating the given JSON into ELKT, and that's what I got. What's interesting to me is that the layout is different in many ways, not just in the one node-edge crossing.
|
Also @Drakae , maybe consider putting the JSON into a |
Originally, I set the size of the ports to (5,5). However, when using Sprotty the size is not applied if it is not used for rendering the ports. That is why this resulted in size (0,0) in the provided JSON graph. Changing this to (1,1) solves the problem. |
@Drakae do you think the bug is a result of the node flexibility option? |
Could be, at least for the given diagram deleting the option solves the problem. |
Describe the bug
An edge is routed through a node leading to a node-edge overlap. This only happens in the JSON format and not with the ELKT format.
Graph showing the problem is in the comments because it is too big for this issue and for a link to elklive.
Expected behavior
No node-edge overlap.
Screenshots
Edge overlaps with the node "SC1"
ELK Version
JSON 0.9.3
ELKT 0.9.1
The text was updated successfully, but these errors were encountered: