Resizing of external labels

I would like to resize external labels, however enabling resizing does not work quite well for external labels.

The problem is, that the frame is not keeping the size after resizing.

image
image
image
image
image

Code:
I have added a module using the rule provider with the code like this:

this.addRule(‘shape.resize’, function(context) {
return true; // allow resize temporarly. (TODO: Filter external labels)
}

How can I ensure the frame size is kept after resizing?

There is a PR waiting to be merged - 1513 dynamic resizing labels by timonlazarviadee · Pull Request #2345 · bpmn-io/bpmn-js · GitHub to adjust the external label behavior to follow text annotation resizing

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.