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

fix unwrap on missing edge endpoints #177

Closed
wants to merge 2 commits into from

Conversation

XertroV
Copy link
Contributor

@XertroV XertroV commented Feb 14, 2024

fixes #166

@blitzarx1
Copy link
Owner

Hi! Sorry for the late response.

I do not see a way this can happen in real example.

We are iterating by edge ids and getting edge endpoints by its id. There can't be an edge without endoints. If you encounter panic on exactly this unwrap, I think we need to dig into the reason, rather then fixing symptoms.

@blitzarx1 blitzarx1 closed this Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unwrap panic in graph.rs, edge_by_screen_pos
2 participants