fix indexing causing main thread freeze, various polish
This commit is contained in:
@ -25,23 +25,23 @@ const defaultOptions: GraphOptions = {
|
||||
drag: true,
|
||||
zoom: true,
|
||||
depth: 1,
|
||||
scale: 1.2,
|
||||
repelForce: 2,
|
||||
centerForce: 1,
|
||||
scale: 1.1,
|
||||
repelForce: 0.5,
|
||||
centerForce: 0.3,
|
||||
linkDistance: 30,
|
||||
fontSize: 0.6,
|
||||
opacityScale: 3
|
||||
opacityScale: 1
|
||||
},
|
||||
globalGraph: {
|
||||
drag: true,
|
||||
zoom: true,
|
||||
depth: -1,
|
||||
scale: 1.2,
|
||||
repelForce: 1,
|
||||
centerForce: 1,
|
||||
scale: 0.9,
|
||||
repelForce: 0.5,
|
||||
centerForce: 0.3,
|
||||
linkDistance: 30,
|
||||
fontSize: 0.5,
|
||||
opacityScale: 3
|
||||
fontSize: 0.6,
|
||||
opacityScale: 1
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user