Skip to content

Commit

Permalink
feat: add node connector
Browse files Browse the repository at this point in the history
  • Loading branch information
yamankatby committed Apr 28, 2023
1 parent 482be5f commit e0c84fb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/components/Workflow/Node.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Menu, MenuItem, MenuList, Paper, Stack } from "@mui/material";
import { Box, Menu, MenuItem, MenuList, Paper, Stack } from "@mui/material";
import { FC, PropsWithChildren, useCallback, useState } from "react";

export interface INodeProps {}
Expand Down Expand Up @@ -28,6 +28,16 @@ const Node: FC<PropsWithChildren<INodeProps>> = ({ children }) => {
onContextMenu={handleContextMenu}
>
{children}
<Box
height={12}
width={12}
borderRadius={2}
border={1}
borderColor="primary.main"
bgcolor="background.default"
mx="auto"
mb={-0.8}
/>
</Stack>

<Menu
Expand Down

0 comments on commit e0c84fb

Please sign in to comment.