We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e4da9b commit 47508b3Copy full SHA for 47508b3
src/webview/Flow.tsx
@@ -13,8 +13,11 @@ import "reactflow/dist/style.css";
13
import FlowBuilder from "./flowBuilder";
14
import { Tree } from "../types/tree";
15
16
+
17
18
19
const OverviewFlow = () => {
- const reactFlowWrapper = useRef<HTMLDivElement>(null);
20
21
const initialNodes : Node[] = [];
22
const initialEdges : Edge[] = [];
23
@@ -35,7 +38,7 @@ const OverviewFlow = () => {
35
38
36
39
// Creates our Tree structure
37
40
flowBuilder.mappedData(data, initialNodes, initialEdges)
-
41
42
setEdges(initialEdges);
43
setNodes(initialNodes)
44
break;
0 commit comments