Skip to content

NodeGraphPortPosition

Defined in: src/components/editor/NodeGraph/NodeGraphStore.ts:27

A port’s measured position registered by a <NodeGraph.Port> slot. Coordinates are in node-local pixels (relative to the node wrapper’s top-left). Because the wrapper is positioned in world space but rendered in CSS pixels at zoom = 1 (zoom is applied by the parent <ViewportWorld> transform), these pixels are equivalent to node-local world units.

Properties

dataType?

optional dataType: string

Defined in: src/components/editor/NodeGraph/NodeGraphStore.ts:31


side

side: NodeGraphPortSide

Defined in: src/components/editor/NodeGraph/NodeGraphStore.ts:30


x

x: number

Defined in: src/components/editor/NodeGraph/NodeGraphStore.ts:28


y

y: number

Defined in: src/components/editor/NodeGraph/NodeGraphStore.ts:29