@univerjs/drawing provides the shared drawing data model, services, and commands used by Docs, Sheets, and other drawing-enabled surfaces.
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
|---|---|---|---|---|---|
@univerjs/drawing |
UniverDrawing |
No | No | No | No |
pnpm add @univerjs/drawing
# or
npm install @univerjs/drawingStart with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
import { UniverDrawingPlugin } from '@univerjs/drawing';
univer.registerPlugin(UniverDrawingPlugin);