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

UI: Improve connector placement on map #15

Open
updraft0 opened this issue Feb 9, 2024 · 0 comments
Open

UI: Improve connector placement on map #15

updraft0 opened this issue Feb 9, 2024 · 0 comments
Labels
enhancement New feature or request frontend Frontend changes required

Comments

@updraft0
Copy link
Owner

updraft0 commented Feb 9, 2024

As a first pass, it seemed easier to draw connections between systems based on only the following pieces of information:

  • the position of the "from" system
  • the position of the "to" system
  • the "rank" of the connection on both sides (so e.g. whether it's the first of a single connection or the second of five)

This only works nicely up until you need to move the connections around from one side to another - where this breaks down because connections remain at the same "rank" no matter which side and are therefore incorrectly positioned. The position of the systems relative to each other is also important because connections shouldn't get crossed over if A is connected to both B and C, but C is above B on the map (y-coord) wise. The static ranking computed in the database is not useful in these cases and a more dynamic algorithm based on the map coordinates of systems needs to be developed.

@updraft0 updraft0 added enhancement New feature or request frontend Frontend changes required labels Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend Frontend changes required
Projects
Status: No status
Development

No branches or pull requests

1 participant