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

Igreen1 #880

Merged
merged 5 commits into from
Sep 29, 2020
Merged

Igreen1 #880

merged 5 commits into from
Sep 29, 2020

Conversation

igreen1
Copy link
Collaborator

@igreen1 igreen1 commented Sep 29, 2020

Fixes #700 and fixes #444 and makes two minor corrections in the draw self-referential edge function

The two small corrections are

  1. Adding a comment as it appears a calculation has changed in the background since xRotation doesn't affect the self-referential edge drawing. A warning for future editors
  2. Fixing an indenting style issue for the return statement

Increased boundary margin by a few pixels to remove the appearance that the node (gene) was going over the rightmost edge.
Instead of increasing boundary, better calculation for right boundary
This will push the graph edges away from the viewport edge.
In other words, the links between nodes will curve inwards if the node is sufficiently near the constraints of the viewport
Made weights of self-referential edges not able to move past viewport when locked
It removes a magic number and replaces it with the right variable
Copy link
Owner

@dondi dondi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

2 participants