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

KKLayoutAlgorithm will not lay out a Graph when all nodes are initialized at the same location #178

Open
tomnelson opened this issue Jan 10, 2018 · 2 comments

Comments

@tomnelson
Copy link
Contributor

There are some hacks in the code now that circumvent this error by adding in a RandomLocationTransformer, but I think that the implementation of KKLayoutAlgorithm should be robust enough to work no matter where the nodes start out initially.

@jrtom
Copy link
Owner

jrtom commented Jan 10, 2018

Thanks for the heads-up. I don't know if this is an intrinsic flaw in the Kamada-Kawai algorithm (that we just need to work around in the implementation) or a flaw in our implementation of it, but either way it's something we should fix.

@jrtom
Copy link
Owner

jrtom commented Feb 5, 2018

Reopening; as far as I know this is still an issue we need to track.

@jrtom jrtom reopened this Feb 5, 2018
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

No branches or pull requests

2 participants