Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2024-11-19 16:48:39 +08:00
commit 3746a9bb30

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) {