diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-07-17 13:32:42 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-07-17 13:32:42 +0200 |
commit | dc81675878b92c12ab868804adc8afc35ab04e20 (patch) | |
tree | 2d62e606a01096043431ff547edeb02d3c9b1bd1 /app/components/graph | |
parent | a93af1e2e8d2c512b04dfb3b1c53431162b3e580 (diff) |
added labels to 3d graph
Diffstat (limited to 'app/components/graph')
-rw-r--r-- | app/components/graph/graph.tsx | 1 |
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} |