Skip to content
Snippets Groups Projects
Commit 29af9efe authored by Matthias Konitzny's avatar Matthias Konitzny :fire:
Browse files

Small fix

parent 282696eb
Branches
Tags
No related merge requests found
......@@ -126,6 +126,7 @@ class Graph {
*/
getLinkClasses() {
const linkClasses = [];
this.graph
.graphData()
.links.forEach((link) => linkClasses.push(link.type));
......@@ -319,7 +320,7 @@ class Graph {
const nodeDiv = document.createElement("div");
const group = new THREE.Group();
const labelDiv = Helpers.createDiv("node-label", labelDiv, {
const labelDiv = Helpers.createDiv("node-label", nodeDiv, {
textContent: node.name,
});
labelDiv.style.color = node.color;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment