Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 29, 2019. It is now read-only.

Conversation

@JoshDreamland
Copy link
Contributor

@JoshDreamland JoshDreamland commented Jan 23, 2017

Using the 'directed' sort method, the layout engine seemed to ignore treeSpacing (or only apply it to the first tree). This would also lead to trees colliding with one another, and having their nodes tangled in space. This complaint surfaced in a couple bugs, including #2494. This should be a step toward fixing that. For whatever reason, this code never runs when using the "hubsize" sort method.

Using the 'directed' sort method, the layout engine seemed to ignore treeSpacing (or only apply it to the first tree). This would also lead to trees colliding with one another, and having their nodes tangled in space. This complaint surfaced in a couple bugs, including visjs#2494. This should be a step toward fixing that. For whatever reason, this code never runs when using the "hubsize" sort method.
Copy link
Member

@mojoaxel mojoaxel left a comment

Choose a reason for hiding this comment

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

@JoshDreamland Wow! a simple fix that looks like it would fix a lot of issues. Very very nice! Thanks!

@yotamberk yotamberk merged commit 3456acf into visjs:develop Jan 26, 2017
@JoshDreamland JoshDreamland deleted the patch-1 branch January 26, 2017 17:08
@joe-dirte
Copy link

Any idea when this will be merged to master?

@yotamberk
Copy link
Member

in a few weeks when i can find time to do it.
I am currently working alone maintaining the project and have my own job and projects.

@joe-dirte
Copy link

Thanks Yotam , Wasn't trying to sound pushy was just curious. Thanks for the great product!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants