UNPKG

diagram-js

Version:

A toolbox for displaying and modifying diagrams on the web

32 lines (27 loc) 520 B
/** * A handler that implements reversible resizing of shapes. * */ export default class ResizeShapeHandler { static $inject: string[]; /** * @param modeling */ constructor(modeling: Modeling); /** * { * shape: {....} * newBounds: { * width: 20, * height: 40, * x: 5, * y: 10 * } * * } */ execute(context: any): any; postExecute(context: any): void; revert(context: any): any; } type Modeling = import("../Modeling").default;