From 9b46f1da6cc37204bc54913f95ef31cf879d4881 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Sat, 17 Jul 2021 13:53:31 +0200
Subject: trying to pass the node ids to graph

---
 app/components/graph/graph.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'app/components/graph/graph.tsx')

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()
-- 
cgit v1.2.3

