summaryrefslogtreecommitdiff
path: root/app/components/graph
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-17 13:53:31 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-17 13:53:31 +0200
commit9b46f1da6cc37204bc54913f95ef31cf879d4881 (patch)
tree4ed6cd58fa25f2d9c22ef20d9301728a5d06e531 /app/components/graph
parentdc81675878b92c12ab868804adc8afc35ab04e20 (diff)
trying to pass the node ids to graph
Diffstat (limited to 'app/components/graph')
-rw-r--r--app/components/graph/graph.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/components/graph/graph.tsx b/app/components/graph/graph.tsx
index 94a4fe1..e179cb9 100644
--- a/app/components/graph/graph.tsx
+++ b/app/components/graph/graph.tsx
@@ -30,13 +30,14 @@ export interface GraphProps {
style?: StyleProp<ViewStyle>
physics
gData
+ nodeIds: string[]
}
/**
* Describe your component here
*/
export const Graph = observer(function Graph(props: GraphProps): JSX.Element {
- const { style, physics, gData } = props
+ const { style, physics, gData, nodeIds } = props
const styles = flatten([CONTAINER, style])
const fgRef = useRef()