
My network option:
const options = {
nodes: {
shape: 'dot',
size: 15,
font: {
color: '#FFFFFF',
size: 15
},
physics: false,
},
edges: {
width: 1,
color: { inherit: 'from' },
smooth: { enabled: false },
arrows: {
to: {
enabled: true,
scaleFactor: 1,
type: 'arrow'
}
}
},
interaction: {
selectable: false
},
physics: {
enabled: false,
forceAtlas2Based: {
gravitationalConstant: -50,
centralGravity: 0.01,
springLength: 200,
springConstant: 0.1,
},
minVelocity: 0.75,
maxVelocity: 5,
solver: 'forceAtlas2Based',
timestep: 0.5,
},
};