Skip to content

addShape

addShape(tx, shape, parent): boolean

A macro to add a shape to a parent

Parameters

• tx: Transaction

• shape: Shape

• parent: Shape

Returns

boolean

Source

packages/core/src/macro.ts:115