decrypt notes

This commit is contained in:
2023-05-22 20:48:53 +02:00
parent 55a281581e
commit 7ca2b25e8f
11 changed files with 152 additions and 24 deletions

View File

@@ -57,7 +57,8 @@ const renderMindmap = () => {
// A function that determines whether the node should be animated
// All nodes animated by default on animate enabled
// Non-animated nodes are positioned immediately when the layout starts
animateFilter: function (node, i) {
// animateFilter: function (node, i) {
animateFilter: function () {
return true
},
@@ -88,7 +89,8 @@ const renderMindmap = () => {
componentSpacing: 40,
// Node repulsion (non overlapping) multiplier
nodeRepulsion: function (node) {
// nodeRepulsion: function (node) {
nodeRepulsion: function () {
return 2048
},
@@ -96,12 +98,14 @@ const renderMindmap = () => {
nodeOverlap: 4,
// Ideal edge (non nested) length
idealEdgeLength: function (edge) {
// idealEdgeLength: function (edge) {
idealEdgeLength: function () {
return 32
},
// Divisor to compute edge forces
edgeElasticity: function (edge) {
// edgeElasticity: function (edge) {
edgeElasticity: function () {
return 32
},