blob: c8cbd7a1af9a3bffda696b1400b1fc32767bc1b7 [file] [log] [blame]
gio5f2f1002025-03-20 18:38:48 +04001import { Handle, Position } from "@xyflow/react";
2import { ReactElement } from "react";
3import { v4 as uuidv4 } from "uuid";
4
5export class PortOut {
6 public readonly id: string;
7 // private name: string;
8 // private value: number;
9
10 constructor() {
11 this.id = uuidv4();
12 // this.name = "";
13 // this.value = 0;
14 }
15
16 public handle(): ReactElement {
17 return (
18 <Handle
19 id={this.id}
20 type={"source"}
21 position={Position.Top}
22 />
23 )
24 }
25}
26