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

Small fix

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