🎨 Improve graph rendering https://github.com/siyuan-note/siyuan/issues/13196
This commit is contained in:
parent
1087fe8d52
commit
27fed40e5f
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue