blob: c8cbd7a1af9a3bffda696b1400b1fc32767bc1b7 [file] [log] [blame]
import { Handle, Position } from "@xyflow/react";
import { ReactElement } from "react";
import { v4 as uuidv4 } from "uuid";
export class PortOut {
public readonly id: string;
// private name: string;
// private value: number;
constructor() {
this.id = uuidv4();
// this.name = "";
// this.value = 0;
}
public handle(): ReactElement {
return (
<Handle
id={this.id}
type={"source"}
position={Position.Top}
/>
)
}
}