Reputation: 525
I need to visualize a graph in R
using ggraph. Smaller graphs (~30k edges) gave me reasonable plots with this code
library(ggraph)
layout_stress <- graphlayouts::layout_with_sparse_stress(fullg_siblings_focus, pivots = 250)
ggg <- ggraph(graph, layout=layout_stress) +
geom_edge_arc(aes(color=link))
Now that my graph has 7 m nodes, I get this error when I call layout_with_sparse_stress()
Error in sparseStress(y, D, RpL, pivs, A, iter) :
SpMat::init(): requested size is too large; suggest to enable ARMA_64BIT_WORD
So it seems no ggraph/igraph layout is suitable for such a large graph. Or is there a way to fix this?
Upvotes: 0
Views: 133