bpmn-js
Version:
A bpmn 2.0 toolkit and web modeler
20 lines (18 loc) • 708 B
TypeScript
/**
* A behavior that ensures that labels are positioned in a way that they do not
* overlap with other elements or connections.
*
*/
export default class AdaptiveLabelPositioningBehavior extends CommandInterceptor {
/**
* @param eventBus
* @param modeling
*/
constructor(eventBus: EventBus, modeling: Modeling);
}
type EventBus = import("diagram-js/lib/core/EventBus").default;
type Modeling = import("../Modeling").default;
type Element = import("../../../model/Types").Element;
type Shape = import("../../../model/Types").Shape;
type DirectionTRBL = import("diagram-js/lib/util/Types").DirectionTRBL;
import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';