Weave.js

WeaveArrowToolAction

Add line segments to the canvas

Overview

The WeaveArrowToolAction class that allows users to draw precise, vector-based arrows by clicking to place points, the pen tool emphasizes structured arrow creation, making it ideal for diagrams, connectors, wireframes, and flow-based interactions.

Each completed arrow becomes a WeaveArrowNode, synced in real time across all collaborators.

The class extends the WeaveAction class.

Name

This action name property value is arrowTool.

Import

import { WeaveArrowToolAction } from "@inditextech/weave-sdk";

Instantiation

new WeaveArrowToolAction();