Skip to content

Conversation

@mert-kurttutan
Copy link
Contributor

This pr fixes on some of the errors regarding the implementation of the algorithm in the paper "Fast and Simple Horizontal Coordinate Assignment"

For some reason the scanning on top bottom direction was not implemented instead additional scanning on left right direction.

Also, the step of getting final coords from different 4 variations of algo uses the mean, not the average median. This is also corrected.

@mert-kurttutan
Copy link
Contributor Author

Also, added test cases where the difference is obvious after the correction

@mert-kurttutan
Copy link
Contributor Author

This is also crucial when balancing the x coordinates of subgraphs (that I am developing currently in another branch)

@nadavrot
Copy link
Owner

Can you please attach pictures to the pull request?

@mert-kurttutan
Copy link
Contributor Author

Before this pr:
dag_diamond_master
tree_master

After pr:
dag_diamond
tree

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