✨ feat: enhance mindmap update functionality in update_mindmap.js
This commit is contained in:
@@ -110,7 +110,9 @@ const mindmapData = {
|
|||||||
category: 'Philosophie',
|
category: 'Philosophie',
|
||||||
description: 'Die Lehre vom Denken und der Erkenntnis',
|
description: 'Die Lehre vom Denken und der Erkenntnis',
|
||||||
hasChildren: true,
|
hasChildren: true,
|
||||||
expanded: false
|
expanded: false,
|
||||||
|
neuronSize: 8,
|
||||||
|
neuronActivity: 0.8
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'science',
|
id: 'science',
|
||||||
@@ -118,7 +120,9 @@ const mindmapData = {
|
|||||||
category: 'Wissenschaft',
|
category: 'Wissenschaft',
|
||||||
description: 'Systematische Erforschung der Natur und Gesellschaft',
|
description: 'Systematische Erforschung der Natur und Gesellschaft',
|
||||||
hasChildren: true,
|
hasChildren: true,
|
||||||
expanded: false
|
expanded: false,
|
||||||
|
neuronSize: 8,
|
||||||
|
neuronActivity: 0.8
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'technology',
|
id: 'technology',
|
||||||
@@ -126,7 +130,9 @@ const mindmapData = {
|
|||||||
category: 'Technologie',
|
category: 'Technologie',
|
||||||
description: 'Anwendung wissenschaftlicher Erkenntnisse',
|
description: 'Anwendung wissenschaftlicher Erkenntnisse',
|
||||||
hasChildren: true,
|
hasChildren: true,
|
||||||
expanded: false
|
expanded: false,
|
||||||
|
neuronSize: 8,
|
||||||
|
neuronActivity: 0.8
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'arts',
|
id: 'arts',
|
||||||
@@ -134,10 +140,19 @@ const mindmapData = {
|
|||||||
category: 'Künste',
|
category: 'Künste',
|
||||||
description: 'Kreativer Ausdruck und künstlerische Gestaltung',
|
description: 'Kreativer Ausdruck und künstlerische Gestaltung',
|
||||||
hasChildren: true,
|
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
|
// Warte bis DOM geladen ist
|
||||||
@@ -170,6 +185,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
category: node.category,
|
category: node.category,
|
||||||
description: node.description,
|
description: node.description,
|
||||||
hasChildren: node.hasChildren,
|
hasChildren: node.hasChildren,
|
||||||
|
expanded: node.expanded,
|
||||||
expanded: node.expanded
|
expanded: node.expanded
|
||||||
}
|
}
|
||||||
})),
|
})),
|
||||||
|
|||||||
Reference in New Issue
Block a user