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

Hide node labels from the user.

parent 530bb7c5
No related branches found
No related tags found
No related merge requests found
Pipeline #51589 passed
......@@ -51,6 +51,7 @@
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
cursor: default;
}
.close-button {
......
......@@ -55,7 +55,7 @@ export default class Graph {
rendererConfig: { antialias: true },
})(document.getElementById("3d-graph"))
.graphData(this.gData)
.nodeLabel("id")
.nodeLabel("hidden") // Just a value that is not present as node attribute.
.nodeAutoColorBy("group")
.nodeColor((node) => this.getNodeColor(node))
.linkWidth((link) => this.getLinkWidth(link))
......
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