From dc81675878b92c12ab868804adc8afc35ab04e20 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sat, 17 Jul 2021 13:32:42 +0200 Subject: added labels to 3d graph --- app/components/graph/graph.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'app/components/graph/graph.tsx') 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} -- cgit v1.2.3