Base Handle
A handle with some basic styling used for creating a shared design among all handles in your application.
Last updated on
Make sure to follow the prerequisites before installing the component.
npx shadcn@latest add https://ui.reactflow.dev/base-handleimport React, { memo } from "react";
import { Position } from "@xyflow/react";
import { BaseHandle } from "@/components/base-handle";
import { BaseNode, BaseNodeContent } from "@/components/base-node";
const BaseHandleDemo
import { Background, ReactFlow } from "@xyflow/react";
import BaseHandle from "./component-example";
const defaultNodes = [
{
id: "1",
position: { x: 200, y: 200 },
data: {},
type: "baseHandle",
},
];