Skip to content

NodeGraphConnectEndInfo

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

Properties

cancelled

cancelled: boolean

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

True when the drop was rejected (target invalid or empty).


screenPoint

screenPoint: Point2D

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

Screen-space (CSS-pixel, relative to the viewport top-left) release position — position your create-node menu / popover here.


source

source: NodeGraphPortRef

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


target

target: NodeGraphPortRef | null

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

Resolved drop target, or null when the drag ended on empty space.


worldPoint

worldPoint: Point2D

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

World-space position the drag was released at. With cancelled + a null target this is an empty-space drop — the hook for a “drag a wire onto the canvas → open a create-node menu here → connect the new node to source” flow. Place the spawned node at this point.