NetworkLayout.jl icon indicating copy to clipboard operation
NetworkLayout.jl copied to clipboard

Springify (modded Spring layout with CUDA kernel)

Open Cvikli opened this issue 2 years ago • 3 comments

I find Spring layout sometimes too overcrowded at specified graphs. This layout algorithms sometimes gives a little bit better graph structure. It uses CUDA for ordering as I need larger graphs sometime to order.

I know there are some works need to be done to be merged. But I hope it is a good start.

Cvikli avatar May 15 '22 12:05 Cvikli

I did not have a closer look at the code yet. However, this adds CUDA as a dependency which is quite hefty and not usable by all people. I'd suggest, that a GPU accelerated layouts should live in a separate package like NetworkLayoutCUDA.jl and uses the interface for layouts...

hexaeder avatar May 31 '22 09:05 hexaeder

Could this also be done with just GPUArrays?

SimonDanisch avatar May 31 '22 09:05 SimonDanisch

@hexaeder you are right. CUDA sounds a little bit too big dependency. :( I don't see any other option than creating another package for it indeed.

@SimonDanisch Isn't that package somewhat deprecated... or unadvised to be used? Also if it is advised, would it solve our dependency issue? Also shouldn't we use it with kernelabstraction if so?

Cvikli avatar May 31 '22 11:05 Cvikli