diagram-js
Version:
A toolbox for displaying and modifying diagrams on the web
23 lines (22 loc) • 703 B
TypeScript
/**
* Adds change support to the diagram, including
*
* <ul>
* <li>redrawing shapes and connections on change</li>
* </ul>
*
*/
export default class ChangeSupport {
static $inject: string[];
/**
* @param eventBus
* @param canvas
* @param elementRegistry
* @param graphicsFactory
*/
constructor(eventBus: EventBus, canvas: Canvas, elementRegistry: ElementRegistry, graphicsFactory: GraphicsFactory);
}
type Canvas = import("../../core/Canvas.js").default;
type ElementRegistry = import("../../core/ElementRegistry.js").default;
type EventBus = import("../../core/EventBus.js").default;
type GraphicsFactory = import("../../core/GraphicsFactory.js").default;