summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-17 13:32:42 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-17 13:32:42 +0200
commitdc81675878b92c12ab868804adc8afc35ab04e20 (patch)
tree2d62e606a01096043431ff547edeb02d3c9b1bd1
parenta93af1e2e8d2c512b04dfb3b1c53431162b3e580 (diff)
added labels to 3d graph
-rw-r--r--app/components/graph/graph.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/components/graph/graph.tsx b/app/components/graph/graph.tsx
index 1202413..94a4fe1 100644
--- a/app/components/graph/graph.tsx
+++ b/app/components/graph/graph.tsx
@@ -212,6 +212,7 @@ export const Graph = observer(function Graph(props: GraphProps): JSX.Element {
// !node.childLinks.length ? "green" : node.collapsed ? "red" : "yellow"
//}
//onNodeClick={!physics.collapse ? null : handleNodeClick}
+ nodeLabel={node => node.title}
//nodeVal={(node) => node.childLinks.length + 1}
//d3VelocityDecay={visco}
linkWidth={physics.linkWidth}