diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-07-22 18:41:18 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-07-22 18:41:18 +0200 |
commit | a71be5204800100917034f49d14243010b3f648c (patch) | |
tree | b16f2017f7979d07e394299bed06dad320ae13cc | |
parent | 1d66292f8f16af75ac878a94a87abf9e56ee38ea (diff) |
passed emacsnode prop
-rw-r--r-- | pages/index.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pages/index.tsx b/pages/index.tsx index 31cc0ba..ff0537f 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -201,6 +201,7 @@ export function GraphPage() { physics, graphData, threeDim, + emacsNode, }} /> </div> @@ -529,10 +530,11 @@ export interface GraphProps { graphData: GraphData physics: typeof initialPhysics threeDim: boolean + emacsNode: string } export const Graph = function (props: GraphProps) { - const { physics, graphData, threeDim, linksByNodeId } = props + const { physics, graphData, threeDim, linksByNodeId, emacsNode } = props const graph2dRef = useRef<any>(null) const graph3dRef = useRef<any>(null) |