decrypt notes
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user