prerelease Prerelease 5.2.2 Latest 5.2.1
Weave.js
prerelease Prerelease 5.2.2 Latest 5.2.1

WeaveEllipseToolAction

Add an ellipse to the canvas

Overview

The WeaveEllipseToolAction class that allows users to create ellipse shapes on the canvas by clicking and dragging. It provides a smooth, intuitive way to add structured, resizable rectangular elements that can serve as building blocks for diagrams, layouts, mockups, and more.

Each interaction results in the creation of a WeaveEllipseNode, added to the shared state and synchronized across all users.

The class extends the WeaveAction class.

Name

This action name property value is ellipseTool.

Import

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

Instantiation

new WeaveEllipseToolAction();