{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/View\/semantic-explorer\/graph.php",
"offset": 85,
"limit": 20
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/View\/semantic-explorer\/graph.php",
"content": " WORKS_WITH: '#6366f1',\n TEACHES: '#f59e0b',\n CREATED: '#8b5cf6'\n };\n\n container.innerHTML = '<div class=\"graph-loading\">Lade Graph-Daten...<\/div>';\n\n fetch('\/semantic-explorer\/graph-data')\n .then(r => r.json())\n .then(data => {\n container.innerHTML = '';\n\n document.getElementById('graph-stats').textContent =\n `${data.stats.nodes} Entitäten | ${data.stats.links} Relationen | ${data.stats.entityTypes} Entity-Typen | ${data.stats.relationTypes} Relation-Typen`;\n\n \/\/ Group nodes by type for static layout\n const typeGroups = {};\n data.nodes.forEach((node, i) => {\n const type = node.type || 'OTHER';\n if (!typeGroups[type]) typeGroups[type] = [];",
"numLines": 20,
"startLine": 85,
"totalLines": 306
}
}
}