Hey guys,
i'm currently working on a project, in which it would be nice to display a really large network graph. At the moment i have 21,012 nodes and 35,242 edges, and vis will draw it! So first of all: Great job, great lib, thanks!
But the physics positioning wasn't finished after 16 hours :-( My Idea is to build a server side worker, which run's prerenders the graph, and saves the positions of the nodes. But ~24h hours is a bit to much for the prerender duration.
Currently i'm working with the following options:
{
nodes: {
shape: 'dot',
borderWidth: 2,
font: {
face: 'Roboto, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif',
size: 14
}
}, edges: {
arrows: {
from: false,
to: true
},
scaling: {
min: 12
},
smooth: {
type: 'continuous'
},
width: 1,
font: {
face: 'Roboto, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif',
size: 14
}
}, layout: {
randomSeed: 34,
improvedLayout: false
}, physics: {
stabilization: false,
barnesHut: {
gravitationalConstant: -80000,
springConstant: 0.001,
springLength: 200
}
}, interaction: {
hideEdgesOnDrag: true
}
Can anyone provide some improvements for the performance?