diff --git a/server/src/dashboard.html b/server/src/dashboard.html index 778501d..08e443e 100644 --- a/server/src/dashboard.html +++ b/server/src/dashboard.html @@ -101,7 +101,7 @@ data.relations.forEach(r => { if (nodeIds.has(r.from) && nodeIds.has(r.to)) { - edges.push({ from: r.from, to: r.to, label: r.relation_type, arrows: 'to' }); + edges.push({ from: r.from, to: r.to, label: r.relationType, arrows: 'to' }); } }); @@ -186,7 +186,7 @@ div.innerText = `[${time}] ${event.data}`; feed.appendChild(div); feed.scrollTop = feed.scrollHeight; - }; + }); } // Start @@ -203,3 +203,4 @@ +