Skip to content

Commit

Permalink
Add ReactFlow as dep
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler committed Sep 22, 2023
1 parent ac60ae0 commit 0e61dd4
Show file tree
Hide file tree
Showing 3 changed files with 384 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"git add"
]
},
"dependencies": {},
"dependencies": {
"reactflow": "^11.8.3"
},
"devDependencies": {
"pre-commit": "^1.2.2"
},
Expand Down
9 changes: 9 additions & 0 deletions public/pages/workflow_builder/workflow_builder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ import {
import { BREADCRUMBS } from '../../utils';
import { getCore } from '../../services';

//TODO: remove. just adding to test import for now
import { Handle, Position } from 'reactflow';

export function WorkflowBuilder() {
useEffect(() => {
getCore().chrome.setBreadcrumbs([
Expand All @@ -31,6 +34,12 @@ export function WorkflowBuilder() {
<EuiTitle size="l">
<h1>Workflow Builder</h1>
</EuiTitle>
{/** TODO: remove. just adding to test import for now */}
<Handle
type="target"
position={Position.Left}
isConnectable={true}
/>
</EuiFlexItem>
</EuiFlexGroup>
</EuiPageHeader>
Expand Down
Loading

0 comments on commit 0e61dd4

Please sign in to comment.