diagram-js
Version:
A toolbox for displaying and modifying diagrams on the web
19 lines (16 loc) • 431 B
TypeScript
/**
* A handler that toggles the collapsed state of an element
* and the visibility of all its children.
*
*/
export default class ToggleShapeCollapseHandler {
static $inject: string[];
/**
* @param modeling
*/
constructor(modeling: Modeling);
execute(context: any): any[];
revert(context: any): any[];
}
type Shape = import("../../../model/Types.js").Shape;
type Modeling = import("../Modeling.js").default;