GraphShape icon indicating copy to clipboard operation
GraphShape copied to clipboard

[BUG] KKLayoutAlgorithm limit exceed

Open dimitur98 opened this issue 2 years ago • 1 comments

Hi, A clear and concise description of what the bug is. I use GraphShape in my company project and recenlty I found a bug in it. I have a tried to make a graph of large amount of data and I stuck on a problem with kkLayoutAlgorithm. It hits the limit of the array. How can I fixed it or can you make update so the problem to be solved. Thank you.

dimitur98 avatar Jun 20 '22 10:06 dimitur98

Hello @dimitur98,

Do you have a sample that can showcase the issue your encountering in order to investigate? What are the limit you're reaching with which configuration?

Considering the MSDN documentation over arrays. You may have walked through this stackoverflow thread too which talk about limits. After a brief look at the algorithm, I imagine you can get an exception in the Initialize method of the KKLayoutAlgorithm right? In it, we're creating arrays using the vertex count so this can let thinking you're at least having a graph with a lot of vertices?.

KeRNeLith avatar Jul 04 '22 20:07 KeRNeLith