main
林名赫 3 months ago
parent df1881bddc
commit 07ae52be0e

@ -193,7 +193,7 @@
// 保持原有点击逻辑不变
if (params.dataType === 'node') {
const p = params.data.properties;
nodeInfo.innerHTML = `<strong>${params.name}</strong> | 类型:${p.entity_type} | 连接数:${nodeLinkCount[params.data.id]}<br>描述:${p.description?.slice(0, 100)}...`;
nodeInfo.innerHTML = `<strong>${params.name}</strong> | 类型:${p.entity_type} | 连接数:${nodeLinkCount[params.data.id]}<br>描述:${p.description?.slice(0, 500)}...`;
} else if (params.dataType === 'edge') {
const p = params.data.properties;
const sourceNode = echartsNodes.find(n => n.id === params.data.source);

Loading…
Cancel
Save