Skip to content

NodeGraphTarget

NodeGraphTarget = { id: string; kind: "node"; } | { id: string; kind: "edge"; } | { kind: "port"; node: string; port: string; } | { id: string; kind: "group"; } | { kind: "empty"; worldPoint: Point2D; }

Defined in: src/components/editor/NodeGraph/NodeGraph.types.ts:112

Discriminated union describing what was hit by a pointer event.