Render external label of custom element

I’m trying to add an external label to a custom element. I’ve already implemented a CustomLabelEditingProvider and created a CustomUpdateLabelHandler, so I can add, change and delete a label without problems. The problem lies in rendering the label as external (rendering it as embedded is not a problem).
The result is the following image:

If I have no other choice I suppose I can work on changing the settings of the embedded label to show it under the custom element, but I’d like to make sure it’s not just a stupid mistake.

Here is the link of the repo with the code:

Solved. To fix this problem I had to put the renderer of label inside my custom renderer. Apparently the software doesn’t use the definition inside bpmn-js.

1 Like