WeaveMoveToolAction
Activate the panning or movement of the canvas
Overview
The WeaveMoveToolAction class that enables users to pan (move) the entire canvas by dragging the background. It is specifically designed to allow easy navigation across large or zoomed-in canvases without altering the position of nodes or layers.
This tool acts as a navigation aid, switching the canvas into a mode where dragging translates the viewport rather than interacting with individual elements.
The class extends the WeaveAction class.
Name
This action name
property value is moveTool
.
Import
import { WeaveMoveToolAction } from "@inditextech/weave-sdk";
Instantiation
new WeaveMoveToolAction();