Skip to content

Commit 189b7ed

Browse files
authored
Merge pull request #31 from oslabs-beta/JA/Remove-unused-handles
Disabled draggable new edges
2 parents 13e58da + 4d5d16e commit 189b7ed

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/webview/Flow.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ import ReactFlow, {
99
Node,
1010
Edge
1111
} from "reactflow";
12-
import "reactflow/dist/style.css";
1312
import FlowBuilder from "./flowBuilder";
1413
import { Tree } from "../types/tree";
14+
import "reactflow/dist/style.css";
15+
import "./style.css";
1516

1617

1718

src/webview/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
html,
66
body,
77
#root,
8+
89
.App {
910
height: 100%;
1011
}
@@ -13,3 +14,8 @@ body,
1314
font-family: sans-serif;
1415
text-align: center;
1516
}
17+
18+
19+
.react-flow__handle.connectionindicator {
20+
pointer-events: none !important;
21+
}

0 commit comments

Comments
 (0)