UNPKG

diagram-js

Version:

A toolbox for displaying and modifying diagrams on the web

20 lines (18 loc) 491 B
/** * A plugin that adds a visible selection UI to shapes and connections * by appending the <code>hover</code> and <code>selected</code> classes to them. * * * Makes elements selectable, too. * */ export default class SelectionVisuals { static $inject: string[]; /** * @param canvas * @param eventBus */ constructor(canvas: Canvas, eventBus: EventBus); } type Canvas = import("../../core/Canvas.js").default; type EventBus = import("../../core/EventBus.js").default;