Connect Icon next to an Element


I’m trying to customise my modeller and I saw this example in the CaWeMo application:
04 13

Now I want to implement a similar button to appear next to the element
but I don’t really understand how this has been realised.

Does anyone have any information about this?

Any help is appreciated

Best Regards

This can be achieved via overlays. Please have a look at this example

Thanks, I’ll check this out.
But i don’t really see there, how to bind a specific overlay to an element.
Could you give some hints about that?

That’s exactly what the example describes

Access the overlays service via bpmnViewer.get('overlays') and add overlays to elements by id using the Overlays#add method.