Skip to main content

Module resize

Module resize 

Source
Expand description

Renderer-neutral node resizing helpers.

These helpers turn canvas-space resize intent into normal graph transactions without depending on resize handles, pointer capture, DOM state, windowing, or renderer APIs.

Structs§

NodePointerResizeRequest
Canvas-space request for resizing one node from pointer movement.
NodeResizeConstraints
Optional canvas-space size bounds for a node resize request.
NodeResizeContext
Runtime context for interpreting node resize geometry.
NodeResizeItem
One node size edit inside a resize plan.
NodeResizePlan
Planned node resize transaction.
NodeResizeRequest
Canvas-space request for resizing one node to an explicit size.
NodeResizeSession
Headless state for one pointer-driven node resize gesture.
NodeResizeSessionOutcome
NodeResizeSessionUpdateOutcome
NodeResizeSessionUpdateRequest
Per-update inputs for a node resize session.

Enums§

NodeResizeAxis
Optional resize-axis filter for pointer-derived resize geometry.
NodeResizeDirection
XyFlow-style resize control direction.

Constants§

NODE_RESIZE_TRANSACTION_LABEL
Default transaction label used for committed node resize updates.

Functions§

plan_node_pointer_resize
Plans a node resize update from canvas-space pointer movement without mutating the graph.
plan_node_pointer_resize_with_context
Plans a pointer-driven node resize update using a runtime geometry context.
plan_node_resize
Plans a node resize update without mutating the graph.
plan_node_resize_with_context
Plans a node resize update using a runtime geometry context.