-
Notifications
You must be signed in to change notification settings - Fork 0
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
Incorrect Number of Edge Crosses for edges with Bendpoints #7
Comments
@canbax Let's please add a parameter if needed to consider bend points in calculations of metrics involving edges. Particularly we at least need this for orthogonal edges (edges with horizontal and vertical line segments only). Notice that edge ends might have connection points / ports different from clipping points going into a node's center. |
I didn't add any new parameters. It will check if there are segment points and then it should calculate accordingly |
@MobiZaman Please verify |
Can you attach the json file for easy debugging? |
The edge styling data is also needed to create the bendpoints, so only the json file won't be useful. The bug can be reproduced as follows:
Note: Please disregard the values of the parameters displayed on the top of the page. They are incorrect. The correct values can be checked with (cy.layvo("get").generalProperties()) after the layout has finished. |
The code seems to be working fine for now. I will confirm this on multiple graphs and then close this issue. |
While detecting edge crossings, the code does not consider if the edge is composed of multiple segments, hence finding the intersection of the straight line from source to target with other nodes.
The text was updated successfully, but these errors were encountered: