diff --git a/static/js/update_mindmap.js b/static/js/update_mindmap.js index f840067..2a6c7d2 100644 --- a/static/js/update_mindmap.js +++ b/static/js/update_mindmap.js @@ -110,7 +110,9 @@ const mindmapData = { category: 'Philosophie', description: 'Die Lehre vom Denken und der Erkenntnis', hasChildren: true, - expanded: false + expanded: false, + neuronSize: 8, + neuronActivity: 0.8 }, { id: 'science', @@ -118,7 +120,9 @@ const mindmapData = { category: 'Wissenschaft', description: 'Systematische Erforschung der Natur und Gesellschaft', hasChildren: true, - expanded: false + expanded: false, + neuronSize: 8, + neuronActivity: 0.8 }, { id: 'technology', @@ -126,7 +130,9 @@ const mindmapData = { category: 'Technologie', description: 'Anwendung wissenschaftlicher Erkenntnisse', hasChildren: true, - expanded: false + expanded: false, + neuronSize: 8, + neuronActivity: 0.8 }, { id: 'arts', @@ -134,10 +140,19 @@ const mindmapData = { category: 'Künste', description: 'Kreativer Ausdruck und künstlerische Gestaltung', hasChildren: true, - expanded: false + expanded: false, + neuronSize: 8, + neuronActivity: 0.8 } ], - edges: [] + edges: [ + { source: 'philosophy', target: 'science', strength: 0.8 }, + { source: 'science', target: 'technology', strength: 0.8 }, + { source: 'technology', target: 'arts', strength: 0.6 }, + { source: 'arts', target: 'philosophy', strength: 0.6 }, + { source: 'philosophy', target: 'technology', strength: 0.4 }, + { source: 'science', target: 'arts', strength: 0.4 } + ] }; // Warte bis DOM geladen ist @@ -170,6 +185,7 @@ document.addEventListener('DOMContentLoaded', function() { category: node.category, description: node.description, hasChildren: node.hasChildren, + expanded: node.expanded, expanded: node.expanded } })),