This commit is contained in:
Daniel 2024-11-19 16:28:59 +08:00
parent 1087fe8d52
commit 27fed40e5f
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -579,8 +579,8 @@ export class Graph extends Model {
if (this.graphData.nodes.length > 1024) {
maxVelocity = 1024;
}
if (this.graphData.nodes.length < 50) {
maxVelocity = 50;
if (this.graphData.nodes.length < 256) {
maxVelocity = 256;
}
let minVelocity = this.graphData.nodes.length;
if (this.graphData.nodes.length > 64) {