ParaGraphL icon indicating copy to clipboard operation
ParaGraphL copied to clipboard

When trying out this library with a large network, I was encountering a texture size error

Open danpaulsmith opened this issue 7 years ago • 2 comments

What does this line do? And does node count/edge count matter, and is there a texture size limit?

https://github.com/nblintao/ParaGraphL/blob/b5af0695c15b2dca9ddd8e31ebc8237728441780/sigma.layout.paragraphl.js#L90

Thanks

danpaulsmith avatar Feb 07 '18 13:02 danpaulsmith

There is a texture size limit depending on your GPU and WebGL version. The current ParaGraphL is not robust for any large number of node/edge. Maybe you would like to use other solutions without WebGL.

nblintao avatar Feb 08 '18 01:02 nblintao

What does this line do? And does node count/edge count matter, and is there a texture size limit?

https://github.com/nblintao/ParaGraphL/blob/b5af0695c15b2dca9ddd8e31ebc8237728441780/sigma.layout.paragraphl.js#L90

Thanks

Because only the first line of FBO is supported gl.readPixels(0, 0, nodesCount, 1, gl.RGBA, gl.FLOAT, output_arr);

Several changes are required to support this, including GLSL code

doudoulaiye avatar Jul 30 '19 07:07 doudoulaiye