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

Complement function is broken for larger graphs #2

Open
xiaoxiae opened this issue May 7, 2020 · 0 comments
Open

Complement function is broken for larger graphs #2

xiaoxiae opened this issue May 7, 2020 · 0 comments
Labels
bug Something isn't working good first issue

Comments

@xiaoxiae
Copy link
Owner

xiaoxiae commented May 7, 2020

The complement function poorly handles larger graphs, making the nodes fly in all directions, causing arithmetic errors.

Steps to reproduce

  1. create a large cycle
  2. press the Complement button

Possible solutions

The fix should pretty much just involve trying out various functions that repulse/attract the nodes, since the current ones don't seem to handle long distances too well (see __init__.Canvas.repulsion and __init__.Canvas.attraction attributes).

@xiaoxiae xiaoxiae added bug Something isn't working good first issue labels May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue
Projects
None yet
Development

No branches or pull requests

1 participant