diagram-js
Version:
A toolbox for displaying and modifying diagrams on the web
22 lines (18 loc) • 468 B
TypeScript
/**
* A handler that implements reversible moving of shapes.
*
*/
export default class MoveShapeHandler {
static $inject: string[];
/**
* @param modeling
*/
constructor(modeling: Modeling);
execute(context: any): any;
postExecute(context: any): void;
revert(context: any): any;
moveChildren(context: any): void;
getNewParent(context: any): any;
}
type Modeling = import("../Modeling").default;
import MoveHelper from './helper/MoveHelper';