import { NodeFrontProps } from "./Node"; type EdgeProps = { id: string; fromId: string; toId: string; description: string; }; type EdgeFrontProps = EdgeProps & { type: "straight" | "curve"; pId: string[]; fromNode?: NodeFrontProps; toNode?: NodeFrontProps; visible: boolean; needHighlight: boolean; isMoving: boolean; }; export type { EdgeProps, EdgeFrontProps };