jung icon indicating copy to clipboard operation
jung copied to clipboard

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

Open tomnelson opened this issue 8 years ago • 2 comments

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.

tomnelson avatar Jan 10 '18 18:01 tomnelson

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 avatar Jan 10 '18 22:01 jrtom

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

jrtom avatar Feb 05 '18 03:02 jrtom