AdaptiveLabelPositioningBehavior.d.ts 727 B

1234567891011121314151617181920
  1. /**
  2. * A component that makes sure that external labels are added
  3. * together with respective elements and properly updated (DI wise)
  4. * during move.
  5. *
  6. */
  7. export default class AdaptiveLabelPositioningBehavior extends CommandInterceptor {
  8. /**
  9. * @param eventBus
  10. * @param modeling
  11. */
  12. constructor(eventBus: EventBus, modeling: Modeling);
  13. }
  14. type EventBus = import('diagram-js/lib/core/EventBus').default;
  15. type Modeling = import('../Modeling').default;
  16. type Element = import('../../../model/Types').Element;
  17. type Shape = import('../../../model/Types').Shape;
  18. type DirectionTRBL = import('diagram-js/lib/util/Types').DirectionTRBL;
  19. import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';