refactor: migrate graph canvas to use web worker for force layout computation
This commit is contained in:
Vendored
+13
-21
@@ -1,30 +1,22 @@
|
||||
{
|
||||
"collapse-filter": true,
|
||||
"collapse-filter": false,
|
||||
"search": "",
|
||||
"showTags": false,
|
||||
"showAttachments": false,
|
||||
"hideUnresolved": false,
|
||||
"showOrphans": false,
|
||||
"collapse-color-groups": true,
|
||||
"colorGroups": [
|
||||
{
|
||||
"query": "tag:test",
|
||||
"color": {
|
||||
"a": 1,
|
||||
"rgb": 11657324
|
||||
}
|
||||
}
|
||||
],
|
||||
"collapse-display": true,
|
||||
"collapse-color-groups": false,
|
||||
"colorGroups": [],
|
||||
"collapse-display": false,
|
||||
"showArrow": false,
|
||||
"textFadeMultiplier": 0,
|
||||
"nodeSizeMultiplier": 1,
|
||||
"lineSizeMultiplier": 1,
|
||||
"collapse-forces": true,
|
||||
"centerStrength": 0.5,
|
||||
"repelStrength": 10,
|
||||
"linkStrength": 1,
|
||||
"linkDistance": 250,
|
||||
"scale": 1,
|
||||
"textFadeMultiplier": -3,
|
||||
"nodeSizeMultiplier": 0.25,
|
||||
"lineSizeMultiplier": 1.45,
|
||||
"collapse-forces": false,
|
||||
"centerStrength": 0.58,
|
||||
"repelStrength": 4.5,
|
||||
"linkStrength": 0.41,
|
||||
"linkDistance": 20,
|
||||
"scale": 1.4019828977761002,
|
||||
"close": false
|
||||
}
|
||||
Vendored
+10
-10
@@ -3,20 +3,20 @@
|
||||
"search": "",
|
||||
"showTags": false,
|
||||
"showAttachments": false,
|
||||
"hideUnresolved": true,
|
||||
"showOrphans": true,
|
||||
"hideUnresolved": false,
|
||||
"showOrphans": false,
|
||||
"collapse-color-groups": false,
|
||||
"colorGroups": [],
|
||||
"collapse-display": false,
|
||||
"showArrow": false,
|
||||
"textFadeMultiplier": 0,
|
||||
"nodeSizeMultiplier": 1,
|
||||
"lineSizeMultiplier": 1,
|
||||
"textFadeMultiplier": -3,
|
||||
"nodeSizeMultiplier": 0.25,
|
||||
"lineSizeMultiplier": 1.45,
|
||||
"collapse-forces": false,
|
||||
"centerStrength": 0.5,
|
||||
"repelStrength": 10,
|
||||
"linkStrength": 1,
|
||||
"linkDistance": 250,
|
||||
"scale": 1,
|
||||
"centerStrength": 0.58,
|
||||
"repelStrength": 4.5,
|
||||
"linkStrength": 0.41,
|
||||
"linkDistance": 20,
|
||||
"scale": 1.4019828977761002,
|
||||
"close": false
|
||||
}
|
||||
Vendored
+13
-22
@@ -11,14 +11,10 @@
|
||||
"id": "17cca9c5f5a7401d",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "HOME.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "HOME"
|
||||
"type": "graph",
|
||||
"state": {},
|
||||
"icon": "lucide-git-fork",
|
||||
"title": "Graph view"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -78,7 +74,7 @@
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 449.5
|
||||
"width": 205.5
|
||||
},
|
||||
"right": {
|
||||
"id": "3932036feebc690d",
|
||||
@@ -94,7 +90,6 @@
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "HOME.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
@@ -104,7 +99,7 @@
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-coming-in",
|
||||
"title": "Backlinks for HOME"
|
||||
"title": "Backlinks"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -113,12 +108,11 @@
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "HOME.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-going-out",
|
||||
"title": "Outgoing links from HOME"
|
||||
"title": "Outgoing links"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -142,13 +136,12 @@
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "HOME.md",
|
||||
"followCursor": false,
|
||||
"showSearch": false,
|
||||
"searchQuery": ""
|
||||
},
|
||||
"icon": "lucide-list",
|
||||
"title": "Outline of HOME"
|
||||
"title": "Outline"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -156,19 +149,17 @@
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "footnotes",
|
||||
"state": {
|
||||
"file": "HOME.md"
|
||||
},
|
||||
"state": {},
|
||||
"icon": "lucide-file-signature",
|
||||
"title": "Footnotes"
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"currentTab": 2
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300,
|
||||
"collapsed": true
|
||||
"width": 234.5
|
||||
},
|
||||
"left-ribbon": {
|
||||
"hiddenItems": {
|
||||
@@ -184,6 +175,7 @@
|
||||
"active": "17cca9c5f5a7401d",
|
||||
"lastOpenFiles": [
|
||||
"test.md",
|
||||
"HOME.md",
|
||||
"folder1/test2.md",
|
||||
"folder2/test2.md",
|
||||
"folder2",
|
||||
@@ -194,7 +186,6 @@
|
||||
"Fichier_not_found.png.md",
|
||||
"welcome.md",
|
||||
"tata/briana/test-todo.md",
|
||||
"HOME.md",
|
||||
"titi/tata-coco.md",
|
||||
"tata/briana/test-table.md",
|
||||
"tata/briana/test-note-1.md",
|
||||
|
||||
Reference in New Issue
Block a user